]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-4
This fixes a scrolling bug. Shouldn't cause problems, but you never know
[~andy/gtk] / ChangeLog.pre-2-4
1 Sun Oct 27 15:58:30 2002  Kristian Rietveld  <kris@gtk.org>
2
3         This fixes a scrolling bug. Shouldn't cause problems, but you
4         never know ... (#81627, testcase by Timo Sirainen).
5
6         * gtk/gtktreeview.c (validate_visible_area): add a temporary
7         implemention for non use_align, always update dy and ->top_row
8         if we scroll here,
9         (gtk_tree_view_clamp_node_visible): reimplement using
10         _scroll_to_cell (#73895).
11
12 Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
13
14         * docs/tutorial/gtk-tut.sgml:
15         minor cleanups, remove refs to gtk_menu_append
16
17         *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
18
19 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
20
21         * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
22
23 Fri Oct 25 17:56:24 2002  Owen Taylor  <otaylor@redhat.com>
24
25         * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): 
26         Always switch to the page with the focused tab
27         label. (#82108, Matt Wilson.)
28
29 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
30
31         * gtk/gtknotebook.c (gtk_notebook_button_press): 
32         Don't handle button 2/3 on the tabs. (#82118,
33         Matt Wilson.)
34
35 Fri Oct 25 17:32:44 2002  Owen Taylor  <otaylor@redhat.com>
36
37         * gtk/gtktoolbar.c: Don't insert mnemonics for stock
38         items (#72918, reported by Mikael Hallendal)
39
40 Fri Oct 25 14:51:34 2002  Owen Taylor  <otaylor@redhat.com>
41
42         * gtk/gtkfilesel.c: Fix sensitivity of file operation
43         buttons and buttons inside fileop dialogs to update
44         properly based on the contents of the entries.
45         (#74267, based on part of a patch from Muktha 
46         Narayan)
47
48         * gtk/gtkitemfactory.c (gtk_item_factory_create_item):
49         Warn if loading <ImageItem> image fails.
50
51         * tests/testgtk.c: Fix data for "apple" inline pixbuf
52         to be valid.
53
54 Fri Oct 25 18:17:39 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
55
56         * gtk/gtkpaned.[ch]: New GtkPaned keyboard navigation. (Shift-)F8
57         now cycles the available handles instead of toggling focus on and
58         off. Fixes #87160, reported by Calum Benson.
59
60 2002-10-25  Matthias Clasen  <maclas@gmx.de>
61
62         * gdk/x11/gdkcursor-x11.c: Fix doc comment. 
63
64         * gdk/gdkdnd.c: Add missing includes.
65
66 2002-10-24  Matthias Clasen  <maclas@gmx.de>
67
68         * gdk/gdkdnd.c: 
69         * gdk/x11/gdkdnd-x11.c: 
70         * gdk/x11/gdkcursor-x11.c: 
71         * gdk/gdkcolor.c:
72         * gdk/x11/gdkcolor-x11.c: Some docs moved inline.
73         
74 2002-10-23  Matthias Clasen  <maclas@gmx.de>
75
76         * gdk/linux-fb/gdkselection-fb.c (gdk_utf8_to_string_target): 
77         (gdk_utf8_to_compound_text_for_display): 
78         (gdk_text_property_to_utf8_list_for_display): 
79         * gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_entries_for_keyval): 
80         (gdk_keymap_get_entries_for_keycode): 
81         (gdk_keymap_lookup_key): 
82         (gdk_keymap_translate_keyboard_state): 
83         * gdk/win32/gdkselection-win32.c (gdk_text_property_to_utf8_list_for_display): 
84         (gdk_utf8_to_string_target): 
85         (gdk_utf8_to_compound_text_for_display): 
86         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_entries_for_keyval): 
87         (gdk_keymap_get_entries_for_keycode): 
88         (gdk_keymap_lookup_key): 
89         (gdk_keymap_translate_keyboard_state): 
90         * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): 
91         * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): 
92         * gdk/win32/gdkevents-win32.c (gdk_keyboard_grab_info_libgtk_only): 
93         Remove doc comments for non-backend-specific functions from win32
94         and linux-fb backends. These functions should be documented in the
95         x11 backend.
96         
97 Wed Oct 23 17:06:02 2002  Kristian Rietveld  <kris@gtk.org>
98
99         * gtk/gtktreemodel.c: s/NULL/0/ on the g_signal_emit lines to
100         fix up yesterdays commit (reported by Morten Welinder).
101
102 Tue Oct 22 20:02:22 2002  Owen Taylor  <otaylor@redhat.com>
103
104         * gtk/gtkcombo.c: When popping up the list without
105         any selected items, hack the focus on the list to
106         avoid triggering a bug in GtkList when clicking
107         on focused-but-not-selected items (#86700,
108         Zimler Attila, Matthias Clasen) and to keep
109         GtkWindow from selecting the first item.
110
111         * tests/testgtk.c (create_list): Make the initial
112         setting of the selection mode correspond to the option
113         menu.
114
115 Wed Oct 23 01:03:43 2002  Kristian Rietveld  <kris@gtk.org>
116
117         Another feature to create truly ugly TreeViews!: style properties
118         for the even/odd colors used for row hinting. (#71595, reported
119         by Owen Taylor).
120
121         * gtk/gtktreeview.c (gtk_tree_view_class_init): add even_row_color
122         and odd_row_color style properties.
123
124         * gtk/gtkstyle.c (get_darkened_gc): support darken_count == 0 case,
125         (gtk_default_draw_flat_box): rework cell coloring code to support
126         user-provided even/odd row colors.
127
128 Wed Oct 23 01:01:52 2002  Kristian Rietveld  <kris@gtk.org>
129
130         Cache signal IDs to speed up signal emission. This is a good speedup
131         because GtkTreeModel emits a big number of signals.
132
133         * gtk/gtktreemodel.c (gtk_tree_model_base_init): save IDs returned
134         by g_signal_new,
135         (gtk_tree_model_row_changed): use g_signal_emit instead of
136         g_signal_emit_by_name,
137         (gtk_tree_model_row_inserted): ditto,
138         (gtk_tree_model_row_has_child_toggled): ditto,
139         (gtk_tree_model_row_deleted): ditto,
140         (gtk_tree_model_rows_reordered): ditto.
141         
142 Wed Oct 23 00:56:15 2002  Kristian Rietveld  <kris@gtk.org>
143
144         * gtk/gtktreeselection.c (model_changed): new function,
145         (gtk_tree_selection_selected_foreach): monitor changes in the model,
146         bail out if the model has been changed from the foreach func.
147         (#50263, reported by Havoc Pennington).
148
149         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
150         free anchor if applicable (#94868, reported and testcase provided by
151         Daniel Elstner).
152
153 2002-10-23  Matthias Clasen  <maclas@gmx.de>
154
155         * gtk/gtkinvisible.c (gtk_invisible_get_screen): 
156         * gtk/gtkcolorsel.c
157         (gtk_color_selection_set_change_palette_with_screen_hook): Fix doc comments.
158
159         * gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display): 
160         (gdk_utf8_to_compound_text_for_display): Fix doc comments - why
161         do these overwrite the ones from gdk/x11/*.c ?!
162
163         * gdk/gdkdisplaymanager.c
164         (gdk_display_manager_get_default_display): 
165         Documentation fix.
166
167         * gdk/gdkevents.c (gdk_event_new): 
168         * gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen): 
169         * gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name): 
170         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab): 
171         (gdk_x11_display_ungrab): Add documentation.
172
173         * gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay): 
174         (gdk_x11_image_get_ximage): 
175         * gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay): 
176         (gdk_x11_gc_get_xgc): 
177         * gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay): 
178         (gdk_x11_font_get_xfont): 
179         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay): 
180         (gdk_x11_drawable_get_xid): 
181         * gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay): 
182         (gdk_x11_cursor_get_xcursor): 
183         * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap): 
184         (gdk_x11_colormap_get_xdisplay): 
185         * gdk/x11/gdkxid.c (gdk_xid_table_lookup): 
186         * gdk/x11/gdkvisual-x11.c (gdkx_visual_get): 
187         (gdk_x11_visual_get_xvisual):
188         * gdk/x11/gdkmain-x11.c (gdk_x11_grab_server): 
189         (gdk_x11_ungrab_server): 
190         (gdk_x11_get_default_root_xwindow): 
191         (gdk_x11_get_default_xdisplay): 
192         Some docs moved inline.
193         
194 Tue Oct 22 16:37:12 2002  Owen Taylor  <otaylor@redhat.com>
195
196         * gtk/gtktooltips.c: Multihead safety fixes, handle
197         displays being closed. (#81651, based on patch
198         from Erwann Chenede)
199
200         * gtk/gtktoolbar.c (gtk_toolbar_init): Fix typo
201         from the last commit.
202
203 Tue Oct 22 15:55:08 2002  Owen Taylor  <otaylor@redhat.com>
204
205         * gtk/gtktoolbar.c: Fix handling of getting the 
206         default style/icon size from the correct 
207         GtkSettings. (#82184, reported by Vitaly Tishkov,
208         help from Soeren Sandmann)
209
210 Tue Oct 22 15:32:31 2002  Owen Taylor  <otaylor@redhat.com>
211
212         * gtk/gtkwindow.c: Actively monitor the screen of the
213         parent. (#80281)
214
215         * gtk/gtkentry.c: Fix missing prototype from the 
216         last commit.
217
218 Tue Oct 22 15:46:09 2002  Owen Taylor  <otaylor@redhat.com>
219
220         * gtk/gtkentry.c (gtk_entry_unrealize): Reset the 
221         layout, since it holds a reference to the font on
222         a particular screen.
223
224 Tue Oct 22 15:13:59 2002  Owen Taylor  <otaylor@redhat.com>
225         
226         * gtk/gtkimmulticontext.c: Include config.h
227         (#96441, Morten Welinder)
228
229 Tue Oct 22 15:03:41 2002  Owen Taylor  <otaylor@redhat.com>
230
231         * gtk/fnmatch.h: When compiling our on fnmatch.c, 
232         #define fnmatch _gtk_fnmatch (#92890, Jacob Berkman)
233
234 Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>
235
236         * gdk/x11/gdkevents-x11.c (translate_key_event): Produce
237         C-m, not C-j for return. Handle Escape.
238
239 2002-10-22  Matthias Clasen  <maclas@gmx.de>
240
241         * gtk/gtkstatusbar.c (gtk_statusbar_get_type): 
242         (gtk_statusbar_class_init): It is called GtkStatusbar, not
243         GtkStatusBar. This was changed accidentally during deprecation
244         cleanup and caused links in the API docs to break.  (#96390)
245
246 Mon Oct 21 14:04:39 2002  Owen Taylor  <otaylor@redhat.com>
247
248         * gtk/gtkentry.c (gtk_entry_get_public_chars): Return
249         "" for entry->invisible_char == 0, otherwise N copies
250         of entry->invisible_char. (#95486, Vitaly Tishkov)
251
252         * gtk/gtkentry.c: Fix a bunch of places where entry->text
253         instead of layout->text was being used for computation
254         of offsets/indices in the layout. Using layout->text
255         is necessary because when the entry is invisible, it
256         doesn't correspond to entry->text.
257
258 Sun Oct 20 23:58:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
259
260         * gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c,
261         gtkmenushell.h, gtkmenushell.h
262
263         - make the delay before submenus appear below menu bars a
264           GtkSetting
265         - make the delay before submenus pops up a GtkSetting
266         - make the stay up triangle slightly larger
267         - don't pop up the first submenu immediately.
268         - make the default delay for submenus 225 ms, and 0 for menubars.
269         - make the default delay before popping down inside the stay-up 
270           triangle 1000 ms
271
272         Fixes #74950
273         
274 Sun Oct 20 14:58:02 2002  Owen Taylor  <otaylor@redhat.com>
275
276         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
277         Add a scrollbar_spacing style property (#81396, based
278         on a patch from Anders Carlsson)
279
280 2002-10-19  Jeremy Katz  <katzj@redhat.com>
281
282         * configure.in: make configure checks for Xrandr and Xinerama
283         extensions less noisy (#95858)
284
285 Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>
286
287         * gdk/x11/gdkevents-x11.c (translate_key_event): Handle
288         Return and KP_Enter.
289
290 Fri Oct 18 15:38:50 2002  Owen Taylor  <otaylor@redhat.com>
291
292         * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): 
293         Reset use_text_format to %TRUE for a %NULL text string.
294         (#94157, once again).
295
296 Thu Oct 17 17:17:05 2002  Owen Taylor  <otaylor@redhat.com>
297
298         * gtk/gtkcheckbutton.c (gtk_check_button_size_request): 
299         Fix use of uninitialized variable.
300
301 Thu Oct 17 14:38:37 2002  Owen Taylor  <otaylor@redhat.com>
302
303         * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): 
304         Align the baseline of the accelerator label with the 
305         first baseline of the main label of the menu item. (#76953)
306
307 Wed Oct 16 18:25:24 2002  Owen Taylor  <otaylor@redhat.com>
308
309         * gdk/x11/gdkevents-x11.c (translate_key_event): 
310         Use gdk_keymap_translate_keyboard_state() rather than
311         XLookupString() to get the keysymbol, since XLookupString
312         can confuse the input method handling. (#93575)
313
314         * gdk/x11/gdkkeys-x11.c: Rewrite the handling of
315         key translation for the non-XKB case to properly
316         handle Shift_Lock, Caps_Lock, Num_Lock according
317         to the Xlib spec. (#67066)
318
319 2002-10-17  Havoc Pennington  <hp@redhat.com>
320
321         * gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
322         compiler warnings
323
324 Thu Oct 17 22:37:57 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
325
326         * gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
327         it compile
328         
329 2002-10-16  Havoc Pennington  <hp@redhat.com>
330
331         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
332         g_return_if_fail for monitor number <= 0
333
334         * gtk/gtkmenu.c (gtk_menu_position): handle case where pointer 
335         is outside the screen.
336
337         * gtk/gtkwindow.c (get_monitor_center): factor out 
338         the code to position a window in center
339         (gtk_window_compute_configure_request): use here
340         (gtk_window_constrain_position): use here, the 
341         code here wasn't multihead-aware
342
343         * gdk/x11/gdkevents-x11.c (get_real_window): function to
344         return the window the event describes, rather than the window
345         that received the event.
346         (gdk_event_translate): use result of that function for 
347         filling in GdkEvent::window, which only matters for 
348         MapNotify/UnmapNotify and ConfigureNotify, in practice.
349
350         Unbreaks various things using SubstructureNotifyMask.
351
352 Thu Oct 17 16:13:28 2002  Owen Taylor  <otaylor@redhat.com>
353
354         * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make
355         the widgets work reasonably when they don't have
356         children -- draw the focus around the indicator, 
357         and position the indicator symmetrically.
358         (#74830, Dave Camp)
359
360         * tests/testgtk.c: Add no-child portions to check and radio 
361         button tests.
362
363 Thu Oct 17 22:09:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
364
365         * gtk/gtkmenu.c (gtk_menu_scroll_to): Take arrows into
366         account when clamping the offset. Fixes #95758.
367
368 Wed Oct 16 15:19:44 2002  Owen Taylor  <otaylor@redhat.com>
369
370         * gdk/x11/gdkkeys-x11.c: Fix from Phil Blundell for
371         compiling without Xkb. (#95909)
372
373 Wed Oct 16 14:32:43 2002  Owen Taylor  <otaylor@redhat.com>
374
375         * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c 
376         gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c
377         gdk/win32/gdkdrawable-win32.c gdk/linux-fb/gdkdrawable-fb2.c
378         gdk/linux-fb/gdkprivate-fb.h:
379         Make 'filled' arguments for draw_arc/polygon/rectangle
380         gboolean not gint. (#94976)
381         
382 Wed Oct 16 17:11:46 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
383
384         * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Make
385         tear-off menuitems obey the "selected_shadow_type" style property.
386
387 Tue Oct 15 17:25:47 2002  Owen Taylor  <otaylor@redhat.com>
388
389         * modules/input/gtkimcontextxim.c (get_im): Don't use 
390         connect_swapped() when the function being connected
391         has a non-swapped signature.
392
393 Tue Oct 15 09:54:54 2002  Owen Taylor  <otaylor@redhat.com>
394
395         * modules/input/gtkimcontextxim.c (get_im): Initialize
396         info->ics to NULL. (Hidetoshi Tajima.)  
397
398         * modules/input/gtkimcontextxim.c (status_window_get): 
399         Call set_resizable on the window, not on the structure.
400
401 Mon Oct 14 19:17:34 2002  Owen Taylor  <otaylor@redhat.com>
402
403         * === Released 2.1.1 ===
404
405 Mon Oct 14 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>
406
407         * configure.in: Version 2.1.1, interface age 0, binary age 101.
408
409         * NEWS: Updates
410
411 Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>
412
413         Behaviour change, apply changes if the entry of the editable gets
414         a focus out event (#82405).
415
416         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
417         new function,
418         (gtk_cell_renderer_text_start_editing): stop editing and apply
419         changes on focus-out.
420
421 Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>
422
423         Fixes an *evil* GtkTreeModelSort bug, #93629.
424
425         * gtk/gtktreemodel.c (release_row_references): return if the
426         refs->list is NULL.
427
428         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
429         are swapping two rows (re-insertion on row_changed), also *emit*
430         a rows_reordered signal. oops.
431
432 Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>
433
434         * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
435         the actual link after the node has been removed (#92014).
436
437         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
438         free the cell_list and the child if the exists (#92014).
439
440 Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>
441
442         Don't accept drops if the model has been sorted, #93758)
443
444         * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
445         FALSE if the list has been sorted.
446
447         * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
448         if drag_dest is a TreeStore, return FALSE if the tree has been
449         sorted.
450
451 Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>
452
453         Compiler warning fixage, (#85858, #85859, #85860, #85872)
454
455         * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render):
456         s/guint/GtkCellRendererState/.
457         
458         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
459         ditto.
460
461         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
462         (gtk_cell_renderer_toggle_activate): ditto.
463
464         * gtk/gtkliststore.c (gtk_list_store_get_flags): a
465         s/guint/GtkTreeModelFlags/ on the return type.
466
467 Mon Oct 14 15:10:34 2002  Owen Taylor  <otaylor@redhat.com>
468
469         * modules/input/gtkimcontextxim.c:
470         - Make GtkXIMInfo structures per-screen (they were
471           a mix between per-display and per-context before)
472         - Make signal connections info->settings one-per-info
473          - Handle a GdkDisplay being closed, by destroying
474           all XIC, calling XCloseIM on the XIM. (#87482)
475  
476 Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>
477
478         * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup
479
480         * gtk/Makefile.am: Added disable deprecation flags
481
482         * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up
483
484 Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>
485
486         * tests/pixbuf-randomly-modified.c tests/prop-editor.c
487         tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
488         tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
489         tests/testselection.c tests/testsocket.c tests/testsocket_common.c
490         tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
491         tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
492         tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
493         tests/treestoretest.c: Deprecation cleanup
494
495         * tests/Makefile.am: Added disable deprecation flags
496
497 Sun Oct 13 13:43:16 2002  Manish Singh  <yosh@gimp.org>
498
499         * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch]
500         gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c
501         modules/input/imam-et.c modules/input/imcyrillic-translit.c
502         modules/input/imhangul.c modules/input/iminuktitut.c
503         modules/input/imipa.c modules/input/imthai-broken.c
504         modules/input/imti-er.c modules/input/imti-et.c
505         modules/input/imviqr.c: Deprecation cleanup
506
507         * modules/input/Makefile.am: Added disable deprecation flags
508
509 Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
510
511         * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
512         gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
513         Deprecation cleanup
514
515         * gtk/gtkcolorseldialog.c: make window not resizable (lost
516         accidently in the previous cleanup)
517
518 Sun Oct 13 20:20:51 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
519
520         * gtk/gtktooltips.c (gtk_tooltips_force_window): Make tooltip
521         window not resizable. Fixes #95675.
522
523 Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
524
525         * gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
526         gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
527         gtktreemodel.sgml,gtktable.sgml, gtktable.c:
528
529         Documentation fixes.
530
531         #85719, #90759, #95169, Owen Taylor;
532         #89221, Yao Zhang, Matthias Clasen;
533         #95592, Joost Faassen;
534         #92637, Vitaly Tishkov;
535         #94616, Ben Martin;
536         #94772, sbaillie@bigpond.net.au;
537
538 Sun Oct 13 17:41:53 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
539
540         * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Don't invalidate
541         a widget if it or one of its ancestors isn't mapped.
542
543 Sun Oct 13 17:21:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
544
545         * tests/testgtk.c (window_controls), tests/testgtk.c
546         (create_tooltips): remove references to non-existing properties
547         GtkWindow::allow_shrink and GtkWidget::width
548
549 Sat Oct 12 15:44:29 2002  Manish Singh  <yosh@gimp.org>
550
551         * gtk/gtkitemfactory.c: use GTK_IS_RADIO_MENU_ITEM instead
552         of comparing the type directly. This handles possible subclasses
553         too. (Recommended by Tim Janik)
554
555 Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>
556
557         * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
558         gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
559         gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
560         gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
561         cleanup
562
563 2002-10-11  Matthias Clasen  <maclas@gmx.de>
564
565         * examples/gtkdial/gtkdial.c (gtk_dial_destroy): 
566         * docs/tutorial/gtk-tut.sgml: Prevent segfault from double destroy.
567
568         * gdk/x11/gdkwindow-x11.c (gdk_window_new): Typo fix.
569
570         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
571         Clarify the docs.
572
573         * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): Mention 
574         gtk_menu_set_accel_group in the docs.
575
576         * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_pager_hint): 
577         * gdk/gdkdisplay.c (gdk_display_set_pointer_hooks): Fix
578         doc comments.
579
580         * gtk/gtkiconfactory.c (gtk_icon_size_lookup_for_settings): 
581         * gtk/gtknotebook.c (gtk_notebook_get_n_pages): 
582         * gtk/gtkwindow.c (gtk_window_set_icon_from_file): 
583         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_focus_cell): Fix
584         doc comments.
585
586         * gtk/gtktreestore.c: 
587         * gtk/gtktreestore.h: Consistently name first parameter
588         tree_store, and make header and implementation agree on parameter 
589         names to silence gtk-doc.
590
591         * gtk/gtkenums.h (enum): Comment typo fix.
592
593 Thu Oct 10 15:13:48 2002  Manish Singh  <yosh@gimp.org>
594
595         * gtk/gtkimcontext.[ch] gtk/gtkimcontextsimple.[ch] gtk/gtkimmodule.c
596         gtk/gtkimmulticontext.[ch] gtk/gtktreestore.[ch]: Deprecation
597         cleanup
598
599 Thu Oct 10 14:58:47 2002  Manish Singh  <yosh@gimp.org>
600
601         * gtk/gtkaccelgroup.c gtk/gtkarrow.[ch] gtk/gtkeventbox.[ch]
602         gtk/gtkiconfactory.c gtk/gtkinvisible.[ch] gtk/gtktextchild.c:
603         Deprecation cleanup
604
605 Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>
606
607         * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
608         gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
609         gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
610         Deprecation cleanup
611
612 Thu Oct 10 14:35:31 2002  Owen Taylor  <otaylor@redhat.com>
613
614         * gtk/gtkscrolledwindow.[ch]: Privately export
615         _gtk_scrolled_window_get_scrollbar_spacing().
616
617         * gtk/gtkcombo.c: Properly account from scrollbar
618         spacing when computing the size of the popup window.
619         (#84955, Marco Pesenti Gritti)
620
621 Wed Oct  9 17:40:13 2002  Manish Singh  <yosh@gimp.org>
622
623         * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c
624         gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch]
625         gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
626
627 Wed Oct  9 16:52:53 2002  Manish Singh  <yosh@gimp.org>
628
629         * gtk/gtkclipboard.[ch] gtk/gtkeditable.[ch] gtk/gtkgc.c
630         gtk/gtkoptionmenu.[ch] gtk/gtkselection.c gtk/gtksizegroup.[ch]:
631         Deprecation cleanup
632
633 Wed Oct  9 15:23:48 2002  Manish Singh  <yosh@gimp.org>
634
635         * gtk/gtkadjustment.[ch] gtk/gtkalignment.[ch] gtk/gtkentry.[ch]
636         gtk/gtkhsv.[ch] gtk/gtktooltips.[ch]: Deprecation cleanup
637
638 Wed Oct  9 15:07:08 2002  Manish Singh  <yosh@gimp.org>
639
640         * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch]
641         gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]:
642         Deprecation cleanup
643
644 Wed Oct  9 17:06:21 2002  Owen Taylor  <otaylor@redhat.com>
645
646         * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback):
647         Add GO_FORWARD and GO_BACK with both left and right
648         arrows depending on the direction. (#92211,
649         Kenneth Christiansen)
650
651         * tests/testgtk.c (create_flipping): Add forward/back button
652         pairs in default, RTL, LTR configurations.
653
654 2002-10-09  Stanislav Brabec  <sbrabec@suse.cz>
655
656         * gtk/gtkimcontextsimple.c: Added support for hungarian characters
657         (addition to bug #93421). Only via dead keys, because compose key
658         combinations in X are erratic.
659
660 Tue Oct  8 17:34:26 2002  Manish Singh  <yosh@gimp.org>
661
662         * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c
663         gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch]
664         gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup
665
666 Tue Oct  8 15:25:53 2002  Manish Singh  <yosh@gimp.org>
667
668         * gtk/gtkhpaned.[ch] gtk/gtkpaned.[ch] gtk/gtkprogress.[ch]
669         gtk/gtkprogressbar.[ch] gtk/gtkvpaned.[ch]: Deprecation cleanup
670
671 Tue Oct  8 14:49:56 2002  Manish Singh  <yosh@gimp.org>
672
673         * gtk/gtktreemodel.h: restore gtkobject.h #include so we don't
674         break backwards compat.
675
676 Tue Oct  8 09:41:43 2002  Owen Taylor  <otaylor@redhat.com>
677
678         * Patch from Takuro Ashie to fix updating of open_ims
679         list. (#95150)
680
681 Mon Oct  7 19:44:45 2002  Owen Taylor  <otaylor@redhat.com>
682
683         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_keys_changed): Move
684         out of HAVE_XKB. (#95129, Phil Blundell)
685
686 Mon Oct  7 19:14:24 2002  Eric Warmenhoven <eric@warmenhoven.org>
687
688         * gdk/linux-fb/gdkwindow-fb.c: fix compilation
689
690         * gdk/linux-fb/gdkmain-fb.c: better display mode setting
691
692 Mon Oct  7 18:50:46 2002  Owen Taylor  <otaylor@redhat.com>
693
694         * gtk/gtkcolorsel.c (gtk_color_selection_finalize):
695         Free the private data. (#84903, Matthias Clasen)
696
697 Mon Oct  7 18:21:39 2002  Owen Taylor  <otaylor@redhat.com>
698
699         * gtk/gtk[hv]paned.c gtk/gtkpaned.c: Allow the slider
700         to be set all the way to the edge, and if that happens,
701         use gtk_widget_set_child_visible() to hide the 
702         appropriate child. (#72784, request from Darin Adler)
703
704 Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>
705
706         * gtk/gtkcolorsel.c (palette_drag_begin): Use
707         a pixbuf to set the drag icon, combine code
708         to create drag icons (Fixes #80092, #80093)
709
710         * gtk/gtkcolorsel.c (get_screen_color): Don't warn
711         on failure to grab keyboard/mouse. (#80085)
712
713         * gtk/gtkcolorsel.c (palette_press): Return FALSE,
714         so DND initiation is possible.
715
716         * gtk/gtkcolorsel.c (palette_release): Set the color
717         from the palette on release, not press.
718
719         * gtk/gtkcolorsel.c (gtk_color_selection_show_all):
720         Override to simple call show(). (#74173)
721
722         * tests/testgtk.c (create_color_selection): Use 
723         gtk_widget_show_all()
724
725 Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>
726
727         * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add 
728         gdk_drag_find_window_for_screen(), so that we can
729         interpret x_root / y_root relative to the correct screen.
730         
731         * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c 
732         gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file. 
733         Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
734
735         * gtk/gtkdnd.c: Handle drags between screens; use 
736         a fallback icon for icons set as windows/pixmaps, 
737         move the drag icon between displays for icons set as 
738         pixbufs.
739
740         * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite
741         loop from last change.
742
743 Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
744
745         * gdk/gdkdisplay.[ch] gdk/gdkinternals.h 
746         gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c 
747         gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
748
749         - Replace GdkPointerHooks with a multihead-safe 
750           GdkDisplayPointerHooks, leave GdkPointerHooks
751           around for singlehead.
752         - Add gdk_display_get_pointer() to get the pointer
753           location with the screen it is on.
754
755         * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
756         Change gdk_screen_get_window_at_pointer() to
757         gdk_display_get_window_at_pointer().
758
759         * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
760         tests/testgtk.c: Use gdk_display_get_window_at_pointer(), 
761         not gdk_screen_get_window_at_pointer().
762
763         * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
764         safe.
765
766         * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
767         since it is useful for writing code that doesn't
768         know the dcurrent state but needs a clean colormap.
769
770         * gtk/gtkrc.c: When loading the settings for a particular
771         screen, only reset toplevels on that screen.
772
773         * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
774         that should have been #ifndef GTK_MULTIHEAD_SAFE.
775
776 Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>
777
778         * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
779         gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
780         gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
781         gtk/gtktreestore.[ch]: Deprecation cleanup
782
783 Mon Oct  7 14:51:21 2002  Owen Taylor  <otaylor@redhat.com>
784
785         * gdk/x11/gdkx.h: Fix some prototypes that had
786         () instead of (void).
787
788 Mon Oct  7 12:40:39 2002  Owen Taylor  <otaylor@redhat.com>
789
790         * gtk/gtkwindow.c (gtk_window_move_resize): Clean
791         up the handling of clearing transient state 
792         settings, fixing bug #95026, reported by Jami
793         Pekannen.
794
795 Mon Oct  7 11:45:17 2002  Owen Taylor  <otaylor@redhat.com>
796
797         * gdk/x11/gdkkeys-x11.c (update_keymaps): If Mode_switch
798         is used for a known modifier like Mod1, assume it won't
799         be used to switch group. (#94841, problem reported by
800         Szekeres Istvan)
801
802 Mon Oct 7 16:07:52 2002  Bill Haneman <bill.haneman@sun.com>
803
804         * gdk/x11/gdkimage-x11.c gdk/linux-fb/gdkimage-x11.c 
805         gdk/win32/gdkimage-x11.c: (gdk_image_get_pixel): 
806         (gdk_image_put_pixel): Fixed sense of bounds checks.
807
808 Sun Oct  6 21:23:29 2002  Manish Singh  <yosh@gimp.org>
809
810         * gtk/gtkcontainer.[ch] gtk/gtkbox.[ch] gtk/gtkhbox.[ch]
811         gtk/gtkvbox.[ch]: Deprecation cleanup
812
813 Sun Oct  6 18:32:11 2002  Manish Singh  <yosh@gimp.org>
814
815         * gtk/gtkcelleditable.c gtk/gtkcellrenderer.[ch]
816         gtk/gtkcellrendererpixbuf.[ch] gtk/gtkcellrenderertext.[ch]
817         gtk/gtkcellrenderertoggle.[ch]: Deprecation cleanup
818
819 Sat Oct  5 16:11:22 2002  Manish Singh  <yosh@gimp.org>
820
821         * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch]
822         gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: Deprecation cleanup
823
824 Sat Oct  5 18:30:50 2002  Owen Taylor  <otaylor@redhat.com>
825
826         * gtk/stock-icons/Makefile.am (pixbuf_csource): Use
827         $(top_builddir) instead of here-undefined $$topdir.
828         (Problem reported by Jacob Berkman)
829
830 Sat Oct  5 18:25:11 2002  Owen Taylor  <otaylor@redhat.com>
831
832         * gtk/gtknotebook.c (gtk_notebook_draw_tab): Fix 
833         &expose_event vs expose_event problem (#94898,
834         reported by Jon-Kare Hellan)
835
836 Sat Oct  5 16:47:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
837
838         * docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
839         gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c,
840         gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c
841
842         Documentation fixes:
843
844         #75170, Dan Winship; 
845         #73220, Havoc Pennington;
846         #70742, Boris Shingarov; 
847         #72007, Alexey A. Malyshev
848
849 Fri Oct  4 18:40:50 2002  Manish Singh  <yosh@gimp.org>
850
851         * gtk/gtkcheckmenuitem.[ch] gtk/gtkimagemenuitem.[ch] gtk/gtkmenu.[ch]
852         gtk/gtkmenubar.[ch] gtk/gtkmenuitem.[ch] gtk/gtkmenushell.[ch]
853         gtk/gtkradiomenuitem.[ch]: Deprecation cleanup
854
855 Fri Oct  4 16:48:27 2002  Manish Singh  <yosh@gimp.org>
856
857         * gtkaspectframe.[ch] gtkbin.[ch] gtkframe.[ch] gtkhruler.[ch]
858         gtkruler.[ch] gtkvruler.[ch]: Deprecation cleanup
859
860 Fri Oct  4 15:47:06 2002  Manish Singh  <yosh@gimp.org>
861
862         * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch]
863         gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup
864
865 Fri Oct  4 15:05:19 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
866
867         * modules/input/gtkimcontextxim.c (get_ic_real): Fix memory
868         intilization error caused by my previous checkin.
869         #94908 a patch from famao@momonga-linux.org (Motonobu Ichimura)
870         
871 Fri Oct  4 17:13:03 2002  Owen Taylor  <otaylor@redhat.com>
872
873         * gtk/gtkdnd.c: Improve checks on public entry points,
874         including, among other things checking whether drag
875         contexts passed in are source or dest. (Fixes
876         #76762, Alexey A. Malyshev)
877
878         * tests/testtext.c tests/testgtk.c tests/testdnd.c:
879         Fix uninstalled operation for new pixbuf changes.
880
881         * gtk/stock-icons/Makefile.am (pixbuf_csource): 
882         Fix makefile for uninstalled operation.
883
884 Fri Oct  4 21:21:47 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
885
886         * gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused
887         codepath.
888
889         * gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call 
890         gtk_widget_queue_draw() instead of gtk_widget_draw().
891
892 Fri Oct  4 14:49:04 2002  Owen Taylor  <otaylor@redhat.com>
893
894         Patch from Shivram U <shivaram.upadhyayula@wipro.com>
895  
896         * gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
897         (max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
898         (update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
899         less than or equal to max_keycode. (#79184)
900
901 2002-10-04  jacob berkman  <jacob@ximian.com>
902
903         * gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
904
905 Fri Oct  4 12:05:27 2002  Owen Taylor  <otaylor@redhat.com>
906
907         * demos/Makefile.am (pixbuf_csource): Fix envars
908         for uninstalled operation of gdk-pixbuf
909
910         * demos/Makefile.am (test-inline-pixbufs.h): Remove
911         output on failure.
912
913 Fri Oct  4 12:00:10 2002  Owen Taylor  <otaylor@redhat.com>
914
915         * gdk/gdkscreen.c (gdk_screen_class_init): Get the
916         name right.
917
918         * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_class_init): 
919         Fix function that should have been static.
920
921 Fri Oct  4 11:43:47 2002  Owen Taylor  <otaylor@redhat.com>
922
923         * configure.in: Add a check for the Xrandr extension.
924
925         * gdk/gdkscreen.[ch]: Add a size-changed signal.
926
927         * gdk/x11/gdkscreen-x11.[ch]: Patch from Keith packard
928         to hook up ConfigureNotify events on the root window
929         to the ::size-changed signal. (#94560)
930
931         * gtk/gtkimcontextsimple.c: Warning fixes
932         
933 Fri Oct  4 00:57:53 2002  Manish Singh  <yosh@gimp.org>
934
935         * gtk/gtkhscrollbar.[ch] gtk/gtkhseparator.[ch] gtk/gtkrange.[ch]
936         gtk/gtkscrollbar.[ch] gtk/gtkseparator.[ch] gtk/gtkseparatormenuitem.h
937         gtk/gtkvscrollbar.[ch] gtk/gtkvseparator.[ch]: Deprecation cleanup
938
939 Thu Oct  3 22:38:12 2002  Manish Singh  <yosh@gimp.org>
940
941         * gdk-pixbuf/queryloaders.c: make it legal C
942
943 Thu Oct  3 16:40:18 2002 Eric Warmenhoven <eric@warmenhoven.org>
944
945         * gdk/gdkevents.c, gdk/linux-fb/gdkwindow-fb.c,
946         gtk/gtkwindow-decorate.c: implement maximize for linux-fb
947
948         * gdk/linux-fb/gdkkeyboard-fb.c: implement raw keyboard mode
949
950         * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkdnd-fb.c,
951         gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkselection-fb.c,
952         gdk/linux-fb/miarc.c, gdk/linux-fb/mifpolycon.c,
953         gdk/linux-fb/miwideline.c, gdk/linux-fb/mizerclip.c,
954         gdk/linux-fb/mizerline.c: small cleanups
955
956 Thu Oct  3 19:00:55 2002  Owen Taylor  <otaylor@redhat.com>
957
958         * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): 
959         Fix error in computing length and a memory leak.
960         (Fixes #94072, reported by Hema Seetharamaiah)
961
962         * gtk/gtkmenu.c (gtk_menu_motion_notify): Fix &event
963         used instead of event.
964
965 2002-10-04  Matthias Clasen  <maclas@gmx.de>
966
967         * demos/gtk-demo/main.c (main): 
968         * demos/pixbuf-init.c (pixbuf_init): Adjust to gdk-pixbuf changes.
969
970 Thu Oct  3 23:53:43 2002  Kristian Rietveld  <kris@gtk.org>
971
972         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_destroy): get
973         XDisplay from window instead of display, as display has not been
974         defined here (fixes the build).
975
976 Thu Oct  3 17:09:23 2002  Owen Taylor  <otaylor@redhat.com>
977
978         * gdk/x11/{gdkdrawable-x11.[ch],gdkpixmap-x11.c,
979         gdkwindow-x11.c}: Restore the pre-Xft2 code to
980         render text directly via RENDER, conditionalized
981         with !HAVE_XFT2 so that we'll build again on Xft1 
982         systems. (#90181)
983
984 Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
985
986         * gdk/gdkevents.c (gdk_event_new): Add a 'type'
987         parameter, make public.
988
989         * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
990
991         * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
992         gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
993         _gdk_event_new() => gdk_event_new().
994         
995         * gdk/win32/gdkevents-win32.c (real_window_procedure): 
996         Fix event_private->screen breakage that results from evil 
997         encapsulation breakage here.
998         
999         * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
1000         gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
1001         gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
1002         gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
1003         gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
1004         gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
1005         tests/testgtk.c: Remove most usage of stack-allocated 
1006         GdkEvent structures.
1007
1008         * gtk/gtktreeview.c: Use a cut-and-paste of the full 
1009         send_focus_event() from gtkwindow.c that does the necessary 
1010         notification of the ::has-focus property and setting of 
1011         the HAS_FOCUS flag.x
1012
1013         * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
1014         an extraneous use of a GdkEvent.
1015
1016 Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
1017
1018         * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
1019         gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
1020         as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
1021         function to draw_pixbuf. (#60582)
1022
1023         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
1024         Note that these functions are obsolete in the docs.
1025
1026         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
1027         Remove all the sanity checks now we make it clear
1028         that it is obsolete name for gdk_draw_pixbuf().
1029
1030         * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
1031           gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
1032           tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.
1033
1034         * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
1035         some warnings.
1036
1037         * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
1038         bit from last gdk_event_get_screen() change.
1039
1040         * gdk/gdkevents.c: Couple of small fixes.
1041
1042 Wed Oct  2 17:36:42 2002  Owen Taylor  <otaylor@redhat.com>
1043
1044         * gdk/gdkevents.[ch] gdk/x11/gdkevents-x11.c: Add
1045         gdk_screen_set_screen()/_get_screen() which (by evil
1046         hacks) work for for heap allocated events and
1047         fall back gracefully for stack allocated events.
1048
1049 Wed Oct  2 08:47:31 2002  Owen Taylor  <otaylor@redhat.com>
1050
1051         * gtk/gtksettings.[ch]: Privately export:
1052         _gtk_settings_set_property_value_from_rc()
1053         _gtk_settings_reset_rc_values() so that we can reset
1054         settings set from RC files when reloading RC files.
1055         (#94610)
1056
1057         * gtk/gtkrc.c: Hook up RC file setting resetting.
1058
1059 Tue Oct  1 12:53:44 2002  Manish Singh  <yosh@gimp.org>
1060
1061         * gtk/gtkwindow-decorate.c gtk/gtkwindow.[ch]: Deprecation cleanup
1062
1063 2002-10-01  jacob berkman  <jacob@ximian.com>
1064
1065         * gtk/gtkinvisible.c: 
1066         * gtk/gtkclipboard.c: declare parent_class static
1067
1068 2002-10-01  Stanislav Brabec  <sbrabec@suse.cz>
1069
1070         * gtk/gtkimcontextsimple.c: Fixed alphabetical order (bug #93421).
1071
1072 2002-10-01  Padraig O'Briain <padraig.obriain@sun.com>
1073
1074         * gtk/gtkmenu.c: Add gtk_menu_focus() so we do not waste time
1075         trying to focus a menu item. (bug #91258)
1076
1077 2002-09-30  Tor Lillqvist  <tml@iki.fi>
1078
1079         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize):
1080         Set image->windowing_data to NULL, unref the image. (Late merge
1081         from stable.)
1082
1083 Mon Sep 30 15:45:49 2002  Owen Taylor  <otaylor@redhat.com>
1084
1085         * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): 
1086         Make the reference to the mnemonic widget weak.
1087         (#93334, Murray Cumming)
1088
1089 Mon Sep 30 15:38:53 2002  Owen Taylor  <otaylor@redhat.com>
1090
1091         * gdk/gdkwindow.h: Remove a duplicate definition
1092         of gdk_set_sm_client_id().
1093
1094 Mon Sep 30 15:31:57 2002  Owen Taylor  <otaylor@redhat.com>
1095
1096         * gdk/gdkdisplay.c gdk/x11/gdkdisplay-x11.c 
1097         gdk/gdkinternals.h: Set the client ID on all
1098         displays. (#85713)
1099
1100         * gdk/gdkdisplay.h gkd/gdkinternals.h
1101          gdk/{linux-fb,win32,x11}/gdkmain-{fb,win32,x11}.c
1102         Privatize gdk_display_set_sm_client_id().
1103
1104 Mon Sep 30 14:46:49 2002  Owen Taylor  <otaylor@redhat.com>
1105  
1106         * gtk/gtkbindings.c (gtk_binding_set_new): Initialize
1107         ->parsed field. (#94536, patch from Sebastian Ritau. Maybe 
1108         fixes #87411?)
1109  
1110 Mon Sep 30 14:28:58 2002  Owen Taylor  <otaylor@redhat.com>
1111
1112         * gtk/gtkwindow.[ch]: Add gtk_window_set_icon_from_file(),
1113         gtk_window_set_default_icon_from_file() convenience
1114         functions (#75178, suggestion from Havoc Pennington)
1115
1116 2002-09-30  Daniel Elstner  <daniel.elstner@gmx.net>
1117
1118         * gtk/gtktextbuffer.c: Add construct-only property "tag_table"
1119         and make use of it in gtk_text_buffer_new().  (#70227)
1120
1121 2002-09-30  Stanislav Brabec  <sbrabec@suse.cz>
1122
1123         * gtk/gtkimcontextsimple.c: Completed ISO-8859-2 characters
1124         support (#93421), fixed cacute, umacron, completed dead_key+space
1125         convention.
1126
1127 Sun Sep 29 23:52:28 2002  Owen Taylor  <otaylor@redhat.com>
1128
1129         * ===== Released 2.1.0 ======
1130
1131         * NEWS: Updated
1132
1133 Sun Sep 29 20:20:26 2002  Owen Taylor  <otaylor@redhat.com>
1134
1135         * gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
1136         tooltips for menu items with submenus .. they still
1137         don't really work properly. (Missed merge from
1138         stable)
1139
1140 Sun Sep 29 20:15:59 2002  Owen Taylor  <otaylor@redhat.com>
1141
1142        * gtk/gtkwindow.c (gtk_window_move_resize): Clear
1143         initial_pos_set even if it only causes a move, not
1144         a resize as well. (Missed merge from stable,
1145         may fix #89562)
1146
1147 Sun Sep 29 14:22:47 2002 Manish Singh  <yosh@gimp.org>
1148
1149         * contrib/gdk-pixbuf-xlib/Makefile.am demos/Makefile.am
1150         demos/gtk-demo/Makefile.am: add deprecation compile flags
1151
1152         * demos/testanimation.c demos/testpixbuf-save.c demos/testpixbuf.c
1153         demos/gtk-demo/*.c gdk-pixbuf/gdk-pixbuf-animation.c
1154         gdk-pixbuf/gdk-pixbuf.c: minor cleanups, getting rid of
1155         unnecessary casts
1156
1157 Sun Sep 29 13:11:13 2002  Manish Singh  <yosh@gimp.org>
1158
1159         * gtk/gtktypeutils.h: use #defines instead of enum for
1160         GtkFundamentalType compat, to prevent 64-bit vs. 32-bit
1161         confusion (#90400)
1162
1163 2002-09-29  Tor Lillqvist  <tml@iki.fi>
1164
1165         * configure.in: Instead of forcing -fnative-struct into CFLAGS
1166         when using gcc for Win32, check for gcc version 3.x which uses
1167         -mms-bitfields instead. Also check if either of these switches is
1168         actually available at all, and warn if not. Thanks to Soren
1169         Andersen for the inspiration. (#93965)
1170
1171 2002-09-01  Soeren Sandmann  <sandmann@daimi.au.dk>
1172
1173         * gtk/gtkimcontext.c, gtk/gtktreeviewcolumn.c:
1174
1175         Minor documentation fixes. 
1176         (#80021, Yao Zhang; #75567, #75279, Vitaly Tishkov)
1177
1178 2002-09-28  Matthias Clasen  <maclas@gmx.de>
1179
1180         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make
1181         drawing to the root window work.  (#89492)
1182
1183 Fri Sep 27 18:14:00 2002  Owen Taylor  <otaylor@redhat.com>
1184
1185         (#91249, Thomas Leonard)
1186
1187         * gtk/gtkselection.c (gtk_selection_convert): Initialize
1188         idle time to 0.
1189
1190         * gtk/gtkselection.c: Up idle timeout to 5 minutes
1191         from 5 seconds.
1192
1193 Fri Sep 27 17:40:47 2002  Owen Taylor  <otaylor@redhat.com>
1194
1195         * modules/input/Makefile.am: Patch from J. Ali Harlow
1196         to avoid generating gtk.immodules when cross-compiling.
1197         (#87774)
1198         
1199 Fri Sep 27 14:30:34 2002 Eric Warmenhoven <eric@warmenhoven.org>
1200
1201         * gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c
1202         gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and
1203         gdk_keyval_from_name to new gdkkeynames.c, share implementation for
1204         linux-fb and win32 (#94123)
1205
1206         * gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c
1207         gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add
1208         -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile
1209         flags
1210
1211         * gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't
1212         initialize
1213
1214         * gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes
1215
1216         * gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions
1217
1218 Fri Sep 27 17:23:31 2002  Owen Taylor  <otaylor@redhat.com>
1219
1220         * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
1221         (#85863, David L. Cooper II)
1222
1223 Fri Sep 27 16:23:49 2002  Owen Taylor  <otaylor@redhat.com>
1224          
1225         * gtk/gtklabel.c : Replaced instances where strlen (label->label) is
1226         used to get a byte code with strlen (label->text) as label->text 
1227         contains the actual display text, while label->label contains
1228         markup / mnemonics. (#92683, Patch from Shivram U  
1229         <shivaram.upadhyayula@wipro.com>, with some additions.)
1230
1231         * gtk/gtklabel.c (gtk_label_set_uline_text_internal): 
1232         Fix a leftover, now incorrect comment.
1233         
1234 Fri Sep 27 16:15:11 2002  Owen Taylor  <otaylor@redhat.com>
1235
1236         * gtk/gtknotebook.c (gtk_notebook_get_event_window_position):
1237         Handle the case where the first page isn't visible.
1238         (#90336, bug tracked down by Chema Celorio)
1239
1240 Fri Sep 27 15:57:15 2002  Owen Taylor  <otaylor@redhat.com>
1241
1242         * gtk/gtkstock.c (builtin_items): Change accelerator
1243         from C_ut to Cu_t. (#82747, Paolo Maggi)
1244
1245 Fri Sep 27 15:27:45 2002  Owen Taylor  <otaylor@redhat.com>
1246
1247         * gtk/gtkimage.c (gtk_image_unrealize): Reset the
1248         animation iter on unrealize as well as unmap.
1249         (#94336)
1250
1251         * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't
1252         turn a value of "" into NULL. (#94157, Vitaly Tishkov)
1253
1254 Wed Sep 25 18:23:50 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
1255
1256         * modules/input/gtkimcontextxim.c:
1257         - use gtk_settings_get_for_screen () instead of
1258           gtk_settings_get_default () for multihead
1259         - connect property-notify signal handlers to respond runtime
1260           changes of status_style and preedit_style in the settings
1261         - Some indentation and code cleanup (#59076 - 2nd check-in)
1262         
1263 2002-09-24  Havoc Pennington  <hp@redhat.com>
1264
1265         * gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
1266         typedef
1267
1268         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
1269         FULLSCREEN state
1270
1271         * tests/testgtk.c (get_state_controls): add
1272         fullscreen/unfullscreen test
1273
1274         * gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
1275
1276         * gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
1277         variable
1278
1279         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
1280         variable
1281
1282         * gdk/x11/gdkscreen-x11.c
1283         (_gdk_x11_screen_window_manager_changed): emit
1284         window_manager_changed signal
1285
1286         * gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
1287         window_manager_changed signal
1288
1289         * gdk/x11/gdkevents-x11.c
1290         (gdk_x11_screen_get_window_manager_name): new function
1291
1292         * gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
1293         skip_taskbar_hint, skip_pager_hint properties
1294         (gtk_window_set_skip_taskbar_hint):
1295         (gtk_window_get_skip_taskbar_hint):
1296         (gtk_window_set_skip_pager_hint):
1297         (gtk_window_get_skip_pager_hint):
1298         (gtk_window_fullscreen):
1299         (gtk_window_unfullscreen): new functions
1300
1301         * gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
1302
1303         * gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
1304         values
1305
1306         * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
1307         (gdk_window_set_skip_pager_hint):
1308         (gdk_window_fullscreen):
1309         (gdk_window_unfullscreen): new functions
1310         (set_initial_hints): set fullscreen here if appropriate
1311         
1312 Wed Sep 25 10:51:24 2002  Owen Taylor  <otaylor@redhat.com>
1313
1314         * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c:
1315         Add gdk_screen_make_display_name(), which returns a
1316         display name that can be used to open a display with the
1317         screen as the default (Based on patch from Mark McLoughlin, 
1318         #86013)
1319
1320 Wed Sep 25 08:50:40 2002  Owen Taylor  <otaylor@redhat.com>
1321
1322         Patch from Eric Warmenhoven, #94123
1323
1324         * gdk/gdkmouse-fb.c: Add scrolling support for 
1325         imps2 mice.
1326
1327         * gdk/linux-fb/gdkimage-fb.c: Fix compilation error
1328         in last gdkimage-fb.c commit.
1329
1330 Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>
1331
1332         * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
1333         and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags
1334
1335         * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
1336         gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
1337         gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c 
1338         gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
1339         gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
1340         gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
1341         gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
1342         gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
1343         gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
1344         gdk_foo_{ref,unref} to g_object equivalents.
1345
1346 Tue Sep 24 23:54:20 2002  Manish Singh  <yosh@gimp.org>
1347
1348         * gtk/gtkfilesel.c: check if last_selected is valid before doing
1349         a strcmp on it, which may happen if selections happen programmatically
1350         instead of through the UI (#86566)
1351
1352 Tue Sep 24 23:33:48 2002  Manish Singh  <yosh@gimp.org>
1353
1354         * gtk/gtkfilesel.c: preserve ordering from gtk_tree_selection_foreach
1355         when returning filenames for gtk_file_selection_get_selections
1356         (#86567)
1357
1358         * gtk/gtkclipboard.c: GtkClipboard struct should have a GObject
1359         in it, not a GObjectClass
1360
1361 Tue Sep 24 18:18:36 2002  Owen Taylor  <otaylor@redhat.com>
1362
1363         * gtk/gtkclipboard.[ch]: Make a GObject (#75970, James
1364         Henstridge)
1365
1366 Tue Sep 24 19:45:55 2002  Owen Taylor  <otaylor@redhat.com>
1367
1368         * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap): 
1369         Look up the visual as well as the colormap, since calling
1370         gdk_drawable_get_visual() causes infinite recursion.
1371
1372         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): 
1373         Set the colormap for the root window.
1374
1375 Tue Sep 24 15:35:42 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
1376
1377         disable/enable preedit/status in GtkIMContextXIM (#59076)
1378         
1379         * gtk/gtkenums.h (enum): added preedit/status styles for gtk+
1380         input method
1381         * modules/input/gtkimcontextxim.c
1382         * gdk/x11/gdkevents-x11.c: add gtk-im-preedit-style and
1383         gtk-im-status-style to GtkSettings.
1384         * po/POTFILES.in: added modules/input/gtkimcontextxim.c
1385
1386         With the other patch for gnome-control-center,
1387         the preedit and status styles of GTK+ input method are
1388         configurable with associated gconf schemas keys:
1389         "/desktop/gnome/interface/gtk-im-preedit-style"
1390         "/desktop/gnome/interface/gtk-im-status-style"
1391
1392         Both are set to "callback" by default, and platform's 
1393         packging can have different default by changing
1394         libgnome's desktop_gnome_interface.schemas.
1395
1396 2002-09-25  Matthias Clasen  <maclas@gmx.de>
1397
1398         * gdk/x11/gdkvisual-x11.c (gdkx_visual_get): Replace leftover 
1399         gdkx_visual_get_for_screen () by gdk_x11_screen_lookup_visual().
1400
1401         * gtk/gtkaccelgroup.h: Add a missing ; to make things compile.
1402
1403         * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
1404         Replace leftover gdk_colormap_lookup () by
1405         gdk_x11_colormap_foreign_new () to make the linker happy.
1406
1407 Tue Sep 24 17:49:52 2002  Owen Taylor  <otaylor@redhat.com>
1408
1409         * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find): 
1410         Add a GtkAccelGroupFindFunc to clean up the
1411         prototype. (#76670, Vitaly Tishkov)
1412
1413         * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
1414         gdkx_visual_get_for_screen() to 
1415         gdk_x11_screen_lookup_visual(). (#85702)
1416
1417 2002-09-25  Tor Lillqvist  <tml@iki.fi>
1418
1419         * gdk/win32/gdkevents-win32.c (gdk_event_translate):
1420         WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
1421         order to be able to handle it normally in the application. Set
1422         ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
1423         way we can generate GDK events also for Alt-Fn keys, for instance.
1424
1425 2002-09-24  Matthias Clasen  <maclas@gmx.de>
1426
1427         * gdk/x11/gdkx.h: Add a missing ; to make things compile.
1428
1429 Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>
1430
1431         Make icon sizes configurable (#70648, slightly based
1432         on a patch from Bill Haneman, Brian Cameron)
1433
1434         * gtk/gtkiconfactory.[ch]: Add 
1435         gtk_icon_size_lookup_for_settings().
1436
1437         * gtk/gtksettings.c: Add gtk-icon-sizes XSETTING
1438
1439         * gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.
1440
1441         * gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()
1442
1443         * gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
1444         to force all the widgets to recompute their appearance.
1445
1446         * gdk/x11/gdkevents-x11.c: Add gtk-icon-sizes XSETTING
1447
1448 Tue Sep 24 16:24:22 2002  Owen Taylor  <otaylor@redhat.com>
1449
1450         * gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c 
1451         * gdk/linux-fb/gdkimage-fb.c (gdk_image_put/get_pixel): 
1452         Add bounds-checking g_return_if_fail(). (Olexiy Avramchenko)
1453
1454 Tue Sep 24 16:04:44 2002  Owen Taylor  <otaylor@redhat.com>
1455
1456         * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c
1457         gdkwindow-x11.c: Delete unused private gdk_visual_lookup(),
1458         make gdk_colormap_lookup() private gdkcolor-x11.c.
1459         make gdk_window_add_colormap_windows private to gdkwindow-x11.c
1460         (#85674)
1461
1462         * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c 
1463         gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(), 
1464         GDK_ENABLE_BROKEN gdkx_colormap_get(), make the
1465         colormap hash per-screen. (#85697)
1466
1467         * gdk/x11/gdkxid.c (gdk_xid_table_lookup_for_display):
1468         Remove a bit of unecessary code.
1469
1470 Thu Aug  8 16:58:22 2002  Owen Taylor  <otaylor@redhat.com>
1471  
1472         * gtk/gtkspinbutton.c (gtk_spin_button_real_change_value): 
1473         Remove the check for editable. (Reported by Brent Fox)
1474  
1475 Tue Sep 24 06:17:37 2002  Owen Taylor  <otaylor@redhat.com>
1476
1477         * gtk/gtkeventbox.c (gtk_event_box_paint): Honor
1478         GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
1479
1480 Tue Sep 24 05:26:31 2002  Owen Taylor  <otaylor@redhat.com>
1481
1482         * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c 
1483         gdk/x11/gdkevents-x11.c  gdk/win32/gdkevents-win32.c:
1484         Change the window parameter for 
1485         gdk_event_send_client_message[_for_display] from guint32
1486         to GdkNativeWindow. (#79979)
1487
1488 Tue Sep 24 05:16:25 2002  Owen Taylor  <otaylor@redhat.com>
1489
1490         * gtk+.spec.in: Fix up a bit to look for the loaders
1491         in the right place. (#93011, Dennis Dementiev)
1492
1493 Tue Sep 24 05:12:14 2002  Owen Taylor  <otaylor@redhat.com>
1494
1495         * gtk/gtkimcontextsimple.c: Fixes to GtkIMContextSimple
1496         compose table for us-intl keyboards (Red Hat bugzilla
1497         #70995, Alexandre Oliva)
1498
1499 Tue Sep 24 04:50:28 2002  Owen Taylor  <otaylor@redhat.com>
1500
1501         * gtk/gtkspinbutton.c (gtk_spin_button_activate):   
1502         Chain up so that entry->activates_default is honored.
1503         (#93865, Pieter Penninckx)
1504
1505 2002-09-23  Jacob Berkman  <jacob@ximian.com>
1506
1507         * gtk/gtkprogress.c (DEFAULT_FORMAT): cpp macros aren't ``;''
1508         terminated
1509
1510 Mon Sep 23 19:49:11 2002  Owen Taylor  <otaylor@redhat.com>
1511
1512         * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c:
1513         Privatize gtk_selection_request, gtk_selection_incr_event
1514         gtk_selection_notify, gtk_selection_property_notify.
1515         Add doc note about future deprecation of gtk_selection_clear()
1516         which. (#85683)
1517
1518         * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear):
1519         Chain up, rather than calling gtk_selection_clear().
1520
1521 Mon Sep 23 18:53:35 2002  Owen Taylor  <otaylor@redhat.com>
1522
1523         * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): 
1524         Restore back to the default format instead of an
1525         empty format. (#82626, Tim Janik)
1526
1527         * gtk/gtkprogress.c (gtk_progress_set_format_string): 
1528         Make NULL restore back to the default format.
1529
1530 Mon Sep 23 18:45:46 2002  Owen Taylor  <otaylor@redhat.com>
1531
1532         * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): 
1533         Allow accel_path == NULL. (#84241, James Henstridge.)
1534
1535 Mon Sep 23 18:01:52 2002  Owen Taylor  <otaylor@redhat.com>
1536
1537         * gtk/gtknotebook.[ch]: Add gtk_notebook_get_n_pages
1538         (#73229, Havoc Pennington)
1539
1540         * gtk/gtknotebook.c (gtk_notebook_get_nth_page): Handle
1541         -1 to mean the last page, as we do elsewhere. (#73229)
1542
1543 Mon Sep 23 17:50:23 2002  Owen Taylor  <otaylor@redhat.com>
1544
1545         * gtk/gtkmenushell.[ch] gtk/gtkentry.c gtk/gtkmenubar.c
1546         gtk/gtkmenuitem.c gtk/gtktextview.c: Make
1547         gtk_menu_shell_select_first() public. (#70373)
1548
1549 Mon Sep 23 16:48:46 2002  Owen Taylor  <otaylor@redhat.com>
1550
1551         * gdk/gdkkeys.[ch] gdk/x11/gdkkeys-x11.c gdk/x11/gdkevents-x11.c:
1552         Add a keys_changed signal emitted when the keymap changes.
1553         (#72148)
1554         
1555         * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): 
1556         Hook up code to handle keymap changes, change to keep
1557         a linked list of keymap entries so that we can reinsert
1558         them in the same order on a keymap change.
1559
1560 Mon Sep 23 14:58:04 2002  Owen Taylor  <otaylor@redhat.com>
1561  
1562         * gtk/gtkhandlebox.h gtk/gtktextbtree.[ch]:
1563         Use 'signed int' not 'gint' for signed bitfields.
1564         (#93020, Vitaly Tishkov)
1565  
1566         * gtk/gtktextlayout.h gtk/gtktextbtree.[ch]: 
1567         Fix some 'gint' bitfields that should have been
1568         unsigned.
1569         
1570 Mon Sep 23 12:24:14 2002  Owen Taylor  <otaylor@redhat.com>
1571
1572         * modules/input/gtkimcontextxim.c (status_window_get): 
1573         Fix incorrect usage of gdk_get_default_root_window ()).
1574         (#92767)
1575
1576 Mon Sep 23 12:12:48 2002  Owen Taylor  <otaylor@redhat.com>
1577
1578         * gtk/gtkspinbutton.c: Patch from Joshua N Pritikin to
1579         fix problem where signal connection wasn't removed
1580         from adjustment on finalize. (#93962)
1581
1582 Sun Sep 22 18:22:37 2002  Owen Taylor  <otaylor@redhat.com>
1583
1584         * gdk/linux-fb/{gdkinput.c,gdkkeyboard-fb.c,gdk/linux-fb/gdkmain-fb.c,
1585         gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c}:
1586         Patch from Eric Warmenhoven to with miscellaneous linux-fb
1587         fixes, including a fix for a crash in 
1588         gdk_keymap_get_entries_for_keycode (#87420)
1589
1590 2002-09-22  Matthias Clasen  <maclas@gmx.de>
1591
1592         * gdk/gdkdraw.c (gdk_drawable_get_type): 
1593         * gdk/gdkgc.c (gdk_gc_get_type): 
1594         * gtk/gtkmenushell.c (gtk_menu_shell_get_type): 
1595         * gtk/gtkimcontext.c (gtk_im_context_get_type): 
1596         * gtk/gtkprogress.c (gtk_progress_get_type): 
1597         * gtk/gtkoldeditable.c (gtk_old_editable_get_type): 
1598         * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type): 
1599         * gtk/gtkwidget.c (gtk_widget_get_type): 
1600         * gtk/gtkseparator.c (gtk_separator_get_type): 
1601         * gtk/gtkscrollbar.c (gtk_scrollbar_get_type): 
1602         * gtk/gtkscale.c (gtk_scale_get_type): 
1603         * gtk/gtkrange.c (gtk_range_get_type): 
1604         * gtk/gtkpaned.c (gtk_paned_get_type): 
1605         * gtk/gtkmisc.c (gtk_misc_get_type): 
1606         * gtk/gtkitem.c (gtk_item_get_type): 
1607         * gtk/gtkcontainer.c (gtk_container_get_type): 
1608         * gtk/gtkbbox.c (gtk_button_box_get_type): 
1609         * gtk/gtkbox.c (gtk_box_get_type): 
1610         * gtk/gtkbin.c (gtk_bin_get_type): 
1611         * gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
1612         G_TYPE_FLAG_ABSTRACT.  (#72383)
1613
1614 2002-09-21  Tor Lillqvist  <tml@iki.fi>
1615
1616         * gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11
1617         backend. The old version mishandled consecutive newlines.
1618
1619         * tests/testgtkrc: Remove obsolete mention of gtk-engines and
1620         Pixmap theme engine on Win32.
1621
1622 Fri Sep 20 18:01:26 2002  Owen Taylor  <otaylor@redhat.com>
1623  
1624         * gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
1625         context client  window to NULL, not to the window that 
1626         is about to be destroyed. (#88231)
1627  
1628 Fri Sep 20 16:56:54 2002  Owen Taylor  <otaylor@redhat.com>
1629
1630         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):
1631         Return TRUE if force_load was specified. (#93738,
1632         Vitaly Tishkov.)
1633
1634 2002-09-20  Tor Lillqvist  <tml@iki.fi>
1635
1636         * gtk/gtkmain.c (gtk_get_default_language): On Win32, look
1637         explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, use
1638         g_win32_getlocale(). The setlocale() in msvcrt.dll would return a
1639         locale name in the form Swedish_Finland for sv_FI.
1640
1641         * gdk/gdkfont.h: Delete leftover declarations of the obsolete
1642         Win32-only functions gdk_font_full_name_get() and
1643         gdk_font_full_name_free().
1644
1645         * gdk/gdk.def: Delete from here, too.
1646
1647         * gdk/win32/gdkfont-win32.c (logfont_to_xlfd,
1648         gdk_font_full_name_get, gdk_font_full_name_free): Delete
1649         implementation, and helper functions.
1650
1651         (pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc,
1652         gdk_font_list_new, gdk_font_list_free): Delete unused functions.
1653
1654         (gdk_text_width, gdk_text_width_wc) Instead of code duplication,
1655         let gdk_text_extents() and gdk_text_extents_wc() do the job.
1656         
1657         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
1658         Don't use the above removed functions in debugging output.
1659
1660         * gdk/win32/gdkdisplay-win32.c
1661         * gdk/win32/gdkmain-win32.c
1662         * gdk/win32/gdkprivate-win32.h
1663         * gdk/win32/gdkselection-win32.c
1664         * gdk/win32/gdkinput-win32.h
1665         * gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in
1666         a couple of places.
1667
1668 Thu Sep 19 16:39:29 2002  Owen Taylor  <otaylor@redhat.com>
1669
1670         * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix 
1671         usage of compat GTK_TYPE_ macros without including
1672         gtkobject.h.
1673
1674         * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing
1675         to avoid having extra settings-notify events sent
1676         when not needed.
1677
1678 2002-09-17  Matthias Clasen  <maclas@gmx.de>
1679
1680         * gtk/stock-icons/stock_color_picker_25.png:
1681         * gtk/stock-icons/Makefile.am (VARIABLES1): 
1682         * gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER): 
1683         * gtk/gtkiconfactory.c (get_default_icons):  
1684         * gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
1685         picker icon.   (#89880)
1686
1687 2002-09-14  Sven Neumann  <sven@gimp.org>
1688
1689         * gdk/gdkpixbuf-drawable.c: fixed my latest change.
1690
1691 2002-09-13  Sven Neumann  <sven@gimp.org>
1692
1693         * gdk/gdkpixbuf-drawable.c: use the most significant bits of the
1694         GdkColor components (#89703).
1695
1696 2002-09-12  Tor Lillqvist  <tml@iki.fi>
1697
1698         * gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Use correct
1699         function name in warning messages.
1700
1701         Merge from gtk-2-0:
1702
1703         * gdk/win32/gdkdrawable-win32.c
1704         * gdk/win32/gdkevents-win32.c: Some spacing and indentation cleanup.
1705         
1706         * gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
1707         render_line_vertical): Return TRUE.
1708         
1709         * gdk/win32/gdkevents-win32.c (_gdk_events_init): Search if the
1710         system has some input locale identifier that uses a Latin
1711         keyboard. This is needed to be able to get the virtual-key code
1712         for the latin characters corresponding to ASCII control
1713         characters. If no such keyboard is present, try to load one
1714         then. Will this upset users with no wish to ever use a Latin-based
1715         keyboard layout?
1716
1717         (vk_from_char): Convert all ASCII control chars to the
1718         corresponding uppercase char before calling VkKeyScanEx(). Idea by
1719         Florent Duguet. Makes Control-C work again. To make it hopefully
1720         work like I think it should on non-Latin keyboards, too, use
1721         latin_locale when looking for the corresponding keycode.
1722
1723         * gdk/win32/gdkgeometry-win32.c: Add GDK_NOTE debugging output
1724         to some functions, related to moving and resizing and expose
1725         and antiexpose queue processing. Use %p to output HWNDs.
1726
1727         * gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out
1728         debugging output to new function.
1729
1730         Fix for #81831 by Tim Evans:
1731         
1732         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't call
1733         _gdk_event_button_generate() here, it would append the double- or
1734         triple-click events too early, before the single-click event.
1735
1736         (real_window_procedure): If we got a single-click event, call
1737         _gdk_event_button_generate() to perhaps append the double- or
1738         triple-click event after that.
1739
1740         Tentative fix for #79720 based on code by Florent Duguet:
1741                 
1742         * gdk/win32/gdkgeometry-win32 (gdk_window_queue_append): New
1743         static function. Checks length of translate_queue, calls
1744         _gdk_window_process_expose() if length is >= 128. Then appends
1745         to translate_queue.
1746         (gdk_window_queue_translation,_gdk_windowing_window_queue_antiexpose):
1747         Call gdk_window_queue_append().
1748
1749         Merge from gtk-1-3-win32-production and gtk-2-0:
1750
1751         * gdk/win32/gdkevents-win32.c (propagate): Check for parent being
1752         NULL before trying to propagate to it, and return FALSE in that
1753         case. (If parent is NULL, we are handling gdk_parent_root, and
1754         probably should have noticed that and bailed out earlier. But
1755         better late than never.)
1756
1757         * gdk/win32/gdkinput-win32.c (gdk_input_init): Use
1758         GetSystemMetrics (SM_C[XY]SCREEN) instead of
1759         gdk_screen_{width,height}().
1760
1761         * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Don't
1762         use return value from GlobalSize() as length of string when
1763         calling MultiByteToWideChar(). Pass -1 instead (zero-terminated
1764         string). Thanks to Iwasa Kazmi.
1765
1766 Wed Sep 11 15:48:38 2002  Jonathan Blandford  <jrb@redhat.com>
1767
1768         * gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make
1769         GtkTreeRowReference a boxed type.
1770
1771         * gtk/gtkliststore.c (gtk_list_store_finalize): free the root
1772         list.
1773
1774         * gtk/gtktreestore.c (gtk_tree_store_finalize): free the root
1775         nodes.
1776
1777 Wed Sep 11 12:33:34 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
1778
1779         * gtk/gtkstyle.c: Draw radio buttons more symmetric. Draw shadow
1780         out bevels slightly different. Fix drawing of top right corner of
1781         etched in shadows.
1782
1783 Tue Sep 10 09:47:52 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
1784
1785         * modules/input/gtkimcontextxim.c
1786         (get_im): modify a warning when XSetLocaleModifiers() fails, and
1787         add a warning when XOpenIM() fails
1788         (gtk_im_context_xim_filter_keypress): use XLookupString when xic
1789         is not available. (#90661)
1790         (gtk_im_context_xim_get_ic, gtk_im_with_preedit,
1791         gtk_im_without_preeedit): filter key release events only when
1792         input methods ask for (#81759)
1793
1794 Tue Sep 10 11:11:09 2002  Owen Taylor  <otaylor@redhat.com>
1795
1796         * gdk/linux-fb/*: Patch from Eric Warmenhoven to
1797         get linux-fb compiling with multihead changes.
1798
1799 Tue Sep 10 09:29:00 2002  Owen Taylor  <otaylor@redhat.com>
1800
1801         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Take
1802         focus mode into account when tracking FocusIn/Out events,
1803         so we don't get confused by focus changes while a 
1804         keyboard grab is in effect. (Probably fixes #90563)
1805
1806 Mon Sep  9 16:16:25 2002  Shivram U  <shivaram.upadhyayula@wipro.com>
1807
1808         * gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
1809         is also a part of the selection, then we are in the selection.
1810         (#92768)
1811
1812 2002-09-08  Tor Lillqvist  <tml@iki.fi>
1813
1814         * configure.in: Add AM_CONDITIONAL calls also in the non-x11
1815         branch. Otherwise we get "conditional \"$1\" was never defined.
1816         Usually this means the macro was only invoked conditionally."
1817         errors when running configure if using automake 1.6a. Yeah, I know
1818         that autogen.sh says to use automake 1.4, but on Win32 I more or
1819         less have to use the bleeding edge. I think.
1820
1821 Sat Sep  7 21:24:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
1822
1823         * gtk/gtktoolbar.c (get_button_relief): call
1824         gtk_widget_ensure_style() before reading "button_relief". Fixes
1825         (#92741).
1826
1827 2002-09-06  Matthias Clasen  <maclas@gmx.de>
1828
1829         * configure.in: Add ani to all_loaders.
1830
1831 Fri Sep  6 15:59:54 2002  Owen Taylor  <otaylor@redhat.com>
1832
1833         * gdk/gdkdisplay.h: Remove unused prototype for 
1834         gdk_set_default_display 
1835         (=> gdk_display_manager_set_default_display)
1836         (#90616, Matthias Clasen)
1837
1838 Fri Sep  6 15:35:01 2002  Owen Taylor  <otaylor@redhat.com>
1839
1840         * gdk/gdkgc.c (gdk_gc_new_with_values): Only set
1841         gc->colormap if it isn't already set. (Alex Larsson,
1842         #90632)
1843
1844 Fri Sep  6 12:41:16 2002  Owen Taylor  <otaylor@redhat.com>
1845
1846         * modules/input/gtkimcontextxim.c: Pass the actual input
1847         keycode to XIM, rather than the result of backconverting
1848         the keysym. Fixes the <> input problem! (#74922)
1849
1850         * gtk/gtkimmodule.c: Fix bug where GTK_IM_MODULE environment
1851         variable couldn't be used to force the input method to
1852         the default input method.
1853
1854 2002-09-05  jacob berkman  <jacob@ximian.com>
1855
1856         * configure.in: fix non-solaris xinerama checks (bug #89732)
1857
1858         * autogen.sh: get automake-1.4 changes from -2-0 branch
1859
1860 2002-09-05  Tor Lillqvist  <tml@iki.fi>
1861
1862         * gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
1863         actually do check each char, not just the first one, when looping
1864         through the text looking to insert CR in front of each LF. Bug
1865         noticed and fix provided by Florent Duguet.
1866
1867         * gdk/win32/gdkwindow-win32.c (gdk_window_set_transient_for): 
1868         Use HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent
1869         Duguet.
1870
1871 2002-09-04  Matthias Clasen  <maclas@gmx.de>
1872
1873         * demos/testanimation.c (do_image): 
1874         (do_nonprogressive): Quit on destroy.
1875
1876         * demos/testpixbuf.c (main): test load-at-size.
1877         (expose_func): draw transparent pixbufs against a checkerboard 
1878         pattern. (#91829)
1879
1880 2002-09-01  Soeren Sandmann  <sandmann@daimi.au.dk>
1881
1882         * docs/reference/gtk/tmpl/gtkdialog.sgml
1883         docs/reference/gtk/tmpl/gtkhbbox.sgml
1884         docs/reference/gtk/tmpl/gtkvbbox.sgml
1885         docs/reference/gtk/tmpl/gtktogglebutton.sgml
1886         docs/reference/gtk/tmpl/gtktreeselection.sgml
1887         gtk/gtktextbuffer.c
1888         gtk/gtktogglebutton.c
1889         gtk/gtktreesortable.c
1890
1891         Minor documentation fixes:
1892         
1893         #79107, #82854, #76398, Vitaly Tishkov; 
1894         #88627, Brian Tarricone;
1895         #81046, Owen Taylor
1896
1897 2002-08-31  Tor Lillqvist  <tml@iki.fi>
1898
1899         * gdk/win32/gdkevents-win32.c (_gdk_events_init): On Cygwin, open
1900         /dev/windows instead of using the magic G_WIN32_MSG_HANDLE fd that
1901         is implemented (in GLib) only on native Win32. (#91683, Masahiro
1902         Sakai)
1903
1904         * gtk/gtkfilesel.c: Include <sys/cygwin.h on Cygwin, for
1905         cygwin_conv_to_posix_path().
1906         (translate_win32_path, get_real_filename): Use
1907         cygwin_conv_to_posix_path().
1908         (gtk_file_selection_dir_activate): Call get_real_filename() here,
1909         too. (#91843, Masahiro Sakai)
1910
1911 2002-08-26  Tor Lillqvist  <tml@iki.fi>
1912
1913         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
1914         (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
1915         MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
1916
1917 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
1918
1919         * docs/tutorial/package-db-tutorial.sh: cleanups
1920
1921         * docs/tutorial/gtk-tut.sgml: new content for the
1922         ItemFactory section. Originally from Robert Cleaver Ancell.
1923
1924 2002-08-25  Tor Lillqvist  <tml@iki.fi>
1925
1926         * gtk/gtkfilesel.c: Don't include <winsock.h> on Cygwin (#91654,
1927         Masahiro Sakai).
1928
1929         * gtk/gtkmain.c: Compile gtk_init_abi_check and
1930         gtk_init_check_abi_check when on G_PLATFORM_WIN32, not just on
1931         G_OS_WIN32, to match gtkmain.h (#91649, Masahiro Sakai).
1932         (check_sizeof_GtkWindow, check_sizeof_GtkBox): Mention the
1933         -mms-bitfields swicth in addition to -fnative-struct.
1934
1935 Sun Aug 25 11:58:27 BST 2002  Tony Gale <gale@gtk.org>
1936
1937         * docs/tutorial/package-db-tutorial.sh:
1938         update packaging script for current tutorial
1939
1940         * docs/tutorial/images/*.eps: New Files
1941         EPS versions of the tutorial images
1942
1943 2002-08-25  Tor Lillqvist  <tml@iki.fi>
1944
1945         * gtk/gtkmain.h: Include gtkbox.h and gtkwindow.h on Win32, as the
1946         defines for struct packing checks use sizeof() on stuff from
1947         these. (#84211, Andreas Holzmann)
1948
1949         * gtk/Makefile.am (libgtk_win32_2_0_la_DEPENDENCIES): Add
1950         gtk_win32res_lo. (#87101, J. Ali Harlow)
1951
1952         * gdk/gdkevents.c
1953         * gdk/gdkinternals.h
1954         * gdk/x11/gdkevents-x11.c
1955         * gdk/win32/gdkevents-win32.c: Move the GdkEventPrivate and
1956         GdkEventFlags definitions from gdkevents.c to
1957         gdkinternals.h. Remove the duplicated definitions in
1958         gdkevents-x11.c and gdkevents-win32.c. (#89771)
1959
1960 2002-08-24  Tor Lillqvist  <tml@iki.fi>
1961
1962         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
1963         system handle Alt-Space, too. Thanks to Tim Evans (#91477).
1964
1965 Sat Aug 24 12:46:37 BST 2002  Tony Gale <gale@gtk.org>
1966
1967         * docs/tutorial/gtk-tut.sgml, examples/*:
1968         update g_connect_signal usage
1969
1970         * docs/faq/gtk-faq.html: spelling/grammar fixes
1971
1972 2002-08-21  Tor Lillqvist  <tml@iki.fi>
1973
1974         * gdk/Makefile.am: Move GDK_DEP_LIBS from LDFLAGS to each of the
1975         libgdk_*_LIBADD, to fix problems when cross-compiling, as
1976         suggested by J. Ali Harlow in #87103.
1977
1978 2002-08-19  Padraig O'Briain <padraig.obriain@sun.com>
1979
1980         * gtk/gtkentry.c (gtk_entry_real_delete_text): Use 
1981         gtk_entry_set_positions() to update current_pos and selection_bound
1982         so notifications are emitted (#90548)
1983
1984 2002-08-16  jacob berkman  <jacob@ximian.com>
1985
1986         * gtk/gtkdialog.h (struct _GtkDialog): switch vbox and action_area
1987         back to the order that 2.0 has
1988
1989 Thu Aug 15 22:46:02 BST 2002  Tony Gale <gale@gtk.org>
1990
1991         * docs/tutorial/gtk-tut.sgml, examples/menu/menu.c:
1992           minor menu example comment fix
1993           (feeling my way back in after a long absence)
1994
1995 Wed Aug 14 08:07:53 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
1996
1997         * gtk/gtkselection.c (gtk_selection_init): initialize
1998         gtk_selection_atoms only once at the 1st call.
1999         * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): 
2000         set length of selection data from number of read bytes (#90595)
2001
2002 2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
2003
2004         * gtk/gtktextview.c (gtk_text_view_focus): Move focus to
2005         children, if they exist, after GtkTextView is focused. (#63844)
2006
2007 2002-08-12  Matthias Clasen  <maclas@gmx.de>
2008
2009         * gdk/gdkdisplaymanager.c: 
2010         * gdk/gdkdisplay.c (gdk_pointer_ungrab): Fix doc comments.
2011
2012         * gdk/x11/gdkcolor-x11.c (gdk_colormap_get_screen): 
2013         * gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Make parameter 
2014         names match those in the header file, to silence gtk-doc.
2015
2016 Sat Aug 10 22:18:05 2002  Owen Taylor  <otaylor@redhat.com>
2017
2018         * gdk/gdkpixbuf-render.c 
2019         (gdk_pixbuf_render_pixmap_and_mask[_for_colormap]): Mention
2020         in the docs that @pixmap_return and @mask_return can
2021         be %NULL.
2022
2023 2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
2024
2025         * docs/reference/gtk/tree_widget.sgml,
2026         docs/reference/gtk/tmpl/gtkdialog.sgml,
2027         docs/reference/gtk/tmpl/gtkentry.sgml,
2028         docs/reference/gtk/tmpl/gtkfilesel.sgml,
2029         docs/reference/gtk/tmpl/gtkfontsel.sgml,
2030         docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
2031         docs/reference/gtk/tmpl/gtktreemodel.sgml,
2032         docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
2033         gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
2034         gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
2035         gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
2036         gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
2037         gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
2038         gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
2039         gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
2040         gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
2041         gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c, 
2042         gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c, 
2043         gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c, 
2044         gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c, 
2045         gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
2046         gtk/gtkwindow.c: 
2047
2048         Minor documentation fixes
2049
2050         (#89254, patch from Brett Nash; 
2051          #85809, patch from daten@dnetc.org;
2052          #76391, patch from Ross Burton; 
2053          #74559, Manuel Clos; 
2054          #73569, #72005, Alexey A. Malyshev; 
2055          #70061, patch from Dennis Bj"orklund;
2056          #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov; 
2057          #78932, Vitaly Tishkov, patch from Ross Burton;
2058          #73306)
2059
2060 2002-08-10  Matthias Clasen  <maclas@gmx.de>
2061
2062         * gdk/gdkrgb.c (gdk_rgb_try_colormap): 
2063         (gdk_rgb_create_info): 
2064         (gdk_rgb_select_conv): 
2065         (gdk_draw_gray_image): 
2066         (gdk_rgb_cmap_get_info): Changes to support depth 8 StaticColor
2067         visuals.  (#81631)
2068         (gdk_rgb_cmap_free): Don't loop forever.
2069
2070 Fri Aug  9 08:04:47 2002  Owen Taylor  <otaylor@redhat.com>
2071
2072         * gdk/gdkdisplay.h (struct _GdkDisplayClass): Fix 
2073         weird usage of 'class' for GdkDisplay * argumnent name.
2074         (#9031, Laszlo Peter)
2075
2076 Thu Aug  8 23:26:05 2002  Owen Taylor  <otaylor@redhat.com>
2077
2078         * gdk/x11/gdkmain-x11.c gdk/x11/gdkscreen-x11.c: Remove
2079         explicit calls to pango_x/xft_shutdown_display() since
2080         Pango now does it by itself on XCloseDisplay().
2081
2082 Thu Aug  8 21:53:16 2002  Owen Taylor  <otaylor@redhat.com>
2083
2084         * configure.in: Consistently order pangoxft / pangox
2085         in pkg-config calls in hopes of reducing problems
2086         (Eric Mader.)
2087
2088 2002-08-07  Matthias Clasen  <maclas@gmx.de>
2089
2090         * gtk/gtkmain.c (gtk_init): Fix doc comment.
2091
2092         * gtk/gtktreemodel.c (gtk_tree_path_new_from_indices): Make the
2093         doc comment gtk-doc-grokkable.
2094
2095 2002-08-06  jacob berkman  <jacob@ximian.com>
2096
2097         * configure.in: link gdk-pixbuf-xlib against x libs (bug #83442)
2098
2099 Mon Aug  5 17:20:45 2002  Owen Taylor  <otaylor@redhat.com>
2100
2101         * gtk/gtklabel.c: Patch from Soeren Sandmann
2102         to improve GtkLabel behavior when it gets
2103         a too small allocation. (Always display the
2104         initial portion.) (#71742)
2105
2106 Mon Aug  5 17:01:30 2002  Owen Taylor  <otaylor@redhat.com>
2107
2108         * gdk/Makefile.am (LDFLAGS): When overriding LDFLAGS,
2109         include @LDFLAGS@, otherwise LDFLAGS the users passes
2110         to configure don't get used. (#89946, Noah Levitt, 
2111         Albert Chin)
2112
2113         * gdk/linux-fb/Makefile.am: Remove LDFLAGS setting.
2114
2115 Mon Aug  5 15:25:40 2002  Owen Taylor  <otaylor@redhat.com>
2116
2117         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap): 
2118         Fix problem with wrong depth being used. (#89941, Jacob
2119         Berkman.) Remove an unneeded 'screen' variable.
2120
2121 Mon Aug  5 15:04:59 2002  Owen Taylor  <otaylor@redhat.com>
2122
2123         More fixes for warnings reported by David L. Cooper II
2124
2125         * gtk/gtkaccelmap.c (accel_map_parse_accel_path): Use
2126         GdkModifierType for accel_mods. (#85856)
2127
2128         * gdk/gdkdisplay.h (struct _GdkDisplay): Make button_number
2129         signed, since we use -1 as an 'unset' value. (#85854)
2130
2131         * gdk/x11/xsettings-client.c (parse_settings): Suppress
2132         a warning (#85853)
2133
2134         * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Fix
2135         accidental trailing ';'. (#85846)
2136
2137 Mon Aug  5 14:50:13 2002  Owen Taylor  <otaylor@redhat.com>
2138
2139         * gtk/gtkitemfactory.h: Add a note that yes, we do know
2140         what () means and we can't change it.
2141
2142         Fixes for warnings reported by David L. Cooper II
2143
2144         * tests/testtext.c: Warning fixes. Fix order of arguments
2145         to gtk_message_dialog_new(). (#85891)
2146
2147         * gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect
2148         use GTK_STATE_INSENSITIVE for a shadow type. (Not clear
2149         what the drawing intent was, but it's ENABLE_BROKEN
2150         anyways.) (#85880)
2151
2152         * gtk/gtktexttypes.c: Use character literals
2153         instead of direct constants to avoid warning. (#85878)
2154
2155         * gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c:
2156         Fix some signed/unsigned problems (#85876)
2157
2158         * gtk/gtksignal.c (gtk_signal_newv): Add an explicit
2159         cast from GtkSignalRunType to GSignalFlags. (#85875)
2160
2161         * gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix
2162         use of guint instead of GdkModifierType (#85871)
2163
2164         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): 
2165         Fix signed/unsigned problem (#85870)
2166
2167         * gtk/gtkimcontext.c (gtk_im_context_class_init): Get
2168         rid of GtkType/Signal*. (Fixes #85869 as a side effect)
2169
2170         * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some 
2171         signed/unsigned warnings (#85865)
2172
2173 2002-08-04  Matthias Clasen  <maclas@gmx.de>
2174
2175         * gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
2176         across 2.x.y.
2177
2178 Fri Aug  2 18:00:46 2002  Owen Taylor  <otaylor@redhat.com>
2179
2180         * gtk/gtkmenu.c: Fix menus resizing dynamically while
2181         they are popped up or torn off. (#78949)
2182
2183 Fri Aug  2 16:38:34 2002  Owen Taylor  <otaylor@redhat.com>
2184
2185         * gdk/gdkregion-generic.c: Comprehensively add
2186         g_return_[val]if_fail() statements. (#89491, Robin Lu)
2187
2188 Fri Aug  2 16:24:32 2002  Owen Taylor  <otaylor@redhat.com>
2189
2190         * gdk/x11/gdkmain-x11.c: Remove references to 
2191         gdk_initialized (#81060, Jacob Berkman)
2192         
2193         * gdk/gdk.c (gdk_exit): Remove gdk_exit_func().
2194
2195 Fri Aug  2 15:56:47 2002  Owen Taylor  <otaylor@redhat.com>
2196
2197         * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): Fix
2198         args to pango_x_shutdown_display().
2199
2200         * gdk/linux-fb/gdkinput.c gdk/linux-fb/gdkinputprivate.h
2201         gdk/win32/gdkinput-win32.[ch] gdk/win32/gdkinput.c
2202         gdk/win32/gdkwindow-win32.c gdk/x11/gdkinput-x11.c
2203         gdk/x11/gdkinput-xfree.c gdk/x11/gdkinput.c
2204         gdk/x11/gdkinputprivate.h gdk/x11/gdkwindow-x11.c: Move
2205         a bunch of functions gdk_input => _gdk_input. Clean
2206         up some header file cruft. (#79971)
2207
2208 Fri Aug  2 12:21:41 2002  Owen Taylor  <otaylor@redhat.com>
2209
2210         * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose):
2211         Call pango_x[ft]_shutdown_display().
2212
2213 2002-08-02  jacob berkman  <jacob@ximian.com>
2214
2215         * gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
2216         screen_x11 variable to fix build w/ xinerama
2217
2218 Fri Aug  2 00:43:15 2002  Owen Taylor  <otaylor@redhat.com>
2219
2220         * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
2221         gdk/x11/gdkpango-x11.c gdk/x11/gdkpixmap-x11.c 
2222         gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c:
2223         Switch back to using XftDraw so that we take 
2224         advantage of the draw-to-non-RENDER capabilities
2225         of Xft2.
2226
2227         * demos/gtk-demo/changedisplay.c (query_for_toplevel): 
2228         Fix the case where the user clicks on the "click on
2229         a window popup".
2230
2231 Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>
2232
2233         * demos/gtk-demo/changedisplay.c: New demo for
2234         window migration between different displays and screens.
2235
2236         * gtk/gtkrc.c gtkstyle.[ch]: Add
2237         _gtk_style_init_for_settings(), so that gtkrc.c
2238         can initialize the styles it creates for the 
2239         right display.
2240
2241         * gdk/gdkdisplaymanager.c (gdk_screen_get_default)
2242         * gtk/gtksettings.c (gtk_settings_get_default)
2243         * gtk/gtkstyle.c (gtk_style_init): Handle absence of
2244         a default screen.
2245
2246         * gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
2247         Handle display == NULL.x
2248
2249         * gdk/gdkdisplay.c (gdk_display_dispose): Free the
2250         event queue.
2251
2252         * gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
2253         Remove the event source when closing a display.
2254
2255         * gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
2256         isn't convenient enough by itself.
2257
2258         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
2259         Create foreign windows for watch windows if there isn't
2260         an existing window, instead of installing a global filter.
2261         
2262         * gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
2263         gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
2264         Clean up the xsettings_client when we are done with
2265         it.
2266
2267         * gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
2268         excess call to _gdk_x11_events_init_screen()
2269
2270 2002-08-01  Sven Neumann  <sven@gimp.org>
2271
2272         Merge from stable:
2273
2274         * gdk/gdkrgb.c: trivial changes to some debug code so it compiles
2275         with VERBOSE being defined.
2276
2277 Thu Aug  1 11:26:03 2002  Owen Taylor  <otaylor@redhat.com>
2278
2279         * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:
2280         Start implementing display/screen closing scheme; keep a
2281         flag for whether displays and screens are closed,
2282         call g_object_run_dispose(). Remove public gdk_screen_close().
2283
2284         * gdk/x11/gdkdisplay-x11.c gdk/x11/gdkscreen-x11.c: Add 
2285         dispose() methods; move appropriate parts of the finalize
2286         there.
2287
2288         * gdk/x11/gdkcolor-x11.c gdk/x11/gdkimage-x11.c
2289         gdk/x11/gdkmain-x11.c gdk/x11/gdkpango-x11.c 
2290         gdk/x11/gdkpixmap-x11.c gdk/x11/gdkproperty-x11.c
2291         gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.c:
2292         Start of making everything correctly ignore operations
2293         when a display has been closed.
2294
2295         * gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations):
2296         Handle decorations == NULL.
2297
2298         * gdk/x11/gdkcolor-x11.c (gdk_colormap_remove): 
2299         Remove unnecessary hash table creation.
2300
2301         * gdk/x11/gdkinput.c gdk/x11/gdkinput-x11.c gdk/win32/gdkinput.c
2302         Fix up gdk_device_get_history - handle events, n_events == NULL,
2303         etc.
2304
2305         * gdk/x11/gdkproperty-x11.c (gdk_property_get):
2306         Handle failure better.
2307         
2308         * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
2309         Handle failure better, handle data == NULL, move docs
2310         here, remove an excess round trip by asking for
2311         all selection data at once.
2312         
2313         * gdk/gdkselection.c gdk/win32/{x11,win32}/gdkselection-{x11,win32}.c
2314           gdk/{x11,win32}/gdkmain-{x11,win32}.c gdk/gdkdisplay.c: Move
2315         gdk_text_property_to_text_list(), gdk_string_to_compound_text(),
2316         gdk_display_set_sm_client_id() to display-independent part of GDK.
2317
2318         * gdk/Makefile.am (gdk_c_sources): Sort gdkdisplay/screen.[ch]
2319         into the right place.
2320
2321 2002-07-31  jacob berkman  <jacob@ximian.com>
2322
2323         * gtk/queryimmodules.c (print_escaped): escape_string() only takes
2324         one arg
2325
2326 Wed Jul 31 12:50:51 2002  Owen Taylor  <otaylor@redhat.com>
2327
2328         * gtk/queryimmodules.c: Avoid using g_strescape(),
2329         since it mangles UTF-8, (#89479, Yao Zhang.)
2330
2331 Tue Jul 30 19:09:46 2002  Owen Taylor  <otaylor@redhat.com>
2332
2333         * gtk/gtkrange.c (gtk_range_scroll_event): Handle 
2334         inverted ranges correctly (#85436, fix from 
2335         Norihiro UMEDA)
2336
2337 Tue Jul 30 16:36:53 2002  Owen Taylor  <otaylor@redhat.com>
2338
2339         * tests/testgtk.c: Fix bug in the selection mode option
2340         menus which were setting the wrong values. 
2341         (#85763, Manuel Op de Coul)
2342
2343 Tue Jul 30 15:39:06 2002  Owen Taylor  <otaylor@redhat.com>
2344
2345         * demos/Makefile.am: Honor GDK_PIXBUF_CSOURCE from
2346         configure.in when cross-compiling. (#87099,
2347         J. Ali Harlow)
2348
2349 Mon Jul 29 16:42:30 2002  Owen Taylor  <otaylor@redhat.com>
2350
2351         * gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
2352         Unset gtk-im-surrounding-info object data again.
2353         (Fix from Yao Zhang, #86811)
2354
2355 Fri Jul 26 17:59:06 2002  Owen Taylor  <otaylor@redhat.com>
2356  
2357         * configure.in: Replace uses of grep \(A\|B\) ... with
2358         egrep (A|B). (#84872, Arnaud Charlet)
2359  
2360 Fri Jul 26 22:53:37 2002  Kristian Rietveld  <kris@gtk.org>
2361
2362         API additions: _move, _reorder and _swap for stores, path
2363         constructor.
2364
2365         * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
2366
2367         * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
2368         gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
2369
2370         * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
2371         gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
2372
2373 Fri Jul 26 22:32:57 2002  Kristian Rietveld  <kris@gtk.org>
2374
2375         Merge from stable:
2376
2377         * gtk/gtktreestore.c (node_free): return FALSE,
2378         (gtk_tree_store_finalize): use g_node_traverse instead of
2379         g_node_children_foreach, so the whole tree will be freed (#88854,
2380         patch from Emmanuel Briot).
2381
2382 Fri Jul 26 22:32:24 2002  Kristian Rietveld  <kris@gtk.org>
2383
2384         Merge from stable:
2385
2386         * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
2387         (#84426, patch from Matthias Clasen).
2388
2389 Fri Jul 26 22:31:25 2002  Kristian Rietveld  <kris@gtk.org>
2390
2391         Merge from stable:
2392
2393         * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
2394         check shouldn't be in g_return_return_val_if_fail (pointed out by
2395         Josh Green, #88997),
2396         (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
2397         for each column when we unset the model (part of #82484),
2398         (gtk_tree_view_get_cell_area): return if we ran out of tree or
2399         if we got an invalid path (#82376).
2400
2401         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
2402
2403         * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
2404         which disconnects the sort_column_changed_signal (part of #82484).
2405
2406         * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
2407         given postion is off the end of the tree (#85813).
2408
2409         * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
2410         2-space indent, commit changes if up/down keys has been pressed,
2411         this overrides the focus key foo so the user won't be surprised
2412         (#84665).
2413
2414 Fri Jul 26 16:34:34 2002  Shivram U  <shivaram.upadhyayula@wipro.com>
2415
2416         * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable),
2417         (gdk_pixbuf_get_from_image), (rgbconvert), (convert_real_slow):
2418         Check if depth of the source is not equal to the depth of the colormap
2419         passed. (#75597)
2420
2421 2002-07-25  Matthias Clasen  <maclas@gmx.de>
2422
2423         * gdk/gdkrgb.c (gdk_rgb_select_conv): Use gdk_rgb_convert_4,
2424         not gdk_rgb_convert_8 for depth 4, bpp 8, PseudoColor visuals.
2425         (#88697)
2426         
2427 Thu Jul 25 14:14:46 2002  Owen Taylor  <otaylor@redhat.com>
2428
2429         * gtk/gtkmenushell.c: When a menubar is up, use F10 to cycle
2430         menubars, not Control-Tab (#87159, Calum Benson. Patch from
2431         Padraig O'Briain.)
2432         
2433         * gtk/gtkmenubar.c: When cycling menu bars, cancel
2434         after the last instead of wrapping around.
2435
2436 Thu Jul 25 11:57:57 2002  Owen Taylor  <otaylor@redhat.com>
2437
2438         [ Patch from Padraig O'Briain, #87904 ]
2439
2440         * gtk/gtkwidget.c (gtk_widget_class_init): Cleanup -
2441         use G_SIGNAL_RUN_LAST not GTK_RUN_LAST when using
2442         g_signal new.
2443
2444         * gtk/gtktogglebutton.c (gtk_toggle_button_mnemonic_activate): 
2445         Always focus the widget, even when we are activating
2446         as well.
2447
2448 2002-07-24  Havoc Pennington  <hp@pobox.com>
2449
2450         * gtk/gtktextview.c: Apply patch from Gustavo
2451         Giraldez for bug #78513
2452
2453 Wed Jul 24 16:43:49 2002  Owen Taylor  <otaylor@redhat.com>
2454  
2455         * gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
2456         GTK_RC_FILES, since it causes problems with what KDE (etc.)
2457         does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2458  
2459 2002-07-16  Federico Mena Quintero  <federico@ximian.com>
2460
2461         * gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.
2462         Fixes #79463.
2463
2464 2002-07-16  Sven Neumann  <sven@gimp.org>
2465
2466         * gdk/gdk.c
2467         * gdk/gdkinternals.h
2468         * gdk/win32/gdkmain-win32.c
2469         * gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
2470         _gdk_windowing_init() so that the backend has a chance to process
2471         the command-line arguments (GTK+-DirectFB needs this).
2472
2473 2002-07-10  jacob berkman  <jacob@ximian.com>
2474
2475         * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the
2476         menu item so old apps work properly
2477
2478 Wed Jul 10 14:27:14 2002  Owen Taylor  <otaylor@redhat.com>
2479
2480         * modules/input/gtkimcontextxim.c gtk/gtkcolorsel.c 
2481         gtk/gtkdialog.c gtk/gtktextbtree.c: Fix some cases
2482         where signal connection IDs where being assigned to 
2483         guint rather than gulong. (part of #87281, Shivram U)
2484
2485 Fri Jul  5 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>
2486
2487         * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
2488         gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
2489         to _gtk_menu_item_select_first() to allow us to choose
2490         whether we want to select the first item predictably
2491         or to select the first sensitive item. Fixes problem
2492         with insensitive menu items and keynav. (#85796,
2493         reported by Bill Haneman and others.)
2494
2495 Fri Jul  5 02:50:24 2002  Jonathan Blandford  <jrb@gnome.org>
2496
2497         * gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning.
2498         (gtk_tree_view_search_iter): fix warning, #85884
2499
2500         * gtk/gtktreestore.c (gtk_tree_store_get_flags): change return
2501         value to GtkTreeModelFlags to fix compiler warning, #85883
2502
2503         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change
2504         return value to GtkTreeModelFlags to fix compiler warning, #85882
2505
2506         * gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler
2507         warning, #85881
2508
2509 Fri Jul  5 12:51:39 2002  Kristian Rietveld  <kris@gtk.org>
2510
2511         Merge from HEAD.
2512
2513         * gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after    
2514         sorting.
2515
2516 2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
2517
2518         * gtk/gtksocket.c (gtk_socket_hierarchy_changed):
2519         Use hyphen instead of underscore in signal names in calls to
2520         g_signal_connect_swapped (Fixes bug #86339)
2521
2522 Tue Jul  2 00:33:26 2002  Jonathan Blandford  <jrb@gnome.org>
2523
2524     * gtk/gtktreeview.c (validate_visible_area): only validate the
2525       visible area if we've ever been requisitioned.
2526
2527 Mon Jul  1 17:04:09 2002  Jonathan Blandford  <jrb@redhat.com>
2528
2529         * gtk/gtkliststore.c (gtk_list_store_real_set_value): sync up
2530         white space/variable names to match tree_store equiv.
2531
2532         * gtk/gtktreestore.c (gtk_tree_store_real_set_value): sort if we
2533         set the value.
2534
2535 Mon Jul 01 17:19:00 2002  Bill Haneman <bill.haneman@sun.com>
2536
2537         * contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
2538         (xlib_window_is_viewable):
2539         Fixed failure of assertion when drawable is root window.
2540
2541 Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
2542
2543         * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/*.c gtk/*.c
2544         tests/*.c: Renames:
2545
2546          gdk_get_default_display => gdk_display_get_default
2547          gdk_get_default_screen  => gdk_screen_get_default
2548          gdk_open_display        => gdk_display_open
2549
2550 Thu Jun 20 16:49:00 2002  Owen Taylor  <otaylor@redhat.com>
2551
2552         * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c 
2553         gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c 
2554         gdk/win32/gdkdisplay-win32.c: Add a singleton object that
2555         we can use to get notification when displays 
2556         appear / disappear or the default display changes.
2557
2558         gdk_set_default_display() => gdk_display_manager_set_default_display()
2559         gdk_list_displays() => gdk_display_manager_list_displays().
2560         (#85696)
2561
2562         * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
2563         generation.
2564
2565         * gdk/gdkintl.h: Add this.
2566
2567         * gtk/gtkmain.c: Add gtk_parse_args() that initializes
2568         GTK+ without opening a display.
2569
2570         * gtk/gtkmain.c: Set things up so if a module
2571         exports gtk_module_init() and gtk_module_display_init(), 
2572         then we treat it as multihead aware, otherwise, 
2573         we only initialize it after the default display is set.
2574
2575 Thu Jun 20 15:53:21 2002  Owen Taylor  <otaylor@redhat.com>
2576
2577         Patch from Erwann Chenede.
2578
2579         * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkprivate-x11.h:
2580         Introduce a yes/no/unknown GdkTristate, use it
2581         in a couple of places. (#79962)
2582
2583         * gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.h: Make 
2584         gravity_works per-display. (#79963)
2585
2586 Thu Jun 20 15:36:40 2002  Owen Taylor  <otaylor@redhat.com>
2587
2588         * gtk/gtkselection.c (gtk_selection_owner_set): Get
2589         the owner from the display if !NULL. Otherwise, warn for
2590         multihead. (#85680)
2591
2592 Thu Jun 20 15:17:14 2002  Owen Taylor  <otaylor@redhat.com>
2593
2594         * gtk/gtkstyle.[ch]: Get rid of gtk_style_get_font_for_display(),
2595         make gtk_style_get_font() warn for multihead if called
2596         on an unattached style. (#80277)
2597
2598         * gtk/gtktext.c: Remove use of gtk_style_get_font_for_display();
2599         this makes gtktext not multihead safe, but it doesn't matter;
2600         it's ENABLE_BROKEN anyways.
2601
2602         * gtk/gtkmain.c gtk/gtkdebug.h: Add GTK_NOTE(MULTIHEAD,[])
2603
2604 Thu Jun 20 14:51:30 2002  Owen Taylor  <otaylor@redhat.com>
2605
2606         * gtk/gtksettings.c (gtk_settings_notify): Only
2607         change the double click time if the screen for
2608         the notification is screen 0 of the display.
2609         (#77978)
2610
2611         * gdk/gdkevents.c (gdk_display_set_double_click_time): Fix 
2612         half-done rename.
2613
2614 Thu Jun 20 12:16:00 2002  Owen Taylor  <otaylor@redhat.com>
2615
2616         * gtk/gtkinvisible.c (gtk_invisible_set_screen): Add
2617         notification for screen property. (#80280)
2618
2619 Wed Jun 19 19:30:45 2002  Owen Taylor  <otaylor@redhat.com>
2620
2621         * gtk/gtkrc.c: Keep a global list of strings and
2622         RC files to reparse, make gtk_rc_parse_string(),
2623         gtk_rc_parse() add to the list, and parse the
2624         string or file in _all_ contexts.
2625
2626         * gtk/gtkrc.c (gtk_rc_reparse_all): Reparse all
2627         contexts, not just the default context.
2628
2629 Tue Jun 18 19:38:08 2002  Owen Taylor  <otaylor@redhat.com>
2630
2631         * gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
2632         display.
2633
2634         * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
2635         missing check for mv_resize == NULL.
2636
2637 Tue Jun 18 19:30:25 2002  Owen Taylor  <otaylor@redhat.com>
2638
2639         * gtk/gtktreeview.c: Typo fix.
2640
2641 Tue Jun 18 19:11:51 2002  Owen Taylor  <otaylor@redhat.com>
2642
2643         * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h 
2644         gdk/gdkinternals.h gdk/win32/gdkevents-win32.c
2645         gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c
2646         gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h:
2647         Make the core pointer object per-display. (#85698)
2648
2649         * gtk/gtkdnd.c gtk/gtktreeview.c: Adapt to above change.
2650
2651 2002-06-18  Yanko Kaneti <yaneti@declera.com>
2652
2653         * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
2654
2655 Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
2656
2657         * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
2658         gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
2659         gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
2660         (#85671)
2661
2662         * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
2663         gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c 
2664         gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c 
2665         gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c: 
2666         Adapt to above change.
2667
2668 Tue Jun 18 12:04:10 2002  Owen Taylor  <otaylor@redhat.com>
2669
2670         * gdk/gdk.c (gdk_init_check): Change handling 
2671         of gdk_intialized(), so that gdk_parse_args(),
2672         gdk_init_check() sequence works.
2673
2674 Tue Jun 18 11:46:33 2002  Owen Taylor  <otaylor@redhat.com>
2675
2676         * gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add
2677         a gboolean create argument, so we don't create the
2678         structure unless we actually emulate move-resize
2679         drags.
2680
2681 Sat Jun 15 23:53:03 2002  Owen Taylor  <otaylor@redhat.com>
2682
2683         * gtk/gtkfilesel.c (gtk_file_selection_set_filename): 
2684         Actually use the UTF-8 filename, so we actually
2685         fix #77948.
2686
2687         * tests/testgtk.c: Remember the directory as a
2688         test of gtk_file_selection_set_filename().
2689
2690 Sat Jun 15 23:05:19 2002  Owen Taylor  <otaylor@redhat.com>
2691  
2692         * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
2693         Fix backwards asssertion. (#85434)
2694  
2695 Sat Jun 15 16:10:00 2002  James M. Cape <jcape@ignore-your.tv>
2696
2697         * gtk/gtktexttag.c (gtk_text_tag_set_property):
2698         Notify about "background-full-height-set", not
2699         "bg_full_height_set". (#83336)
2700                         
2701 Fri Jun 14 15:41:50 2002  Jonathan Blandford  <jrb@redhat.com>
2702
2703         * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes
2704         didn't remove itself correctly.  Thanks to Dave Camp for the fix.
2705
2706 Fri Jun 14 15:09:11 2002  Jonathan Blandford  <jrb@redhat.com>
2707
2708         * gtk/gtktreeview.c (gtk_tree_view_set_adjustments):
2709         disconnect_by_func instead of disconnect_by_data.  Someone else
2710         could use the same data as us.
2711
2712         * gtk/gtktreeview.c (do_validate_rows): update the adjustment
2713         immediately after we update the size.  Fixes some scroll_to bugs.
2714         (validate_visible_area): ditto
2715
2716 Fri Jun 14 10:31:59 2002  Owen Taylor  <otaylor@redhat.com>
2717
2718         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): 
2719         Ignore state change events for windows that aren't
2720         our toplevels. (#84482, Thomas Leonard)
2721
2722 Fri Jun 14 10:00:29 2002  Owen Taylor  <otaylor@redhat.com>
2723
2724         * gdk/gdkwindow.c (gdk_window_update_idle): Add
2725         missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
2726         (Report of non-thread-safety from Nicholas Allen)
2727
2728         * gtk/gtkmain.c (rewrite_events_translate): Fix sign
2729         problem with coordinate translation. (Fix from
2730         Robin Lu, #85229)
2731
2732 Thu Jun 13 19:41:56 2002  Owen Taylor  <otaylor@redhat.com>
2733
2734         * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
2735         gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
2736         gtk/gtkwidget.c: Fix type names for GtkIconSet,
2737         GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
2738         GtkTextAttributes, GtkTreePath, GtkTreeIter, 
2739         GtkRequisition, which were all registered as GtkType*.
2740         (#84634, James Henstridge; patch from Jonathan Blandford.)
2741         
2742 Thu Jun 13 18:48:14 2002  Owen Taylor  <otaylor@redhat.com>
2743
2744         * gdk/x11/gdkcolor-x11.c: Make work
2745         gdk_colormap_sync() work for DirectColor visuals 
2746         as well. Fill in the ->colors array in
2747         gdk_screen_get_system_colormap () for DirectColor visuals.
2748         (#81954, Based on a patch from shivaram.upadhyayula@wipro.com)
2749  
2750 Thu Jun 13 17:50:36 2002  Owen Taylor  <otaylor@redhat.com>
2751
2752         * gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
2753         CUA cut/copy/paste bindings. (#79078)
2754
2755         * gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
2756         a synonym for for Backspace. (#80302, Jeff Waugh)
2757
2758 Thu Jun 13 15:02:49 2002  Owen Taylor  <otaylor@redhat.com>
2759
2760         * gdk/x11/gdkdnd-x11.c: Ignore all client events that
2761         were sent to a window that we don't know about or
2762         to a foreign window. (#81543, Young-Ho, Cha)
2763
2764 Thu Jun 13 12:24:09 2002  Owen Taylor  <otaylor@redhat.com>
2765
2766         * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
2767         Fix so that the encoding of the filename is handled
2768         properly in the case of non-UTF-8 filesystems;
2769         document the encoding. (#77948, Sebastian Ritau)
2770
2771         * gtk/gtkfilesel.c (filenames_drag_get): Remove
2772         debug printf. Fix UTF-8 / filename encoding 
2773         confusion.
2774
2775 2002-06-13  Christian Rose  <menthos@menthos.com>
2776
2777         * Makefile.am (EXTRA_DIST): Remove po/README.tools, po/desk.pl
2778         and po/update.pl.
2779
2780 Thu Jun 13 12:01:36 2002  Owen Taylor  <otaylor@redhat.com>
2781
2782         * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
2783         a positive status unless there is a text target in
2784         the drag. (#83386, Thomas Leonard.)
2785
2786 Thu Jun 13 11:36:37 2002  Owen Taylor  <otaylor@redhat.com>
2787  
2788         * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
2789         the initial grab time, use that when changing the
2790         pointer. (#83052, help from Dave Camp tracking it down.)
2791  
2792 Thu Jun 13 16:42:40 2002  Kristian Rietveld  <kris@gtk.org>
2793
2794         * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
2795         not just the leafs (pointed out by Josh Parsons)
2796
2797 2002-06-12  Havoc Pennington  <hp@redhat.com>
2798  
2799         * configure.in: check that pango has Xft2 support, instead of
2800         checking whether Xft2 exists.
2801
2802 Wed Jun 12 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
2803
2804         * gtk/gtkentry.c (blink_cb): Add an informative 
2805         g_warning() when the entry has lost a focus-out-event.
2806         (#78305, Michel Selten)
2807
2808 Wed Jun 12 17:31:15 2002  Owen Taylor  <otaylor@redhat.com>
2809
2810         * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item): 
2811         Check to see if the menu item is selectable before
2812         setting menu_shell->active_menu_item. This hopefully
2813         will keep gail from getting confused.
2814         (#84115, Remus Draica)
2815
2816 Wed Jun 12 17:13:13 2002  Owen Taylor  <otaylor@redhat.com>
2817
2818         * gtk/gtkwindow.c (gtk_window_move_resize): Fix bug
2819         where if CENTER_ON_PARENT was set, but there was
2820         no parent, GDK_HINT_POS would be set, resulting
2821         in a dialog at 0,0. (#83479, Havoc Pennington)
2822
2823 Wed Jun 12 16:34:13 2002  Owen Taylor  <otaylor@redhat.com>
2824
2825         * gtk/gtkmenubar.c: When fetching the menubars for
2826         the window for F10 handling, only add viewable menu
2827         bars. (Apparently, people sometimes put menu bars
2828         in notebook pages!) (Tim Janik, #82627)
2829
2830 Wed Jun 12 16:21:38 2002  Owen Taylor  <otaylor@redhat.com>
2831
2832         * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate): 
2833         Clamp size of child to at least 1x1. (#82431, 
2834         Boris Shingarov.)
2835
2836 Wed Jun 12 15:43:38 2002  Owen Taylor  <otaylor@redhat.com>
2837
2838         * gtk/gtkspinbutton.c (gtk_spin_button_snap): Handle
2839         0 increment, to fix division-by-zero problem.
2840         (#82816, George Lebl.)
2841
2842 Wed Jun 12 15:38:01 2002  Owen Taylor  <otaylor@redhat.com>
2843
2844         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
2845         Fix memory leak. (Patch from Matthias Clasen, #84926)
2846
2847         * gtk/gtkrange.c (gtk_range_init): Initialize
2848         mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
2849
2850 Wed Jun 12 15:08:37 2002  Owen Taylor  <otaylor@redhat.com>
2851
2852         * gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow 
2853         NULL for widget path or class path as documented.
2854         (#83150, Sergey Kuzminov)
2855
2856 Wed Jun 12 15:02:30 2002  Owen Taylor  <otaylor@redhat.com>
2857
2858         * gtk/gtktextutil.c: Fix ZWJ => ZWN typo.
2859         (#83092, Tino Meinen)
2860
2861 Wed Jun 12 14:41:43 2002  Owen Taylor  <otaylor@redhat.com>
2862
2863         * configure.in: Fix some problems with case statements
2864         for checking for omitted deps. (#84202, Jacob Berkman.)
2865
2866         * configure.in: Remove USE_X11R6_XIM checks since we 
2867         no longer use them.
2868
2869 Wed Jun 12 14:18:45 2002  Owen Taylor  <otaylor@redhat.com>
2870  
2871         * gtk/gtkimcontextsimple.c: Add compose sequences
2872         of dead_acute + c/C => C WITH CEDDILLA.
2873         (Nano Golveia, #83492)
2874  
2875 2002-06-10  Hans Breuer  <hans@breuer.org>
2876
2877         * gdk/makefile.msc : added gdkdisplay and gdkscreen
2878
2879         * gdk/win32/gdkdisplay-win32.c (gdk_open_display) : 
2880         need to gdk_screen_set_default_colormap(). Also un-static
2881         some exported gdk_display_*() functions
2882
2883         * gdk/win32/gdkdrawable-win32.c : added "gdkscreen.h"
2884
2885         * gdk/win32/gdkscreen-win32.c : implement
2886         gdk_screen_get_number, fixed typo, added rewuired headers
2887
2888         [merge from 2.0.x branch, should we really manifest 
2889          GtkPlug as being an X11 only thing this way? See #58541]
2890         * gtk/gtkwindow.c (gtk_window_show): Conditionalize
2891         GTK_IS_PLUG() check on GDK_WINDOWING_X11. (Problem
2892         reported by Sven Neumann)
2893
2894 2002-06-10  Tor Lillqvist  <tml@iki.fi>
2895
2896         [ merge from stable ]
2897
2898         * gdk/win32/gdkmain-win32.c (gdk_screen_get_width_mm,
2899         gdk_screen_get_height_mm): Use the "logical dpi" to calculate
2900         (pseudo) physical sizes. Similar to the use of "logical dpi" in
2901         Pango as suggested by Joaquin Cuenca Abela.
2902
2903         Two fixes by Florent Duguet:
2904
2905         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Correct
2906         semantics for setting cursor to NULL (should use cursor of parent
2907         window).
2908
2909         * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Plug memory
2910         leak.
2911
2912 2002-06-10  Naba Kumar <kh_naba@users.sourceforge.net>
2913
2914         * configure.in: Added hi in ALL_LINGUAS
2915
2916 2002-06-09  Matthias Clasen  <maclas@gmx.de>
2917
2918         * gtk/gtktextbtree.c (_gtk_text_btree_unref): Don't leak
2919         child_anchor_table.  (#84425)
2920
2921         * gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't leak
2922         one_display_cache.  (#84424)
2923
2924 Fri Jun  7 23:11:42 2002  Jonathan Blandford  <jrb@gnome.org>
2925
2926         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): Fix sizing
2927         bug.
2928
2929         * docs/reference/gtk/tmpl/gtkbutton.sgml: Remove ^M's.
2930
2931 2002-06-07  Matthias Clasen  <maclas@gmx.de>
2932
2933         * gtk/gtktreeviewcolumn.c
2934         (gtk_tree_view_column_clear_attributes_by_info): New function,
2935         split off from gtk_tree_view_column_clear_attributes.
2936         (gtk_tree_view_column_clear_attributes):
2937         (gtk_tree_view_column_finalize):  Call the new function, avoid
2938         recalculating the info from the renderer.  (#84413) 
2939         
2940         * gtk/gtktextview.c (text_view_child_new_anchored): Initialize
2941         vc->type in order to avoid a later UMR.  (#84415)
2942
2943 2002-06-07  Mark McLoughlin  <mark@skynet.ie>
2944
2945         * gtk/gtkwindow.c: (gtk_window_compute_configure_request): use
2946         the RootWindow of this screen for gdk_window_get_pointer.
2947
2948 2002-06-06  Matthias Clasen  <maclas@gmx.de>
2949
2950         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Set
2951         hardware_keycode for KeyRelease events.  (#84305)
2952
2953 Thu May 23 15:44:30 2002  Owen Taylor  <otaylor@redhat.com>
2954
2955         * gtk/gtktextview.c (changed_handler): Don't redraw
2956         when the area is completely above the visible area.
2957
2958 Fri May 17 17:27:21 2002  Owen Taylor  <otaylor@redhat.com>
2959
2960         * gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus"
2961         property indicating whether a widget is the focus
2962         widget within the toplevel.
2963
2964         * gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus"
2965         properties to indicate (separately) the idea of
2966         being the part of the toplevel with the input focus
2967         and being the active widget. (Needed for full XEMBED
2968         compliance.)
2969
2970         * gtk/gtkplug.c gtk/gtksocket.c: Update to work
2971         in terms of is_active/has_toplevel_focus, and thus
2972         handle the active/focused XEMBED distinction
2973         correctly.
2974
2975         * gtk/gtkplug.c (gtk_plug_realize): Remove
2976         FOCUS_CHANGE_MASK, since we don't need it.
2977
2978 Fri May 17 18:07:34 2002  Owen Taylor  <otaylor@redhat.com>
2979
2980         * gtk/gtksocket.c (gtk_socket_add_window): Send
2981         XEMBED_EMBEDDED_NOTIFY.
2982
2983         * gtk/gtksocket.c: Assume windows without _XEMBED_INFO 
2984         property want to be mapped, for better 
2985         current-Qt compatibility.
2986
2987 Thu Jun  6 17:27:01 2002  Kristian Rietveld  <kris@gtk.org>
2988
2989         * gtk/gtkrbtree.c (_gtk_rbtree_reorder): don't leak the GArray
2990         (figured out by Matthias Clasen, fixes #82026).
2991
2992 Wed Jun  5 18:34:47 2002  Owen Taylor  <otaylor@redhat.com>
2993
2994         Changes multihead reorganizing code for win32 support,
2995         mostly from a patch by Hans Breuer.
2996
2997         * gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c
2998           gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c
2999           gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c
3000           gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c
3001           gdk/gdkscreen.c gdk/x11/gdkmain-x11.c
3002           gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c
3003           gdk/x11/gdkpango-x11.c gdk/gdkselection.c
3004           gdk/x11/gdkselection-x11.c gdk/gdkwindow.c
3005           gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c:
3006           Move port-independent singlehead wrapper functions into
3007           port-independent part of GDK. (#80009)
3008
3009         * gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c
3010           gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c
3011           gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c
3012           gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c
3013           gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c: 
3014         Turn singlehead functions into "multihead" functions that ignore 
3015         their GdkDisplay or GdkScreen arguments.
3016
3017         * gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
3018         gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h: 
3019         Misc multihead-compatibility changes.
3020
3021         * gtk/gtk.def gdk/gdk.def: Update for multihead functions.
3022
3023         * gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c 
3024         gdk/x11/gdkvisual-x11.c: Remove the screen fields
3025         from the public parts of the colormap/visual structures, add accessors
3026         instead.
3027
3028         * gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c
3029           gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c
3030           gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c
3031           gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen
3032         for colormaps, visuals; move the fields into the private
3033         structures for the x11 backend.
3034
3035         * gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch]
3036           gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c: 
3037         Remove virtualization of screen and display functions.
3038         (#79990, patch from Erwann Chenede)
3039
3040         * gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c
3041         gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}:
3042         New files containing stub implementations of Display,
3043         Screen functions.
3044
3045         * gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
3046         gdk/x11/gdkx.h: Clean up function exports and what 
3047         headers they are in. (#79954)
3048
3049         * gdk/x11/gdkx.h: Fix macro that was referring to a non-existant
3050         screen->screen_num. (In the patch for #79972, Erwann Chenede)
3051
3052         * gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h
3053          gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer()
3054         to use window hooks. (#79972, patch partly from Erwann Chenede)
3055
3056         * gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix
3057         some warnings.
3058
3059 Wed Jun  5 23:29:41 2002  Kristian Rietveld  <kris@gtk.org>
3060
3061         Related bugs: #76252, #76396, #80866.
3062
3063         * gtk/gtktreeselection.[ch]: added
3064         gtk_tree_selection_get_selected_rows(),
3065         added gtk_tree_selection_count_selected_rows(),
3066         renamed gtk_tree_selection_real_select_range() to
3067         gtk_tree_selection_real_modify_range(), and added mode parameter,
3068         added gtk_tree_selection_unselect_range().
3069         
3070 Tue Jun  4 17:39:34 2002  Owen Taylor  <otaylor@redhat.com>
3071
3072         * configure.in: If we have xft .pc file, use that
3073         when checking for Xft/Xrender. (Still need to separate
3074         out HAVE_XFT, HAVE_RENDER)
3075  
3076         * configure.in: Make sure Xft cflags come before X cflags.
3077  
3078 Tue Jun  4 21:13:57 2002  Kristian Rietveld  <kris@gtk.org>
3079
3080         * gtk/gtktreeview.[ch]: added gtk_tree_view_expand_to_path.
3081
3082 Tue Jun  4 19:24:41 2002  Kristian Rietveld  <kris@gtk.org>
3083
3084         Discussed in #76249.
3085
3086         * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
3087         added gtk_list_store_iter_is_valid.
3088
3089         * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
3090         added gtk_tree_store_iter_is_valid.
3091
3092         * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
3093         and treestore sources, added gtk_tree_model_sort_iter_is_valid.
3094         
3095 Tue Jun  4 19:18:20 2002  Kristian Rietveld  <kris@gtk.org>
3096
3097         * gtk/gtktreemodel.[ch]: add gtk_tree_model_get_string_from_iter
3098         (#74667).
3099
3100 2002-06-04  Daniel Elstner  <daniel.elstner@gmx.net>
3101
3102         [ merge from stable ]
3103
3104         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
3105         Really fix #83796: Revert jrb's last patch, and move the second
3106         if-clause into the fist one's else-branch.  This is also what
3107         the other cell renderers do.
3108
3109 2002-06-03  Federico Mena Quintero  <federico@ximian.com>
3110
3111         * gdk/gdkpixbuf-drawable.c (rgb565msb): Fix the MSB -> MSB case.
3112         Fixes #79190.
3113
3114 Sat Jun  1 10:43:28 2002  Jonathan Blandford  <jrb@gnome.org>
3115
3116         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): 
3117         add missing flag, #83796
3118
3119 2002-05-30  Michael Meeks  <michael@ximian.com>
3120
3121         * gtk/gtkmenu.c (gtk_menu_popup): destroy the transfer
3122         window if the grab fails so we don't get events on this
3123         window after the menu is finalized with a duff GtkWidget
3124         pointer: #82366
3125
3126 Mon May 28 13:28:10  Shivram U  <shivaram.upadhyayula@wipro.com>
3127
3128         * gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
3129         got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
3130         and so return NULL.
3131
3132 2002-05-24  Michael Meeks  <michael@ximian.com>
3133
3134         * gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
3135
3136 Thu May 30 07:59:38 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
3137
3138         * gtk/gtkmenu.c (gtk_menu_style_set): add
3139         gtk_menu_style_set(). fixes #79345
3140
3141 2002-05-29  Dave Camp  <dave@ximian.com>
3142
3143         * gtk/gtkdnd.c (gtk_drag_end): Disconnect from keypress events.
3144
3145 2002-05-28  Matthias Clasen  <maclas@gmx.de>
3146
3147         * gtk/gtkwindow.c (gtk_window_move): Markup fixes
3148
3149         * gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.
3150         
3151         * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
3152         for Docbook XML.
3153
3154 2002-05-27  Daniel Elstner  <daniel.elstner@gmx.net>
3155
3156         [ merge from stable ]
3157
3158         Fixes for #83190
3159
3160         * gtk/gtktreedatalist.h (_GtkTreeDataList::data): Add missing
3161         fields to anonymous union: glong, gulong, gint64 and guint64.
3162         This is an internal header file, so it should not affect ABI
3163         or API compatibility.
3164
3165         * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value):
3166         Implement missing support for glong, gulong, gint64 and guint64
3167         fundamental types.  Use data.v_uint instead of data.v_int for
3168         G_TYPE_FLAGS, as GValue does.
3169         (_gtk_tree_data_list_value_to_node): ditto
3170         (_gtk_tree_data_list_node_copy): Add case labels for missing
3171         fundamental types, and reorder them to match the other functions.
3172         (gtk_tree_data_list_compare_func): Implement comparison for
3173         glong, gulong, gint64 and guint64.  Use g_value_get_enum()
3174         for G_TYPE_ENUM and g_value_get_flags() for G_TYPE_FLAGS, rather
3175         than accessing them as gint/guint.  The G_VALUE_HOLDS() check
3176         probably won't like this.
3177
3178 2002-05-24  Dave Camp  <dave@ximian.com>
3179
3180         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): 
3181         Built an iter directly instead of using
3182         gtk_tree_model_sort_elt_get_path(), since that returns a path for
3183         the child model.
3184
3185 2002-05-24  Dave Camp  <dave@ximian.com>
3186
3187         * gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
3188         rather than level->array->len > indices[i] in the bounds check.
3189
3190 2002-05-23  Tor Lillqvist  <tml@iki.fi>
3191
3192         * gtk-zip.sh.in: Use correct path to the loaders and immodules
3193         directories (GTK_BINARY_VERSION, not GTK_VERSION).
3194
3195 Wed May 22 16:12:38 2002  Owen Taylor  <otaylor@redhat.com>
3196
3197         * configure.in: Require autoconf-2.52 explicitely,
3198         since otherwise Debian will process it with 2.13 (ugh!).
3199
3200 Wed May 22 12:29:20 2002  Jonathan Blandford  <jrb@redhat.com>
3201
3202         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): remove
3203         GTK_RESIZE_QUEUE setting.
3204
3205 Tue May 21 16:46:15 2002  Owen Taylor  <otaylor@redhat.com>
3206  
3207         * gdk/x11/gdkdisplay-x11.c (gdk_internal_connection_watch): 
3208         Fix missing dereference. (HideToshi Tajima)
3209  
3210 Mon May 20 15:02:21 2002  Owen Taylor  <otaylor@redhat.com>
3211
3212         * gdk/x11/gdkdisplay-x11.c: Patch from HideToshi Tajima
3213         to handle Xlib internal connections. (#76681)
3214
3215 Mon May 20 12:59:14 2002  Owen Taylor  <otaylor@redhat.com>
3216
3217         * gtk/gtktooltips.c: Set the private LEAVE_PENDING
3218         flag to fix problem where with menu items with
3219         submenus, tooltips were getting stuck. (Effectively
3220         disables tooltips for menu items with submenus.)
3221         (Bug #75961, Soeren Sandmann)
3222
3223         * tests/testgtk.c: Set a tooltip on a menu item
3224         with a submenu.
3225
3226 Mon May 20 11:47:59 2002  Owen Taylor  <otaylor@redhat.com>
3227  
3228         * gtk/gtkplug.c: Undo an accidental revert of
3229         fixes of May 16. (Caught by Padraig O'Briain)
3230  
3231         * gtk/gtkctree.c (cell_size_request): Fix bug where
3232         size request for text cells was being overwritten.
3233         (#82264, Graham Swallow.)
3234
3235 2002-05-18  Matthias Clasen  <maclas@gmx.de>
3236
3237         * configure.in: Check for endianness. Sorry about REBUILD_PNGS...
3238
3239 Fri May 17 16:05:34 2002  Owen Taylor  <otaylor@redhat.com>
3240
3241         * configure.in (REBUILD_PNGS): Re-add REBUILD_PNGS
3242         definition that got accidentally removed.
3243
3244 Fri May 17 14:40:24 2002  Owen Taylor  <otaylor@redhat.com>
3245
3246         * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): 
3247         Protect against reentrancy problems by emitting 
3248         ::preedit_changed at the end, fixing input context
3249         leak. (Yao Zhang)
3250
3251         * modules/input/gtkimcontextxim.c (status_window_free): 
3252         Patch from Federico Mena Quintero to fix problem where
3253         references to IMContextXIM were kept around after
3254         module was unloaded. (#77008)
3255
3256         * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize
3257         proxy window.
3258
3259 Fri May 17 13:56:23 2002  Owen Taylor  <otaylor@redhat.com>
3260  
3261         * gtk/gtkplug.c (gtk_plug_filter_func): Fix a missing
3262         unref in the local/passive case. (#82067, Michael
3263         Meeks)
3264  
3265         * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Fix
3266         reference leak on the plug window.
3267  
3268         * tests/testsocket.c (add_child): Fix memory leak.
3269  
3270         * gtk/gtkdnd.c (gtk_drag_dest_site_destroy): Unref
3271         the proxy window.
3272  
3273 Thu May 16 19:49:24 2002  Owen Taylor  <otaylor@redhat.com>
3274  
3275         * gtk/gtkwindow.c (gtk_window_configure_event): Only 
3276         optimize out the full configure handling if we got
3277         a gratuitous configure event(configure_request_count == 0)
3278         and the size didn't change.
3279  
3280         * gtk/gtkwindow.c (gtk_window_move_resize): Use 
3281         g_message(), not g_print() for debug spew.b
3282  
3283         * gtk/gtkwindow.c (gtk_window_real_set_focus): Ref
3284         the old and new focus widgets for the scope of
3285         the function.
3286  
3287         * gtk/gtksocket.c gtkplug.c: Remove various #if 0'd
3288         bits of old code.
3289  
3290  Thu May 16 18:47:29 2002  Owen Taylor  <otaylor@redhat.com>
3291  
3292         * gtk/gtkwindow.c (gtk_window_show): Disable the
3293         focus-some-widget code for GtkPlug descendants.
3294  
3295         * gtk/gtkplug.c (gtk_plug_focus_event): Eat 
3296         focus-in/out events since they can be generated
3297         by keyboard grabs, but are spurious for an embeddded
3298         widget. (#79196, Padraig O'Briain)
3299  
3300         * gtk/gtksocket.c (gtk_socket_size_request): Only
3301         pay attention to the minimum size hints, and changes
3302         to that ... ignore the default size.
3303  
3304         * gtk/gtksocket.c (gtk_socket_send_configure_event):
3305         Pass in root-window relative coordinates as per
3306         the ICCCM.
3307  
3308         * gtk/gtksocket.c (gtk_socket_size_allocate): Send
3309         as many synthetic configures as necessary to make
3310         up for ConfigureRequest events we got. (#78799,
3311         Dave Camp.)
3312
3313 Thu May 16 23:59:56 2002  Kristian Rietveld  <kris@gtk.org>
3314
3315         Merged from gtk-2-0.
3316
3317         * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): set the prev
3318         of the next node correctly, so we don't corrupt the list and cause
3319         bad things. (fixes #71374)
3320  
3321 Thu May 16 17:29:08 2002  Jonathan Blandford  <jrb@redhat.com>
3322
3323         * gtk/gtkrbtree.c (_gtk_rbtree_remove): include missing #ifdef G_ENABLE_DEBUG
3324
3325 Thu May 16 15:44:15 2002  Owen Taylor  <otaylor@redhat.com>
3326
3327         * demos/gtk-demo/editable_cells.c (cell_edited): Fix
3328         typo in earlier patch.
3329
3330 Tue May  7 15:50:51 2002  Owen Taylor  <otaylor@redhat.com>
3331
3332         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
3333         Don't filter control-shift+[non-hex]. 
3334         (#80252, reported by Nalin Dahyabhai)
3335
3336 Thu May 16 14:51:14 2002  Owen Taylor  <otaylor@redhat.com>
3337
3338         Fixes for #78258
3339
3340         * gtk/gtkrbtree.c demos/gtk-demo/editable-cells.c:
3341         Fix some 64-bit warning problems. (Patch from Matthias
3342         Clasen.)
3343         
3344         * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew_helper): Surround
3345         a bunch of debug code with G_ENABLE_DEBUG.
3346
3347         * configure.in demos/gtk-demo/main.c: Replace
3348         #ifndef G_OS_WIN32 with proper #ifdef HAVE_FLOCKFILE.
3349
3350 Thu May 16 12:56:38 2002  Owen Taylor  <otaylor@redhat.com>
3351
3352         * gtk/gtkrange.c (gtk_range_calc_layout): Fix a missed
3353         check for division by zero. (#77820, Gareth Pearce)
3354
3355 Thu May 16 12:50:13 2002  Owen Taylor  <otaylor@redhat.com>
3356
3357         * gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
3358         gdk_event_put() copies the event and setting name,
3359         so we don't have to strdup() it here. (Fix from
3360         Michael Meeks, #81953)
3361
3362 2002-05-16  Ettore Perazzoli  <ettore@ximian.com>
3363
3364         * gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
3365         up, and some of the widget area is empty, don't fill it in with
3366         GTK_SHADOW_IN rectangles that make it looks strange.  Fixes
3367         #72695.
3368
3369 Wed May 15 18:15:45 2002  Owen Taylor  <otaylor@redhat.com>
3370
3371         * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Don't
3372         call gdk_pointer_grab() to change the cursor if we've
3373         already ungrabbed on button release / escape.
3374         (#80420, Dave Camp)
3375
3376 Wed May 15 17:12:50 2002  Owen Taylor  <otaylor@redhat.com>
3377
3378         * gtk/gtktooltips.c: Special case menu items to
3379         pop down on motion. (#75961)
3380
3381         * tests/testgtk.c (create_item_factory): Add tooltips
3382         to the File menu.
3383
3384         * gtk/gtkentry.c (update_im_cursor_location): Fix 
3385         cursor locations passed to the IM context.
3386         (#80027, Yao Zhang)
3387
3388 Wed May 15 16:52:57 2002  Owen Taylor  <otaylor@redhat.com>
3389
3390         * gtk/gtkfontsel.c: Update from contents of size entry
3391         on focus out. (#76493, Lauris Kaplinski)
3392
3393         * gtk/gtkclipboard.c (selection_get_cb): Fix backwads
3394         info/time arguments. (#80226)
3395
3396 Wed May 15 11:13:19 2002  Owen Taylor  <otaylor@redhat.com>
3397
3398         * configure.in gtk/stock-icons/Makefile.am: If not
3399         building libpng, don't rebuild gtkstockpixbufs.h
3400         (#81819, Bill Janssen)
3401
3402 2002-05-15  jacob berkman  <jacob@ximian.com>
3403
3404         * demos/gtk-demo/Makefile.am (demos.h): just run perl on the
3405         geninclude script manually
3406
3407 Tue May 14 19:53:15 2002  Owen Taylor  <otaylor@redhat.com>
3408
3409         * demos/gtk-demo/geninclude.pl.in configure.in:
3410         Subsitute in @PERL@ instead of hardcoded 
3411         /usr/bin/perl. (#78355, Gareth Pearce. Fix based
3412         on patch from Matthias Clasen)
3413
3414         * gdk/Makefile.am: Patch from Daniel Elstner to use glib-mkenums
3415         instead of makeenums.pl.
3416
3417         * gdk/{x11,linux-fb,win32}/Makefile.am: Hack to
3418         get gdkenumtypes.h built first.
3419
3420 Tue May 14 18:41:58 2002  Owen Taylor  <otaylor@redhat.com>
3421
3422         * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): 
3423         Remove the result file on error. (#79929, David
3424         Highley)
3425
3426         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
3427         If the menu is currently active, cancel it before
3428         setting the new menu. (#79162, Jonathan Blandford.)
3429
3430 Tue May 14 18:13:10 2002  Owen Taylor  <otaylor@redhat.com>
3431
3432         * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix
3433         prepending at the start of the list. (#56349,
3434         Thomas Leonard.)
3435
3436         * gtk/gtksignal.h (gtk_signal_disconnect_by_func): Add
3437         explicit casts to GSignalMatchType for C++ compatibility.
3438         (#77601)
3439
3440 Tue May 14 18:02:37 2002  Owen Taylor  <otaylor@redhat.com>
3441
3442         * gtk/gtkwindow.c (gtk_window_realize): Fix
3443         frame_right/frame_top screwup. (Detlef Reichl,
3444         #78111)
3445
3446         * gtk/Makefile.am (install-data-local): Use
3447         $(INSTALL_DATA) not $(INSTALL) when installing
3448         theme files. (#77094, Ben Liblit)
3449
3450 Tue May 14 17:30:57 2002  Owen Taylor  <otaylor@redhat.com>
3451
3452         * gtk/gtkctree.c gtk/gtkclist.c: Fix format of 
3453         selection data to be 8 rather than GTK_TYPE_POINTER.
3454         (#79751, James Henstridge)
3455         
3456         * gtk/gtkmenu.c (gtk_menu_key_press): Call 
3457         gtk_accelerator_valid() with cleaned up
3458         accel_key/accel_mods, not the raw values from
3459         the event. (#80513, Havoc Pennington.)
3460
3461         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Remove
3462         some dead code that set the tearoff window not 
3463         resizable and removed decorations. (#80235)
3464
3465 Tue May 14 16:44:09 2002  Owen Taylor  <otaylor@redhat.com>
3466
3467         * gtk/gtklabel.c (gtk_label_ensure_layout): Set
3468         the width of the layout to the actual wrap width 
3469         (our requisition) not the width we set when calculating
3470         the width. This results in the lines being justified
3471         within the correct area. (#79157, Anders Carlsson)
3472
3473         * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected 
3474         registered parameter types of "accel_activate" and 
3475         "accel_changed" signals. (Patch from Murray Cumming, #78798)
3476         
3477         * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
3478         binary-version and type to correspond to the 
3479         current ordering in _gtk_get_module_path.
3480         (#78746, Sergey Kuzminov) 
3481
3482         * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
3483         pointing to the GTK_PATH documentation.
3484
3485         * gtk/Makefile.am (uninstall-local): Delete 
3486         key themes as well. (#81286, Kristian Rietveld.)
3487
3488 Tue May 14 15:40:49 2002  Owen Taylor  <otaylor@redhat.com>
3489
3490         * gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
3491         Add a sanity g_return_if_fail() check for the depths
3492         for the window and pixmap. (#79191, Shivaram Upadhyayula)
3493
3494 Tue May 14 15:09:33 2002  Owen Taylor  <otaylor@redhat.com>
3495
3496         * gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define
3497         for XkbKeySymEntry to make up for OSF broken 
3498         XKB extension. (#77819, Gareth Pearce)
3499
3500         * gtk/gtklayout.c: Clamp the upper values in response
3501         to ::size-allocate if necessary. (#81290, Christophe Saout)
3502         
3503         * gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle
3504         combo being destroyed before idle fires.
3505         (#81396, Timo Sirainen)
3506
3507 Tue May 14 11:21:19 2002  Owen Taylor  <otaylor@redhat.com>
3508  
3509         * gdk/x11/gdkevents-x11.c (gdk_event_translate): 
3510         Discard configure events from SubstructureNotify.
3511         (#81760, Rich Burridge)
3512  
3513         * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
3514         strcmp().
3515  
3516         * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp 
3517         width of child allocation to >= 1. (Fixes warnings from
3518         #77639, Martin Schulze)
3519         
3520 2002-05-14  Matthias Clasen  <maclas@gmx.de>
3521
3522         * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
3523         (gtk_container_class_find_child_property): 
3524         (gtk_container_class_list_child_properties): 
3525         * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
3526         (gtk_widget_class_list_style_properties): Change parameter names
3527         to match the header file and the documentation.
3528
3529 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
3530
3531         * gtk/gtkfilesel.c
3532         * gtk/gtkplug.c 
3533         * gtk/gtkwidget.c
3534         * gtk/gtkwindow.c
3535         a few typos in docs were fixed
3536
3537 2002-05-10  Daniel Elstner  <daniel.elstner@gmx.net>
3538
3539         [ merge from stable ]
3540
3541         * gtk/gtktreemodel.c: #define INITIALIZE_TREE_ITER(),
3542         which zeroes out all GtkTreeIter fields. (#81380)
3543         (gtk_tree_model_get_iter): Use it.
3544         (gtk_tree_model_iter_children): ditto
3545         (gtk_tree_model_iter_nth_child): ditto
3546         (gtk_tree_model_iter_parent): ditto
3547
3548 2002-05-08  Michael Natterer  <mitch@gimp.org>
3549
3550         * configure.in: fixed yesterdays fix for cross compiling: simply
3551         check the variable "cross_compiling" which gets set by autoconf.
3552
3553 Wed May  8 16:14:49 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
3554
3555         * gtk/gtktreeview.c 
3556         (gtk_tree_view_init): set_redraw_on_allocate (FALSE);
3557         (gtk_tree_view_size_allocate): invalidate last column if width
3558         changed.
3559         (gtk_tree_view_bin_expose): skip over cells that aren't in
3560         event->region
3561
3562 Tue May  7 18:36:03 2002  Owen Taylor  <otaylor@redhat.com>
3563  
3564         * gdk/x11/xsettings-client.c (xsettings_client_process_event): 
3565         Check for selection_atom, not property name atom.
3566  
3567 2002-05-07  Michael Natterer  <mitch@gimp.org>
3568
3569         * configure.in: added a new conditional CROSS_COMPILING which
3570         indicates ($build != $host). If it is set, look for
3571         gdk-pixbuf-csource in PATH. Error out if it was not found.
3572
3573         * gtk/stock-icons/Makefile.am: use the gdk-pixbuf-csource found at
3574         configure time if CROSS_COMPILING is set, use the one which was
3575         just built otherwise.
3576
3577 2002-05-07  Anders Carlsson  <andersca@gnu.org>
3578
3579         * gdk/x11/xsettings-client.c (xsettings_client_process_event): 
3580         Only process manager events with the correct atom.
3581
3582 2002-05-07  Matthias Clasen  <maclas@gmx.de>
3583
3584         Fix for #79248:
3585         
3586         * gdk/x11/gdkwindow-x11.c (gdk_window_new): 
3587         (gdk_window_set_events): Always select for property notify for
3588         maintaining window state.
3589
3590         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Only propagate
3591         property notifys if they were selected by gdk_window_set_events.
3592
3593 Mon May  6 23:48:14 2002  Kristian Rietveld  <kris@gtk.org>
3594
3595         * gtk/gtktreeview.c (gtk_tree_view_map_expanded_rows_helper): call
3596         func on current node before the child nodes.
3597
3598 Mon May  6 23:17:42 2002  Kristian Rietveld  <kris@gtk.org>
3599
3600         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow):
3601         unset user_data before destroying the window. (fixes #80065).
3602
3603 Mon May  6 12:17:14 2002  Owen Taylor  <otaylor@redhat.com>
3604
3605         * configure.in: Fix versioning to avoid changing the
3606         soname!
3607
3608         [ merge from stable ]
3609
3610         * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
3611
3612         * m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
3613         compiling "what went wrong" test case. (#79329)
3614
3615         * m4macros/gtk-2.0.m4: Remove reference to editing
3616         pkg-config script. (From Jim Gettys)
3617
3618 02-05-05  Matthias Clasen  <maclas@gmx.de>
3619
3620         * configure.in: Bump version to 2.1.0, binary, interface age 0.
3621
3622         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties): 
3623         (gtk_container_class_find_child_property): Document.
3624
3625         * gtk/gtkwidget.c: 
3626         * gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
3627         and gtk_widget_class_find_child_property.  (#80652)
3628         
3629 Sun May  5 15:56:50 2002  Owen Taylor  <otaylor@redhat.com>
3630
3631         * configure.in: Fix problem with == in test argument.
3632         (#80732, Hidetoshi Tajima)
3633
3634 Sun May  5 16:42:32 2002  Kristian Rietveld  <kris@gtk.org>
3635
3636         The "big treeview focus patch". Fixes several issues and adds some
3637         goodies. Related bugs: #73676, #73734, #78660.
3638
3639         * gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell
3640
3641         * gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell
3642         if applicable,
3643         (gtk_tree_view_bin_expose): set_cell_data before iterating columns,
3644         add support for row-spanning focus rectangles,
3645         (gtk_tree_view_has_special_cell): new function,
3646         (gtk_tree_view_move_cursor_left_right): add support for multiple
3647         focusable cells in one column,
3648         (gtk_tree_view_set_cursor): call _set_cursor_on_cell now,
3649         (gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended
3650         with focus_cell parameter,
3651         (gtk_tree_view_search_iter): removed unused column variable,
3652         (gtk_tree_view_start_editing): add neighbor size code to allow
3653         for multiple editable cells in one column.
3654
3655         * gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add
3656         in_editing_mode field,
3657         (gtk_tree_view_column_get_edited_cell): new function, removed
3658         _get_editable_cell,
3659         (_gtk_tree_view_column_get_cell_at_pos): new function,
3660         (gtk_tree_view_column_pack_end): s/g_new/g_new0/ ...,
3661         (gtk_tree_view_column_cell_process_action): loads of changes to get
3662         it right and to allow for multiple special cells, etc,
3663         (gtk_tree_view_column_cell_first): new function,
3664         (gtk_tree_view_column_cell_last): ditto,
3665         (gtk_tree_view_column_cell_next): ditto,
3666         (gtk_tree_view_column_cell_prev): ditto,
3667         (gtk_tree_view_column_cell_focus): add left and right parameters,       
3668         allow for multiple special cells,
3669         (gtk_tree_view_column_cell_is_visible): add assertion,
3670         (gtk_tree_view_column_focus_cell): new function,
3671         (gtk_tree_view_column_stop_editing): unset in_editing_mode flag,
3672         (_gtk_tree_view_column_get_neighbor_sizes): iterate through cells
3673         correctly
3674
3675         * gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell
3676
3677         * gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add
3678         _gtk_tree_view_column_get_cell_at_pos, add new parameters to
3679         _gtk_tree_view_column_cell_focus.
3680
3681         * tests/testtreeedit.c: add some cells in order to test new code.
3682
3683 Sun May  5 02:22:59 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
3684
3685         * tests/test-images/*: image files for testing pixbuf loaders
3686         * tests/pixbuf-*.c: the old test-loaders.c split into four 
3687         different programs
3688         * tests/Makefile.am: add new pixbuf tests
3689
3690 2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
3691
3692         * gdk/x11/gdkvisual-x11.c:
3693         * gdk/x11/gdkwindow-x11.c:
3694         * gdk/x11/gdkdisplay-x11.[hc] (gdk_open_display) :
3695         Rationalized the screen initialization process,
3696         changed the GdkDisplayX11 screen list to an array.
3697         
3698         * gdk/x11/gdkscreen-x11.[hc] (_gdk_x11_screen_new) :
3699         Moved the xinerama init functions to gdkdisplay-x11.c to
3700         this file, create a single function to fully initialize
3701         a GdkScreen. #79981
3702         
3703 2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
3704   
3705         * gtk/gtkplug.[hc] (gtk_plug_construct_for_display):
3706         changed the order of the arguments. #80278
3707
3708 2002-05-02  Matthias Clasen  <maclas@gmx.de>
3709
3710         * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment.
3711
3712         * gdk/x11/gdkdisplay-x11.c (gdk_open_display): 
3713         * gdk/x11/gdkkeys-x11.c (gdk_keymap_get_default): 
3714         * gdk/x11/gdkfont-x11.c (gdk_fontset_load_for_display): 
3715         * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): 
3716         * gdk/x11/gdkfont-x11.c (gdk_font_load_for_display): 
3717         * gdk/x11/gdkscreen-x11.c (gdk_x11_screen_get_xscreen):
3718         * gdk/x11/gdkscreen-x11.c (gdk_x11_screen_get_screen_number): 
3719         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): 
3720         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): Document.
3721
3722         * gtk/gtknotebook.c (gtk_notebook_set_show_border): Typo fix.
3723
3724         * gtk/gtkwidget.c (gtk_widget_class_init): Correct the
3725         composite_child blurb.   
3726
3727         * gtk/gtknotebook.c (gtk_notebook_set_show_border): Clarify docs.  (#73093)
3728
3729 2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
3730         
3731         * gdk/gdkscreen.c (gdk_screen_get_monitor_at_point):
3732         * gdk/gdkscreen.h :
3733         * gdk/x11/gdkscreen-x11.c :
3734         make gdk_screen_get_monitor_at_point cross platform instead
3735         of backend dependant. #80480
3736         * tests/testxinerama.c (main):
3737         changed the warning message.
3738         
3739 2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
3740
3741         * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
3742         removed unneeded ref. #79977
3743         * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
3744         * gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
3745         removed gdk_screen_use_virtual_screen function and 
3746         use_virtual_screen member variable from GdkScreenX11. #79957
3747         
3748 2002-05-02  Matthias Clasen  <maclas@gmx.de>
3749
3750         * gtk/gtktable.c (gtk_table_class_init): 
3751         * gtk/gtknotebook.c (gtk_notebook_class_init): 
3752         * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
3753         child properties.  (#57143)
3754
3755 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
3756         
3757         * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
3758         * x11/gdkpixmap-x11.c:
3759         removed that function as gdk_drawable_get_screen
3760         does the job. #79964
3761
3762 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
3763
3764         * gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
3765         remove virtualization and made it cross platform. #79961
3766         * gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
3767         fixed initialization bugs.
3768         * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
3769         * tests/testxinerama.c:
3770         * gtk/gtkwindow.c (gtk_window_compute_configure_request):
3771         * gtk/gtkmenu.c (gtk_menu_position):
3772         take a GdkRectangle argument instead of returning 
3773         a GdkRectangle * and propagated the changes. #79974
3774         
3775 2002-05-01  Anders Carlsson  <andersca@gnu.org>
3776
3777         * gdk/x11/gdkevents-x11.c 
3778         (gdk_x11_screen_supports_net_wm_hint): Use the same
3779         key when setting and getting NetWmSupportedAtoms.
3780
3781 Tue Apr 30 18:42:25 2002  Owen Taylor  <otaylor@redhat.com>
3782
3783         * gtk/gtkwindow.c (gtk_window_set_screen): Make it
3784         work, even if the window is already realized or
3785         mapped.
3786
3787         * tests/testgtk.c: Erwann's multihead changes, slightly
3788         dumbed down. (Removed logic for pulling windows onto
3789         the current screen, people can click twice on the demo
3790         to destroy and create again.)
3791
3792         * tests/prop-editor.c: Set the screen on the property
3793         editor if the edited object is a widget.
3794
3795 2002-05-01  Matthias Clasen  <maclas@gmx.de>
3796
3797         * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
3798         Improve a warning.
3799
3800         * gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken
3801         and redundant doc comment.
3802
3803 2002-04-30  Matthias Clasen  <maclas@gmx.de>
3804
3805         * gtk/gtkprogress.c (gtk_progress_class_init): 
3806         * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): 
3807         * gtk/gtktexttag.c (gtk_text_tag_class_init): 
3808         * gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs,
3809         incorporating stuff from the doc templates.
3810
3811         * gtk/gtkplug.c (gtk_plug_construct): Fix docs.
3812
3813 Tue Apr 30 15:59:53 2002  Owen Taylor  <otaylor@redhat.com>
3814
3815         * tests/testmultiscreen.c: Multi-screen test case
3816         form multihead branch with a few cleanups. (Get rid
3817         of use of g_object_connect())
3818
3819         * tests/testmultidisplay.c: Multi-display test case
3820         from multihead branch with a few improvements.
3821         (Allow the other display name to be passed on
3822         the command line, use a GtkDialog to get more attractive
3823         spacing.)
3824
3825 Tue Apr 30 14:23:43 2002  Owen Taylor  <otaylor@redhat.com>
3826
3827         * gdk/x11/gdkdisplay-x11.c (gdk_open_display): fix
3828         problem with finalizing non-initialized fully display
3829         when failing to open display.
3830
3831         * tests/testxinerama.c: Xinerama test case from
3832         multihead branch, with some cleanups. (Start even
3833         if there is only one monitor, for one.)
3834
3835 Tue Apr 30 14:15:14 2002  Owen Taylor  <otaylor@redhat.com>
3836
3837         * gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes.
3838
3839 2002-04-30  Erwann Chenede - <erwann.chenede@sun.com>
3840
3841         * gdk/x11/gdkimage-x11.c : rationalized multihead code
3842         in _gdk_x11_copy_to_image. fixes #80256 and ungrab problems.
3843
3844 2002-04-30  Havoc Pennington  <hp@redhat.com>
3845
3846         * gtk/gtktextlayout.c (gtk_text_layout_real_free_line_data): use
3847         gtk_text_layout_invalidate_cache instead of cut-and-paste
3848         (gtk_text_layout_real_invalidate): always invalidate cache, even
3849         if the line has no stored line data. #78573
3850
3851         * gtk/gtktextview.c (gtk_text_view_get_iter_location): add call to
3852         gtk_text_view_ensure_layout, #77388
3853         (gtk_text_view_get_iter_at_location): ditto
3854         (gtk_text_view_get_line_yrange): ditto
3855         (gtk_text_view_get_line_at_y): ditto
3856
3857 2002-04-30  Havoc Pennington  <hp@redhat.com>
3858
3859         * gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): assign
3860         something to "prev" so that removing tag info succeeds.
3861         Part of #77301
3862
3863         * gtk/gtktextbtree.c (_gtk_text_btree_unref): reorder so that it
3864         unrefs the tag table first, so that the btree is in a consistent
3865         state when we're removing tags from it. 
3866
3867 Tue Apr 30 12:28:27 2002  Owen Taylor  <otaylor@redhat.com>
3868
3869         * gdk/gdkdisplay.c gdk/gdkpango.c gdk/gdkpixmap.c
3870         gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c
3871         gdk/x11/gdkpixmap-x11.c gdk/x11/gdkx.h: Doc fixes.
3872
3873 Tue Apr 30 11:37:09 2002  Owen Taylor  <otaylor@redhat.com>
3874
3875         * modules/input/gtkimcontextxim.c: Make multihead-safe;
3876         use a different IM context per display.
3877
3878         * configure.in acconfig.h: Add Xinerama checks from
3879         multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA.
3880
3881         * gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA.
3882
3883 2002-04-29  Alex Larsson  <alexl@redhat.com>
3884
3885         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
3886         Use tmp also if foreground is set.
3887
3888 Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
3889
3890         Integrate Erwann Chenede's multihead changes for the gtk/ directory.
3891
3892         * gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
3893         make internals multihead aware.
3894
3895         * gtk/gtkcolorsel.[ch]: Add
3896         gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
3897         make up for non-multihead safety of
3898         gtk_color_selection_set_change_palette_hook()
3899
3900         * gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
3901         gtk_{invisible,menu,window}_set_screen(); add "screen" properties
3902         for GtkWindow and GtkMenu.
3903
3904         * gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
3905         gtk_plug_new_for_display(). Multihead fixes.
3906
3907         * gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
3908         make internals multihead aware.
3909
3910         * gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
3911         rid of now-useless gtk_settings_constructor().
3912
3913         * gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
3914         check/radio button indicators bitmap handling to be multihead
3915         safe.
3916
3917         * gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
3918         gtk_widget_get_display(), gtk_widget_get_clipboard(),
3919         gtk_widget_get_root_window().
3920         
3921         * gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
3922         gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
3923         gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
3924         gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
3925         gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
3926         gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
3927         gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
3928         gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
3929         misc mechanical multihead-safety fixes.
3930         
3931         * gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
3932         the dropper, look up the color palette only at realization time,
3933         other multihead fixes.
3934
3935         * gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when 
3936         unrealizing.
3937
3938         * gtk/gtkentry.c: Only claim ownership of the primary selection 
3939         when realized, misc multihead fixes.
3940
3941         * gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
3942         fix gtk_font_selection_get_font() for multihead.
3943
3944         * gtk/gtkgc.c: make the depth => drawable hash per-screen.
3945
3946         * gtk/gtkinvisible.c: Add a constructor that realizes the
3947         widget, so we get a realized widget with g_object_new() as
3948         well gtk_invisible_new() as before.
3949
3950         * gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
3951         variables.
3952
3953         * gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
3954         are used on the wrong screen.
3955
3956         * gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
3957         read properties and connect to settings when the screen is changed,
3958         rather than on init/finalize.
3959
3960         * gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
3961         default icon pixmaps/mask are only shared between windows on the 
3962         same screen. Misc multihead fixes.
3963
3964 Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
3965
3966         * gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
3967         Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
3968
3969 2002-04-29  Alex Larsson  <alexl@redhat.com>
3970
3971         * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
3972         Fix silly bug, noticed by Sven Neumann.
3973
3974 Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
3975
3976         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
3977         so that you can set a new sort func.
3978
3979 2002-04-27  Anders Carlsson  <andersca@gnu.org>
3980
3981         * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display): 
3982         Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since
3983         we pass in a GdkDisplay * in the macro.
3984
3985 2002-04-26  Anders Carlsson  <andersca@gnu.org>
3986
3987         * gdk/gdkdisplay.c: (gdk_set_default_display):
3988         Call _gdk_windowing_set_default_display.
3989         
3990         * gdk/gdkinternals.h:
3991         * gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display):
3992         New function that sets gdk_display to the default display.
3993         Fixes #79965
3994         
3995 Fri Apr 26 21:58:16 2002  Kristian Rietveld  <kris@gtk.org>
3996
3997         * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): if the
3998         deleted node was "below" this path, then do not unref all nodes
3999         between the deleted parent and the node this rowref is pointing too
4000         (see added comment in gtk_tree_row_ref_deleted_callback),
4001         (fixes #77977)
4002
4003 2002-04-26  Sven Neumann  <sven@gimp.org>
4004  
4005         * tests/testtreecolumns.c
4006         * tests/testtreeview.c: quit the main loop when the window is
4007         destroyed. Removed compiler warnings about wrong format in printf().
4008  
4009 Fri Apr 26 21:46:42 2002  Kristian Rietveld  <kris@gtk.org>
4010
4011         This commit fixes binary compatibility, which I broke with my
4012         recent cell renderer commits :/.
4013
4014         * gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer
4015
4016         * gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the
4017         cell_background field and use this as object data. This way we keep
4018         the field private and dont break ABI.
4019
4020         * gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and
4021         stock_detail from _GtkCellRendererPixbuf
4022
4023         * gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo
4024         with above mentioned fields. And update everything.
4025
4026 Fri Apr 26 21:42:02 2002  Kristian Rietveld  <kris@gtk.org>
4027
4028         * gdk/x11/gdkdrawable-x11.h: include X11/Xlib.h, fixes the build
4029
4030 Fri Apr 26 10:34:15 2002  Owen Taylor  <otaylor@redhat.com>
4031
4032         * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): Add
4033         missing gdkscreen/display-x11.h files.
4034
4035 Thu Apr 25 16:51:40 2002  Owen Taylor  <otaylor@redhat.com>
4036
4037         Start of integration of Erwann Chenede's multihead work
4038         from the gtk-multihead branch.
4039
4040         * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
4041         gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
4042         New classes representing a set of screens with attached
4043         input devices and a single contiguous area, respectively.
4044
4045         * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
4046         gdk/x11/gdkprivate-x11.h: Make the initialization interface
4047         simple _gdk_windowing_init() and do the rest in
4048         gdk_open_display() calls.
4049
4050         * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
4051         to do the display-independent part of initialization
4052         instead of gdk_init_[check].
4053
4054         * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
4055         gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
4056         Add multihead variants (_for_display(), for_screen()) of functions
4057         getting information specific to a particular screen screen or
4058         display.
4059
4060         * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
4061         like gdk_rgb_get_colormap() that used to get/list global
4062         objects.
4063
4064         * gdk/x11/gdkx.h: Add functions for converting GdkScreen
4065         and GdkDisplay into the X equivalents.
4066
4067         * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords() 
4068         not in the headers and unused.
4069
4070         * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
4071         Remove gxid support ... has not been tested for a long time...
4072         "xfree" support is more portable to non XFree86.
4073
4074         * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
4075         used to turn off functions that are inherently non-multihead
4076         safe.
4077
4078         * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
4079         are used in non-multihead-safe ways.
4080
4081         * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
4082         multihead safe.
4083
4084 Thu Apr 25 23:49:01 2002  Kristian Rietveld  <kris@gtk.org>
4085
4086         Fixes #74206.
4087
4088         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells
4089
4090         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell),
4091         (_gtk_tree_view_column_get_editable_cell): remove a space which made
4092         the code look ugly
4093         (_gtk_tree_view_column_count_special_cells): new function,
4094         (gtk_tree_view_column_cell_process_action): if there's only one
4095         activatable cell, the whole column will activate that renderer.
4096
4097 Thu Apr 25 23:36:55 2002  Kristian Rietveld  <kris@gtk.org>
4098
4099         * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search
4100         dialog not scroll horizontally (prolly fixes #74806).
4101
4102 2002-04-25  Matthias Clasen  <maclas@gmx.de>
4103
4104         * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible
4105         division by zero.  (#77820)
4106
4107 Thu Apr 25 20:24:37 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
4108
4109         * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
4110         requisition.height, not allocation.height, as width of submenu
4111         indicator. (#75948)
4112
4113 Thu Apr 25 00:26:34 2002  Kristian Rietveld  <kris@gtk.org>
4114
4115         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
4116         resort if we're already in 'unsorted' state, and update the docs
4117
4118 2002-04-24  Matthias Clasen  <maclas@gmx.de>
4119
4120         * gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc
4121         comment markers on freeform comments.
4122
4123 Wed Apr 24 17:34:16 2002  Kristian Rietveld  <kris@gtk.org>
4124
4125         * gtk/gtktreeview.c (gtk_tree_view_stop_editing): temporarily set
4126         ->priv->edited_column to NULL. Pleas read the comment in this
4127         function for an explanation (fixes #79632).
4128
4129 2002-04-23  Matthias Clasen  <maclas@gmx.de>
4130
4131         * gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords): 
4132         (gtk_text_view_window_to_buffer_coords): Improve docs.  (#62359)
4133
4134 Tue Apr 23 18:35:34 2002  Kristian Rietveld  <kris@gtk.org>
4135
4136         This commit adds a cell_background property for cell renderers. With
4137         this property you can make your TreeView look incredibly ugly.
4138
4139         * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and
4140         cell_background_set properties,
4141         (set_cell_bg_color): new function,
4142         (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property):
4143         support for new properties,
4144         (gtk_cell_renderer_render): render a background when set.
4145
4146         * gtk/gtkcellrenderer.h: add cell_background_set and cell_background
4147         fields.
4148
4149         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
4150         when rendering, pass in just the background_area of the cell and not
4151         the background_area of the entire column.
4152
4153 2002-04-22  Anders Carlsson  <andersca@gnu.org>
4154
4155         * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
4156         gtk_entry_get_public_chars. 
4157         Fixes #79532 (Reported by Ovidiu Gheorghioiu).
4158
4159 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
4160
4161         This commit adds stock icon functionality to GtkCellRendererPixbuf
4162         which is totally cool.
4163
4164         * gtk/gtkcellrendererpixbuf.h: add some fields
4165
4166         * gtk/gtkcellrendererpixbuf.c: add finalize method, add some
4167         properties, add some stock icon rendering code.
4168
4169         * demos/gtk-demo/stock_browser.c: modified to use the stock
4170         icon stuff in the cellrendererpixbuf instead of its own stock icon
4171         rendering code.
4172
4173 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
4174
4175         * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
4176         Save x and y in window_private.
4177
4178         * gtk/gtkplug.c (_gtk_plug_add_to_socket):
4179         Move plug window outside the visible area to avoid flashing until
4180         the first size_allocate.
4181
4182 2002-04-21  Matthias Clasen  <maclas@gmx.de>
4183
4184         * gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
4185         description of match_start and match_end return values.  (#57929)
4186
4187         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
4188         * gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
4189         comment markers on freeform comments.
4190
4191         * gtk/gtktreemodelsort.c
4192         (gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
4193
4194 Sat Apr 20 21:15:11 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
4195
4196         * gtk/gtkmenuitem.c: add "selected_shadow_type" style property
4197
4198 Sat Apr 20 12:07:14 2002  Owen Taylor  <otaylor@redhat.com>
4199
4200         * gtk/gtkwidget.c (gtk_widget_modify_color_component): Accept
4201         NULL for color to mean "unmodify"
4202
4203         * gtk/gtkwidget.c (gtk_widget_modify_font): Accept NULL for
4204         font_desc to mean "unmodify".
4205
4206 Sat Apr 20 16:49:26 2002  Kristian Rietveld  <kris@gtk.org>
4207
4208         * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new): replace GDK_IS_WINDOW
4209         with GDK_IS_DRAWABLE in the assert, only check GDK_WINDOW_DESTROYED
4210         if window is a GdkWindow,
4211         (gdk_bitmap_create_from_data): ditto,
4212         (gdk_pixmap_create_from_data): ditto
4213
4214 Fri Apr 19 23:38:16 2002  Kristian Rietveld  <kris@gtk.org>
4215
4216         Fixes #50310.
4217
4218         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize
4219
4220         * gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize,
4221         and add a small note about that function,
4222         (gtk_tree_view_button_press): check for double click and
4223         "not having an autosize" column before autosizing the column,
4224         
4225         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width):
4226         call _gtk_tree_view_column_autosize to update autosized column width
4227         (gtk_tree_view_column_set_max_width): ditto
4228
4229 2002-04-20  Matthias Clasen  <maclas@gmx.de>
4230
4231         * TODO, TODO.xml, README.nanox, docs/Changes-1.2.txt,
4232         docs/Changes-2.0.txt, docs/gtk-config.txt, docs/debugging.txt,
4233         gdk/TODO: Remove some files whose content is either obsolete or
4234         has been moved elsewhere.
4235
4236         * Makefile.am, gtk+.spec.in, docs/Makefile.am: Remove references
4237         to these files.
4238         
4239 Fri Apr 19 21:31:04 2002  Kristian Rietveld  <kris@gtk.org>
4240
4241         * gtk/gtktreeview.c (gtk_tree_view_row_changed): cancel editing
4242         if tree_view->priv->edited_column != NULL (fixes #76066)
4243
4244 Fri Apr 19 21:06:39 2002  Kristian Rietveld  <kris@gtk.org>
4245
4246         * gtk/gtktreeview.c (gtk_tree_view_size_allocate): subtract
4247         TREE_VIEW_HEADER_HEIGHT from allocation->height to get the real
4248         size for the tree (fixes #72729),
4249         (gtk_tree_view_real_start_editing): correct cell_area->y for
4250         scrolling due to gtk_tree_view_real_set_cursor (fixes #75687)
4251
4252 Fri Apr 19 16:30:09 2002  Kristian Rietveld  <kris@gtk.org>
4253
4254         * gtk/gtktreeprivate.h, gtk/gtktreeview.c: rename
4255         last_single_clicked{,_2} to last_button_press{,_2}, as the latter
4256         is a more sane name.
4257
4258         * gtk/gtktreeview.c (gtk_tree_view_button_press): use ->priv->anchor
4259         instead of ->priv->cursor, check for the anchor at another place, as
4260         you can go in edit mode without having an anchor.
4261
4262 2002-04-18  Matthias Clasen  <maclas@gmx.de>
4263
4264         * gtk/gtkitemfactory.c:
4265         * gtk/gtkiconfactory.c:
4266         * gtk/gtkwidget.c:
4267         * gtk/gtkstyle.c:
4268         * gtk/gtkrc.c:
4269         * gtk/gtktreeviewcolumn.c:
4270         * gtk/gtkdialog.c:
4271         * gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
4272         documentation to bring the produced Docbook closer to XML.
4273
4274 2002-04-18  Tor Lillqvist  <tml@iki.fi>
4275
4276         * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
4277         * gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo,
4278         thanks to David Sterba for noticing.
4279
4280         * gtk/gtkmain.h
4281         * gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In
4282         GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on
4283         Win32 whether compiled with -fnative-struct or not. Unfortunately
4284         this wan't noticed until now. So, from now on, check some other
4285         struct, too, for which the use of -fnative-struct still
4286         matters. GtkBox is one such.
4287
4288 Thu Apr 18 00:23:31 2002  Kristian Rietveld  <kris@gtk.org>
4289
4290         * gtk/gtktreemodelsort.c
4291         (gtk_tree_model_sort_convert_path_to_child_path): so this function
4292         was completely broken. Fix it and improve readability.
4293
4294 2002-04-17  Anders Carlsson  <andersca@gnu.org>
4295
4296         * tests/testtreeedit.c (button_press_event): Add a small
4297         test case.
4298
4299 Wed Apr 17 00:21:36 2002  Kristian Rietveld  <kris@gtk.org>
4300
4301         * gtk/gtktreestore.c (gtk_tree_store_insert_before): fix docs
4302
4303 Tue Apr 16 17:28:21 2002  Kristian Rietveld  <kris@gtk.org>
4304
4305         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): check
4306         ->priv->cursor and ->priv->anchor rowrefs before removing
4307         node->children from the rbtree. Also check the
4308         ->priv->last_single_clicked and ->priv->last_single_clicked_2 rowrefs
4309         (I think I really need to rename those two someday).
4310
4311 Tue Apr 16 07:53:49 2002  Tim Janik  <timj@gtk.org>
4312
4313         * gtk/gtkmenu.c (gtk_menu_key_press): don't install/change accelerators
4314         from locked accel groups.
4315
4316         * gtk/gtkwidget.c (_gtk_widget_get_accel_path): export whether the
4317         accel path is from a locked accel group.
4318
4319 Mon Apr 15 15:41:56 2002  Jonathan Blandford  <jrb@redhat.com>
4320
4321         * gtk/gtkcontainer.c (gtk_container_focus): include internal
4322         children when doing focus.
4323         (gtk_container_get_all_children): new static function to include
4324         internal children when making a list of them.
4325
4326 Sun Apr 14 16:56:59 2002  Kristian Rietveld  <kris@gtk.org>
4327
4328         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
4329         _gtk_tree_view_column_get_neighbor_sizes
4330
4331         * gtk/gtktreeviewcolumn.c (struct _GtkTreeViewColumnCellInfo): add
4332         real_width field,
4333         (_gtk_tree_view_column_get_editable_cell): implement,
4334         (gtk_tree_view_column_cell_process_action): fill info->real_width
4335         (_gtk_tree_view_column_get_neighbor_sizes): implement
4336
4337         * gtk/gtktreeview.c (gtk_tree_view_button_press): make the "editable
4338         widget" show up with the same size as the actual cell, so it doesnt
4339         cover the complete column if there are any other cells in that column.
4340
4341 2002-04-14  Abigail Brady  <morwen@evilmagic.org>
4342
4343         * gtk/gtkfilesel.c: Fix typo in message.
4344
4345 2002-04-13  Havoc Pennington  <hp@pobox.com>
4346
4347         * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): create
4348         the target pixbuf AFTER filling in width/height, so that 
4349         passing in -1 for width/height will work.
4350         
4351 Sat Apr 13 22:49:45 2002  Kristian Rietveld  <kris@gtk.org>
4352
4353         Fixes #75510
4354
4355         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): make this
4356         function work correctly and more sane
4357
4358         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): remove
4359         node->children from rbtree before emitting GtkTreeSelection::changed
4360
4361 Sat Apr 13 17:15:12 2002  Kristian Rietveld  <kris@gtk.org>
4362
4363         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init): dont set
4364         the mode to GTK_CELL_RENDERER_MODE_EDITABLE by default,
4365         (gtk_cell_renderer_text_class_init): for some reason our default for
4366         editable was TRUE, of course this is FALSE.
4367         (gtk_cell_renderer_text_set_property): update mode when editable
4368         has been changed.
4369
4370 2002-04-12  jacob berkman  <jacob@ximian.com>
4371
4372         * gdk/x11/xsettings-client.c (fetch_card8): fix cut-n-paste bug
4373         which breaks big-endian machines (fixes #73585)
4374
4375 2002-04-12  Havoc Pennington  <hp@redhat.com>
4376
4377         * gtk/gtknotebook.c (gtk_notebook_real_remove): relocate the
4378         remove_weak_pointer to just before we free the page, to be sure 
4379         it doesn't get re-added. #75282
4380
4381 Fri Apr 12 18:32:46 2002  Kristian Rietveld  <kris@gtk.org>
4382
4383         * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): add
4384         clamp_node argument
4385         (toplevel): update usages of gtk_tree_view_real_set_cursor,
4386         (gtk_tree_view_focus_to_cursor): don't let
4387         gtk_tree_view_real_set_cursor clamp the node, so you won't get
4388         unexpected scrolling
4389
4390 2002-04-11  Michael Meeks  <michael@ximian.com>
4391
4392         * gtk/gtklabel.c
4393         (gtk_label_parse_uline, gtk_label_set_text),
4394         (gtk_label_set_text_with_mnemonic): add freeze / thaws
4395         to stop deluge of 'notify' signals.
4396
4397 Sat Apr  6 06:57:00 2002  Owen Taylor  <otaylor@redhat.com>
4398
4399         * gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export
4400         private _gtk_menu_shell_activate() to encapsulate
4401         cut-and-paste code.
4402
4403         * gtk/gtkmenubar.c: Select the first item on the menu bar
4404         for F10 rather than acting as if the user pressed <Alt>F
4405         to select the file manager.
4406
4407 Tue Apr  9 19:01:28 2002  Owen Taylor  <otaylor@redhat.com>
4408
4409         Fix problems with HandleBox and focusing - #78232
4410
4411         * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Handle
4412         GtkHandleBox / GnomeDock style window heirarchy / widget
4413         heirarchy disconnects. :-(. 
4414
4415         * gtk/gtkcontainer.c: Handle failures from
4416         gtk_widget_translate_coordinates (Focusing is not right, but at
4417         least it doesn't go into infinite loops.)
4418
4419 Tue Apr  9 18:34:58 2002  Owen Taylor  <otaylor@redhat.com>
4420
4421         * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
4422         set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
4423         even if we aren't currently in a resize container... we need
4424         this to properly handle size changes to widgets that are
4425         being moved from one heirarchy to another. (#78226)
4426
4427 Tue Apr  9 21:41:24 2002  Kristian Rietveld  <kris@gtk.org>
4428
4429         Fixes #78110
4430
4431         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
4432         add override_browse_mode argument and implement,
4433         (gtk_tree_selection_unselect_path): always unselect the path,
4434         (toplevel): update uses of _gtk_tree_selection_internal_select_node
4435
4436         * gtk/gtktreeview.c: update uses of
4437         _gtk_tree_selection_internal_select_node
4438
4439         * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
4440         update prototype
4441
4442 Tue Apr  9 21:39:44 2002  Kristian Rietveld  <kris@gtk.org>
4443
4444         Fixes #77862
4445
4446         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
4447
4448         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
4449         new function
4450
4451         * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
4452         on first click when cell isn't editable
4453
4454 Tue Apr  9 21:37:31 2002  Kristian Rietveld  <kris@gtk.org>
4455
4456         * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
4457         types which were missing and useful to use (fixes #77870)
4458
4459 2002-04-09  Anders Carlsson  <andersca@gnu.org>
4460
4461         * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
4462
4463 2002-04-08  Manish Singh  <yosh@gimp.org>
4464
4465         * tests/testgtk.c: really revert testgtk.c
4466
4467 Mon Apr  8 20:28:54 2002  Kristian Rietveld  <kris@gtk.org>
4468
4469         * gtk/gtktreeselection.c (gtk_tree_selection_select_path),
4470         (gtk_tree_selection_unselect_path),
4471         (gtk_tree_selection_path_is_selected): check the return value of
4472         _gtk_tree_view_find_node and return if it's TRUE. This makes those
4473         functions work somewhat saner on non-expanded trees.
4474
4475 Fri Apr  5 18:28:56 2002  Kristian Rietveld  <kris@gtk.org>
4476
4477         * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
4478         anchor row reference after unselecting the selection (fixes #76272)
4479
4480 Fri Apr  5 18:27:48 2002  Kristian Rietveld  <kris@gtk.org>
4481
4482         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
4483         when we don't have to open all children (fixes #75736)
4484
4485 Fri Apr  5 18:24:24 2002  Kristian Rietveld  <kris@gtk.org>
4486
4487         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
4488         cellrenderer after clearing the attributes of the renderer (fixes
4489         #75592)
4490
4491 Fri Apr  5 05:55:14 2002  Jonathan Blandford  <jrb@gnome.org>
4492
4493         * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
4494           (gtk_tree_view_move_cursor_up_down): check for focus
4495           (gtk_tree_view_move_cursor_page_up_down): ditto
4496           (gtk_tree_view_move_cursor_left_right): ditto
4497           (gtk_tree_view_move_cursor_start_end): ditto
4498           (gtk_tree_view_real_select_all): ditto
4499           (gtk_tree_view_real_unselect_all): ditto
4500           (gtk_tree_view_real_select_cursor_row): ditto 
4501           (gtk_tree_view_real_toggle_cursor_row): ditto
4502           (gtk_tree_view_real_expand_collapse_cursor_row): ditto
4503           (gtk_tree_view_real_select_cursor_parent): ditto
4504           (gtk_tree_view_real_start_interactive_search): ditto
4505
4506         * gtk/gtktreeviewcolumn.c: grab focus
4507
4508 2002-04-05  Alex Larsson  <alexl@redhat.com>
4509
4510         * gdk/linux-fb/gdkkeyboard-fb.c (write_string):
4511         Fix undefined variable typo.
4512         Patch from Simon Floery <simon.floery@gmx.at>
4513
4514 Fri Apr  5 01:06:15 2002  Tim Janik  <timj@gtk.org>
4515
4516         * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
4517         upon NULL return from gdk_utf8_to_string_target().
4518
4519         * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
4520         return value comment to mention NULL returns upon EMFILE.
4521
4522 Thu Apr  4 22:35:42 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
4523
4524         * tests/testgtk.c (menu_items): revert accidentally commited
4525         change to testgtk.c
4526
4527 Thu Apr  4 22:28:08 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
4528
4529         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu
4530         titles being clipped (#75948)
4531         
4532 2002-04-04  Tor Lillqvist  <tml@iki.fi>
4533
4534         * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
4535
4536         (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
4537         pixel) static visuals (fixes #858).
4538
4539         (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
4540         same bugs in both functions: Odd start coordinate (partial byte)
4541         was not handled correctly. Also a partial final byte was not
4542         handled correctly.
4543
4544         (gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
4545         (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
4546         colorcube only for depths 3 and 4. For static color, use it for
4547         depths 3..7 like before. (Depth 5..7 pseudocolor probably never
4548         occurs on X11. It doesn't normally occur on Win32 either, but
4549         there is experimental code in gdkvisual-win32.c to let the user
4550         restrict the size of palette used.)
4551         (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
4552         is set.
4553         (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
4554         and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
4555         static color.
4556
4557 Tue Apr  2 11:10:13 2002  Jonathan Blandford  <jrb@redhat.com>
4558
4559         * gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
4560         sort_func correctly, 77030
4561
4562 Tue Apr  2 13:44:27 2002  Tim Janik  <timj@gtk.org>
4563
4564         * configure.in: update version to 2.0.2, binary age 2, interface
4565         age 2.
4566
4567         * NEWS: updates for 2.0.2.
4568
4569 Mon Apr  1 22:20:24 2002  Kristian Rietveld  <kris@gtk.org>
4570
4571         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
4572         check for y > tree_view->priv->height (fixes #76974)
4573
4574 Mon Apr  1 22:19:39 2002  Kristian Rietveld  <kris@gtk.org>
4575
4576         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
4577         the stamp changes right this time
4578
4579 Mon Apr  1 22:13:24 2002  Kristian Rietveld  <kris@gtk.org>
4580
4581         * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
4582         disconnect the ref callbacks when model == proxy (Thanks go to
4583         Manuel Clos Crespo for the remote debugging)
4584
4585 Sat Mar 30 15:19:24 2002  Kristian Rietveld  <kris@gtk.org>
4586
4587         * gtk/gtktreemodelsort.c: revert the latest stamp increment changes,
4588         as it broke stuff for trees
4589
4590 Fri Mar 29 18:15:12 2002  Owen Taylor  <otaylor@redhat.com>
4591
4592         * ===== Released 2.0.1 ======
4593
4594 Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
4595
4596         * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
4597         gdk_keyval_to_lower() on the key passed in, since we
4598         lowercase all other key vals passed in, so querying
4599         keyvals will otherwise fail if the caller used
4600         an uppercase accelerators (#76899, Vitaly Tishkov)
4601
4602 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
4603
4604         * gtk/gtkmain.c (load_modules): Fix screwup in handling
4605         of module path that was resulting in freed memory being
4606         accessed when both GTK_MODULES and a theme were set.
4607         (#76902, Johan Dahlin)
4608
4609 Fri Mar 29 17:57:36 2002  Owen Taylor  <otaylor@redhat.com>
4610
4611         * gtk/gtkiconfactory.c (get_default_icons): Fix wrong
4612         stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
4613
4614 2002-03-29  Hans Breuer  <hans@breuer.org>
4615
4616         * gtk/gtkmain.h : fix typo in gtk_init_check macro, which
4617         caused crashes if argc != 0
4618
4619         * gtk/stock-icons/makefile.msc : added new icons
4620
4621 Fri Mar 29 20:17:35 2002  Kristian Rietveld  <kris@gtk.org>
4622
4623         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
4624         remove call to gtk_tree_model_sort_increment_stamp
4625         (gtk_tree_model_sort_sort_level): always increment the stamp
4626
4627 Fri Mar 29 00:19:41 2002  Owen Taylor  <otaylor@redhat.com>
4628
4629         * NEWS: Updates
4630
4631         * configure.in: Version 2.0.1, binary, interface age 1.
4632
4633         * configure.in (GDK_PIXBUF_VERSION): Up required versions
4634         of dependencies.
4635
4636         * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
4637         Add stock_add/remove_16.
4638
4639 Thu Mar 28 18:38:30 2002  Owen Taylor  <otaylor@redhat.com>
4640
4641         * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): 
4642         Don't show the window unless the widget is mapped.
4643         (#76742, Dennis Björklund, Soeren Sandmann)
4644
4645 2002-03-29  Hans Breuer  <hans@breuer.org>
4646
4647         Fixed dashed line issues (#74441) to an IMO reasonable extend. 
4648         That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
4649         to be with lines width > 50); Render horizontal and vertical
4650         dashed lines on Win9x 'by hand'. Dotted selection rectangles 
4651         and Dia look nice ...
4652
4653         * gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
4654         num_pen_dashes to _GdkGCWin32
4655         * gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
4656         the guesses from dashes to windoze line styles.
4657         (predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
4658         Win9x, which does not support PS_USERSTYLE.
4659         * gdk/win32/gdkdrawable-win32.c : new functions render_line_
4660         <horizontal|vertical>. Use them if not running on NT in
4661         gdk_win32_draw_<rectangle|segments|lines> ()
4662
4663         * gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
4664         for keyval == 0 to avoid to have zeros in all menu entries 
4665         without accelerator.
4666
4667 2002-03-29  Jakub Steiner <jimmac@ximian.com>
4668
4669         * gtk/stock-icons/stock_add_24.png:
4670         * gtk/stock-icons/stock_add_16.png:
4671         * gtk/stock-icons/stock_remove_24.png:
4672         * gtk/stock-icons/stock_remove_16.png: use a simple '+' and '-',
4673           works better. the old box was too clumsy
4674
4675 Thu Mar 28 21:11:04 2002  Tim Janik  <timj@gtk.org>
4676
4677         * gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file
4678         names, alert the user with g_message() instead of g_warning() and
4679         put out the actual conversion error.
4680
4681 2002-03-28  Dave Camp  <dave@ximian.com>
4682
4683         * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
4684         the handler if the widget isn't realized.
4685
4686 2002-03-28  Jakub Steiner <jimmac@ximian.com>
4687
4688         * gtk/stock-icons/stock_font*:
4689         * gtk/stock-icons/stock_align*:
4690         * gtk/stock-icons/stock_text*: better solution to the dark theme
4691           problem. Also looks more pretty IMHO
4692
4693 2002-03-27  Matthias Clasen  <maclas@gmx.de>
4694
4695         * configure.in: Try to find libpng via pkg-config first,
4696         since libpng-1.2.2 will come with a .pc file.
4697
4698 Wed Mar 27 11:10:39 2002  Owen Taylor  <otaylor@redhat.com>
4699
4700         * gtk/gtknotebook.c (gtk_notebook_real_remove): Set
4701         page->last_focus_child to NULL as well as removing the
4702         weak reference, to deal with reentrancy in set_focus_child().
4703         (#76634, Dennis Björklund)
4704
4705 2002-03-27  Murray Cumming  <murrayc@usa.net>
4706  
4707         * gtk/gtktreeview.c: Corrected registered return type of
4708         "move-cursor" signal. Had to add a marshaller to 
4709         gtk/gtkmarshalers.list.
4710         
4711 Tue Mar 26 14:46:50 2002  Owen Taylor  <otaylor@redhat.com>
4712
4713         * gtk/gtkmenu.c (gtk_menu_popup): Shuffle the ordering around
4714         some more (position before realizing) fixing problems with 
4715         arrows popping up at the wrong time (#73386), hopefully not
4716         introducing other problems. (Reported by Ettore Perrazoli, others)
4717
4718 2002-03-26  Dave Camp  <dave@ximian.com>
4719
4720         * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
4721         after calling gtk_tree_view_row_activated() rather than before.
4722
4723 2002-03-25  Sven Neumann  <sven@gimp.org>
4724
4725         * gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
4726         font_description before assigning a new one.
4727         (gtk_rc_parse_stock): always unref the created icon_set. #76289
4728         
4729 2002-03-25  Mark McLoughlin  <mark@skynet.ie>
4730
4731         * gtk/gtkbindings.c: (gtk_binding_entry_add_signal),
4732         kill code duplicated in gtk_binding_entry_add_signall.
4733
4734 Sun Mar 24 10:32:38 2002  Jonathan Blandford  <jrb@redhat.com>
4735
4736         * gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
4737
4738         * gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
4739         a warning
4740
4741         * gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
4742         when we emit row_activated so that listeners of this signal can
4743         grab the mouse, #75629
4744
4745 2002-03-23  Havoc Pennington  <hp@pobox.com>
4746
4747         * gtk/gtktextlayout.c (gtk_text_layout_real_invalidate):
4748         invalidate the line containing start, even if the [start,end)
4749         range is empty (just invalidate [start,end], essentially).
4750         Partially fixes #72374
4751
4752 2002-03-23  Havoc Pennington  <hp@pobox.com>
4753
4754         * gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in
4755         progress, patch from db@zigo.dhs.org, #74620
4756
4757 2002-03-23  Havoc Pennington  <hp@pobox.com>
4758
4759         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend
4760         selection for pageup/pagedown and ctrl+pageup/pagedown if 
4761         shift is held. more of #53934
4762
4763 2002-03-23  Havoc Pennington  <hp@pobox.com>
4764
4765         * gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect 
4766         layout handlers earlier in the function, to avoid possible
4767         reentrancy screwups
4768         (gtk_text_view_invalidate): Don't install idle handlers if 
4769         layout == NULL, otherwise we get problems during finalization 
4770         since clearing the buffer invalidates and puts the idle handlers
4771         back after we destroy the layout. #74660
4772         (gtk_text_view_ensure_layout): Install the validation handlers
4773         right after creating the layout.
4774
4775         * gtk/gtktexttagtable.c (foreach_unref): call
4776         _gtk_text_buffer_notify_will_remove_tag(), #75126
4777
4778 2002-03-22  Havoc Pennington  <hp@pobox.com>
4779
4780         * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
4781         text to the error message about missing charsets, and use
4782         g_printerr() not g_warning() since this is typically not a
4783         programming error (we do not export any API to ask whether 
4784         a font set will have missing charsets so apps realistically can't 
4785         do anything other than try the gdk_fontset_load())
4786
4787         * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
4788         if the text view isn't editable and the user presses Return, 
4789         so default buttons and such can be activated, #74937
4790
4791         * gtk/gtktextbuffer.c (paste_from_buffer): don't insert 
4792         if the insertion point is not editable and the paste 
4793         is interactive, #74125
4794
4795         * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
4796         debug spew
4797
4798         * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous 
4799         cut/copied data right before replacing it, when we know we are
4800         going to replace it. Fixes #74049
4801
4802 2002-03-22  Richard Hult  <rhult@codefactory.se>
4803
4804         * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
4805         value was assigned to both x and y.
4806
4807 Fri Mar 22 11:29:11 2002  Owen Taylor  <otaylor@redhat.com>
4808
4809         Partial fix for problem where keypad keys acted
4810         as shift-arrows in an entry rather than arrows (#74327)
4811
4812         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
4813         results by number of modifiers in the entry. Fixes
4814         problem where if a key matched both modified and unmodified
4815         key bindings ... e.g., the distinguishing key binding
4816         was consumed, then it was random which was used. 
4817
4818         * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns): 
4819         Catch the case where there are multiple entries from the
4820         same bindingset (with different modifiers), and use only
4821         the first entry, which, with the change in _gtk_key_hash_lookup()
4822         will be the preferred value.
4823
4824 Fri Mar 22 10:56:19 2002  Owen Taylor  <otaylor@redhat.com>
4825
4826         * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
4827         leak. (#74400, Morten Welinder.)
4828
4829         * gtk/gtkaccelmap.c: Properly handle short returns from
4830         write() calls. (Handling EINTR isn't enough... that only
4831         handles the case where you were interrupted before you
4832         wrote a single byte.)
4833         
4834         * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
4835         Robustify against short returns from write() calls.
4836
4837 Fri Mar 22 10:12:10 2002  Owen Taylor  <otaylor@redhat.com>
4838
4839         * gtk/gtktextview.c (gtk_text_view_paint): Change
4840         G_BREAKPOINT() to g_assert_not_reached ().
4841         (#75865, Ashok Venkiteswaran)
4842         
4843 2002-03-22  Tor Lillqvist  <tml@iki.fi>
4844
4845         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
4846         all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
4847         but that is just the special case of one-pixel wide one-pixel
4848         on-off dotted lines. To fully implement generic X11 style dashed
4849         lines a major rewrite would be needed.
4850
4851 2002-03-21  Matthias Clasen  <maclas@gmx.de>
4852
4853         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
4854         fix. (Vitaly Tishkov, #75726)
4855
4856 Thu Mar 21 10:04:05 2002  Owen Taylor  <otaylor@redhat.com>
4857
4858         * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
4859         some left over debugging code with a G_BREAKPOINT()
4860         in it.
4861
4862 Wed Mar 20 19:33:31 2002  Owen Taylor  <otaylor@redhat.com>
4863
4864         * gtk/gtkcalendar.c (gtk_calendar_main_button): When
4865         changing months when the user clicks on a prev-month
4866         or next-month day, focus and select the new day.
4867         Ignore double clicks on prev-month, next-month days.
4868         (Based on suggestions from Andras Salamon, #74173)
4869
4870         * gtk/gtkcalendar.c: Implement the focused/unfocused
4871         selected color change.
4872
4873 2002-03-20  Alex Larsson  <alexl@redhat.com>
4874
4875         Patches from Carlo E. Prelz <fluido@fluido.as>
4876         Now gtkfb at least compiles and mostly works. The keyboard
4877         stuff needs more loving.
4878         
4879         * gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval,
4880         xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode):
4881         At least set the out parameters for these calls.
4882
4883         * gdk/linux-fb/gdkmain-fb.c:
4884         (gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
4885         Implement new functions.
4886         
4887 Wed Mar 20 19:00:03 2002  Owen Taylor  <otaylor@redhat.com>
4888
4889         * gtk/gtkentry.c (gtk_entry_set_text): Short-circuit
4890         the text to the exact same thing, so we don't 
4891         unexpectedly change the selection or cursor position.
4892         (#74290, John Ellis.)
4893
4894 Thu Mar 21 00:05:14 2002  Kristian Rietveld  <kris@gtk.org>
4895
4896         * gtk/gtktreeview.c (gtk_tree_view_get_background_area),
4897         (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
4898
4899 Wed Mar 20 17:11:51 2002  Owen Taylor  <otaylor@redhat.com>
4900
4901         * gtk/gtkrc.c: Patch from Richard Hestilow to fix
4902         gtk-font-name changes for widgets that get the actual
4903         default style. (#73709)
4904
4905 Wed Mar 20 22:59:23 2002  Kristian Rietveld  <kris@gtk.org>
4906
4907         * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
4908
4909         * gtk/gtktreeprivate.h: add fixed_height_check field
4910
4911         * gtk/gtktreeview.c (gtk_tree_view_init): initialize
4912         scroll_sync_timer and fixed_height_check
4913         (do_validate_rows): add fixed_height_check. If all validated rows
4914         in the first cycle have the same height, then we set that height for
4915         the entire tree. This is some sort of 'fake' optimization, but helps
4916         a lot for the common case. We keep validating the entire tree in
4917         the background though.
4918         (gtk_tree_view_set_model): reset fixed_height_check
4919
4920 Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
4921
4922         * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
4923         a lot of warnings with Forte CC, mostly implicit
4924         casts between void * and function pointers.
4925         
4926         * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
4927         state field is not a GdkModifierType. (Also #73900)
4928
4929 Wed Mar 20 12:35:22 2002  Owen Taylor  <otaylor@redhat.com>
4930
4931         * gtk/gtkwidget.c (gtk_widget_grab_default): Remove
4932         leftover notification of has-default. (#75508, Jacob
4933         Berkman.)
4934
4935 Wed Mar 20 12:27:07 2002  Owen Taylor  <otaylor@redhat.com>
4936
4937         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
4938         arrow keys as accelerators, as long as some modifier
4939         is pressed. (#75495)
4940
4941         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
4942         incorrect example in the docs.
4943
4944 Wed Mar 20 12:06:30 2002  Owen Taylor  <otaylor@redhat.com>
4945
4946         * gtk/gtkwidget.c (gtk_widget_set_child_visible):
4947         Fix segfault when widget->parent is NULL. 
4948         (#75615, Alexey A. Malyshev) 
4949
4950 Wed Mar 20 11:32:07 2002  Owen Taylor  <otaylor@redhat.com>
4951
4952         * gtk/gtkentry.c: Improve test to prevent infinite
4953         loop. (#74952, Thomas Leonard)
4954
4955         * gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus):
4956         Fix warning when toplevel menu shell isn't a menu
4957         bar. (Thomas Leonard, #75602)
4958
4959 Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>
4960
4961         * configure.in: Use $PKG_CONFIG, not pkg-config.
4962         (LEE Sau Dan, #75572)
4963
4964 Wed Mar 20 10:55:56 2002  Owen Taylor  <otaylor@redhat.com>
4965
4966         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
4967         of time in scroll events. (Sven Neumann, #75574)
4968
4969 2002-03-20  Tor Lillqvist  <tml@iki.fi>
4970
4971         * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
4972         gdk_window_get_toplevel(), as it is the top-level windows that are
4973         registered for DND.
4974
4975         * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
4976
4977 2002-03-19  jacob berkman  <jacob@ximian.com>
4978
4979         * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
4980         gtk_combo_func() returns NULL (bug #75464)
4981
4982 2002-03-18  jacob berkman  <jacob@ximian.com>
4983
4984         * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
4985         correct min/max values for the ratio property (fixes #75331)
4986
4987 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
4988
4989         * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
4990         Patch from Yao Zhang fixing reference count leak.
4991
4992         * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
4993         not if (!entry->editable).
4994
4995 Mon Mar 18 11:09:17 2002  Owen Taylor  <otaylor@redhat.com>
4996
4997         * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect): 
4998         Fix backwards conditional. (#75019, Dan Winship.)
4999
5000 Sun Mar 17 01:11:16 2002  Kristian Rietveld  <kris@gtk.org>
5001
5002         * gtk/gtktreeview.c (gtk_tree_view_size_request): use
5003         do_validate_rows instead of validate_rows_handler (fix by
5004         Mike Pieper, #74126)
5005
5006 Sat Mar 16 23:54:56 2002  Kristian Rietveld  <kris@gtk.org>
5007
5008         * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
5009         return when we have an input_only window (fix by Owen Taylor)
5010
5011         * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
5012         scroll_sync_timer
5013
5014         * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
5015         (scroll_sync_handler): ditto,
5016         (gtk_tree_view_unrealize): take scroll_sync_timer into account
5017         (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
5018         calling top_row_to_dy/dy_to_top_row directly
5019         -- this greatly speeds up clearing the model (#73199)
5020
5021         * gtk/gtktreemodelsort.c
5022         (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
5023         for some reason I really screwed it up (fixes #74663)
5024
5025 2002-03-16  Sven Neumann  <sven@gimp.org>
5026
5027         * configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS) 
5028         (GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0
5029         so that the libs work correctly in a threaded environment.
5030
5031 Fri Mar 15 12:51:42 2002  Jonathan Blandford  <jrb@redhat.com>
5032
5033         * gtk/gtktreeviewcolumn.c
5034         (gtk_tree_view_column_new_with_attributes): add example to docs,
5035         as people are seeming to have trouble with this function.
5036
5037 2002-03-15  Tor Lillqvist  <tml@iki.fi>
5038
5039         * configure.in: Set MATH_LIB to empty also on Win32.
5040
5041 Fri Mar 15 15:37:01 2002  Owen Taylor  <otaylor@redhat.com>
5042
5043         * gdk/x11/gdkdrawable-x11.c (convert_to_format): 
5044         Fix byte shift arithmetic for big-endian. (Tracked
5045         down with help from Tuomas Kuosmanen)
5046
5047 Fri Mar 15 11:28:41 2002  Jonathan Blandford  <jrb@redhat.com>
5048
5049         * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
5050         make args const, 74159
5051         (gtk_tree_view_insert_column_with_attributes): ditto
5052
5053         * gtk/gtktreeviewcolumn.c
5054         (gtk_tree_view_column_cell_process_action): remov unused variables.
5055
5056 Fri Mar 15 13:31:51 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
5057
5058         * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
5059         submenu".
5060
5061 2002-03-15 Padraig O'Briain <padraig.obriain@sun.com>
5062
5063         * gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower
5064         upper case variants if there is only a single keysym per keycode and
5065         the key symbol has upper and lower case variants (#74512)
5066
5067 Thu Mar 14 17:09:52 2002  Owen Taylor  <otaylor@redhat.com>
5068
5069         * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
5070         improbable reentrancy problem if a window is destroyed
5071         while updates are being processed on another window. (Noticed
5072         by Michael Meeks, #74708)
5073
5074 2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
5075
5076         * gtk/gtktreemodelsort.c
5077         typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
5078
5079
5080 Thu Mar 14 11:17:18 2002  Owen Taylor  <otaylor@redhat.com>
5081
5082         * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When
5083         removing keys from the key hash, reinsert the right list
5084         back into the hash. (Dave Camp, #74571)
5085
5086 Wed Mar 13 17:17:40 2002  Owen Taylor  <otaylor@redhat.com>
5087
5088         * gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED
5089         macro that was defined in terms of the now-gone GTK_CONNECTED
5090         flag. (Seth Burgess, #74028)
5091
5092 Wed Mar 13 17:11:10 2002  Owen Taylor  <otaylor@redhat.com>
5093
5094         * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset 
5095         the acceleratable_groups qdata because qdata isn't removed
5096         on ->dispose but rather on ->finalize. (#74569, found
5097         by Matt Wilson.)
5098
5099 Tue Mar 12 23:14:23 2002  Jonathan Blandford  <jrb@redhat.com>
5100
5101         * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
5102         cut-n-paste bug.
5103
5104 Sat Mar  9 18:23:25 2002  Richard Hestilow  <hestilow@ximian.com>
5105
5106         * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
5107         filenames.
5108         
5109 Tue Mar 12 10:50:09 2002  Owen Taylor  <otaylor@redhat.com>
5110
5111         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
5112         Fix incorrect return value, filter out returns of 0x7f for
5113         the delete key. (#74179, Kang Jeong-He)
5114
5115 Mon Mar 11 23:42:11 2002  Jonathan Blandford  <jrb@redhat.com>
5116
5117         * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
5118         foreach function.
5119
5120 2002-03-11  Matthias Clasen  <maclas@gmx.de>
5121
5122         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
5123         gtk_{menu_item,widget}_set_accel_path() as the recommended API.  
5124         (#69244)
5125
5126 2002-03-11  James Henstridge  <james@daa.com.au>
5127
5128         * configure.in: set CCAS and CCASFLAGS to get automake 1.6
5129         compatibility without breaking things for people using 1.4.
5130
5131 Sun Mar 10 21:04:30 2002  Jonathan Blandford  <jrb@redhat.com>
5132
5133         * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
5134         right behavior.
5135
5136 Mon Mar 11 01:25:14 2002  Kristian Rietveld  <kris@gtk.org>
5137
5138         * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
5139         cursor path and not with the selected iter in the 'decide to edit'
5140         check
5141