]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-8
95ed02575173a330bf27618e6a7604b961662a76
[~andy/gtk] / ChangeLog.pre-2-8
1 1998-10-18  Martin Baulig  <martin@home-of-linux.org>
2
3         * gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
4         line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
5
6 Fri Oct 16 15:59:02 1998  Lars Hamann  <lars@gtk.org>
7
8         * gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
9         styles of inserted row
10         (change_style): change style of focus_row
11
12         * gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
13         (gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
14         to set/get row/cell styles.
15         (gtk_clist_realize): attach row and cell style, allocate row colors.
16         (gtk_clist_unrealize): detach row and cell styles.
17         (get_cell_style): new function. get correct cell style.
18         (draw_cell_pixmap): new function. 
19         (draw_row): draw cells with row or cell styles.
20         (row_new): set cell and row styles to NULL.
21         (row_delete): detach & unref cell and row styles.
22
23         * gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles): 
24         new functions to attach/detach styles and allocate colors.
25         (gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
26         styles of invisible nodes.
27         (draw_cell_pixmap): new function. 
28         (get_cell_style):  new function. get correct cell style.
29         (gtk_ctree_draw_expander): new function. draw tree expander.
30         (gtk_ctree_draw_lines): new function.draw tree lines.
31         (draw_row): draw cells with row or cell styles.
32         (row_new): set cell and row styles to NULL.
33         (row_delete): detach & unref cell and row styles.
34         (gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style) 
35         (gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style): 
36         Analogons of GtkCList functions 
37         (gtk_ctree_set_spacing): new function. set spacing between
38         tree expander and cell contents
39         (gtk_ctree_set_expander_style): new function. set expander style
40         of ctree.
41         (ctree_is_hot_spot): few changes due to draw_row modifications.
42
43 Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
44
45         * gtk/gtkcombo.c: try completion on MOD1-TAB.
46         Handle case when the combo->list is empty.
47
48 Mon Oct 12 07:51:34 1998  Tim Janik  <timj@gtk.org>
49
50         * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
51         handlers that have not yet been disconnected (finally managed to
52         trigger the gtk_signal_handler_unref() paranoid warning).
53
54 Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>
55
56         * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
57         width and height which is -1 and not -2.
58
59 Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
60
61         * HACKING
62         * autogen.sh: we need libtool 1.2b now
63
64 Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>
65
66         * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
67         and bottom attach arguments as mandatory and readjust the table size
68         and opposing edge accordingly if required. this way the order in which
69         the arguments are set doesn't matter.
70
71 Thu Oct  8 15:53:59 1998  Owen Taylor  <otaylor@redhat.com>
72
73         * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
74         message to print out parent class name correctly.
75
76 Thu Oct  8 07:07:10 1998  Tim Janik  <timj@gtk.org>
77
78         * gtk/gtkobject.h: 
79         * gtk/gtkobject.c:
80         removed functions gtk_object_set_data_destroy and
81         gtk_object_set_data_destroy_by_id.
82         added functions gtk_object_remove_no_notify and
83         gtk_object_remove_no_notify_by_id which will remove a certain data
84         portion without invokation of its destroy notifier, this should only
85         be used in very controled circumstances.
86
87 Wed Oct  7 23:59:37 1998  Lars Hamann  <lars@gtk.org>
88
89         * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
90         size_allocate_title_buttons call
91         (gtk_clist_realize): changed initial column.window position
92
93 Wed Oct  7 20:27:28 1998  Lars Hamann  <lars@gtk.org>
94
95         * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
96         xor_gc instead
97         * gtk/gtkctree.c (create_xor_gc): removed
98         (gtk_ctree_button_press): set correct line_attributes for
99         clist->xor_gc on drag start
100         (gtk_ctree_button_release): reset clist->xor_gc
101
102 Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
103
104         * gtk/gtk*.h:
105         * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
106         which were in place to fixup emacs' cc-mode indentation.
107         putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
108         proper way to achive this and doesn't produce problems for
109         stupid pragma-related compiler bugs. ;)
110
111 Wed Oct  7 00:59:46 1998  Lars Hamann  <lars@gtk.org>
112
113         * gtk/gtkclist.h: new signal GtkCList::resize_column.
114         * gtk/gtkclist.c (draw_row): don't draw invisible columns
115         (size_allocate_title_buttons) (size_allocate_columns):
116         skip invisible columns
117         (new_column_width): take min/max_width into account 
118         (gtk_clist_button_release) (gtk_clist_motion):
119         changes due to changed new_column_width function
120         (LIST_WIDTH): changed define to inline function.
121         (real_resize_column): class function for resize_column signal
122         (gtk_clist_motion): fixed autoscrolling for column resizes
123         (gtk_clist_set_column_visibility): don't hide last visible column,
124         changed visible arg to gboolean
125         (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
126         new functions : set min/max width of a column
127         (gtk_clist_set_column_resizeable): new function : enable/disable
128         column resize operations by mouse
129
130         * gtk/gtkctree.c (draw_row): don't draw invisible columns
131         (ctree_is_hot_spot): return FALSE if tree_column is invisible
132         (draw_xor_line)  (draw_xor_rect): draw full rectangle/line if
133         tree_column is invisible
134         (gtk_ctree_find_all_by_row_data)
135         (gtk_ctree_find_all_by_row_data_custom):  new function from
136         Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
137         GtkCTreeNodes with row->data == data.
138
139 Tue Oct  6 14:05:00 1998  Tim Janik  <timj@gtk.org>
140
141         * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
142         memory (Martin Pool <mbp@wistful.humbug.org.au>).
143
144 Mon Oct  5 15:26:30 1998  Raph Levien  <raph@gimp.org>
145
146         * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
147         should have been guint32. Thanks to Tristan Colgate for finding it.
148
149 Sun Oct  4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
150
151         * gtk/gtkcalendar.h:
152           gtk/gtkcalendar.c: More changes:
153           - The day with focus is now seperated from the day selected
154           - The day with focus has the xor's line around it
155           - The selected day is now standard selected style
156           - The week names and week numbers are now also drawn
157             with selected style
158           - Space now selects the day which has focus
159
160 Sun Oct  4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
161
162         * gtk/gtkcalendar.h:
163           gtk/gtkcalendar.c: Some significant changes, including:
164           - No longer draw focus around entire widget, only around
165             the day which has focus
166           - Draw relief around entire widget like originally planned
167           - Show header and day names by default 
168           - Move data private to the widget out of GtkCalendar struct
169             and only point to it with a gpointer
170           - Remove some old unused variables from GtkCalendar struct
171
172 Sun Oct  4 17:45:43 BST 1998  Tony Gale  <gale@gtk.org>
173
174         * docs/gtk_tut.sgml: update I've had sat around:
175           - Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
176           - Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
177           - New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>
178
179 1998-10-01  Martin Baulig  <martin@home-of-linux.org>
180
181         * gtk/gtkclist.h (GtkCListColumn): Added `visible'.
182         
183         * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
184         Makes it possible to individually show and hide columns.
185         (size_allocate_columns): Adapted to keep track of hidden columns.
186         (size_allocate_title_buttons): Likewise.
187
188 Sat Oct  3 17:54:48 1998  Tim Janik  <timj@gtk.org>
189
190         * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
191         fundamental types, collect an argument of the type returned from
192         gtk_type_get_varargs_type(). removed the first macro argument which
193         was just the same as the fundamental type of the *arg passed to
194         the macro.
195         * gtk/gtkarg.c (gtk_args_collect): 
196         * gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
197
198         * gtk/gtktypeutils.h: 
199         * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
200         gtk_type_get_varargs_type() to set and query the varargs collect
201         type used for a fundamental type, registered outside of Gtk.
202
203         * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
204         GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
205         GTK_TYPE_FLOAT.
206
207         * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
208         GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
209         to GTK_TYPE_FLOAT.
210
211 Sat Oct  3 01:25:24 1998  Lars Hamann  <lars@gtk.org>
212
213         * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
214         (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand): 
215         fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
216
217         (real_tree_expand) (real_tree_collapse):
218         don't expand/collapse a leaf
219
220 Fri Oct  2 16:10:36 1998  Tim Janik  <timj@gtk.org>
221
222         * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
223         segfault when looking up a non-existant value name (reported by
224         Pablo <pcj+gtk@primenet.com>).
225
226 Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>
227
228         * gtk/gtkclist.h (gtk_clist_prepend):
229         * gtk/gtkclist.c (gtk_clist_prepend): new function.
230         (gtk_clist_insert): added g_return_val_if_fail()
231         statements. accept a row parameter < 0 or > clist->rows to indicate
232         append mode.
233         (real_clear): first clean up all internal pointers and lists (e.g.
234         clist->row_list or clist->rows), then delete the distinct rows. this
235         is required because of destroy notifiers, we need to have all internal
236         structures updated and be reentrant.
237
238         * gtk/gtkcalendar.h: 
239         * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
240         GtkCalendarClass signal methods.
241         GtkType and macro fixups, put `void' into () prototypes, avoid C++
242         style comments, indentation fixes, fixed some g_return_if_fail()
243         statements.
244         (gtk_calendar_paint_header):
245         (gtk_calendar_paint_day_names): 
246         (gtk_calendar_paint_week_numbers): 
247         (gtk_calendar_paint_main): made these static functions.
248         (gtk_calendar_select_month):
249         (gtk_calendar_select_day):
250         (gtk_calendar_mark_day):
251         (gtk_calendar_unmark_day):
252         (gtk_calendar_get_date): signedness corrections, use guints
253         rather than gints.
254         (gtk_calendar_size_request): removed unused variables.
255
256 Wed Sep 30 13:11:09 1998  Tim Janik  <timj@gtk.org>
257
258         * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
259         widgets in the ->widgets_by_action list that have a callback
260         defined (not only those with a callback_action!=0).
261
262 Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
263
264         * gtk/gtkcalendar.h:
265           gtk/gtkcalendar.c:
266           examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff
267
268 Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
269
270         * gtk/gtkcalendar.h:
271           gtk/gtkcalendar.c:
272           examples/calendar: Added gtkcalendar widget and demo
273
274 Sat Sep 26 06:15:34 1998  Tim Janik  <timj@gtk.org>
275
276         * gtk/gtkclist.c (gtk_clist_sort): 
277         (gtk_clist_clear): 
278         (gtk_clist_unselect_all): 
279         (gtk_clist_select_all): adde g_return_if_fail() statements.
280
281 Sat Sep 26 04:46:22 1998  Tim Janik  <timj@gtk.org>
282
283         * configure.in: set binary age and interface age to 0.
284
285         * gtk/gtkspinbutton.h: 
286         * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
287         gtk_spin_button_configure. gtk_spin_button_construct is still defined
288         as an alias for gtk_spin_button_configure for source compatibility,
289         but actuall use is deprecated.
290         typeness corrections, i.e. gint->gboolean and gint->guint.
291         added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
292         GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
293         GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
294         GtkSpinButton::adjustment, GtkSpinButton::digits and
295         GtkSpinButton::climb_rate.
296         GtkType and macro fixups.
297
298 Sat Sep 25 23:33:55 1998  Tim Janik  <timj@gtk.org>
299
300         * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
301         the *real* geometry position of a window, taken possible window
302         manager offsets into account.
303         this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
304         olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
305         it does fail though for amiwm which adds windows to a pseudo root
306         window, and for icewm by a small offset because it defines the
307         geometry position whithin its border.
308
309         * gtk/testgtk.c: added "saved position" test to figure how
310         gdk_window_get_root_origin() interacts with window managers (repopup
311         this window to figure ;).
312
313 Wed Sep 23 06:09:19 1998  Tim Janik  <timj@gtk.org>
314
315         * configure.in: update to Gtk+ version 1.1.3, binary age 1,
316         interface age 1.
317
318         * gtk/gtkobject.c
319         (gtk_object_ref): 
320         (gtk_object_unref): check for ->ref_count to be greater than 0 (the
321         existing code was buggy in letting ->ref_count==0 pass through and
322         then failing the living_objs_ht assertion).
323
324         * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
325         pixtext fields (Roman Pozlevich <roma@botik.ru>).
326
327 Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
328
329         * Released GTK+ 1.1.2
330
331 Mon Sep 21 01:12:44 1998  Jay Cox  (jaycox@earthlink.net)
332
333         * gtk/Makefile.am: use $(PERL) instead of perl
334         * gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
335         also much faster to render.
336
337 Mon Sep 21 07:44:30 1998  Tim Janik  <timj@gtk.org>
338
339         * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
340         the required memory block, rather than allocating it newly from
341         scratch and doing a full-blown block copy on it.
342
343 Mon Sep 21 02:30:06 1998  Tim Janik  <timj@gtk.org>
344
345         * NEWS file update for upcoming release of Gtk+ version 1.1.2,
346         binary age 0, interface age 0.
347
348         * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.
349
350 Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
351
352         * ltmain.sh: Patch to libtool-1.2b to make --disable-static
353         work.
354
355 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
356
357         * HACKING: indent other than GNU indent should be OK
358           now.
359
360         * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
361           instead of piping through indent. If indent wasn't
362           found in ./configure don't bother indenting at 
363           all.
364
365 Fri Sep 18 19:11:10 1998  Owen Taylor  <otaylor@redhat.com>
366
367         * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
368
369 Fri Sep 18 18:54:59 1998  Jay Cox  (jaycox@earthlink.net)
370
371         * gtk/Makefile.am: use $(AWK) instead of awk
372
373 1998-09-18  Raja R Harinath  <harinath@cs.umn.edu>
374
375         * gtk/Makefile.am (gdk_headers): 
376         Remove references to $(top_srcdir). 
377         (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
378         * gtk/makeenums.pl (parse_entries): Don't look for $srcdir.
379
380 Fri Sep 18 19:58:24 1998  Tim Janik  <timj@gtk.org>
381
382         * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
383         GData*object_data to cure compiler warnings.
384
385 Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
386
387         * install-sh
388         * missing
389         * mkinstalldirs: updated to latest automake version
390
391 1998-09-17  Raja R Harinath  <harinath@cs.umn.edu>
392
393         * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
394         (gtkinclude_HEADERS): ... here.
395         (gtk.defs): Pass `g' flag to sed, to replace all occurances.
396
397 Thu Sep 17 10:49:51 1998  Raph Levien  <raph@gimp.org>
398
399         * HACKING: added GNU indent, as it is now required to successfully
400         build gtk+. Should this be detected in autoconf, possibly?
401
402 Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>
403
404         * Makefile.am gtk-config.in l*: Update to libtool-1.2b,
405         change library versioning scheme to drop LT_RELEASE
406         from the -l line, while keeping it in the soname.
407
408 Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>
409
410         * configure.in Makefile.in: define a MAINT-like variable REBUILD
411         which is set if Perl and awk are found, and autogenerated sources
412         can be rebuilt. Remove the auto-generated sources from
413         CVS. 
414
415         Add dependencies so that the autogenerated sources are 
416         rebuilt if the files they depend on change. 
417         (This unfortunately currently results in the entire
418         gtk/ directory being rebuilt when any header changes.
419         Moving all enums to gtkenums.h would fix this.)
420
421 Thu Sep 17 05:12:48 1998  Tim Janik  <timj@gtk.org>
422
423         * gtk/gtkobject.h: added gtk_object_set_data_destroy and
424         gtk_object_set_data_destroy_by_id functions to set the destroy
425         function pointer for an existing data portion.
426
427         * gtk/gtkobject.c: removed the GtkObjectData implementation and
428         made all gtk_object_*data* functions use the GLib equivalents.
429
430 1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
431
432         * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
433         is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
434         (widget != NULL), otherwise radio button insertion will not work
435         -- the widget argument is NULL for the first radio button in the
436         group.
437
438 Tue Sep 15 13:09:24 1998  Owen Taylor  <otaylor@redhat.com>
439
440         * gdk/gdkimage.c (gdk_image_new): Reverted global changes
441         of g_new to malloc(), added back in the one place where
442         it actually mattered. #include <stdlib.h>.
443
444         * gdk/gdkrgb.c: g_malloc() to malloc() as above.
445
446 Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>
447
448         * gtk/gtkfilesel.c: Keep a list of directories in which we never
449         want to stat the entries (like /afs), and assume everything in
450         those directories is a subdirectory.
451
452         - When following a path, try to open components even when
453         we don't find them in their parent's directory to
454         support automounters.
455
456 Tue Sep 15 11:06:13 1998  Owen Taylor  <otaylor@redhat.com>
457
458         * gtk/gtkwindow.c (gtk_window_move_resize): Don't request
459         a new size from the WM if we asked for the same size
460         before and our request was rejected.
461
462         * gtk/gtkwindow.c (gtk_window_configure_event): If
463         in response to a request, we get a configure event
464         with unchanged dimensions, send a synthetic expose
465         since ForgetGravity won't expose our window.
466
467 Mon Sep 14 14:28:24 1998  Owen Taylor  <otaylor@redhat.com>
468
469         * gtk/gtktext.c (adjust_adj): Change the way we
470         set the adjustments on resize so that it tries to
471         keep the beginning of the text in approximately
472         the same place. 
473
474         Removed assertion that the above change made invalid.
475
476 Thu Sep 10 22:19:35 1998  Owen Taylor  <otaylor@redhat.com>
477
478         * gtk/gtktext.c: - Save first_cut_pixels when switching
479         sizes, so that if we switch to the _same_ size,
480         we don't move lines around.
481
482         - Make sure that the text area always has a size of at
483         least 1x1, then do all computations when realized.
484
485         - When fetching lines in recompute_geometry, make
486         sure we fetch enough lines to cover the screen.
487         
488 Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
489
490         * gdk/gdkimage.c: changed g_new()s to malloc()s and 
491           g_free()s to free()s to avoid mixing g_new()s with 
492           free()s.  X itself uses free() on some of the 
493           malloced memory.
494
495 Sat Sep 12 10:44:06 1998  Owen Taylor  <otaylor@redhat.com>
496
497         * gtkfilesel.c: Maintain a list of directories like
498         /afs we know contain only directories, and avoid
499         stat'ing files in those directories. (Because
500         stat'ing all files in /afs is extremely expensive)
501
502         To support automounters, try to open directories,
503         even if we couldn't find them when reading their
504         parent directory.
505
506 Thu Sep  3 10:29:03 1998  Owen Taylor  <otaylor@redhat.com>
507
508         * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION,
509         to allow the same gtk.m4 to work for 1.0.x and
510         1.1.x.
511
512 Fri Sep 11 15:25:10 1998  Lars Hamann  <lars@gtk.org>
513
514         * gtk/gtkclist.c (gtk_clist_set_selectable): new function
515         to set/unset the selectable flag of a single row.
516         (gtk_clist_get_selectable): new function 
517         to get the state of the selectable flag
518
519         * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
520         (gtk_ctree_node_get_selectable): clist analogons
521         
522 Thu Sep 10 17:04:03 1998  Raph Levien  <raph@gimp.org>
523
524         * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test
525         pattern.
526
527         * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment
528         bugs in the 4bit gray cases.
529
530 Wed Sep  9 02:48:44 PDT 1998 Manish Singh <yosh@gimp.org>
531
532         * configure.in: added -posix check for NeXTStep
533
534         * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
535         a unique buffer for each thread.
536
537         * docs/gtk-config.1: clarified copyright
538
539 Tue Sep  8 05:19:51 1998  Tim Janik  <timj@gtk.org>
540
541         * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
542
543         * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
544
545         * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
546         ATEXIT.
547         
548         * ltconfig: use GLib's ltconfig which honours lcc.
549
550 Mon Sep  7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>
551
552         * configure.in: comment the -std1 check and save LIBS properly
553
554 Sun Sep  6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>
555
556         * gtk/testrgb.c: #include <stdlib.h>
557
558 Sat Sep  5 16:01:19 1998  Owen Taylor  <otaylor@gtk.org>
559
560         * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
561         When the pointer is grabbed on an input window,
562         either explicitely, or through press-grab, and
563         then grabbed on a non-input window, ungrab the
564         devices.
565
566 Sat Sep  5 07:13:19 1998  Tim Janik  <timj@gtk.org>
567
568         * gtk/gtktypeutils.h: don't include any gdk headers.
569         added structure definitions for GtkTypeObject and GtkTypeClass,
570         which cover the very basic fields of GtkObject and GtkObjectClass,
571         which are actually used by the type system.
572         
573         * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
574         we only refer to our own structures. improved class inheritance
575         sanity checking a bit.
576
577         * gtk/gtkobject.h: placed appropriate comments at the beginnings
578         of the GtkObject and GtkObjectClass structures, which explain
579         their relationship to GtkTypeObject and GtkTypeClass.
580
581         * gtk/gtktypeutils.h:
582         * gtk/gtkobject.h:
583         moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
584         GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
585         gtkobject.h to gtktypeutils.h.
586
587         * gtk/gtkobject.h:
588         * gtk/gtkobject.c:
589         removed gtk_object_check_cast() and gtk_object_check_class_cast()
590         functions. to keep source compatibility, we can provide macro aliases
591         for the corresponding gtk_type_* functions. but then again, people
592         shouldn't have been using these functions anyways since they were part
593         of Gtk's internal API.
594
595         * gtk/gtktypeutils.h:
596         * gtk/gtktypeutils.c:
597         implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
598         functions to check GtkTypeObject and GtkTypeClass types.
599
600 Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
601
602         * gtk/gtkctree.h:
603         * gtk/gtkctree.c: `const' fixups.
604
605         * gtk/gtkclist.h:
606         * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
607
608         * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
609         if it is passed as NULL.
610
611 Wed Sep  2 22:41:40 1998  Raph Levien  <raph@gimp.org>
612
613         * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
614         big-endian cases. Added a 4bpp packed gray mode (somewhat
615         incorrectly hardwired to MSB), which should take care of
616         Stric's hardware.
617
618 Thu Sep  3 04:45:57 1998  Tim Janik  <timj@gtk.org>
619
620         * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
621         GtkSIgnalQuery leak.
622
623 Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>
624
625         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
626         GTK_MENU_DIR_CHILD: check for the existance of
627         menu_shell->active_menu_item before accessing its child.
628         GTK_MENU_DIR_PREV:
629         GTK_MENU_DIR_NEXT: if we haven't had an active item and still
630         don't, make a default selection.
631
632 Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>
633
634         * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
635         the children with _forall for sensitivity changes and with
636         _foreach on pure state changes. this fixes a lot of the
637         old inclusions of internal widgets into _foreach calls.
638
639         * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
640         do the work. don't walk the subtrees of first level children.
641
642         * gtk/gtktreeitem.c: provide a _forall implementation,
643         which walks the subtrees as well for include_internals.
644
645         * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
646         the submenus as well for include_internals.
647
648         * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
649         implemented gtk_scrolled_window_forall, which will iterate over
650         the viewport and the scrollbars for gtk_container_forall or
651         iterate over the viewports children for gtk_container_foreach.
652
653         * gtk/gtktoolbar.c: 
654         * gtk/gtktable.c: 
655         * gtk/gtkpaned.c:
656         * gtk/gtkpacker.c:
657         * gtk/gtkmenushell.c: 
658         * gtk/gtklist.c: 
659         * gtk/gtkfixed.c:
660         * gtk/gtkclist.c:
661         * gtk/gtkbox.c: 
662         * gtk/gtkbin.c: 
663         * gtk/gtknotebook.c:
664         removed the old gtk_*_foreach functions and provided gtk_*_forall.
665
666         * gtk/gtknotebook.c:
667         (gtk_notebook_real_switch_page): expose tabs.
668         (gtk_notebook_page_num): new function to return the page number
669         of a distinct child.
670         (gtk_notebook_focus): minor fixups. foxus handling is still screwed
671         under some circumstances.
672
673         * gtk/gtktreeitem.c:
674         (gtk_real_tree_item_select):
675         (gtk_real_tree_item_deselect): major fixes.
676         some general fixups wrt queue_redraw, and tree items not being
677         NO_WINDOW widgets.
678
679         * gtk/gtklistitem.c:
680         (gtk_real_list_item_select): 
681         (gtk_real_list_item_deselect): 
682         (gtk_real_list_item_toggle): 
683         removed unneccessary queue_redraw calls.
684
685 Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>
686
687         * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
688         automatically popup the menu on space bar.
689
690 Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>
691
692         * gtk/gtkcontainer.h:
693         * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
694         method), which acts similar to gtk_container_foreach(), but iterates
695         over internal children. the GtkContainer::foreach signal vanished in
696         favour of a new class method ->forall() that optionally includes
697         internal widgets.
698
699         * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
700         but a _forall implementation, since all child widgets we have are
701         internal ones.
702         (column_button_create): set the parent window prior
703         to gtk_widget_set_parent().
704
705         * gtk/gtkwidget.c:
706         exchanged all calls to gtk_container_foreach() with
707         gtk_container_forall().
708
709         * gtk/gtkwidget.h: 
710         * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
711         the GtkWidget::composite_child argument. to have a widget created
712         with the flag initially, two new functions got added to wrap a widgets
713         creation:
714         gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
715
716 Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>
717
718         * gtk/gtktooltips.h:
719         * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
720         gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
721         prior to the first tip being set.
722         don't put an extra reference on the window, since it is a toplevel,
723         it wont get destroyed from anywhere else.
724
725         * overall macro and GtkType fixups.
726
727 1998-09-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>
728
729         * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
730         constructs by more forgiving ones.  (Does anyone else feel like
731         the color selector need rewriting?).
732
733 Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>
734
735         * gtk/gtkprogress.c (gtk_progress_finalize): Unref
736         the adjustment.
737
738         * gtk/gtkmenu.c: Modified reference counting so
739         that the reference count from the toplevel that
740         the menu creates to the menu is invisible to the
741         application.
742
743 Mon Aug 31 21:36:31 1998  Raph Levien  <raph@gimp.org>
744
745         * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
746         conversion selection logic, so Suns and other big-endian
747         machines should get faster conv routines. This is also the
748         point where 4bpp gray and 1bpp are checked in, although I
749         wouldn't be surprised if 1bpp is a little buggy. This is
750         synchronized with the 0.0.7 release of GdkRgb.
751
752         * gtk/Makefile.am: 
753         * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
754         appropriate change to the Makefile.am
755
756 Mon Aug 31 15:18:19 1998  Raph Levien  <raph@gimp.org>
757
758         * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
759         which is good for images that scroll (makes the dither patterns
760         align correctly)
761
762 Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>
763
764         * gdk/gdkcolor.c:
765         (gdk_colormap_new) (gdk_colormap_get_system):
766         quell some warnings with g_hash_table_new
767
768         * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
769         when we're done with it
770
771         * gtk/itemfactory.c:
772         (gtk_item_factory_from_path):
773         (gtk_item_factory_create_item): free some strings
774
775         * gtk/gtklabel.c:
776         (gtk_label_finalize): free label->pattern when done
777         (gtk_label_parse_uline): null terminate pattern string, delete
778         some duplicated code
779
780         * gtk/testthreads.c: add #include <unistd.h> for sleep()
781
782 Tue Aug 25 16:52:47 1998  Owen Taylor  <otaylor@redhat.com>
783
784         * gtk/gtktext.c (recompute_geometry): Make sure the
785         mark we pass to line start is the beginning of a 
786         real line, not a wrapped one.
787
788 Mon Aug 24 18:37:15 1998  Owen Taylor  <otaylor@redhat.com>
789
790         * gtk/gtktext.c: Reference count the fonts used in
791         the text widget.
792
793         * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
794         freeing functions to be more consistent, and more 
795         convenient; leave the old names in for backwards compatibility.
796
797         * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
798         allocations in pseudo-color colormaps to greatly reduce
799         calls to XAllocColor. Keep a per-colormap hashtable to
800         speed up finding if there is an already-allocated matching
801         color.
802
803         * gdk/gdkcolor.c: Don't just match read the system colormap
804         when the colormap is created, but synchronize our copy
805         with the system colormap periodically.
806         
807         * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c: 
808         Change XIM constants names to match GDK conventions
809
810         * gtk/testinput.c: Allow the drawing area to get the focus.
811
812         * gtk/testgtk.c: Change around the Text test to demonstrates
813         multiple fonts, use more colors.
814
815         * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
816         so they work after a widget is unrealized.
817
818         * gtk/gtktext.[ch]: Remove the requirement that the text
819         widget be realized before adding text (!) Allocate colors
820         ourself, instead of requiring the caller allocate them.
821         Allow changing styles to work properly by keeping track
822         of the values for a certain property are default or
823         set explicitely.
824
825         * gtk/gtkmenu.h: Added some comments.
826
827         * gtk/gtkentry.c: Changes to match XIM constants.
828
829         * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
830         for adding keyed data to drawables. (Uses g_dataset
831         internally)
832
833         * gdk/gdkpixmap.c: Keep track of the colors we allocate,
834         when creating an XPM - store them as user data for the GdkPixmap,
835         so we don't leak colors when we create pixmaps from XPM's.
836
837         Allocate memory for color information in large blocks instead of 
838         as many little pieces.
839         
840 Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>
841
842         * gdk/gdkrgb.c: removed some unused variables
843
844         * gtk/gtkclist.c
845         * gtk/gtkmain.c: #if 0'd out some unused code
846
847         * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
848
849 Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>
850
851         * gtk/gtkarg.h:
852         * gtk/gtkarg.c:
853         * gtk/gtkwidget.h: 
854         * gtk/gtkwidget.c: 
855         * gtk/gtkobject.h:
856         * gtk/gtkobject.c:
857         * gtk/gtkcontainer.h: 
858         * gtk/gtkcontainer.c: 
859         (gtk_object_new):
860         (gtk_object_set):
861         (gtk_widget_new):
862         (gtk_widget_set): 
863         (gtk_container_add_with_args):
864         (gtk_container_child_set):
865         begin the parameter elipsis (...) after the first argument name. this
866         change is source compatible, since it was always required, even as NULL.
867         (gtk_args_collect): 
868         (gtk_object_args_collect): 
869         (gtk_container_child_args_collect):
870         changed prototypes to pass first_arg_name, also, pass va_list variable
871         by value (portability concerns). callers changed.
872
873         * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
874         a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
875         can't pass va_list variables by reference for portability reasons.
876
877 Fri Aug 21 22:40:00  Raph Levien  <raph@gtk.org>
878
879         * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
880         get_visual calls, so that it gets implicitly initialized.
881
882 Fri Aug 21 13:06:04 1998  Stuart Parmenter  <pavlov@gimp.org>
883         * gtk/gtkfeatures.h.in:  added GTK_HAVE_FEATURES_1_1_2 for changes
884         such as GtkCTree function name changes
885         
886 Fri Aug 21 02:31:26 1998  Tim Janik  <timj@gtk.org>
887
888         * gtk/gtkmain.h:
889         * gtk/gtkmain.c (gtk_check_version): added a function to perform a
890         binary version check, returning a static string for error descriptions,
891         or NULL on success.
892
893 Thu Aug 20 20:08:15 1998  Owen Taylor  <otaylor@redhat.com>
894
895         * gtk/gtktext.c ([un]draw_cursor): Check to see if we've
896         computed our geometry yet, and if not, ignore the request.
897
898         * gtk/gtktext.c (correct_cache_insert): Fiddled around
899         some more. All the bug-test codes seem to work at once
900         now. (fingers crossed...)
901
902 Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
903
904         * gdk/gdkrgb.c: silly visual fixes
905
906         * gtk/testgtk.c: call gdk_rgb_init so color preview test actually
907         works
908
909 1998-08-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>
910
911         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
912         anything if the event's window is not the bin window.
913         (gtk_handle_box_motion): Likewise.
914
915 1998-08-19  Raph Levien  <raph@gimp.org>
916
917         * gtk/testgtk.c (create_color_preview): pushed the colormap and
918         visual so it would work better with GdkRgb.
919
920 1998-08-19  Raph Levien  <raph@gimp.org>
921
922         * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
923         4bpp static_color mode (for vga displays). Also fixed a '64' value
924         in the dither matrix, which was causing one pixel out of 16k to be
925         dithered wrong.
926
927         * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
928         most of the contents. This is an API change - any apps that relied
929         on the internal structure of GtkPreview will need some change -
930         most notably in the use of reserved colors. The Gimp needed
931         changes in this regard.
932
933 Wed Aug 19 00:11:14 1998  Tim Janik  <timj@gtk.org>
934
935         * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
936         G_ENABLE_DEBUG being defined (specifically --gtk-module= and
937         --g-fatal-warnings), noticed by miguel.
938
939 Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>
940
941         * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
942         getcwd().
943
944         * gdk/gdkprivate.h:
945         * gdk/gdkglobals.c:
946         * gdk/gdkwindow.c:
947         * gdk/gdk.c:
948         * gtk/gtkwindow.c: 
949         * gtk/gtkitemfactory.c: 
950         dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
951
952         * gtk/gtkselection.c:
953         * gtk/gtkpreview.c:
954         * gtk/gtkobject.c: 
955         * gtk/gtkmain.c: 
956         * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
957
958         * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
959
960 Tue Aug 18 17:22:22 1998  Lars Hamann  <lars@gtk.org>
961
962         * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): 
963         * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
964         in case of show_tabs == NULL
965
966 Tue Aug 18 03:54:43 1998  Tim Janik  <timj@gtk.org>
967
968         * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
969         to --g-fatal-warnings again. this option now causes log levels of
970         WARNING and CRITICAL to abort().
971
972         * gdk/gdk.c: 
973         * gdk/gdkdnd.c: 
974         * gdk/gdkcc.c: 
975         * gdk/gdkfont.c: 
976         * gdk/gdkwindow.c:
977         * gdk/gdkvisual.c:
978         * gtk/gtkwidget.c:
979         * gtk/gtktypeutils.c:
980         * gtk/gtktree.c:
981         * gtk/gtkfontsel.c:
982         * gtk/gtkmain.c:
983         * gtk/gtkobject.c:
984         * gtk/gtkpreview.c:
985         * gtk/gtkselection.c:
986         * gtk/gtktext.c:
987         * gtk/gtktree.c:
988         * gtk/gtktreeitem.c:
989         did a global search&replace to substitute g_print() calls with
990         g_message(). libraries shouldn't use printf(), g_print() or
991         g_printerr() at all.
992         a bunch of the replacements should probably be wrapped into the
993         G{D|T}K_NOTE() macros, so they are special cased for debugging
994         purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
995         things.
996
997         * gdk/gdkdnd.c: added copyright notice.
998
999 Mon Aug 17 17:28:00  Raph Levien  <raph@gtk.org>
1000
1001         * gdk/gdkrgb.c: Further speedups of the 565_d case. It's
1002         impressively fast now - about 4.65 Mpix/s on an IBM TP 600
1003         running a PII 233. It's synced with the 0.0.5 release of
1004         GdkRgb.
1005
1006 Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>
1007
1008         * gtk/gtkclist.h:
1009         (struct _GtkCListClass): new class methods:
1010         (sort_list) (insert_row) (remove_row) (set_cell_contents)
1011
1012         * gtk/gtkclist.c :
1013         (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
1014         removed and replaced by (set_cell_contents)
1015         (set_cell_contents): function for class method set_cell_contents
1016         (real_insert_row): function for class method insert_row
1017         (real_remoce_row): function for class method remove_row
1018         (real_sort_list): function for class method sort_list
1019         (default_compare): fix to avoid problems with cell types != CELL_TEXT
1020
1021         * gtk/gtkctree.h :
1022         (gtk_ctree_export_to_gnode): new function to export a ctree as gnode 
1023         (gtk_ctree_node_is_visible): new function to return visibility state
1024         of a node
1025         (gtk_ctree_show_stub): new function to set visibility of root stub
1026
1027         renamed functions :
1028         (gtk_ctree_insert) -> (gtk_ctree_insert_node)
1029         (gtk_ctree_remove) -> (gtk_ctree_remove_node)
1030         (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
1031         (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
1032         (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
1033         (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
1034         (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
1035         (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
1036         (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
1037         (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
1038         (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
1039         (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
1040         (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
1041         (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
1042         (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
1043         (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
1044         (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
1045         (gtk_ctree_sort) -> (gtk_ctree_sort_node)
1046         (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
1047
1048         * gtk/gtkctree.c :
1049         (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
1050         removed and replaced by (set_cell_contents)
1051         (set_cell_contents): function for class method set_cell_contents
1052         (real_insert_row): function for class method insert_row
1053         (real_remoce_row): function for class method remove_row
1054         (real_sort_list): function for class method sort_list
1055         (default_compare): removed. CTree now also compares two GtkCTreeRows
1056         instead of two GtkCTreeNodes.
1057         (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
1058         unlinking the node
1059         (real_tree_expand) (real_tree_collapse): fix for refcounting of
1060         node pixmaps
1061         (set_node_info): call gtk_ctree_node_set_pixtext instead of
1062         manipulating the row itself
1063         
1064         * gtk/testgtk.c: use renamed functions of GtkCTree.
1065         new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
1066         at work.
1067
1068 Mon Aug 17 15:31:38 1998  Tim Janik  <timj@gtk.org>
1069
1070         * gtk/gtkmain.c: removed gtk_input_add_interp.
1071
1072         * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
1073         keyword.
1074         (gtk_editable_get_event_time): fix default: case.
1075
1076         * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
1077
1078         * gdk/gdkpixmap.c: made a bunch of unexported functions static.
1079
1080         * gdk/gdkcolor.c:
1081         * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
1082         of our functions.
1083
1084         * various minor compilation cleanups, such as bogus commas in
1085         enums and similar things.
1086
1087 Mon Aug 17 07:47:43 1998  Tim Janik  <timj@gtk.org>
1088
1089         * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat()
1090         (thanx raph).
1091
1092 Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1093
1094         * NEWS: updated for 1.1.2
1095         * gtk+.spec: version = 1.1.2
1096
1097 Mon Aug 17 05:10:29 1998  Tim Janik  <timj@gtk.org>
1098
1099         * gtk/gtkmain.c (gtk_init): don't call module initializers multiple
1100         times. changed --gtk-with-module to --gtk-module at owen's request.
1101
1102 Mon Aug 17 03:47:55 1998  Tim Janik  <timj@gtk.org>
1103
1104         * gtk/gtkmain.c (gtk_init): feature a new commandline option
1105         --gtk-with-module=<module> that allows additional loading and
1106         initialization of modules (e.g. GLE).
1107
1108 Mon Aug 17 01:40:00 1998  Tim Janik  <timj@gtk.org>
1109
1110         * configure.in: version bump to 1.1.2, binary age 0, interface age 0.
1111         pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now.
1112
1113         * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log
1114         with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks",
1115         "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six
1116         different *-fatal-* arguments now. this needs to be revised and
1117         compressed to a reasonable amount of arguments.
1118
1119 Sun Aug 16 20:51:59 1998  Tim Janik  <timj@gtk.org>
1120
1121         * gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
1122         "--g-fatal-warnings" causes fatal warnings in GLib,
1123         "--gdk-fatal-warnings" causes fatal warnings in Gdk,
1124         "--gtk-fatal-warnings" causes fatal warnings in Gtk.
1125
1126         * gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
1127         * gdk/Makefile.am: define G_LOG_DOMAIN for gdk.
1128
1129         * gtk/testgtk.c: 
1130         * gdk/gxid.c:
1131         we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
1132         since automake doesn't support per target _CFLAGS yet.
1133
1134         * configure.in: require GLib 1.1.3.
1135
1136 Sat Aug 15 03:19:30 1998  John Ellis  <johne@bellatlantic.net>
1137
1138         * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function
1139         to set a callback to test if a node in drag can be dropped onto
1140         it's currrent location.
1141         * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions
1142         to change the pointer when a drag destination is not allowed.
1143
1144 Thu Aug 13 21:06:00 1998  Raph Levien  <raph@gtk.org>
1145
1146         * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that
1147         speeds up the 565_d case by about 25% total. Thanks Ray!
1148
1149 Thu Aug 13 16:47:44 1998  Owen Taylor  <otaylor@redhat.com>
1150
1151         * Changed GtkSignalFunc back to () from (void). (again!)
1152
1153         * Added file README.cvs-commits
1154         
1155 Thu Aug 13 09:11:11 BST 1998  Tony Gale  <gale@gtk.org>
1156
1157         * docs/gtk_tut.sgml:
1158           - Tidy up of the menufactory example from
1159             Andy Kahn <kahn@zk3.dec.com>
1160           - New section on Range Widgets from
1161             David Huggins-Daines <bn711@freenet.carleton.ca>
1162           - Started a new section on 'Advanced Event and Signal
1163             Handling' - used an email from Owen.
1164           - New appendix on Gdk Event Types
1165           - Added the tictactoe full example code to the
1166             'Code Examples' appendix
1167
1168 Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>
1169
1170         * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() - 
1171           to calculate all the metrics at once of a string, including
1172           things which weren't calculated before.
1173
1174         * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
1175           MenuItem type, that when put as the first thing in a
1176           menu, makes the menu tearoff. Currently drawn as a
1177           dashed line.
1178
1179         * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
1180           "hide_on_activate" to the MenuItem class structure to allow
1181           check and radio buttons to be changed with <Space> without
1182           hiding the menu.
1183
1184         * gtk/gtkitemfactory.c: 
1185           - Create a AccelGroup for each MenuShell we create.
1186           - If an '_' appears before a  character 'c' in the path,
1187             then make 'c' an accelerator in the menu's accel group,
1188             and if the menuitem is menubar <alt>C an accelerator 
1189             in the itemfactory's accel group. Double '__' inserts
1190             a literal '_'
1191
1192         * gtk/gtklabel.[ch]: Add support for a pattern arg - 
1193           which is a string. If an '_' appears in this string,
1194           the corresponding position in the label is underlined.
1195
1196           Add gtk_label_parse_uline() convenience function which
1197           takes a string with embedded underlines, sets the
1198           pattern and label, and returns the accelerator keyval.
1199
1200         * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
1201           Instead, they create a GtkWindow and add themselves
1202           to that. (When torn off, another new feature, they
1203           create another GtkWindow to hold the torn off menu)
1204
1205           New function gtk_menu_set_tearoff_state()
1206         
1207         * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h: 
1208           Added action signals  for keyboard navigation of menus.
1209
1210         * gtk/gtkmenushell.c: Key press handler which activates
1211           bindings for navigation, and accelerators, for handling
1212           underline accelerators. Exported functions to select 
1213           and activate menu items in a menushell.
1214
1215         * gtk/testgtk.c: Added a new "Item Factory" test which
1216           tests GtkItemFactory and the new keyboard navigation
1217           of menus.
1218
1219 Tue Aug 11 20:52:58 1998  Tim Janik  <timj@gtk.org>
1220
1221         * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
1222         external functions have been called. also relookup nodes after
1223         this function has been invoked.
1224
1225 Tue Aug 11 15:04:52 1998  Owen Taylor  <otaylor@redhat.com>
1226
1227         * gtk/gtktext.[ch]: Removed has_cursor, set the cursor
1228           beginning of Text when creating the Text widget.
1229
1230         * gtk/testgtk.c: Grab the focus on the text widget so
1231           as to test out the above.
1232
1233 Tue Aug 11 14:55:00 1998  Owen Taylor  <otaylor@redhat.com>
1234
1235         * gtk/gtkeditable.c: Reverted part of timj's change of Jul 16. 
1236           ::changed is a notification signal and should have no default
1237           handler. A complete redraw of the Text widget does _not_ need to
1238           be done on every text insertion.
1239
1240 Tue Aug 11 13:07:29 1998  Owen Taylor  <otaylor@redhat.com>
1241         (gtk-abilleira-072198-patch)
1242
1243         * gtk/gtkwindow.[ch]: 
1244           Add gtk_window_set_modal() which sets a flag; when
1245           set the window does a gtk_grab_add() when the window
1246           is shown, and a gtk_grab_remove() when the window
1247           is hidden. 
1248
1249         * gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
1250           that case will run "Create Dir","Delete File" and "Rename File" 
1251           dialogs as modal too.
1252
1253         * gtk/testgtk.c: Added a button with an example of creating modal 
1254           dialog boxes. Including file selection and color selection standard
1255           dialogs.
1256         
1257 Tue Aug 11 00:44:47 1998  Owen Taylor  <otaylor@redhat.com>
1258
1259         * gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
1260           Removed CAN_FOCUS by default from scrollbars, button
1261           children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children)
1262           (Scrollbar definitely good change, toolbar bit more questionable)
1263
1264 Tue Aug 11 17:49:33 1998  Tim Janik  <timj@gtk.org>
1265
1266         * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
1267         Pettersen).
1268
1269 Tue Aug 11 00:35:56 1998  Owen Taylor  <otaylor@redhat.com>
1270
1271         * gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0; 
1272           added all logical operations to gc->function.
1273
1274 Sun Aug  9 23:31:59 1998  Lars Hamann  <lars@gtk.org>
1275
1276         * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
1277         gtk_widget_size_allocate instead of gtk_widget_queue_resize
1278         if the visibility state of a scrollbar changes.
1279
1280 Mon Aug 10 12:49:54 1998  Tim Janik  <timj@gtk.org>
1281
1282         * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).
1283
1284 Thu Aug  6 22:37:21 1998  Stefan Jeske  <stefan@gtk.org>
1285
1286         * gtk/gtkclist.c: Renamed my_merge and my_mergesort to
1287         gtk_clist_merge and gtk_clist_mergesort. :)
1288
1289 1998-08-06  Martin Baulig  <martin@home-of-linux.org>
1290
1291         * gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
1292         `mergesort' -> `my_mergesort'.
1293
1294 Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>
1295
1296         * gtk/gtkenums.h: new enum GtkSortType.
1297         
1298         * gtk/gtkclist.h:
1299         * gtk/gtkclist.c:
1300         Added sorting capabilities to GtkCList. New APIs :
1301         gtk_clist_set_compare_func, gtk_clist_set_sort_column,
1302         gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort. 
1303         New internal functions : default_compare, merge, mergesort.
1304
1305         (gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
1306         
1307         (gtk_clist_insert): Modified to handle gtk_clist_append and the
1308         auto sort flag. Changed the return value from void to gint to
1309         return the row number where the element was actually inserted.
1310
1311         (gtk_clist_swap_rows): Return immediately if auto sort flag is set.
1312         
1313         * gtk/gtkctree.h:
1314         * gtk/gtkctree.c:
1315         Removed the auto_sort flag, replaced ctree->node_compare with
1316         clist->compare all over the place, modified default_compare to
1317         match clist's needs. Removed API´s : gtk_ctree_set_auto_sort,
1318         gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
1319
1320         * gtk/testgtk.c: Modified clist/ctree samples to demonstrate
1321         sorting. The lists can be sorted by a column by clicking the 
1322         corresponding title button.
1323         
1324 Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
1325
1326         * Released GTK+ 1.1.1
1327
1328 Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>
1329
1330         * gtk/gtkctree.h:
1331         * gtk/gtkctree.c:
1332         (gtk_ctree_find): changed to return a gboolean
1333         (gtk_ctree_insert_gnode): new function for recursive insertion of a
1334         GNode tree.
1335         (gtk_ctree_real_select_recursive): fix for extended selection
1336         (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
1337         (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
1338
1339 Tue Aug  4 16:18:26 1998  Tim Janik  <timj@gtk.org>
1340
1341         * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
1342         GLib version 1.1.1 is now required at minimum.
1343
1344         * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
1345         of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.
1346
1347 Mon Aug  3 19:24:48 1998  Owen Taylor  <otaylor@redhat.com>
1348  
1349         * gtk/gtktext.c (gtk_text_forward_delete): Undraw the
1350           cursor before (possibly) deleting the cursor's text
1351           property.
1352  
1353         * gtk/gtktext.c (correct_cache_delete): More attempts
1354           to clean the line-start cache up after inserting
1355           a property. Among other things, make sure to
1356           fix up text->current_line, since it is used to 
1357           refetch the changed lines.
1358  
1359 Tue Aug  4 10:59:19 1998  Owen Taylor  <otaylor@redhat.com>
1360
1361         * gtk/gtktable.[ch]: Empty rows/columns of the table
1362         should not have been marked as being able to shrink.
1363         (Fixes problem with shrinking scrollbarless GIMP canvases)
1364
1365 1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1366
1367         * gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
1368         function to find a row by its data pointer using a custom
1369         comparison function.
1370
1371 Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
1372
1373         * gtk/gtkclist.c: draw the buttons during a "draw" as well,
1374           this fixes a bug when the whole widget is made non-sesitive
1375           the buttons weren't redrawn
1376
1377 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
1378
1379         * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
1380         * gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
1381         * gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning
1382
1383 Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
1384
1385         * gdk/gdkwindow.c (gdk_window_reparent): Change 
1386           window_private->parent pointer when reparenting.
1387
1388 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
1389
1390         * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
1391         with the standalone release.
1392
1393 Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>
1394
1395         * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
1396         (gtk_clist_button_release) (new_column_width): Few fixes for
1397         column resize. Store resize column in clist->drag_pos.
1398
1399 Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>
1400
1401         * gtk/gtkctree.h 
1402         * gtk/gtkctree.c 
1403         * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
1404         to GtkCTreeNode *node.
1405
1406         * gtk/gtklist.h : added extended selection mode and auto scrolling.
1407         (struct _GtkList): removed unneeded variables timer, button,
1408         selection_start_pos, selection_end_pos, scroll_direction, have_grab.
1409         Added new variables undo_selection, undo_unselection, last_focus_child,
1410         undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
1411         drag_selection, add_mode.
1412  
1413         New functions :
1414         (gtk_list_extend_selection), (gtk_list_start_selection),
1415         (gtk_list_end_selection), (gtk_list_select_all),
1416         (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
1417         (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
1418         (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
1419         (gtk_list_undo_selection), (gtk_list_end_drag_selection)
1420         
1421         * gtk/gtklist.c : 
1422         (gtk_list_enter_notify): removed, because auto scrolling now works
1423         with gtk_list_motion_notify
1424  
1425         New functions, needed for auto scrolling :
1426         (gtk_list_motion_notify) (gtk_list_move_focus_child)
1427  
1428         New functions for extended selection support :
1429         (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
1430         (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
1431         (gtk_list_focus_lost)
1432         
1433         (gtk_list_set_focus_child): modified gtk_container_set_focus_child
1434         function to support auto scrolling, and avoid out-of-sync errors in
1435         case auf GTK_SELECTION_BROWSE
1436         (gtk_list_focus): modified gtk_container_focus function to avoid out
1437         off sync errors in case auf GTK_SELECTION_EXTENDED
1438
1439         * gtk/gtklistitem.h 
1440         * gtk/gtklistitem.c :
1441         New signal functions for key binding support :
1442         (toggle_focus_row), (select_all), (list_item), (unselect_all)
1443         (list_item), (undo_selection), (start_selection), (end_selection)
1444         (extend_selection), (scroll_horizontal), (scroll_vertical),
1445         (toggle_add_mode)
1446         (gtk_list_item_realize): added  GDK_KEY_PRESS_MASK |
1447         GDK_KEY_RELEASE_MASK
1448         (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
1449  
1450         * gtk/gtkcombo.c :
1451         (gtk_combo_popup_button_press):  grab pointer for combo->list
1452         (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
1453         (gtk_combo_list_key_press): take care of which child HAS_GRAB
1454         (gtk_comb_init): don't connect combo->button with button_release_event
1455
1456 Thu Jul 30 12:39:36 1998  Lars Hamann  <lars@gtk.org>
1457
1458         * gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines
1459
1460 Wed Jul 29 23:31:50 1998  Lars Hamann  <lars@gtk.org>
1461
1462         * gtk/gtkclist.c (gtk_clist_motion): column resize now works with
1463         horizontal autoscrolling, GtkCTree's 'reorder ability' now works
1464         with horizontal and vertical autoscrolling.
1465
1466 Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1467
1468         * gtk/docs/man: new directory
1469         * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page
1470
1471 Tue Jul 28 00:03:20 1998  Lars Hamann  <lars@gtk.org>
1472
1473         * gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
1474         bug
1475
1476 Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>
1477
1478         * docs/gtk_tut.sgml: GtkTree section from
1479           David Huggins-Daines <bn711@freenet.carleton.ca>,
1480           add a GtkText widget example
1481         * examples/text/* example/tree/* : new examples for the
1482           GtkTree and GtkText widgets
1483         * docs/gtk_tut.sgml: added an appendix to hold complete code
1484           examples that aren't in a full form elsewhere in the
1485           tutorial (e.g. scribble)
1486
1487 Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1488
1489         * Released GTK+ 1.1.0
1490
1491 Mon Jul 27 04:18:26 1998  Tim Janik  <timj@gtk.org>
1492
1493         * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
1494         the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
1495
1496 Mon Jul 27 03:11:20 1998  Tim Janik  <timj@gtk.org>
1497
1498         * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
1499         values are looked up.
1500
1501         * gtk/gtktypeutils.h:
1502         * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
1503         gtk_type_enums_find_value to lookup enum values.
1504
1505         * gtk/gtkctree.h: 
1506         * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
1507         GtkCTreeExpansionType. fixed signal creations to pass the enum
1508         types not just the base type GTK_TYPE_ENUM.
1509
1510         * gtk/gtkclist.h: 
1511         * gtk/gtkclist.c: fixed signal creations to pass the real enum
1512         types not just the base type GTK_TYPE_ENUM.
1513
1514 Sun Jul 26 14:50:07 1998  Stefan Jeske  <stefan@gtk.org>
1515
1516         * gtk/testgtk.c : 
1517         Began cleanup, e.g. use gtk_widget_show_all instead of many 
1518         gtk_widget_show's. Completely rewrote the button box sample
1519         (only one window now). Removed "miscellaneous" button.
1520
1521 Sun Jul 26 14:48:14 1998  Stefan Jeske  <stefan@gtk.org>
1522
1523         * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): 
1524         Fixed wrong allocation for GTK_BUTTONBOX_END.
1525         (allocation->x  =>  allocation->y)
1526
1527 Sun Jul 26 14:06:37 1998  Lars Hamann  <lars@gtk.org>
1528
1529         * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
1530         (abort_column_resize) (gtk_clist_key_press): fix for pointer grab
1531         
1532         * gtk/gtkctree.c (real_tree_select): added check to avoid double
1533         selected rows
1534         (gtk_ctree_button_press)
1535         (gtk_ctree_button_release): fix for pointer grab
1536
1537 Sat Jul 25 13:16:00 1998 Damon Chaplin  <DAChaplin@msn.com>
1538
1539         * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): 
1540         Fixed initialization problem - dirty memory could cause problems.
1541         Also checked that bitmapped fonts can be scaled when showing the
1542         available sizes.
1543
1544 Sat Jul 25 02:25:03 1998  Lars Hamann  <lars@gtk.org>
1545
1546         * gtk/gtkctree.c (gtk_ctree_sort_recursive)
1547         (gtk_ctree_sort_recursive): test for node != NULL
1548         (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
1549         (gtk_ctree_last) : added sanity checks
1550         * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"
1551
1552 Fri Jul 24 18:15:49 1998  Lars Hamann  <lars@gtk.org>
1553
1554         * gtk/gtkclist.c (toggle_focus_row): mini code cleanup
1555
1556 Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
1557
1558         * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
1559
1560 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
1561
1562         * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
1563         to check out binding priorities. someone should really write
1564         gtkrc-mode for emacs.
1565
1566         * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
1567         * gtk/testgtk.c (main): and move it here ;). this test says something
1568         on release of C-9. (this works only if the mouse pointer is on a
1569         spinbutton and there is no focus widget).
1570
1571         * gtk/gtkrc.h:
1572         * gtk/gtkrc.c:
1573         export gtk_rc_parse_color, gtk_rc_parse_state and a new function
1574         gtk_rc_parse_priority to parse path priority types.
1575         export rc tokens.
1576         feature binding parsing.
1577
1578 Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>
1579
1580         * gtk/gtkbindings.h: 
1581         * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
1582         feature binding parsing in rc files.
1583         * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
1584         * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
1585         order the bindings with lowest priority first.
1586
1587 Wed Jul 22 15:21:08 PDT 1998 Manish Singh <yosh@gimp.org>
1588
1589         * gdk/gdkrgb.c: actually builds and runs properly on big
1590         endian machines now, because we #include config.h. Also
1591         fixed up a compile error in the WORDS_BIGENDIAN case in
1592         gdk_rgb_convert_565_gray. I made the fix by looking at
1593         patterns in the other code; Raph can you verify this?
1594
1595         * gdk/gdkthreads.c: #include <unistd.h> to quell compiler
1596         warnings
1597
1598 Wed Jul 22 23:00:44 1998  Lars Hamann  <lars@gtk.org>
1599
1600         * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse) 
1601         (tree_toggle_expansion) (real_select/unselect_row)
1602         (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits
1603
1604 Wed Jul 15 17:44:47 1998  Owen Taylor  <otaylor@redhat.com>
1605
1606         * gtk/gtktext.c (new_text_property): We free things from
1607         the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.
1608
1609         * Fix up line start cache when splitting a property
1610         during an insert.
1611
1612 Wed Jul 15 21:15:52 1998  Owen Taylor  <otaylor@redhat.com>
1613
1614         * gtk/gtkwidget.c: restauration => restoration
1615
1616 Thu Jul 16 20:11:36 1998  Owen Taylor  <otaylor@redhat.com>
1617
1618         * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
1619         hasn't been created yet, don't do the lookup.
1620
1621 1998-07-20  Raph Levien  <raph@acm.org>
1622
1623         * gdk/gdkrgb.c: More cleanups in the config process.
1624
1625 1998-07-20  Raph Levien  <raph@acm.org>
1626
1627         * gdkrgb.c: Fixed minor config bug preventing big-endian
1628         architectures from working.
1629
1630 Tue Jul 21 06:32:43 1998  Stefan Jeske  <stefan@gtk.org>
1631
1632         * gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
1633         activity indicator. It is settable now as a fraction of the
1634         total width/height using gtk_progress_bar_set_activity_blocks.
1635         Renamed gtk_progress_bar_set_number_of_blocks to
1636         gtk_progress_bar_set_discrete_blocks.
1637
1638 Mon Jul 20 21:28:18 1998  Lars Hamann  <lars@gtk.org>
1639
1640         * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
1641         (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
1642         tree to specified depth
1643         (gtk_ctree_expand_to_depth): expand tree to specified depth
1644         (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth
1645
1646 Sun Jul 19 23:51:05 1998  Lars Hamann  <lars@gtk.org>
1647
1648         * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
1649         of GTK_CLIST_ADD_MOD
1650         * gtk/testgtk.c (add1000_clist): changed pixmap
1651
1652 Sat Jul 18 22:59:04 1998  Tim Janik  <timj@gtk.org>
1653
1654         * gtk/gtkmain.h: 
1655         * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.
1656
1657         * gtk/gtktypeutils.h:
1658         * gtk/gtkitemfactory.h: remove "void" from prototypes again.
1659
1660 Sat Jul 18 00:54:01 1998  Lars Hamann  <lars@gtk.org>
1661
1662         * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
1663         CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
1664         (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
1665         CHILD_ARG_POSITION
1666         (gtk_notebook_reorder_child): new funktion to change position of a
1667         notebook page
1668         (gtk_notebook_draw_arrow): draw left/right arrow with
1669         GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.
1670
1671         * gtk/gtkstyle.c (gtk_default_draw_arrow):
1672         added GTK_SHADOW_ETCHED_IN/OUT
1673
1674 Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>
1675
1676         * gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
1677           gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
1678         Introduced generic GtkProgress widget. Derived GtkProgressBar from
1679         GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
1680
1681 Fri Jul 17 23:49:28 PDT 1998 Manish Singh <yosh@gimp.org>
1682
1683         * gtk/gtktypeutils.h
1684         * gtk/gtkitemfactory.h: explicitly specify void in prototype
1685
1686 Fri Jul 17 17:54:02 1998  Lars Hamann  <lars@gtk.org>
1687
1688         * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
1689         of list
1690
1691 Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>
1692
1693         * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
1694         sropped the approach of copying all signal specific data into a
1695         GtkHandlerInfo structure. we rather keep the signal data on the stack
1696         in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
1697         avoids multiple lookups of the signal pointer and works savely together
1698         with destroy notifiers of handlers.
1699
1700         * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
1701         someone destroys the entry on the ::activate signal.
1702
1703 Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>
1704
1705         * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
1706         instead of ypad (typo).
1707         (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
1708         border around the allocation).
1709         (gtk_arrow_init): the static requisition needs to be setup in this
1710         function rather than gtk_widget_new(), so arrow creation works without
1711         the gtk_arrow_new() constructing.
1712         (gtk_arrow_expose): return TRUE, since we actually handled the expose.
1713
1714         * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
1715         implementation for GtkWidget::size_request, so size requisition for
1716         simple statically sized widgets like GtkArrow works.
1717
1718 Thu Jul 16 14:16:16 PDT 1998 Manish Singh <yosh@gimp.org>
1719
1720         * gtk-config.in: minor changes to gtk-config: --cflags doesn't
1721         prepend -I@libdir@/glib/include anymore, since glib-config handles
1722         it; --libs strips out redundant -L<path>'s properly (there was
1723         code in there to do it before, but it didn't work)
1724
1725 Thu Jul 16 18:24:41 1998  Tim Janik  <timj@gtk.org>
1726
1727         * gtk/gtknotebook.h: 
1728         * gtk/gtknotebook.c: signdness corrections all ove the place.
1729         implementation of object arguments: GtkNotebook::enable_popup,
1730         GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
1731         GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
1732         begun implementation of child args, we have GtkNotebook::tab_label, but
1733         GtkNotebook::menu_label and GtkNotebook::position still lack the
1734         implementation.
1735         (gtk_notebook_remove_page):
1736         (gtk_notebook_current_page): allow negative indices (-1) as alias for
1737         the last page.
1738
1739         * gtk/gtkentry.h:
1740         * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
1741         arguments GtkEntry::max_length and GtkEntry::visibility.
1742         (gtk_entry_adjust_scroll): queue a redraw.
1743
1744         * gtk/gtkeditable.h:
1745         * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
1746         object arguments GtkEditable::text_position and GtkEditable::editable.
1747         new (action) signal GtkEditable::set_editable.
1748         provide a default handler for GtkEditable::changed that queues a redraw.
1749
1750         * gtk/gtktext.h: 
1751         * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
1752         set_editable.
1753
1754 Thu Jul 16 14:42:11 1998  Lars Hamann  <lars@gtk.org>
1755
1756         * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
1757         case of drag_target == NULL
1758         * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
1759         Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
1760         * gtk/gtkfilesel.c (gtk_file_selection_file_button,
1761         gtk_dir_selection_file_button): fix due to changes in clist's
1762         select_row signal.
1763
1764 Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>
1765
1766         * gtk/gtkwidget.h:
1767         * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
1768         similar to gtk_widget_set_uposition(). that is: -1=unspecified,
1769         -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
1770         to be gint16s rather than guint16s, since that's what the code expected
1771         (for a long time actually).
1772
1773         * gtk/gtkviewport.c:
1774         added support for object arguments: GtkViewport::shadow_type,
1775         GtkViewport::vadjustment and GtkViewport::hadjustment.
1776         (gtk_viewport_add): chain gtk_bin_add.
1777
1778         * gtk/gtkscrolledwindow.c: 
1779         added support for object argument: GtkScrolledWindow::hscrollbar_policy,
1780         GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
1781
1782         * gtk/gtkadjustment.h: 
1783         * gtk/gtkadjustment.c: 
1784         * gtk/gtkctree.h: 
1785         * gtk/gtkclist.h: 
1786         * gtk/gtkctree.c: 
1787         * gtk/gtkclist.c:
1788         * gtk/gtkscrolledwindow.h:
1789         * gtk/gtkscrolledwindow.c:
1790         * gtk/gtkviewport.h:
1791         * gtk/gtkviewport.c:
1792         GtkType and macro fixups.
1793
1794 Thu Jul 16 01:10:02 1998  Lars Hamann  <lars@gtk.org>
1795
1796         * gtk/gtkctree.h :
1797         * gtk/gtkctree.c :
1798         Added focus handling, horizontal and vertical autoscrolling,
1799         extended Selection Mode, key bindings
1800         Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
1801         Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
1802         Removed gtk_ctree_clear.
1803         
1804         * gtk/gtkclist.h :
1805         * gtk/gtkclist.c : 
1806         Added focus handling, horizontal and vertical autoscrolling,
1807         extended Selection Mode, key bindings
1808
1809 Wed Jul 15 12:39:27 1998  Raph Levien  <raph@acm.org>
1810
1811         * This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1
1812         source tree. For more information on GdkRgb, please see:
1813         http://www.levien.com/gdkrgb/
1814
1815         * gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It
1816         bothers me slightly that the feature is in gdk, and this file is
1817         in gtk, but it's probably ok.
1818
1819         * gdk/gdk.h: Added an #include of <gdk/gdkrgb.h>
1820
1821         * gdk/gdkrgb.c:
1822         * gdk/gdkrgb.h: Added this module.
1823
1824         * Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files.
1825
1826         * configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb).
1827
1828 Wed Jul 15 14:20:10 1998  Tim Janik  <timj@gtk.org>
1829
1830         * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
1831         to this function. it needs to relookup the signal multiple times.
1832         this fixes spurious segfaults that could show up with signal intensive
1833         code, when classes are created during a pending emission (which is
1834         normal case).
1835
1836 Tue Jul 14 19:12:12 1998  Tim Janik  <timj@gtk.org>
1837
1838         * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
1839         child if it isn't a label.
1840
1841 Tue Jul 14 11:41:38 1998  Tim Janik  <timj@gtk.org>
1842
1843         * gtk/gtkdialog.h: 
1844         * gtk/gtkseparator.h: 
1845         * gtk/gtkhseparator.h: 
1846         * gtk/gtkvseparator.h: macro and GtkType fixups.
1847
1848 Tue Jul 14 06:25:46 1998  Tim Janik  <timj@gtk.org>
1849
1850         * gtk/testgtk.c (create_cursors): display the current cursor name.
1851
1852         * gtk/gtktypeutils.h: 
1853         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
1854         the fundamental type definition. the GtkArg union now only covers
1855         the required storage types for argument values. adapted the GTK_VALUE_*
1856         macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.
1857
1858         * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
1859         code, fixed int/float collection. fixed a bug in the sanity checking
1860         code for GtkObjects.
1861
1862         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
1863         argument collection code.
1864
1865         * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
1866         macros when distinguishing the return type.
1867
1868 Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>
1869
1870         * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
1871           is not NULL before trying to g_list_remove the child. A patch
1872           from Michael Lausch.
1873
1874 Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>
1875
1876         * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
1877         collection (always casted to doubles upon argument passing).
1878
1879 Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>
1880
1881         * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
1882         object_init_func for derived objects with the object's ->klass field
1883         still pointing to the corresponding base class, otherwise overridden
1884         class functions could get called with partly-initialized objects.
1885         (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
1886
1887 Sun Jul 12 02:47:35 1998  Tim Janik  <timj@gtk.org>
1888
1889         * gtk/gtkobject.h:
1890         * gtk/gtkobject.c:
1891         (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
1892
1893         * gtk/gtkcontainer.h:
1894         * gtk/gtkcontainer.c:
1895         (gtk_container_child_arg_get_info): new function which wraps
1896         gtk_arg_get_info().
1897
1898 Fri Jul 10 13:29:53 1998  Tim Janik  <timj@gtk.org>
1899
1900         * gtk/gtkcontainer.c:
1901         (gtk_container_arg_get): 
1902         (gtk_container_arg_set): 
1903         * gtk/gtkobject.c:
1904         (gtk_object_arg_set): 
1905         (gtk_object_arg_get):
1906         strictly check for the associated get/set arg functions. if an
1907         arg is readable or writable, the associated class functions *must*
1908         be provided.
1909
1910 Fri Jul 10 09:37:50 1998  Tim Janik  <timj@gtk.org>
1911
1912         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
1913         padding into account if there is an accelerator.
1914
1915 Fri Jul 10 05:51:44 1998  Tim Janik  <timj@gtk.org>
1916
1917         * gtk/gtkcontainer.c:
1918         (gtk_container_add_with_args): collect the arguments with
1919         gtk_container_child_args_collect, not through gtk_object_args_collect.
1920         (gtk_container_child_set): likewise.
1921
1922 Fri Jul 10 04:20:35 1998  Tim Janik  <timj@gtk.org>
1923
1924         * gtk/gtktypeutils.h: 
1925         * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
1926         which is derived from GTK_TYPE_STRING.
1927
1928         * gtk/gtkbindings.c: reworked the argument type handling.
1929
1930 Thu Jul  9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1931
1932         * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
1933           so that it seems to allow normal operation in those modes,
1934           although you will only see black  (GIMP toolbar now pops up,
1935           just don't create a new image and GIMP now works in 4 bit.)
1936
1937 Thu Jul  9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1938
1939         * gdk/gdkvisuals.c: 4 bit support, increased available_depths
1940           array, which was too low (?)
1941
1942 Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>
1943
1944         * gtk/gtkcontainer.h: 
1945         * gtk/gtkcontainer.c: deleted most of the argument handling code, since
1946         that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
1947         we now export a new function gtk_container_child_args_collect().
1948         for consistency with the object arguments, a few functions got renamed:
1949         gtk_container_child_arg_get -> gtk_container_child_get,
1950         gtk_container_child_arg_set -> gtk_container_child_set,
1951         gtk_container_child_arg_getv -> gtk_container_child_getv,
1952         gtk_container_child_arg_setv -> gtk_container_child_setv,
1953         gtk_container_add_with_argv -> gtk_container_addv.
1954         note, gtk_container_add_with_args() remained, because its equivalent
1955         would be gtk_container_add(,, ...) which would break all existing code.
1956         (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
1957         we expect the `arg_name' argument to be a const static string now.
1958         (gtk_container_get_child_arg_type): function removed.
1959
1960 Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>
1961
1962         * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
1963         this is a static inline function that collects command line arguments
1964         from a va_list. this file can just be included in all places that
1965         need this functionality.
1966
1967         * gtk/gtkarg.h: 
1968         * gtk/gtkarg.c: new files which implement most of the argument
1969         handling stuff from gtkobject.c. also collected a few more
1970         gtk_arg_* utility functions from else places.
1971
1972         * gtk/gtkobject.h: 
1973         * gtk/gtkobject.c: moved most of the argument handling code into
1974         gtkarg.c. we now export gtk_object_args_collect() as a non-public
1975         method with a blind va_list pointer.
1976         (gtk_object_add_arg_type): the `arg_name' argument is required to be a
1977         const static string now.
1978         (gtk_object_get_arg_type): function got removed.
1979
1980         * gtk/gtkwidget.c: 
1981         (gtk_widget_set): 
1982         (gtk_widget_new): adaptions for gtk_object_args_collect().
1983
1984         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
1985         fundamental type name so as to have a valid prefix, e.g. "bool"->
1986         "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
1987         though that should probably be something like GtkNone since the
1988         type itself is called GTK_TYPE_NONE.
1989         even the internal type names need to avoid name clashes and must live
1990         in their own namespace, several code portions rely on that.
1991         we should relly have typedefs such as typedef gchar* GtkString; so the
1992         fundamental type names can be used for code dumpers just like with all
1993         the Gtk/Gdk types.
1994
1995 Wed Jul  8 15:31:28 1998  Tim Janik  <timj@gtk.org>
1996
1997         * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
1998         keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
1999         to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
2000         (GTK_RELIEF_HALF).
2001         (gtk_button_paint): set the background for prelighted buttons with
2002         GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
2003         (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
2004         the shadow type (otherwise we get strange shadows for coloured buttons).
2005         (gtk_button_set_relief): queue a redraw after changing
2006         the relief.
2007         (gtk_button_class_init): 
2008         (gtk_button_set_arg): 
2009         (gtk_button_get_arg): added object argument "GtkButton::relief".
2010
2011         * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
2012
2013 Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
2014
2015         * gtk/gtkbutton.h:
2016         * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
2017         GTK_BIN (button)->child to button->child to keep source compatibility.
2018
2019         * gtk/gtkoptionmenu.c:
2020         * gtk/gtkclist.c:
2021         * gtkcheckbutton.c: don't refer to button->child, but
2022         GTK_BIN (button)->child instead.
2023
2024 Mon Jul  6 12:06:23 BST 1998  Tony Gale  <gale@gtk.org>
2025
2026         * docs/gtkfaq.sgml: update anon CVS info
2027
2028 Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>
2029
2030         * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
2031         functions.
2032
2033         * gdk/gdkwindow.c:
2034         * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
2035         to XFree() calls.
2036
2037 1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2038
2039         * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
2040         I seem to have erroneously added it to gtkfeatures.h (not .h.in).
2041
2042 Fri Jul  3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
2043
2044         * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
2045
2046 Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>
2047
2048         * gtk/gtkwidget.h:
2049         * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
2050
2051         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
2052         error that prevented signal to entry addition for signals with
2053         parameters.
2054
2055 Wed Jul  1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
2056
2057         * ltconfig: fix for properly detecting shared lib support on
2058         SunPro cc (taken from libtool 1.2.a)
2059
2060 Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>
2061
2062         * gtk/gtkrc.c: implementation of the "class" keyword for styles.
2063
2064 Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>
2065
2066         * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
2067         rc set pattern is favoured, this is needed for overriding of style
2068         patterns with subsequently parsed rc files.
2069
2070 Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>
2071
2072         * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
2073         error messages.
2074
2075 Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
2076
2077         * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
2078         modifier as well.
2079         (gtk_accelerator_name): add "<Release>" to the accelerator name if
2080         neccessary.
2081
2082         * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
2083         account.
2084
2085         * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
2086         default handler for key-release events, which checks for activation
2087         of GDK_RELEASE_MASK key bindings.
2088
2089         * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
2090
2091 Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>
2092
2093         * gtk/gtkarrow.h: GtkType and macro fixups.
2094         * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
2095         "GtkArrow::shadow_type".
2096
2097 Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>
2098
2099         * gtk/gtkalignment.h:
2100         * gtk/gtkbin.h: GtkType and macro fixups.
2101         
2102         * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
2103         implementation: GtkAlignment::xalign, GtkAlignment::yalign,
2104         GtkAlignment::xscale, GtkAlignment::yscale.
2105
2106 Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
2107
2108         * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
2109         fucntions from all parent types upon class initialization.
2110
2111         * gtk/gtkcontainer.c:
2112         (gtk_container_get_type): announce gtk_container_base_class_init to
2113         the type system.
2114         (gtk_container_base_class_init): new function to feature base class
2115         initialization.
2116         (gtk_container_get_child_arg): 
2117         (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
2118         and set_child_arg methods of the class indicated through the argument
2119         name.
2120
2121         * gtk/gtkobject.c:
2122         (gtk_object_base_class_init): new function to feature base class
2123         initialization.
2124         (gtk_object_init_type): announce gtk_object_base_class_init to the type
2125         system.
2126         (gtk_object_class_init): setup the get_arg and set_arg pointers for
2127         GtkObjectClass.
2128         (gtk_object_setv): 
2129         (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
2130         instead of bothering the type system with this.
2131
2132         * gtk/gtkaccellabel.c: 
2133         * gtk/gtkbutton.c: 
2134         * gtk/gtkradiobutton.c: 
2135         * gtk/gtktable.c:
2136         * gtk/gtktogglebutton.c: 
2137         * gtk/gtktipsquery.c: 
2138         * gtk/gtkbox.c: 
2139         * gtk/gtkpacker.c: 
2140         * gtk/gtkwidget.c: 
2141         * gtk/gtkwindow.c: 
2142         * gtk/gtkframe.c: 
2143         * gtk/gtkmisc.c:
2144         * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
2145         corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
2146         functions wrt GtkTypeInfo initialization. changed a lot of the set/get
2147         arg functions to take a GtkObject argument.
2148
2149         gtk/gtkadjustment.c:
2150         gtk/gtkalignment.c:
2151         gtk/gtkarrow.c:
2152         gtk/gtkaspectframe.c:
2153         gtk/gtkbbox.c:
2154         gtk/gtkbin.c:
2155         gtk/gtkcheckbutton.c:
2156         gtk/gtkcheckmenuitem.c:
2157         gtk/gtkclist.c:
2158         gtk/gtkcolorsel.c:
2159         gtk/gtkcombo.c:
2160         gtk/gtkctree.c:
2161         gtk/gtkcurve.c:
2162         gtk/gtkdata.c:
2163         gtk/gtkdialog.c:
2164         gtk/gtkdrawingarea.c:
2165         gtk/gtkeditable.c:
2166         gtk/gtkentry.c:
2167         gtk/gtkeventbox.c:
2168         gtk/gtkfilesel.c:
2169         gtk/gtkfixed.c:
2170         gtk/gtkfontsel.c:
2171         gtk/gtkgamma.c:
2172         gtk/gtkhandlebox.c:
2173         gtk/gtkhbbox.c:
2174         gtk/gtkhbox.c:
2175         gtk/gtkhpaned.c:
2176         gtk/gtkhruler.c:
2177         gtk/gtkhscale.c:
2178         gtk/gtkhscrollbar.c:
2179         gtk/gtkhseparator.c:
2180         gtk/gtkimage.c:
2181         gtk/gtkinputdialog.c:
2182         gtk/gtkitem.c:
2183         gtk/gtkitemfactory.c:
2184         gtk/gtklist.c:
2185         gtk/gtklistitem.c:
2186         gtk/gtkmenu.c:
2187         gtk/gtkmenubar.c:
2188         gtk/gtkmenuitem.c:
2189         gtk/gtkmenushell.c:
2190         gtk/gtknotebook.c:
2191         gtk/gtkoptionmenu.c:
2192         gtk/gtkpaned.c:
2193         gtk/gtkpixmap.c:
2194         gtk/gtkpreview.c:
2195         gtk/gtkprogressbar.c:
2196         gtk/gtkradiomenuitem.c:
2197         gtk/gtkrange.c:
2198         gtk/gtkruler.c:
2199         gtk/gtkscale.c:
2200         gtk/gtkscrollbar.c:
2201         gtk/gtkscrolledwindow.c:
2202         gtk/gtkseparator.c:
2203         gtk/gtkspinbutton.c:
2204         gtk/gtkstatusbar.c:
2205         gtk/gtktext.c:
2206         gtk/gtktoolbar.c:
2207         gtk/gtktooltips.c:
2208         gtk/gtktree.c:
2209         gtk/gtktreeitem.c:
2210         gtk/gtkvbbox.c:
2211         gtk/gtkvbox.c:
2212         gtk/gtkviewport.c:
2213         gtk/gtkvpaned.c:
2214         gtk/gtkvruler.c:
2215         gtk/gtkvscale.c:
2216         gtk/gtkvscrollbar.c:
2217         gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
2218         match the modified GtkTypeInfo structure.
2219
2220 Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>
2221
2222         * gtk/testgtk.c: use rand() instead of random() for portability
2223
2224 Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>
2225
2226         * configure.in
2227         * acconfig.h
2228         * gdk/gdk.c: use native Xlib XConvertCase if it's available
2229
2230 Sat Jun 27 15:44:46 1998  Tim Janik  <timj@gtk.org>
2231
2232         * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
2233         XConvertCase() functionality from X11R6 on X11R5 systems.
2234
2235 Thu Jun 25 10:50:34 1998  Stefan Jeske  <stefan@gtk.org>
2236
2237         * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
2238         gdk_string_height, gdk_char_height to retrieve the exact
2239         height of a text.
2240
2241 Thu Jun 25 07:53:51 BST 1998  Tony Gale  <gale@gtk.org>
2242
2243         * docs/gtk_tut.sgml: add section on GtkCList widget, contributed
2244           by Stefan Mars <mars@lysator.liu.se>
2245         * examples/clist/clist.c examples/clist/Makefile: example code
2246           for GtkCList widget from the Tutorial
2247
2248 Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>
2249
2250         * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
2251         if the container is not visible, we might be a toplevel! this holds
2252         for all other base container implementations as well, that are
2253         candidates to derive toplevels from. in general the resizing code will
2254         care about visibility itself.
2255         * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
2256         * gtk/gtkbox.c (gtk_box_remove): likewise.
2257
2258         * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
2259         gtk_window_set_hints(), since we haven't calculated the new position
2260         yet.
2261
2262         * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
2263         *mask are alway initialized in a sane way, regardless of the return
2264         value.
2265
2266 Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>
2267
2268         * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
2269         to gtk_container_child_arg_setv, but takes a variable argument list.
2270         new function gtk_container_get_child_arg_type, which is needed by
2271         gtk_object_collect_args.
2272
2273         * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
2274         take a function pointer to figure the argument type.
2275         adapted callers to pass gtk_object_get_arg_type.
2276         * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
2277         gtk_object_get_arg_type..
2278
2279         * gtk/gtkpacker.h: 
2280         * gtk/gtkpacker.c:
2281         (gtk_packer_reorder_child): new function to change the packing order
2282         of a child.
2283         (gtk_packer_size_request): 
2284         (gtk_packer_size_allocate): take container->border_width into acount.
2285
2286         * gtk/gtkpacker.c: implemented widget arguments:
2287         "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
2288         "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
2289         implemented child arguments:
2290         "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
2291         "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
2292         "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
2293         "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
2294
2295         * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
2296         not the alignment.
2297
2298         * gtk/gtkeventbox.h:
2299         * gtk/gtkeventbox.c: GtkType and macro fixups.
2300
2301         * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
2302         sensitivity of an entry.
2303
2304         * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
2305         for insensitive base and text.
2306
2307         * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
2308         widget state dependent.
2309         (gtk_entry_style_set): likewise.
2310         (gtk_entry_state_changed): set background color on state changes.
2311         (gtk_entry_draw_text): for non selected text, use state dependent
2312         colors.
2313
2314         * gtk/gtktogglebutton.c: support for widget arguments
2315         "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
2316
2317 Wed Jun 24 08:35:45 1998  Stefan Jeske  <stefan@gtk.org>
2318
2319         * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility 
2320         code for 1.0.x-like parameters. Changed internal interface of
2321         gtk_spin_button_real_spin. Several fixes to avoid emission of
2322         "value_changed" where possible.
2323
2324 Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
2325
2326         * gtk-boxed.defs: s/GkWidget/GtkWidget/
2327
2328 Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>
2329
2330         * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
2331         to select the resize_mode for the idle-labels container.
2332
2333         * gtk/gtkframe.h: 
2334         * gtk/gtkframe.c: GtkType and macro corrections.
2335
2336         * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
2337         support widget argument "GtkRadioButton::group".
2338
2339 Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>
2340
2341         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
2342         unconditionally if resize_mode has changed.
2343
2344         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
2345         GTK_RESIZE_QUEUE on the scrolled window.
2346         (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
2347
2348 Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>
2349
2350         * gtk/gtkcontainer.h:
2351         * gtk/gtkcontainer.c:
2352         (GTK_IS_RESIZE_CONTAINER): new macro to find out if
2353         a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
2354         (gtk_container_queue_resize): new function to queue a container for
2355         a *size* reallocation (doesn't affect its position, and thus its
2356         parent is left untouched usually).
2357         (gtk_container_get_resize_container): new function to retrive the next
2358         most resize container which is not itself queued for a resize.
2359         (gtk_container_idle_sizer): new function to carefully process the
2360         container_resize_queue since it can change during invokation of
2361         gtk_container_check_resize().
2362         (gtk_container_resize_children): total rework of this function to
2363         properly handle resize containers. makes a lot of assumptions whitch
2364         are stated in the comments.
2365
2366         * gtk/gtkcontainer.c:
2367         (gtk_container_real_check_resize): only requeue ourselves if we are not
2368         a resize container.
2369         (gtk_container_clear_resize_widgets): care for automatic deletion of our
2370         resize_widgets list on size_allocate through a handler connection.
2371
2372         * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
2373         focus and default widget of a window, so to take the burden from
2374         gtk_widget_unparent.
2375
2376         * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
2377         to be clever, but actually messed up the resize_children logic and
2378         caused unneccessary allocations on its whole branch. besides this,
2379         it messed up the display by not invoking a redraw after the allocation.
2380
2381         * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
2382         that it is the child again that is queued for a resize.
2383         (gtk_table_attach): likewise.
2384         (gtk_table_remove): likewise.
2385
2386 1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2387
2388         * gtk/gtkentry.h, gtk/gtkentry.c: Export the
2389         gtk_entry_adjust_scroll.  Required if you change the cursor
2390         position and want to sync it up with your code (Midnight Commander
2391         gtk front end needs this).
2392
2393         * gtk/gtktable.c: Deal with tables that have size 0, 0.
2394
2395 Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>
2396
2397         * examples/README.1ST: new file to explain how the
2398           code examples should be extracted from the tutorial.
2399
2400 Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
2401
2402         * gtk/gtkctree.c (draw_row): added new "line style"
2403         GTK_CTREE_LINES_TABBED 
2404         * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
2405         search the glist pointer of an GtkCTreeRow
2406
2407 1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
2408  
2409         * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
2410         from, and clean up, the dependencies.  Generate to intermediate
2411         files to prevent problems with Ctrl-C.
2412
2413         * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
2414
2415 Fri Jun 19 14:46:56 1998  Stefan Jeske  <stefan@gtk.org>
2416
2417         * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
2418         - Bug fix for precision problem causing occasional double emission 
2419           of "value_changed" signal (hopefully works now).
2420         - API change (should be binary compatible) : 
2421           new enum GtkSpinType; modified gtk_spin_button_spin to use it.
2422           Modified cursor example appropriately.
2423           To spin by something other than step_/page_increment, use
2424           gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
2425         - Made GTK_SHADOW_NONE the default. ;)
2426         - Fixed casting of GtkAdjustment* to GtkWidget* in
2427           gtk_spin_button_value_changed.
2428
2429 Fri Jun 19 06:18:19 1998  Tim Janik  <timj@gtk.org>
2430
2431         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
2432         for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
2433         resize widget list before queuing the container for a new reize.
2434         (gtk_container_need_resize): changed return value to FALSE, since this
2435         used to indicate that no further resizes are needed.
2436         (gtk_container_set_arg): 
2437         (gtk_container_get_arg): 
2438         (gtk_container_class_init): implemented GtkContainer::resize_mode
2439         argument.
2440
2441         (gtk_container_resize_children): when we walk up the tree of a resize
2442         widget we need to stop if we are the current parent.
2443
2444         * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
2445         GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
2446         (gtk_widget_hide_all): retrive the toplevel widget from via
2447         gtk_widget_get_resize_container().
2448
2449 Thu Jun 18 23:08:36 1998  Owen Taylor  <otaylor@gtk.org>
2450
2451         * gtk/gtklist.c (gtk_list_button_press): Only respond
2452           to selection with button 1. This allows context-sensitive
2453           menus to work correctly.
2454
2455 Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>
2456
2457         * gtk/gtkaccelgroup.c: 
2458         * gtk/gtkbindings.c: 
2459         * gtk/gtkcontainer.c:
2460         * gtk/gtkitemfactory.c:
2461         * gtk/gtkobject.c: 
2462         * gtk/gtksignal.c:
2463         * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
2464         g_quark_from_static_string calls to save memory.
2465
2466         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
2467         function _after_ the new data has been setup.
2468         minor changes to object data functions to feature the GQuark type.
2469
2470 Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>
2471
2472         * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
2473           from argv.
2474
2475 Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>
2476
2477         * gtk/genmarshal.pl: Modified to be more idiomatic Perl,
2478           to be more readable perl, to spit out stuff that looks
2479           more like readable C, and to pipe output through indent
2480           so output looks a lot like readable C. No functional
2481           changes.
2482
2483 Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>
2484
2485         * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
2486           necessary when switching to a masked pixmap. (Based on a patch
2487           from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
2488
2489 Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>
2490
2491         * gtk/gtkeditable.[ch]: Added action signals for keyboard
2492           bindings. (move_cursor, kill_word, etc, etc, etc). 
2493
2494           removed the time argument from
2495           gtk_editable_cut/copy/paste_clipboard (source but not
2496           binary incompatible...) Instead get time from
2497           gtk_get_current_event ().
2498         
2499         * gtk/gtktext.c gtk/gtkentry.c: Support the new editable
2500           signals.
2501
2502 Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>
2503
2504         Patches from Damon Chaplin <DAChaplin@email.msn.com>:
2505
2506         gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
2507              parent class to GtkNotebookClass when splitting the widget in
2508              two.  Also updated some comments.
2509
2510         gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
2511                button without a font selected.
2512
2513              Fixed bug in set_font_name - I hadn't updated the code to
2514                search for the style in the font_style clist - it was
2515                still assuming the style row was equal to its index,
2516                but it isn't any more.
2517         
2518              Changed 'Reset' button on filter page to 'Clear Filter'.
2519              Deleted old code relating to the old 'Filter Fonts' toggle
2520              Updated some comments.
2521              Cleared 'Actual Fontname' if no font is set.
2522
2523         gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
2524              destroying the GtkFontSelection instead of the
2525              GtkFontSelectionDialog.
2526
2527 Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>
2528
2529         * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
2530           flag to make all warnings fatal errors.
2531
2532         * gtk/testthreads.c: moved <pthreads.h> include inside 
2533           #ifdef USE_PTHREADS
2534
2535 Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>
2536
2537         * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c 
2538           gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
2539
2540         - Added new function gtk_container_set_resize_mode() for
2541           fine-grained control of where resize-queueing is done.
2542
2543         - Removed GtkContainer::need_resize and GtkWindow::move_resize
2544         - Added GtkContainer::check_resize to replace need_resize.
2545
2546         - Added function gtk_container_check_resize() to trigger
2547           queued resizes, and gtk_container_resize_children() to
2548           Figure which children need to be size-allocated. (logic
2549           moved from gtkwindow.c)
2550
2551         - Reorganized code in gtkwindow.c
2552         
2553         - Set the resize-mode for viewports so that resizes within
2554           a viewport don't propagate out of it. 
2555         
2556 1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2557
2558         * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
2559
2560         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
2561         g_return_val_if_fail, because the function *does* return a value.
2562
2563 Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>
2564
2565         * gtk/gtkaccellabel.h:
2566         * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
2567         request the size of the accelerator portion of an accel label.
2568         (gtk_accel_label_size_request): don't request for the accelerators size.
2569         (gtk_accel_label_expose_event): only draw the accelerator if we got
2570         enough extra space.
2571
2572         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
2573         width from children.
2574
2575         * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
2576         object (after removal has been requested) check if there is still an
2577         accelerator remaining to avoid adding two accelerators on an object.
2578         this can happen for locked accelerators (or accelerator-frozen widgets).
2579         (gtk_menu_size_request): feature childrens accelerator width in size
2580         requests.
2581
2582         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
2583         gtk_widget_freeze_accelerators() for dynamically created menu items.
2584
2585         * gtk/gtksignal.h: 
2586         * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
2587         which will return a handler_id > 0 if the specified function is pending
2588         for `signal_id'.
2589
2590         * gtk/gtkwidget.h:
2591         * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
2592         a signal handler function to stop accelerator addition.
2593         added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
2594         which will prevent (undo) any accelerators from being added to or
2595         removed from a widget.
2596
2597 Wed Jun 17 21:59:09 1998  Stefan Jeske  <stefan@gtk.org>
2598
2599         * gtkspinbutton.h gtkspinbutton.c testgtk.c:
2600         Changed GtkSpinButtonUpdatePolicy enum, added keyboard
2601         acceleration, new API gtk_spin_button_set_snap_to_ticks.
2602
2603 Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>
2604
2605         * gdk/gdk.h:
2606         * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
2607         the current GdkWindow the pointer is on if there is any.
2608         
2609         * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
2610         and one column, so we don't construction logic at all. changed a few
2611         (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
2612         unsigned int wraps.
2613
2614         * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
2615         portion, added an additional check for parent != widget.
2616
2617         * more GtkType and macro fixups.
2618
2619 1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2620
2621         * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
2622         "clip" parameter, which is the clipping rectangle to use.  This
2623         eliminates the extremely annoying flicker when exposing parts of
2624         the handlebox.
2625
2626 Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
2627
2628         * gtk/gtktable.c: fix from TimJ for off-by-one error in table
2629         resizing
2630
2631 Tue Jun 16 06:29:57 1998  Tim Janik  <timj@gtk.org>
2632
2633         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
2634         != 0 on the argument.
2635
2636         * gtk/gtktable.h: 
2637         * gtk/gtktable.c: new function gtk_table_resize() which allowes
2638         shrinking and expanding of tables. implementation of widget arguments
2639         and child arguments. many signedness corrections.
2640
2641 Mon Jun 15 04:15:03 1998  Tim Janik  <timj@gtk.org>
2642
2643         * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
2644         not only the child, otherwise we might end up taking away other
2645         childrens space after the resize.
2646
2647         * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
2648         an unknown menu path from any source, that path must always be flagged
2649         as "modified", since we don't really know whether it has its default
2650         value or not.
2651
2652         * gtk/gtktree.c:
2653         * gtk/gtkpacker.c:
2654         * gtk/gtknotebook.c:
2655         * gtk/gtkmenushell.c:
2656         * gtk/gtklist.c:
2657         * gtk/gtkpaned.c:
2658         * gtk/gtkfixed.c: 
2659         * gtk/gtkbutton.c: implement gtk_*_child_type functions.
2660
2661         * gtk/gtkbox.h: 
2662         * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
2663         arguments. implemented child arguments.
2664
2665         * more GtkType and macro fixups.
2666
2667 Sun Jun 14 16:30:02 1998  Tim Janik  <timj@gtk.org>
2668
2669         * gtk/gtkcheckbutton.h: GtkType and macro fixups.
2670
2671         * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
2672         and gtk_clist_get_hadjustment.
2673
2674         * gtk/gtkcontainer.c:
2675         implementation of children arguments, new class member functions
2676         (child_type), (get_child_arg) and (set_child_arg) plus a new field
2677         n_child_args.
2678         (gtk_container_child_type): new function which returns the type of a
2679         child that the container expects for its next addition.
2680         (gtk_container_add_child_arg_type): new function to introduce a new
2681         child argument at class creation time.
2682         (gtk_container_query_child_args): new function to query all child
2683         arguments that are supported by a container class.
2684         (gtk_container_child_arg_getv): new fucntion to retrive the value of a
2685         child argument.
2686         (gtk_container_child_arg_setv): new function to set a child argument for
2687         a certain container and child combination.
2688         (gtk_container_add_with_args):
2689         (gtk_container_add_with_argv): new functions to feature addition of a
2690         new child in combination with the setting of certain child arguments.
2691
2692         * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
2693         GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
2694         this should really be done through class cretion hooks some day.
2695
2696         * gtk/gtkcontainer.c: changed type of border_width from gint16 to
2697         guint : 16.
2698
2699         * gtk/gtkpacker.h:
2700         * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
2701         follow the gtk convention for lower case variable names (important
2702         for language wrappers and widget arguments), and made them guint : 16.
2703
2704         * examples/packer/pack.c: adaptions for the case converted GtkPacker
2705         fields.
2706
2707 Fri Jun 12 16:33:23 1998  Tim Janik  <timj@gtk.org>
2708
2709         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
2710         change the character pair for single line comments.
2711         (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
2712         GtkItemFactoryClass.
2713         (gtk_item_factory_parse_rc_string): likewise.
2714
2715 Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>
2716
2717         * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
2718         lists from the klass structure to a static structure
2719         in gtkfontsel.c; cleans up global the namespace.
2720
2721 Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>
2722
2723         * gtk/makeenums.pl (parse_entries): Fix (untriggered)
2724         bug with /*< skip >*/ and remove warning.
2725         
2726 Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>
2727
2728         * gtk/Makefile.am: Made the gtkmarshal.* generation
2729         rules maintainer-only.
2730
2731 Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
2732
2733         * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h 
2734           gtk/Makefile.am gtk/makenums.pl 
2735
2736         Removed out the G_ENUM/FLAGS mechanism in favor
2737         of a perl script that parses the standard headers
2738         (with occasional /*< nick=foo >*/ style overrides)
2739         and extracts the enumerations.
2740
2741           gtk/maketypes.awk: Small improvments to the
2742           translation of names. (Avoid splitting gc into
2743           g_c_.)
2744         
2745 Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>
2746
2747         * gtk/gtk.h gtk/gtkfontsel.[ch]: 
2748         Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
2749         
2750 Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>
2751
2752         * gtk/gtkentry.c:
2753         - Restored gtk_entry_adjust_scroll to static 
2754         - Changed text positioning code so that we always
2755           display as large a portion of the text as possible.
2756
2757 Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>
2758
2759         * gtk/gtktext.c (gtk_text_finalize): Free internal
2760         structures of text widget. Also, unreference pixmaps
2761         when unrealizing.
2762         
2763 Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>
2764
2765         * gdk/gdkinputcommon.h (gdk_input_device_new): Change
2766         3.3.1 bug workaround to number keys starting at 1.
2767
2768 Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>
2769
2770         * docs/gtk_tut.sgml: Fixed urls for complete example
2771         source for scribble+widget-writing examples.
2772
2773 Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>
2774
2775         * gdk/gdkpixmap.c (gdk_pixmap_extract_color): 
2776         Patch from Tom Bech <tomb@ii.uib.no>, to handle color
2777         specs of the form c #abcdef [ more keys ] properly.
2778
2779 Sat Jun 13 10:51:56 1998  Stefan Jeske  <stefan@gtk.org>
2780
2781         * gtkspinbutton.h gtkspinbutton.c testgtk.c 
2782         (gtk_spin_button_set_shadow_type):
2783         New API to set the shadow type of the arrow panel.
2784
2785 Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>
2786
2787         * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
2788         code for drawing the child in two places at once. Unfortunately,
2789         not only does it not work anymore (because reparenting has
2790         been fixed), but it also triggers reparent/expose loops
2791         in some cases.
2792
2793         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
2794         an unecessary unrealize.
2795
2796 Fri Jun 12 21:18:56 1998  Owen Taylor  <otaylor@gtk.org>
2797
2798         * gdk/gdkwindow.c (gdk_window_reparent): Update the
2799           old and new parents' child window lists properly.
2800
2801 Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>
2802
2803         * gtk/gtkpacker.h:
2804         * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
2805         and GtkSideType, to be consistent with the rest of Gtk's enum
2806         definitions. wrapped the enum definitions with the G_ eunm wrappers.
2807         spelled out the GTK_ANCHOR_* enum values, since single letters don't
2808         work out corectly as nick-names (left the old values as aliases).
2809         some signdness corrections (border-width, spacing), could stand more.
2810
2811 Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
2812
2813         * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: 
2814           Added gtkpacker
2815
2816         * examples/packer/pack.c, examples/packer/Makefile: Added
2817           gtkpacker example
2818
2819 Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>
2820
2821         * gtk/gtktext.c (remove_cache_line): Fixed broken
2822         list-removal code.
2823
2824         * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
2825         Check bounds before deleting.
2826
2827 Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>
2828
2829         * autogen.sh: Support ACLOCAL_FLAGS
2830
2831 Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>
2832
2833         * gtk-config.in: Added missing quotes.
2834
2835 Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
2836
2837         * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
2838
2839 1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
2840
2841         * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
2842         G_COMPILED_WITH_DEBUGGING.
2843
2844         * configure.in (fd_set): Explain check better.
2845
2846         * acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
2847         the version from which gtk+'s libtool forked.  Needed for people
2848         who use post-1.2 alphas of libtool.
2849
2850 Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
2851
2852         * glib/* Moved to glib module
2853
2854         * INSTALL Makefile.am acconfig.h autogen.sh configure.in
2855           gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
2856
2857           configuration changes for the above:
2858          
2859           - Use AM_PATH_GLIB by default to find glib; also accept
2860             a --with-glib option for using an uninstalled glib.
2861          
2862           - Put --enable-debug information into config.h so
2863             that we rebuild when it changes. (was in glibconfig.h)
2864
2865 Wed Jun 10 22:23:27 1998  Lars Hamann  <lars@gtk.org>
2866
2867         * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
2868
2869         * gtk/gtknotebook.h (struct _GtkNotebookClass):
2870         * gtk/gtknotebook.c (gtk_real_notebook_switch_page): 
2871         added missing argument (according to Joseph Coleman's bug report)
2872
2873         * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
2874         function to fix notebook focus handling
2875         
2876 Wed Jun 10 12:57:03 1998  Owen Taylor  <otaylor@gtk.org>
2877
2878         * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
2879           glib/gutils.c glib/testglib.c glib/gdataset.c
2880           gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
2881           gtk/gtktext.c gtk/gtkbindings.c:
2882
2883          renamed g_const_pointer => gconstpointer
2884
2885 Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
2886
2887         * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
2888         invoked with (NULL, NULL); (this worked sometime ago).
2889
2890         * gtk/gtktypeutils.h: 
2891         * gtk/gtktypeutils.c: enum and flags type creation can now be done
2892         through gtk_type_register_enum() and gtk_type_register_flags(),
2893         which allow to specify the enum value arrays directly.
2894         the NULL terminated value arrays can be retrived through
2895         gtk_type_enum_get_values() and gtk_type_flags_get_values();
2896         (gtk_type_children_types): new function to query derived types.
2897
2898 1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>
2899
2900         * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
2901         environment to genmarshal.pl.
2902         (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
2903         rule), and removed it where not needed (in the dependencies).
2904
2905         * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
2906
2907 Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>
2908
2909         * gtk/gtkobject.c: Removed g_object_pointer_hash, which
2910         was just g_direct_hash.
2911
2912 Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>
2913
2914         * configure.in: x_libs=, not $x_libs=. Enough said.
2915           (Case only hit for --disable-xshm)
2916         
2917 Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>
2918
2919         * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
2920           when testing for X libraries, don't replace them. Because
2921           the user might have specified the path to the X libraries
2922           themself before running configure.
2923
2924         * examples/**.c: Changed all gpointer * to gpointer
2925         
2926 1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2927
2928         * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
2929         fleur_cursor field.  Now the cursor is created/destroyed on demand
2930         by the routines that need it.
2931
2932         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): 
2933         (gtk_handle_box_motion): The fleur cursor is created and destroyed
2934         only when needed.
2935
2936 Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>
2937
2938         * gtk/gtktypeutils.h: 
2939         * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
2940         gtk_enum_set_values to gtk_type_enum_get_values and
2941         gtk_type_enum_set_values respectively, since they are actually type
2942         system features.
2943
2944         * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
2945         my last commit. ;)
2946
2947 Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>
2948
2949         * gtk/gtkselection.h: 
2950         * gtk/gtkselection.c: new functions gtk_selection_data_copy and
2951         gtk_selection_data_free.
2952
2953         * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
2954         for "selection_received", which was completely bogus.
2955         * other fixups to gtk_signal_new() calls all over the place.
2956
2957         * gtk/gtktypebuiltins.h: types as variables (formerly macros).
2958         * gtk/gtktypebuiltins_vars.c: type variable implementations.
2959         * gtk/gtktypebuiltins_ids.c: array entries for builtin type
2960         declarations.
2961         * gtk/gtktypebuiltins_evals.c: enum value arrays.
2962         * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
2963         gtk.defs.
2964         * gtk/gtk.defs: generated file with scheme syntax for type definitions
2965         of gtk and gdk structures and enums.
2966         * gtk/gtktypeutils.h: 
2967         * gtk/gtktypeutils.c: reworked type ids, so they are variables not
2968         macros anymore (this fixes binary incompatibility with new enum
2969         definitions).
2970
2971         * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
2972         key bindings for this widget.
2973         * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
2974         handler.
2975
2976         * gtk/gtkobject.h:
2977         * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
2978         again. new functions gtk_object_class_user_signal_new () and
2979         gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
2980         flag on the signal creation.
2981
2982 Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>
2983
2984         * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
2985
2986 Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>
2987
2988         * gdk/gdkprivate.h: 
2989         * gdk/gdktypes.h: 
2990         * gtk/gtkprivate.h: 
2991         * gtk/gtkwidget.h: 
2992         * gtk/gtkobject.h: wrapped enum definitions with glib macros.
2993
2994         * reworked enum value array generation code. gtk.defs is a generated
2995         file now.
2996
2997 Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>
2998
2999         * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
3000         check menu items in the compatibility code (this required me to remove
3001         the "<check>" part from the menu item name, grrr).
3002
3003 1998-06-07  Marius Vollmer  <mvo@zagadka.ping.de>
3004
3005         * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
3006         * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
3007         
3008 Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>
3009
3010         * gtk/gtkitemfactory.h: 
3011         * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
3012         additions to the dumping code to feature GtkPatternSpec.
3013         even found a bug to fix in the original code ;)
3014         
3015 Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>
3016
3017         * gtk/gtkitemfactory.c: support different types of callbacks, to
3018         maintain existing code.
3019
3020 Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
3021
3022         * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
3023
3024         * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
3025         this should eventually be done by gentypeinfo.el somewhen.
3026         * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
3027
3028         * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
3029         enum values of an enum type.
3030
3031         * gtk/gtk.defs:
3032         * gtk/gtkcurve.h: 
3033         * gtk/gtkobject.h: 
3034         * gtk/gtkprivate.h: 
3035         * gtk/gtkwidget.h:
3036         * gtk/gtkenums.h: 
3037         brought enum/flags definitions in sync, added a few more enum
3038         definitions for bindings and pattern matching.
3039
3040         * some more macro and GtkType fixups in various places.
3041
3042         * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
3043         as a key-release modifier for the binding system.
3044
3045 Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
3046
3047         * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
3048         was a stale list pointer that is already present in GtkMenuShell.
3049
3050         * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
3051         GtkMenuShell::selection_done which is emitted after the menu shell
3052         poped down again and all possible menu items have been activated.
3053
3054 Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
3055
3056         * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
3057         before activation of the menuitem, so the menu is actually taken off the
3058         screen prior to any menu item activation.
3059
3060         * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
3061         for NULL nodes.
3062
3063         * gtk/gtkwidget.h:
3064         * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
3065         the emission of the "add-accelerator" signal on a widget. this is
3066         usefull to prevent accelerator installation on certain widgets.
3067
3068         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
3069         labels left justified, by setting their alignment. stop accelerator
3070         installation for the menu items, since we use dynamic menus.
3071
3072 Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
3073
3074         * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
3075         should *really* use GtkItemFactory. this is only for preserving source
3076         compatibility where possible, use of GtkMenuFactory is deprecated as of
3077         now.
3078
3079         * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
3080         to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
3081         missed this possibility when i added gtk_object_class_add_user_signal
3082         in late january.
3083
3084         * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
3085
3086 Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
3087
3088         * gtk/gtkaccelgroup.h: 
3089         * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
3090
3091         * gtk/gtkaccellabel.h: 
3092         * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
3093         display of the accelerators associated with a certain widget.
3094
3095         * gtk/gtkitemfactory.h: 
3096         * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
3097         parsing and accelerator handling.
3098
3099         * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
3100         positioning a menu.
3101         (gtk_menu_map): removed the allocation code.
3102         (gtk_menu_size_allocate): care for redrawing of children and resize
3103         our widget->window correctly.
3104         (gtk_menu_key_press): feature the new accelerator groups.
3105
3106         * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
3107         submenu if neccessary.
3108
3109         * gtk/gtkmenuitem.c:
3110         * gtk/gtkcheckmenuitem.c:
3111         * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
3112         function variants.
3113
3114         * gdk/gdk.c:
3115         (gdk_keyval_from_name): 
3116         (gdk_keyval_name): new functions for keyval<->key-name associations.
3117         (gdk_keyval_to_upper): 
3118         (gdk_keyval_to_lower): 
3119         (gdk_keyval_is_upper): 
3120         (gdk_keyval_is_lower): new functions to check/translate keyvalues with
3121         regards to their cases.
3122
3123 Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
3124
3125         * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
3126         widget's class path.
3127         (gtk_widget_path): new function to calculate a widget's name path.
3128
3129         * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
3130         pattern matching, features reversed pattern matches.
3131
3132 Thu Jun  4 12:12:11 BST 1998  Tony Gale  <gale@gtk.org>
3133
3134         * examples/extract.sh, examples/extract.awk:
3135           New files to automagically extract code examples from the
3136           tutorial.
3137
3138 Tue Jun  2 20:04:45 1998  Lars Hamann  <lars@gtk.org>
3139
3140         * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
3141         * gtk/gtkcontainer.c (gtk_container_focus_move):
3142         reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
3143
3144 Tue Jun  2 13:04:06 BST 1998  Tony Gale  <gale@gtk.org>
3145
3146         * docs/gtk_tut.sgml: minor changes to support auto
3147           extraction of example code
3148
3149 Mon Jun  1 12:47:56 BST 1998  Tony Gale  <gale@gtk.org>
3150
3151         * docs/gtk_tut_it.sgml: Update of Italian Tutorial
3152           to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
3153
3154 Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>
3155
3156         * docs/gtk_tut.sgml:
3157           - new section on Events
3158           - change all delete_event callbacks to include
3159             a GdkEvent parameter
3160           - clean up the formatting
3161
3162         * examples - helloworld.c, helloworld2.c, notebook.c,
3163           packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
3164           rulers.c, table.c, wheelbarrow.c: change all delete_event
3165            callbacks to include a GdkEvent parameter.
3166
3167 1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
3168
3169         * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
3170         field of crossing events.
3171         (struct _GdkEventCrossing): Added the following fields: time, x,
3172         y, x_root, y_root, mode, focus, state.
3173
3174         * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
3175         crossing event structure.
3176
3177         * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
3178         changes to the crossing event structure.
3179
3180 Tue May 26 15:51:28 1998  Radek Doulik  <gis@academy.cas.cz>
3181
3182         * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
3183
3184 Sun May 24 12:11:38 BST 1998  Tony Gale  <gale@gtk.org>
3185
3186         * docs/gtk_tut.sgml:
3187            - GtkTooltips, update to current API
3188            - change all 'gpointer *data' to 'gpointer data'
3189            - other minor changes
3190
3191 Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>
3192
3193         * configure.in (LDFLAGS): Bomb out with a moderately
3194           helpful message if detection of X libraries fails.
3195
3196 Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>
3197
3198   [ Combination of:
3199      gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
3200      gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
3201
3202         * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
3203           gtk/gtksignal.c gtk/gtktext.c: 
3204
3205           Fixups for warnings from adding const to type of GHashFunc,
3206           GCompareFunc
3207         
3208         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
3209           ansi-warnings fixups.
3210
3211 Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
3212
3213         * gtk/gtkeventbox.c (gtk_event_box_size_allocate): 
3214         Locate child at (border_width,border_width), not
3215         (2*border_width,2*border_width). [ The border is _outside_
3216         widget->window ]
3217         
3218         * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
3219           functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
3220
3221 1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3222
3223         * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
3224         used in gnome-libs
3225
3226 1998-05-22    <sopwith@redhat.com>
3227
3228         * gtk/gtkeventbox.c: Pass size_allocate on to the child
3229         regardless of whether it is visible or not. Also
3230         locate child at (border_width,border_width), not (0,0)
3231
3232 Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>
3233
3234         * gtk/gtkhandlebox.c: Added style_set handler.
3235
3236 Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
3237  [ From: Chris Lahey  <clahey@umich.edu> ]
3238         
3239         * gtk/gtkeditable.c, gtk/gtkeditable.h,
3240           gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
3241           and set_position functions to get and set the cursor position.
3242
3243         * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
3244           signal status. Make GtkText do user-controlled insertion
3245           and deletion through the Editable widget so that these
3246           signals are properly emitted.
3247
3248         * gtk/gtkentry.c: Changed gtk_entry_set_visibility to 
3249           display asterisks instead of empty space when visible = FALSE)
3250
3251 Fri May 22 08:51:10 CEST 1998  Paolo Molaro <lupus@debian.org>
3252
3253         * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
3254         signal.
3255
3256 1998-05-21    <sopwith@redhat.com>
3257
3258         * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
3259         custom routine for loading images specified in gtkrc's.
3260
3261 Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>
3262
3263         * configure.in: Use pthread_attr_init() as a test function,
3264         since most of the rest of -lpthread is macros on DU4.
3265
3266 Tue, 19 May 1998 09:03:03 +0200  Paolo Molaro <lupus@debian.org>
3267
3268         * gtk/gtkcombo.c: implemented completion in the entry.
3269
3270 1998-05-18    <sopwith@moebuis.labs.redhat.com>
3271
3272         * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals
3273
3274 Mon May 18 04:01:41 1998  Tim Janik  <timj@gtk.org>
3275
3276         * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
3277         "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
3278         to be of runtype GTK_RUN_LAST.
3279
3280         * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
3281         "need-resize".
3282
3283         * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
3284         "widget-selected".
3285
3286 Sat May 16 09:04:32 1998  Tim Janik  <timj@gtk.org>
3287
3288         * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
3289         text retrived from GtkEntry. only intercept the Tab key if there
3290         was some text to complete.
3291
3292 Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
3293
3294         Basic thread-awareness:
3295
3296         * acconfig.h configure.in: New option --with-threads=[yes/posix/no]
3297
3298         * gdk/Makefile.am gdk/gdkthreads.c: Added new functions 
3299         gdk_threads_[init/enter/leave] for applications, plus
3300         gdk_threads_wake to wake the mainloop thread out of
3301         the select().
3302
3303         * gtk/Makefile.am: gtk/testthreads.c: Test program for threads
3304
3305 Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>
3306
3307         * gtk/testgtk.c (list_clear): Account for the fact
3308         that gtk_list_clear_items is not inclusive. (Clears
3309         [start, end))
3310
3311 Fri May 15 12:31:27 1998  rodo  <doulik@karlin.mff.cuni.cz>
3312
3313         * gdk/gdk.c: include gdkkeysyms.h always
3314         
3315
3316 Fri May 15 09:44:10 1998  Tim Janik  <timj@gtk.org>
3317
3318         * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
3319         the visibility_notify_event method and changed method order.
3320
3321 1998-05-14    <sopwith@moebuis.labs.redhat.com>
3322
3323         * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget
3324
3325 Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>
3326
3327         * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
3328         from Olli Helenius <ollhel@batman.jytol.fi>.
3329
3330         * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
3331         freeing types.
3332         (gtk_type_set_chunk_alloc): new function to allow allocation of new
3333         types from a mem_chunk of certain size (n_chunks==0 indicates allocation
3334         thorugh g_malloc).
3335
3336         * gtk/gtkobject.c (gtk_object_finalize): free an object through
3337         gtk_type_free().
3338
3339         * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
3340         GtkButtons to 16.
3341         * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
3342         * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
3343
3344 Wed May 13 00:53:52 1998  Owen Taylor  <otaylor@gtk.org>
3345
3346         * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more 
3347           GPOINTER_TO_UINT fixes.
3348
3349         * gtk/gtksignal.c: Include <string.h> for memset.
3350
3351 Tue May 12 23:10:53 1998  Owen Taylor  <otaylor@gtk.org>
3352         (Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)
3353
3354         * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h: 
3355         Cleanups, comments and the ability to have rulers with 
3356         a reversed direction.
3357
3358 Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>
3359
3360         * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
3361         that Sopwith missed when changing stat => lstat.
3362
3363 Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>
3364
3365         * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
3366           gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
3367         GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
3368
3369         * gdk/gdk.c: Print sizeof() results
3370         as g_print("%ld", (glong)sizeof(foo)), to deal with
3371         sizeof() being long on Alpha's.
3372
3373         * gtk/testgtk.c: include <string.h> for strlen
3374
3375 Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
3376         (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
3377         
3378         * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
3379         Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
3380
3381         * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
3382
3383 Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
3384         (From: Christopher James Lahey <clahey@umich.edu>)
3385         
3386         * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
3387           gtk/testgtk.c:
3388
3389         Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
3390         (old style), or GTK_RELIEF_NONE - no relief in the NORMAL
3391         state. Added gtk_toolbar_{set,get}_button_relief, which set/get
3392         the default relief for the toolbars buttons. Added an
3393         toggle for the toolbar test in testgtk.c.
3394
3395 Tue May 12 00:24:59 1998  Owen Taylor  <otaylor@gtk.org>
3396
3397         * docs/gtk-config.1: Rewritten and hopefully improved.
3398
3399 Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>
3400
3401         * docs/Makefile.am
3402         * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield
3403
3404 1998-05-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
3405
3406         * gtk/gtkpreview.c (gtk_preview_realize): Create the window using
3407         GtkPreview's visual and colormap, otherwise things can BadMatch.
3408
3409         * gtk/testgtk.c (create_color_preview): 
3410         (create_gray_preview): Removed pushing/popping of visual/colormap
3411         now that GtkPreview does things correctly.
3412
3413         * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): 
3414         (gtk_color_selection_draw_wheel): Pick the style from the correct
3415         place (the colorsel->wheel_area widget) so that the GCs will match
3416         with where we are going to paint to.
3417
3418         * gtk/testgtk.c (create_color_selection): Removed pushing/popping
3419         of visual/colormap now that GtkColorSelection does things the
3420         right way.
3421
3422 Mon May 11 21:04:51 1998  Owen Taylor  <otaylor@gtk.org>
3423
3424         * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
3425         previously unused window->need_resize flag to mark if a window's
3426         descendents changed size while the window was not visible. In this
3427         case, when the window becomes visible, we reallocate everything,
3428         since we didn't keep track of what actually changed.
3429
3430         (Fixes bug where changing the popdown strings of a
3431         combo to something of the same length caused them to
3432         blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)
3433
3434 Tue May 12 02:31:57 1998  Tim Janik  <timj@gtk.org>
3435
3436         [security audit by Alan Cox]
3437
3438         * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
3439         exceed maximum assumed size.
3440
3441         * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
3442         not exceed maximum assumed size.
3443         (gtk_menu_factory_remove): likewise.
3444         (gtk_menu_factory_find_recurse): likewise.
3445
3446 Mon May 11 23:53:38 1998  Tim Janik  <timj@gtk.org>
3447
3448         * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
3449         GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
3450         redrawn if that is still neccessary. don't allow queueing of already
3451         destructed objects.
3452         (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
3453         widgets which are in the queue can be destroyed safely, handle
3454         requeueing properly.
3455         (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
3456         widgets which are in the queue can be destroyed/unrealized safely.
3457
3458 Mon May 11 17:54:44 BST 1998 Tony Gale  <gale@gtk.org>
3459
3460         * gtkfaq.sgml: add question on multi-threading,
3461           minor URL cleanups.
3462
3463 Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
3464
3465         * configure.in (cflags_set): preserve automake CFLAGS.
3466
3467         * Makefile.am: fully rename the created libraries to libgtk-1.1.la
3468         and libgdk-1.1.la. this means we need to change certain portions of
3469         the Makefile.am on major/minor version bumps.
3470
3471         * ltmain.sh: the -release option is not required anymore.
3472         
3473         * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
3474         of the first argument to be of type GtkObject. unconditionally compile
3475         this function. removed __GNUC__ dependancy of the gtk_object_ref and
3476         gtk_object_unref macro wrappers for this function.
3477
3478 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
3479
3480         * gtk/gtkobject.h:
3481         * gtk/gtkobject.c:
3482         (gtk_object_data_try_key):
3483         (gtk_object_data_force_id): these are now macros substituting the old
3484         functions. we just use the corresponding g_dataset_* functions for
3485         key->id associations. (this is to assure unique key<->id associations).
3486
3487 1998-05-10  Stefan Jeske  <stefan@gtk.org>
3488
3489         * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
3490         to gboolean.
3491
3492         * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.
3493
3494 Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
3495
3496         * configure.in (LIBS): Try to figure out if this
3497         is Digital Unix and we need -std1 to get the
3498         right prototypes.
3499
3500 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
3501
3502         * docs/gtk_tut_it.sgml: update of Italian tutorial
3503           translation from Daniele Canazza <dcanazz@tin.it>
3504
3505 Sat May  9 02:34:41 1998  Tim Janik  <timj@gtk.org>
3506
3507         * gtk/gtkfeatures.h.in: new file used as template for
3508         * gtk/gtkfeatures.h: new file to define macros indicating newly
3509         introduced features, such as GTK_HAVE_SIGNAL_INIT.
3510
3511         * gtk/gtksignal.c:
3512         (gtk_signal_emitv_by_name):
3513         (gtk_signal_emitv):
3514         new functions to emit signals with an already provided parameter set.
3515         (provided by Kenneth Albanowski <kjahds@kjahds.com>).
3516         (gtk_signal_real_emit): prototype changes, so this functions always
3517         gets its parameters and signal structure as arguments.
3518         (gtk_signal_emit): provide the signal structure and parameter list for
3519         gtk_signal_real_emit.
3520         (gtk_signal_emit_by_name): likewise.
3521
3522 Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
3523
3524         * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
3525         signal connections through unsetting GTK_CONNECTED.
3526         (gtk_signal_handler_insert): reflect the presence of signal connections
3527         through setting GTK_CONNECTED.
3528         (gtk_signal_real_emit): only check for handler emissions if the object
3529         has the GTK_CONNECTED flag set.
3530         (gtk_signal_handler_pending): don't check for pending handlers if the
3531         GTK_CONNECTED flag is not set for this object.
3532
3533         * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
3534         a GtkObject has signal handler connections.
3535
3536         * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
3537         set for this object call gtk_signal_handlers_destroy().
3538         
3539         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
3540         multiple processing of macro args.
3541
3542         * gtk/gtktypeutils.c:
3543         * gtk/gtkobject.c:
3544         * gtk/gtkwidget.c:
3545         * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
3546
3547 Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
3548
3549         * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
3550         draw-queue when we are done. 
3551
3552         (gtk_widget_queue_draw/_queu_resize): Always return
3553         FALSE and avoid having two idles at the same time.
3554         
3555 Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
3556
3557         * gtk/gtktext.c: Various fixes to make sure cache
3558         lines are freed if line_start_cache doesn't point to the
3559         beginning of the cache.
3560
3561 Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
3562
3563         * style_set improvements for GtkText and GtkEntry
3564
3565 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
3566
3567         * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
3568         been initialized.
3569
3570 Thu May  7 12:52:45 1998  Tim Janik  <timj@gtk.org>
3571
3572         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
3573         data chunks through a global object data structure list. unlink
3574         object data before invoking its destroy function.
3575         (gtk_object_finalize): slight modification to allow usage of object
3576         data during object finalization.
3577
3578 Thu May  7 10:29:24 1998  Tim Janik  <timj@gtk.org>
3579
3580         * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
3581         signal names, e.g. "signal-name" is now an alias for "signal_name".
3582         (gtk_signal_handler_new): allocate handlers through a global handler
3583         structure list, that's faster than memchunks.
3584         (gtk_emission_new): allocate emissions through a global emission
3585         structure list, that's faster than memchunks.
3586
3587 Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
3588
3589         * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
3590
3591         * ltmain.sh: added a new commandline flag -postfix similar to -release,
3592         but will immediately change the library name.
3593
3594         * gdk/Makefile.am:
3595         * gtk/Makefile.am: specify -postfix and -version-info
3596
3597         * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
3598         GTK_BINARY_AGE. calculate LT_* variables for libtool.
3599
3600 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
3601
3602         * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
3603         background (fg_set -> bg_set confusion).
3604
3605 1998-05-06  Stefan Jeske  <stefan@gtk.org>
3606
3607         * gtk/testgtk.c (unselect_all): Removed code that caused an
3608         endless loop.
3609
3610 Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
3611
3612         * gtk/gtksignal.c: reimplemented the signal storage system to use a
3613         linear array rather than a hash table.
3614         be carefull *not* to keep any GtkSignal pointers across invokations
3615         of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
3616         general code cleanups, made all allocations through memchunks.
3617         (gtk_signal_lookup): we now do the lookup of signals through a key_id
3618         for the signal names to avoid multiple hashing of the signal name on
3619         lookups for the several hirarchy levels of an object.
3620
3621 Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
3622
3623         * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
3624         to speed things up and remove code duplication.
3625
3626         Reintegrated buffer overflow patches, and added
3627         some extra paranoia.
3628         
3629 Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
3630
3631         * gdk/gdk.c (gdk_event_translate): A guint * was
3632         being passed where X expected a Keysym *, and
3633         keysyms are long's on Alpha Linux. This was causing
3634         segfaults in Xlib, apparently because of alignment.
3635         (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
3636         
3637 Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
3638
3639         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
3640         set GDK_EXPOSURE_MASK for DrawingAreas
3641
3642 Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
3643
3644         * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
3645         (superceded by RC file reparsing capabilities)
3646
3647         * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
3648         events. (Shouldn't be sent to the InputOnly leader, which
3649         it is now by gdk_event_send_clientmessage_toall
3650
3651         * gtk/testgtk.c: Added extra button to rcfiles test
3652         to send out _GDK_READ_RCFILES events.
3653         
3654 Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
3655
3656         * gtk/gtkselection.c (gtk_selection_clear): Fixed
3657         reversed conditionals that caused segfault on some
3658         platforms.
3659
3660 Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
3661
3662         * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
3663         cast to GTK_OBJECT for gtk_object_ref.
3664
3665 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
3666
3667         * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
3668         checking for signal initialization in gtksignal.c.
3669
3670         * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
3671         a long debugging period ;)
3672
3673 1998-05-05  Stefan Jeske  <stefan@gtk.org>
3674
3675         * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
3676         New function to wrap XSetDashes; modified gtkctree.c to use it.
3677
3678 1998-05-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>
3679
3680         * configure.in: Added $x_libs in the other_libraries field in the
3681         check for XShapeCombineMask.
3682
3683 Mon May  4 00:30:11 1998  Tim Janik  <timj@gtk.org>
3684
3685         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
3686         gtk_type_is_a().
3687         * gtk/gtktypeutils.c: reimplemented the type storage system to use a
3688         linear array rather than a hash table. it actually speeded up testgtk
3689         for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
3690         pointers across invokations of gtk_type_node_next_and_invalidate() and
3691         therefore gtk_type_unique()!
3692
3693         * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
3694         inheritance of a class pointer.
3695         (GTK_OBJECT): modifications for speedups.
3696         (GTK_IS_OBJECT): likewise.
3697         (GTK_OBJECT_CLASS): likewise.
3698         (suggested by owen).
3699
3700         * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
3701
3702         * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
3703
3704         * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
3705         since its derivation changed 4 month ago ;(. showed up with the unique
3706         type name checking code in gtk_type_unique().
3707
3708         * random guint->GtkType and macro fixups.
3709
3710 Sat May  2 23:14:34 1998  Owen Taylor  <otaylor@gtk.org>
3711
3712         * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
3713         Configure events that would result in a negative
3714         size.
3715
3716 Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>
3717
3718         * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
3719         "glibconfig.h" and another about writing another IRC
3720         client.
3721
3722 Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>
3723
3724         * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
3725         parameters to log are doubles. Digital Unix apparently
3726         is missing the argument in its prototype.
3727
3728 Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>
3729
3730         * gtk/gtklabel.c (gtk_label_state_changed): Don't
3731         force a clear until the widget is actually on
3732         screen.
3733
3734 Sun May  3 21:32:35 1998  Owen Taylor  <otaylor@gtk.org>
3735
3736         * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
3737         to make this consistent with the gtk-1-0 tree.
3738
3739 Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
3740
3741         * configure.in acheader.h gdk/gdkwindow.c 
3742         Check for Shape extension both on the client and server
3743         side. (And, more importantly, check for the shape extension
3744         so we may include -lXext even when compiling with --disable-xshm)
3745
3746         Don't set override_redirect on all shaped windows. It isn't
3747         necessary.
3748
3749         * gdk/gdkwindow.c: Set ->colormap to NULL for root 
3750         and foreign windows. Use this to check if we
3751         need to get the colormap from X.
3752
3753 Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
3754
3755         * gtk/gtkbutton.c (gtk_button_paint): Draw the areas
3756         between the default and the button always in GTK_STATE_NORMAL.
3757
3758         * gtk/gtkrange.c (gtk_range_style_set): Added a style_set
3759         callback.
3760
3761 Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
3762
3763         * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
3764           Fix a buffer overflow on pixmaps that claim to have
3765           more than 31 characters per pixel.
3766
3767           (gdk_pixmap_read_string): Don't wrap around strings longer
3768           than half of address space ;-)
3769
3770         * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
3771         that were used for printing integers.
3772
3773         * */* (almost):
3774
3775         Style: All 
3776           int foo () { ... }
3777         changed to
3778           int foo (void) { ... }
3779
3780         Even where there were proper prototypes elsewhere.
3781
3782         * gdk/gxid.c (handle_claim_device): Some extra checks.
3783         It isn't safe against being fed bad X id's, but at
3784         least it should be safe against deleting all your
3785         files.
3786
3787 Sun May  3 19:45:09 1998  Tim Janik  <timj@gtk.org>
3788
3789         * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
3790         to set the adjustments value when there is no current emission.
3791         [ Removed by mutual agreement owt 5/3/1998 ]
3792
3793         * gtk/gtksignal.c: added new functions to retrive the number of
3794         existing emissions for a certain signal.
3795         (gtk_signal_n_emissions): new function.
3796         (gtk_signal_n_emissions_by_name): new function.
3797
3798 Sun May  3 16:55:43 1998  Tim Janik  <timj@gtk.org>
3799
3800         * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
3801         set the current focus_child of a container, does proper referencing and
3802         adjusts the vadjustment/hadjustment associated with the focus widget.
3803
3804         * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
3805         containers via gtk_container_set_focus_child.
3806
3807         * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
3808         where appropriate.
3809
3810         * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
3811         child since not every child removal goes through this function (this
3812         showed up after gtk_container_set_focus_child() started to reference the
3813         focus_child of a container).
3814
3815         * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
3816         of a container from gtk_container_remove into this place.
3817
3818 Sat May  2 22:33:45 1998  Tim Janik  <timj@gtk.org>
3819
3820         * gtk/gtksignal.c: added new functions to operate on intermediate
3821         function pointers. implemented incremental blocking.
3822         (gtk_signal_disconnect_by_func): new function.
3823         (gtk_signal_handler_block_by_func): new function.
3824         (gtk_signal_handler_unblock_by_func): new function
3825
3826 Fri May  1 22:45:55 1998  Owen Taylor  <otaylor@gtk.org>
3827
3828         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
3829         Always show the scrollbars when the policy is
3830         GTK_POLICY_ALWAYS...
3831
3832 Sat May  2 20:19:03 1998  Tim Janik  <timj@gtk.org>
3833
3834         * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
3835         "value_changed" if we really passed a new value.
3836         (gtk_adjustment_changed): new function to emit the "changed" signal.
3837         (gtk_adjustment_set_value): new function to emit the "value_changed"
3838         signal.
3839
3840 Fri May  1 12:28:35 1998  Owen Taylor  <otaylor@gtk.org>
3841
3842         * gtk/gtkcombo.c: Further changes to the way the window
3843         is popped up so that it will be compatible with 
3844         auto-scrolling in the future.
3845
3846 Fri May  1 20:25:29 1998  Tim Janik  <timj@gtk.org>
3847
3848         * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
3849         the combo-list is empty since that will cause the combo to operate
3850         on a non existing GtkList window.
3851         (gtk_combo_get_pos): provide the combo list with a usfull default
3852         height if empty.
3853         (gtk_combo_popup_button_press): grab the focus.
3854         (gtk_combo_activate): grab the focus.
3855
3856 Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>
3857
3858         * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
3859         function to reset the RC styles for a heirarchy
3860
3861         Clear the window background if necessary in
3862         gtk_window_style_set.
3863
3864         * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
3865         rereads all previously read RC files.
3866
3867         * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
3868         (Should it just be called gdk_get_toplevels?)
3869
3870         * gtk/testgtk.c: New test to reload RC files.
3871
3872 Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
3873
3874         * gtk/gtkclist.h:
3875         * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
3876         clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
3877         GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
3878         the GTK_ prefix (this solution involved less changes in the
3879         gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
3880         the mem_chunk==NULL test in gtk_clist_construct. merged in changes
3881         from lars & stefan to support the derivation of GtkCtree.
3882
3883         * gtkctree.h:
3884         * gtkctree.c:
3885         initial import of a tree widget derived from gtkclist, courtesy
3886         of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
3887         it just damn rocks!
3888
3889 Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
3890
3891         * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
3892         for us.
3893         (gtk_list_insert_items):
3894         (gtk_list_remove_items_internal): 
3895         (gtk_list_clear_items): 
3896         remove a possible pointer grab, we might get thrown into a loop
3897         otherwise.
3898         (gtk_list_button_press): grab the pointer *before* selecting the child,
3899         because selection of items may cause the lists children to change,
3900         resulting in a grab release.
3901         (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
3902         children.
3903         (gtk_list_shutdown): remove all children from the list.
3904         (gtk_real_list_unselect_child): 
3905         (gtk_real_list_select_child): *always* put our internal structures into
3906         sane state *before* signal emisions (i.e. list->selection updates prior
3907         to gtk_list_item_[de]select() calls).
3908
3909         * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
3910         focused child walks out of the window.
3911         removed CAN_FOCUS for the combo arrow's button since it doesn't react
3912         to keyboard events ("clicked" connection is missing).
3913
3914 Fri May  1 00:42:25 1998  Owen Taylor  <otaylor@gtk.org>
3915
3916         * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
3917         getting colormap for FOREIGN windows to go along with
3918         Raster's fix for visuals.
3919
3920 Merges from gtk-1-0
3921 ===================
3922         
3923 Thu Apr 30 23:32:51 1998  Owen Taylor  <otaylor@gtk.org>
3924
3925         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
3926         Check to catch the case when the viewport fits in either
3927         direction or both, instead of flip-flopping infinitely.
3928
3929         Only show/hide the scrollbars once at the end.
3930
3931 Thu Apr 30 21:56:07 1998  Owen Taylor  <otaylor@gtk.org>
3932
3933         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): 
3934         Include the scrollbars in the foreach call.
3935         (gtk-fortier-980405-0.patch; 
3936          Patrice Fortier <Patrice.Fortier@aquarel.fr>). 
3937
3938         The notebook widget
3939         really should also include its tabs, but that might cause
3940         problems for programs if they
3941
3942 Thu Apr 30 21:51:52 1998  Owen Taylor  <otaylor@gtk.org>
3943
3944         * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
3945         resize if the size actually changed. 
3946         (gtk-johannes-980414-0.patch ;  
3947          johannes@nada.kth.se (Johannes Keukelaar) )
3948
3949 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
3950
3951         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
3952           ltmain.sh ltconfig config.sub config.guess:
3953
3954         Reverted back to libtool-1.2 (plus minor patches) so as not to
3955         force the issue for everyone else.
3956
3957 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
3958
3959         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
3960         Updated to libtool 1.2a.
3961
3962         * gtk/gtkclist.c: Draw the in-between lines with style->base
3963         instead of style->white.
3964         
3965 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
3966
3967         * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: 
3968         Cache the colormap and children of a window locally
3969         instead of fetching them from the server when needed.
3970         Huge performance difference for creating/destroying
3971         windows.
3972
3973         * gtk/gtkstyle.c: Find the depth from the cached
3974         visual, instead of asking the server.
3975
3976         * gtk.m4: Distribute the new version which tries to
3977         figure out what went wrong and give helpful error
3978         messages.
3979
3980         * ltmain.sh ltconfig config.sub config.sh: 
3981         Updated to libtool 1.2a
3982
3983         * gtk/gtktext.c: Fixed a bug where the drawn level
3984         was being messed up when the text was scrolled
3985         during a deletion.
3986         
3987 Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
3988
3989         * gtk/gtkfilesel.c: don't die when naughty people remove parts of
3990         the filesystem under you (fix from Josh)
3991
3992 Thu Apr 30 09:49:14 1998  Tim Janik  <timj@gtk.org>
3993
3994         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
3995         if the viewport already exists before iterating over it, maybe we
3996         haven't been constructed yet.
3997
3998 Thu Apr 30 01:51:00 1998  Tim Janik  <timj@gtk.org>
3999
4000         * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
4001         the GtkBin widget already has a child.
4002
4003         * gtk/gtkbox.c (gtk_box_pack_{start|end}):
4004         check that child->parent == NULL;
4005
4006 Tue Apr 28 22:13:54 1998  Owen Taylor  <otaylor@gtk.org>
4007
4008         * gtk/gtkselection.c (gtk_selection_clear): Only return
4009         FALSE when the clear event is been rejected, not when
4010         widget has already lost the selection. (Which should
4011         only happen when we are setting the selection to another
4012         widget ourself.)
4013         
4014 Fri Apr 24 19:07:32 1998  Owen Taylor  <otaylor@gtk.org>
4015
4016         * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
4017
4018         Removed the "check visibility after gtk_widget_unparent" bug 
4019         in hopefully the last three places.
4020
4021 Tue Apr 28 15:46:41 1998  Tim Janik  <timj@gtk.org>
4022
4023         * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
4024         rc-files.
4025
4026 Mon Apr 27 15:11:52 1998  Tim Janik  <timj@gtk.org>
4027
4028         * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
4029         for CAN_FOCUS widgets.
4030
4031         * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
4032         adjustments for the table.
4033         (create_list): feature automatic adjustment of the scrolled window to
4034         always contain the focused child.
4035         (create_main_window): keep the focussed button always inside of the
4036         scrolled windoww.
4037
4038         * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
4039         adjustments, to contain the allocation of the currently focused child.
4040         (gtk_container_set_focus_hadjustment): new functin to set the
4041         horizontal focus adjustment.
4042         (gtk_container_set_focus_vadjustment): new functin to set the vertical
4043         focus adjustment.
4044
4045         * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
4046         clamp the currents adjustment page into a specific range.
4047
4048         * random GtkType fixups for gtk_*_get_type() functions.
4049
4050 Fri Apr 24 18:37:16 1998  Owen Taylor  <otaylor@gtk.org>
4051
4052         * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): 
4053         Account for the fact that gtk_tree_item_remove_subtree
4054         will be called recursively. 
4055
4056         Handle removing a collapsed subtree.
4057
4058         (From Andy Dustman <adustman@comstar.net>)
4059         
4060         * gtk/gtktree.c (gtk_tree_remove_items): Look for the
4061         root tree when removing items from a non-previously
4062         mapped tree.
4063
4064         * gtk/testgtk.c: Added a remove_subtree button.
4065         
4066 Thu Apr 23 23:44:17 1998  Owen Taylor  <otaylor@gtk.org>
4067
4068         * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
4069         before object removing data. This change fixes a bug where 
4070         removing the last weak references would cause it to be 
4071         triggered.
4072
4073 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
4074
4075         * gdk/Makefile.am: Removed mostly useless dependency that
4076         was causing problems for SGI's make, when used with
4077         the 'make dist' form of GTK+. (Dependency caused dependencies
4078         to be redone when BUILT_SOURCES changed)
4079
4080 Thu Apr 30 11:18:00 1998  Owen Taylor  <otaylor@gtk.org>
4081
4082         * gtk/gtkcombo.[ch]: Allow the user to use the popup list
4083         like a menu.
4084         
4085         * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
4086         to gtkitem.c so dragging can also work in lists.
4087
4088         * gtk/gtklist.[ch]: Track child enter events and use
4089         those to allow dragging the selection. 
4090
4091 Thu Apr 30 11:16:06 1998  Owen Taylor  <otaylor@gtk.org>
4092
4093         * gtk/gtktext.c: Try enabling background pixmaps for editable text
4094         widgets.  There is a bit of flashing, but not too bad. If you
4095         don't want the flashing, you can always not set a background
4096         pixmap.
4097
4098 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
4099
4100         * gtk/gtktext.c: Fixed a bug where the drawn level
4101         was being messed up when the text was scrolled
4102         during a deletion.
4103         
4104 1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
4105
4106         * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
4107         bug:  There is no need to set the ExposureMask in the XGrabPointer
4108         (this caused DnD programs to crash).
4109
4110 Fri Apr 24 01:29:04 1998  Tim Janik  <timj@gtk.org>
4111
4112         * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
4113         field to be of type guint.
4114         * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
4115         ref_count>0;
4116         (gtk_accelerator_table_install): keep a per object list of accelerator
4117         tables that refer to this object.
4118         (gtk_accelerator_table_remove): remove the accelerator table from the
4119         per object list.
4120         (gtk_accelerator_table_clean): warn if there are any object references
4121         left in an accelerator table upon destruction.
4122         (gtk_accelerator_tables_delete): new function to delete object
4123         references from the accelerator tables associated with this object.
4124
4125         * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
4126         GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
4127         of an accelerator can be prevented by gtk_signal_emit_stop().
4128         (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
4129         so there are no stale pointers in accelerator tables left.
4130
4131 1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4132
4133         * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
4134         visible before we unparent it.
4135
4136 Wed Apr 22 04:15:26 1998  Tim Janik  <timj@gtk.org>
4137
4138         * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
4139         running_timeouts list with the tmp_list link itself, not with a new
4140         GList structure pointing to our link. that would fill up memory and
4141         causes the GList.data fields of the running_timeouts list to point to
4142         GList structures and not GtkTimeoutFunction structures which is a
4143         *really* bad thing.
4144         (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
4145         the above entry ;).
4146
4147 Sat Apr 18 22:18:12 1998  Tim Janik  <timj@gtk.org>
4148
4149         * gtk/gtkradiomenuitem.h: 
4150         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
4151         ala gtk_radio_button_set_group.
4152         (gtk_radio_menu_item_init): assure that we always have at least a group
4153         that points to self.
4154
4155         * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
4156         added g_return_if_fail() statements.
4157         (gtk_radio_button_init): assure that we always have at least a group
4158         that points to self.
4159
4160 Fri Apr 17 03:05:05 1998  Tim Janik  <timj@gtk.org>
4161
4162         * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
4163
4164 Wed Apr 15 05:13:09 1998  Tim Janik  <timj@gtk.org>
4165
4166         * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
4167         (Damon Chaplin), which i got wrong when applying Damon's patch the last
4168         time.
4169
4170 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
4171
4172         * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
4173         that when we are running with a non-installed colormap,
4174         in 8-bit pseudo-color, we actually are using the system
4175         visual. (Fixes *Bad Match* errors on Digital Unix machines
4176         with multiple 8-bit pseudo-color visuals)
4177
4178 1998-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
4179
4180         * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
4181         by whoever thought that randomly changing ints to unsigned int
4182         without reviewing the code was a good idea.  It is, btw not
4183         mentioned in the ChangeLog as usual, but I know it was not Elliot
4184         the culprit this time. 
4185
4186 Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
4187
4188         * Released GTK+ 1.0.0