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