]> Pileus Git - ~andy/gtk/blob - ChangeLog
Make GDK+ compile with X11R5 (#148032)
[~andy/gtk] / ChangeLog
1 2004-11-12  Matthias Clasen  <mclasen@redhat.com>
2
3         Make GDK+ compile with X11R5 (#148032)
4         
5         * gdk/x11/xsettings-client.c (xsettings_client_new): 
6         * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only
7         use XInternAtoms if it is available.
8
9         * gdk/x11/gdkasync.c: Include XIproto.h if necessary.
10
11         * configure.in: Check for XInternAtoms and X headers needed for
12         xReply.
13         
14         * configure.in: Bump version.
15
16         * === Released 2.5.5 ===
17         
18         * gtk/gtkwindow.c (gtk_window_activate_key_after): Add parentheses 
19         around comparison in operand of &.
20
21         * gtk/gtkcalendar.c: Replace a non-ASCII character in a comment.
22
23 2004-11-12  Matthias Clasen  <mclasen@redhat.com>
24
25         * tests/Makefile.am (pixbuf_threads_LDADD): Make pixbuf-threads
26         link.
27
28         * NEWS: Updates
29
30 2004-11-12  Matthias Clasen  <mclasen@redhat.com>
31
32         * tests/Makefile.am: Add pixbuf-threads
33
34         * tests/pixbuf-threads.c: Test loading images in multiple
35         threads.
36
37 2004-11-11  Matthias Clasen  <mclasen@redhat.com>
38
39         * configure.in: Check for uxtheme.h  (#157967, J. Ali Harlow)
40
41         * modules/engines/ms-windows/xp_theme.c: Use HAVE_UXTHEME_H
42         to protect the #include <uxtheme.h> 
43
44         * docs/tools/Makefile.am: Don't try to build doc-shooter on 
45         Windows.  (#157979, J. Ali Harlow) 
46
47         * gtk/gtkfilefilter.c: Don't try to use xdgmime on 
48         Windows where we don't build it.   (#157944, J. Ali Harlow)
49
50         * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Also
51         reserve space for the resize grip if the grip_window is not
52         realized yet.  (#158010, Christian Persch)
53         (gtk_statusbar_button_press): Only start a resize if the
54         button press comes from the grip_window.  (#158011, Christian Persch)
55
56 2004-11-11  Tor Lillqvist  <tml@iki.fi>
57
58         Fix for #137551, by Robert Ögren:
59
60         * gdk/win32/gdkevents-win32.c (generate_focus_event): New function.
61
62         (gdk_keyboard_grab, gdk_keyboard_ungrab): Generate focus change
63         events.
64         
65         (gdk_event_translate): Check for keyboard grabs and not pointer
66         grabs when handling WM_{SET,KILL}FOCUS. Use generate_focus_event().
67
68 2004-11-11  Matthias Clasen  <mclasen@redhat.com>
69
70         * gtk/gtkuimanager.c (update_node): Remove two more places
71         where we were unconditionally setting "visible", causing
72         unnecessary notifications.
73         (update_node): Fix some C99isms.
74
75         * gtk/gtkclipboard.c (gtk_clipboard_get_for_display): 
76         (gtk_clipboard_get): Clarify the docs.  (#156638, Torsten 
77         Schoenfeld)
78         (gtk_clipboard_finalize): Warn if the clipboard is still in
79         its displays clipboard list.
80
81         Considerably speed up GtkUIManager, by changing the semantics
82         of the dirty flag. It is now propagated up the tree, and
83         update_node() doesn't descend into clean subtrees.  (#143668,
84         Dave Neary, Michael Natterer, Sven Neumann, fix proposed
85         by Soeren Sandmann)
86         
87         * gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend 
88         a new node reference if the merge_id is different. Take a GNode,
89         so we can walk up the tree, adjust all callers. 
90         (node_remove_ui_reference): Only mark a node dirty if the first 
91         ui reference is removed. Take a GNode here as well for 
92         consistency. 
93         (update_node): Don't descend into clean subtrees.
94         (mark_node_dirty): New function to mark a node and its 
95         predecessors dirty.
96
97 Thu Nov 11 11:34:32 2004  Jonathan Blandford  <jrb@redhat.com>
98
99         * gtk/gtkfilechooserbutton.c (update_idler): return FALSE instead
100         of TRUE.  This is just a quick fix to prevent the idle from
101         looping indefinitely.
102
103 2004-11-11  J. Ali Harlow  <ali@juiblex.co.uk>
104
105         * gdk/Makefile.am:
106         * gdk-pixbuf/Makefile.am:
107         * gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t'
108         escape sequence. (#157949)
109
110 2004-11-10  Tor Lillqvist  <tml@iki.fi>
111
112         * gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick): 
113         Event timestamps don't have to be unique. As long as they are
114         nondecreasing we should be fine. Solves problems with for instance
115         long menus not staying up on first click. (#152035, Robert Ögren)
116
117 2004-11-10  Matthias Clasen  <mclasen@redhat.com>
118
119         * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only
120         shorten the label if it actually overlaps the resize grip.
121         (gtk_statusbar_size_allocate): Handle extra children
122         by leaving room for the resize grip.  (#157778, Christian Persch)
123
124         * gdk/linux-fb/*: Fix many sparse warnings.  (#157253,
125         Kjartan Maraas).
126         
127         * NEWS: Updates
128
129 2004-11-09  Matthias Clasen  <mclasen@redhat.com>
130
131         * gtk/gtkrange.c (gtk_range_real_change_value): Make 
132         power a double.
133         (gtk_range_class_init): s/digits/decimal digits/ in doc 
134         comment.
135
136         * gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
137         printfs. 
138
139         * gtk/gtkicontheme.[ch]: Improve the docs.  (#157785,
140         Torsten Schoenfeld)
141
142         * gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry): Add
143         a hint about using gdk_drawable_get_size() instead.
144
145         * gtk/gtk.symbols: Add new symbols.
146
147         * gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Make
148         it work with *big* icon views.  (#154466)
149
150         * tests/testiconview.c: Add a real "Add many" button.
151
152         * gtk/gtkaction.[hc]: 
153         * gtk/gtkactiongroup.[hc]: Make return types G_CONST_RETURN
154         instead of const.
155
156         * gtk/gtk.symbols: 
157         * gtk/gtkaction.h: 
158         * gtk/gtkaction.c (gtk_action_get_accel_path): Add
159         a function to obtain the accel path of an action. (#148106,
160         Michael Natterer)
161
162         * tests/testiconview.c: Fix double-click activation.
163
164         * gtk/gtkstatusbar.c (gtk_statusbar_init): Raise the grip
165         window when appropriate.
166         (gtk_statusbar_init): Instead of cutting the text off, make
167         ellipsize the label.
168         (gtk_statusbar_size_allocate): Don't let the label extend
169         under the resize grip.
170
171         * gtk/gtkcombobox.c (find_menu_by_path) 
172         (gtk_combo_box_menu_fill_level, gtk_combo_box_menu_row_inserted): 
173         Use a row reference, not a path, to associate separators
174         with their tree row.  
175         
176         * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): 
177         Show the grip_window if necessary.  
178
179         * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only
180         clear the triangle below the grip to the background,
181         not the full area. 
182
183         * gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose): 
184         Clip when drawing the cursor. This prevents bits of a
185         selectable label leaking out from underneath the resize
186         grip in a statusbar.  (#73359)
187
188         * gtk/gtkstatusbar.c: Apply a patch by Owen Taylor to
189         get reasonable allocations for the statusbar and its
190         children.  (#73359)
191
192         * tests/testgtk.c: Apply a patch by Soeren Sandmann to 
193         test long statusbar texts.
194
195         * gtk/gtk.symbols: Add new symbols.
196
197         Avoid resizing GtkStatusbar if the text of the label 
198         changes  (#90955, He Qiangqiang, fix proposed by 
199         Owen Taylor, patch by Christian Persch)
200         
201         * gtk/gtklabel.[hc]: Add a boolean single-line-mode property 
202         which causes the label height not to depend on the actual
203         text, but only on the font.
204
205         * gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on
206         single-line-mode for the label.
207
208 2004-11-08  Matthias Clasen  <mclasen@redhat.com>
209
210         * gtk/gtkfilefilter.c (gtk_file_filter_filter): Use 
211         xdg_mime_mime_type_subclass() to match mime types. This
212         also gives use wildcard matching. (#143760, #141224, 
213         Tommi Komulainen, David A Knight)
214
215         * gtk/gtkaction.c (_gtk_action_sync_menu_visible): Use 
216         gtk_widget_{hide,show} instead of g_object_set (..."visible"...).
217
218         * tests/testfilechooserbutton.c (main): Disable the SAVE 
219         and CREATE_FOLDER modes.  (#157675, Christian Persch)
220
221         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
222         website button if the url is unset.  (#157630, John Finlay)
223
224         * gtk/gtkaboutdialog.[hc]: Change the return types of the 
225         gchar ** getters to be more const correct.  (#157566, Mariano 
226         Suárez-Alvarez)
227
228         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_init): Add
229         uri targets before text targets, to make file dnd work 
230         better.  (#157651, Christian Persch)
231
232         * gtk/gtktreedatalist.c: Support columns whose declared type is
233         an interface better, by treating them like G_TYPE_OBJECT if
234         the interface types requires G_TYPE_OBJECT.
235
236 2004-11-08  Bastien Nocera  <hadess@hadess.net>
237
238         * gtk/stock-icons/stock_media_play_rtl_16.png:
239         * gtk/stock-icons/stock_media_play_rtl_24.png: add the icons again
240         with the binary flag (Closes: #157665)
241
242 2004-11-07  Matthias Clasen  <mclasen@redhat.com>
243
244         * gtk/gtkfilefilter.h:
245         * gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats): 
246         New convenience function to add a filter for image files
247         which can be loaded by GdkPixbuf. (#145388, Anders Carlsson)
248
249         * tests/testfilechooser.c: Test the image filter.
250         
251         * gtk/gtkmenu.c (menu_change_screen): Remove some warnings.
252
253         Show files in folder modes. (#157013, Nickolay V. Shmyrev)
254         
255         * gtk/gtkfilechooserdefault.c (create_file_list): Use a selection
256         function to determine which rows can be selected.
257         (update_appearance): Always show files. Also queue a redraw.
258         (set_list_model): Always show files.
259         (list_select_func): The selection function used for the file list.
260         Don't allow to select files when in select/create folder mode.
261         (list_row_activated): Don't activate files in folder modes.
262         (list_icon_data_func, list_mtime_data_func, list_size_data_func): 
263         Render files insensitive in folder modes.
264
265 2004-11-06  Matthias Clasen  <mclasen@redhat.com>
266
267         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): 
268         Don't support CREATE_FOLDER and SAVE for now. UI authorities
269         object to it.  (#157384, Seth Nickell)
270
271         * gtk/gtkfilechooserdefault.c (file_pane_create): Jump through
272         a few hoops to make the tooltip on the filter combo box work
273         a bit better. This fixes #157273 and #157074.
274
275         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): 
276         Add the ComboCellInfo to the list.  (#157528, Carlos Garnacho
277         Parro)
278
279 2004-11-05  Matthias Clasen  <mclasen@redhat.com>
280
281         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_state_changed):
282         Remove this unneeded function, as it breaks state propagation.
283
284         * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate): 
285         Queue the resize before setting the tearoff state, to 
286         make sure the torn-off menu picks up the size increase due
287         to the arrow in the torn off menu item.  (#157286, Adam
288         Hooper, fix proposed by Owen Taylor)
289
290         * gtk/gtkmenu.c (menu_change_screen): Don't unnecessarily
291         call gtk_menu_position(), since that function has issues
292         when called on a menu whose parent is unrealized.  (#157354,
293         Adam Hooper)
294
295         * gtk/gtkmain.c: Document new functions.
296
297 2004-11-04  Matthias Clasen  <mclasen@redhat.com>
298
299         * gtk/stock-icons/Makefile.am: Typo fix.
300
301         * gtk/gtkaboutdialog.c: Documentation updates.
302
303 2004-11-04  Bastien Nocera  <hadess@hadess.net>
304
305         * gtk/gtkiconfactory.c: (get_default_icons): Make sure the RTL
306         variants are used for media icons
307         * gtk/stock-icons/Makefile.am: update following the addition of
308         the 2 Play icon RTL variants
309         * gtk/stock-icons/stock_media_play_rtl_16.png: added
310         * gtk/stock-icons/stock_media_play_rtl_24.png: added
311
312 2004-11-03  Matthias Clasen  <mclasen@redhat.com>
313
314         * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): 
315         Don't leak the path.  (#157301, Carlos Garnacho Parro)
316
317         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the 
318         case that the protocol version in the context is not 
319         set yet.  (#157123, James Henstridge)
320
321         * gtk/gtktreeview.c (gtk_tree_view_search_activate): Don't
322         try to activate a node if the cursor is not valid.  
323
324 2004-11-03  James M. Cape  <jcape@ignore-your.tv>
325
326         * gtk/gtkfilechooserbutton.c (update_dialog), (dialog_response_cb):
327         Don't mysteriously go to the parent dir when hitting "Cancel" in
328         folder mode (fixes #156971).
329
330 2004-11-03  Matthias Clasen  <mclasen@redhat.com>
331
332         * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Don't
333         access label->layout directly.  (#157080, Adam Hooper)
334
335         * gtk/gtklabel.c (gtk_label_set_pattern_internal): Allow
336         unsetting a pattern by passing NULL.  (#156720, Tristan Van Berkom)
337
338         * gtk/gtkcombobox.c (gtk_combo_box_get_active): Don't crash 
339         if the active_row reference has become invalid.  (#157156,
340         Christophe Fergeau)
341         
342 2004-11-02  Matthias Clasen  <mclasen@redhat.com>
343
344         * gtk/gtkwindow.c (gtk_window_activate_key_after): As
345         a last stage in GtkWindow key press handing, try adding
346         window->mnemonic_modifier to event->state and see if it
347         matches a mnemonic. (#53709, based on a patch by
348         Pasupathi Duraisamy, patch by Owen Taylor)
349
350         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): 
351         Doc additions.
352
353         * gtk/gtkfilechooserbutton.h: Fix trigraphs in private markers.
354
355         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init): 
356         Fix a doc comment.
357
358 2004-11-01  Matthias Clasen  <mclasen@redhat.com>
359
360         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
361         Remove a debug printf().  (#157087, Christian Persch)
362
363         * gtk/gtkicontheme.c: Actually commit the "stat less" patch
364         which appeared in the ChangeLog a few days ago.
365
366         * gtk/gtkfilechooserbutton.c: Move some docs inline.
367
368         * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update.
369
370         * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the
371         iter.  (#156924, Murray Cumming)
372
373         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on
374         broken ClientMessage events.  (#157056, Owen Taylor)
375
376         * gtk/gtkactiongroup.c (gtk_action_group_get_visible): Fix a typo in
377         the docs.  (#157044, Masao Mutoh)
378
379 2004-10-31  Matthias Clasen  <mclasen@redhat.com>
380
381         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Update the
382         state of the cell view when the state of the button changes (to 
383         get prelighted drawing right).  (#138650, Frances Keenan, 
384         Christian Persch)
385
386         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
387         Don't force the height of the action area, we don't scroll 
388         it anyway, and the current way of calculating the height can lead
389         to broken display.  (#156573, Christian Persch)
390
391         * tests/testentrycompletion.c (animation_timer): Don't try to
392         remove stuff from an empty model.  (#156575, Christian Persch)
393
394         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
395         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): 
396         Update doc comments.
397
398 2004-10-31  Tor Lillqvist  <tml@iki.fi>
399
400         * gdk/win32/gdkprivate-win32.h
401         * gdk/win32/gdkglobals-win32.c
402         * gdk/win32/gdkmain-win32.c: Remove _windows_version and the
403         IS_WIN_NT() macro.
404
405         * gdk/win32/*.c: Use G_WIN32_IS_NT_BASED() from GLib instead.
406
407 2004-10-31  Matthias Clasen  <mclasen@redhat.com>
408
409         Add api for image transfer via copy-and-paste (#156408)
410         
411         * gtk/gtkclipboard.c (gtk_clipboard_set_image) 
412         (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) 
413         (gtk_clipboard_wait_is_image_available): New functions for image
414         transfer.
415
416         * gtk/gtkselection.h:
417         * gtk/gtkselection.c (gtk_selection_data_targets_include_image): 
418         New function, similar to gtk_selection_data_targets_include_text().
419
420         * gtk/gtkprogressbar.[hc]: Add an ellipsize property with 
421         getter and setter.  (#156845, Morten Welinder)
422
423 2004-10-29  Robert Ögren  <gtk@roboros.com>
424
425         * gdk/win32/gdkwindow-win32.c (gdk_window_begin_resize_drag),
426         (gdk_window_begin_move_drag): Implement these on win32, currently
427         only for button 1. Fixes the resize grip of GtkStatusbar on 
428         win32. (#143285)
429
430 2004-10-30  Matthias Clasen  <mclasen@redhat.com>
431
432         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): Redisplay
433         the new selection.
434
435         * gtk/gtktextview.c (gtk_text_view_select_all): Use 
436         gtk_text_buffer_select_range().
437
438         * tests/testtext.c: Add a "Select All" menuitem.  (#156792,
439         Paolo Borelli)
440
441         * gtk/gtkicontheme.c (insert_theme): Sort the dir_mtimes 
442         list in the same way as the search path.
443         (theme_subdir_load): Avoid stat()ing subdirs if the theme 
444         directory doesn't exist.  (#156866)
445
446 2004-10-29  Matthias Clasen  <mclasen@redhat.com>
447
448         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize): 
449         Drop the reference to the pixbuf, regardless whether it is
450         a stock pixbuf.  (#156863, Philip Langdale)
451
452 2004-10-29  Hans Breuer  <hans@breuer.org>
453
454         * gdk/makefile.msc gtk/makefile.msc.in : updated
455
456         * gdk/win32/gdkdisplay-win32.c : dummy implementations for
457         gdk_display_supports_clipboard_persistence, gdk_display_store_clipboard
458
459         * gtk/gtkmodules.c : #include "gtkprivate.h" for GTK_LIBDIR
460
461 2004-10-29  Matthias Clasen  <mclasen@redhat.com>
462
463         * gtk/gtkclipboard.c (gtk_clipboard_set_text): Don't hardwire
464         the supported text targets here, use 
465         gtk_target_list_add_text_targets().  (#156404)
466
467         * gtk/gtkliststore.c (gtk_list_store_reorder): Don't
468         loop over the sentinel node.  (#156298, Torsten Schoenfeld)
469
470 2004-10-28  Matthias Clasen  <mclasen@redhat.com>
471
472         * gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use
473         g_signal_connect_object() to prevent premature finalization
474         of the cell_editable while the key_press_event signal is
475         handled.  (#156325, Olivier Andrieu)
476
477         * *: Clean up many sparse warnings.  (#156698, Kjartan Maraas)
478         
479         * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect
480         from the remove-widget signal after removing the signal.
481
482         * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy
483         the dialog with the parent.  (#156557, Paolo Borelli)
484
485 2004-10-27  Matthias Clasen  <mclasen@redhat.com>
486
487         * Bump version
488
489         * === Released 2.5.4 ===
490
491         * Makefile.am (EXTRA_DIST): Remove po/makefile.mingw
492
493 2004-10-28  Anders Carlsson  <andersca@gnome.org>
494
495         * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store):
496         * gtk/gtkclipboard.h:
497         Make targets const.
498
499 2004-10-27  Matthias Clasen  <mclasen@redhat.com>
500
501         * gtk/Makefile.am (gtkalias.h): 
502         * gdk/Makefile.am (gdkalias.h): Fix srcdir != builddir build.
503         (#156547, Thomas Fitzsimmons)
504         
505         * NEWS: Updates.
506
507         * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently
508         ignore non-CLIPBOARD clipboards.  (#156610, Christian Persch)
509
510         * gtk/gtksettings.c: Make it build on windows. (#156618,
511         Kazuki IWAMOTO)
512
513 2004-10-26  Matthias Clasen  <mclasen@redhat.com>
514
515         * gtk/gtkimcontextsimple.c (check_hex): Stop preediting if strtoul 
516         couldn't parse the complete preedit string.  (#156434)
517
518         * gtk/gtkmessagedialog.c: 
519         * gtk/gtkfilechooserbutton.c: Add missing includes.  (#156503, 
520         Kazuki IWAMOTO)
521
522         * gtk/gtkimage.h: 
523         * gtk/gtkimage.c (gtk_image_get_icon_name): Make the icon_name 
524         parameter G_CONST_RETURN.
525         
526         * gtk/gtkimage.c: It is enough to listen for screen changes and 
527         style-set to catch all icon theme changes.
528         (gtk_image_set_property): Reset the image size if the pixel size 
529         property is changed.
530
531         * gtk/gtk.symbols: Add new symbols.
532
533         * gdk/x11/gdkdisplay-x11.c (gdk_display_store_clipboard): Fix the 
534         doc comment.
535
536 2004-10-26  Anders Carlsson  <andersca@imendio.com>
537
538         * gtk/gtktextbuffer.c: (gtk_text_buffer_finalize),
539         (create_clipboard_contents_buffer), (clipboard_get_contents_cb),
540         (clipboard_clear_contents_cb), (cut_or_copy):
541         Rewrite clipboard handling so that the clipboard contents 
542         won't be freed when the text buffer is finalized. Also add 
543         clipboard manager support. Fixes #95496.
544
545 2004-10-25  Anders Carlsson  <andersca@gnome.org>
546
547         * gtk/gtkentry.c: (gtk_entry_completion_timeout):
548         * gtk/gtkentrycompletion.c: (gtk_entry_completion_set_model),
549         (gtk_entry_completion_get_model), (gtk_entry_completion_complete):
550         Really handle a NULL model, fixes #137211 for real.
551
552         * gtk/gtkfilechooserentry.c:
553         (gtk_file_chooser_entry_maybe_update_directory):
554         Remove _clear, #137211 is fixed.
555
556         * tests/testentrycompletion.c: (main):
557         Add completion with an empty model.
558         
559 2004-10-25  Carlos Garnacho Parro  <carlosg@gnome.org>
560
561         Fix for #118764, David Bordoley:
562         
563         * gtk/gtkmessagedialog.[ch]
564         (gtk_message_dialog_format_secondary_text),
565         (gtk_message_dialog_format_secondary_format): API additions to
566         create HIG-like dialogs
567
568         * demos/gtk-demo/dialog.c: Use the new API in the example
569
570         * docs/reference/gtk/gtk-sections.txt:
571         * docs/reference/gtk/tmpl/gtkmessagedialog.sgml: documented API
572         additions
573
574 2004-10-25  James M. Cape  <jcape@ignore-your.tv>
575
576         Rework of GtkFileChooserButton, some cleanups. Fixes #154388,
577         #154390, #154390, #156272.
578
579         * docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton
580         below GtkFileChooser.
581         * docs/reference/gtk/gtk-sections.txt: Added
582         gtk_file_chooser_button_get_width_chars(),
583         gtk_file_chooser_button_set_width_chars(),
584         gtk_label_set_width_chars(), gtk_label_get_width_chars().
585         * docs/reference/gtk/gtk.types: Added
586         gtk_cell_renderer_combo_get_type,
587         gtk_cell_view_get_type,
588         gtk_text_iter_get_type.
589         * docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add
590         "logo-icon-name" property.
591         * docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for properties
592         (b/c of get_type() inclusion above).
593         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
594         * docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars" property,
595         getters/setters.
596         * docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added.
597         * gtk/gtkentrycompletion.c:
598         (_gtk_entry_completion_popdown): Don't show if the entry isn't
599         mapped.
600         * gtk/gtkfilechooserbutton.[c,h]: (*): About 45%
601         rewritten, adds "width-chars" property, icons, working save modes,
602         volume/Home/Desktop friendly-naming support.
603         * gtk/gtklabel.[c,h]:
604         (gtk_label_class_init), (gtk_label_init),
605         (gtk_label_get_property), (gtk_label_set_property),
606         (gtk_label_get_width_chars), (gtk_label_set_width_chars),
607         (gtk_label_size_request): Add "width-chars" property.
608         * tests/testfilechooserbutton.c: Update, use 4 different buttons for
609         the different ACTIONs.
610         * gtk/.cvsignore: Ignore gtk-update-icon-cache.
611         * tests/.cvsignore: Ignore testimage.
612
613 2004-10-25  Matthias Clasen  <mclasen@redhat.com>
614
615         * gtk/gtkcellrenderercombo.c (find_text): Don't leak text. (#156325,
616         Olivier Andrieu)
617
618 2004-10-25  Anders Carlsson  <andersca@imendio.com>
619
620         * gdk/gdk.symbols: 
621         * gdk/gdkdisplay.h:
622         * gdk/x11/gdkdisplay-x11.c:
623         (gdk_display_supports_clipboard_persistence), 
624         (gdk_display_store_clipboard):
625         New API to handle the clipboard manager.
626
627         * gtk/gtk.symbols:
628         * gtk/gtkclipboard.c: (gtk_clipboard_class_init),
629         (gtk_clipboard_finalize), (selection_clear_event_cb),
630         (clipboard_unset), (gtk_clipboard_set_text),
631         (gtk_clipboard_request_targets), (gtk_clipboard_wait_for_targets),
632         (clipboard_peek), (gtk_clipboard_owner_change),
633         (gtk_clipboard_wait_is_target_available),
634         (gtk_clipboard_store_timeout), (gtk_clipboard_set_can_store),
635         (gtk_clipboard_selection_notify), (gtk_clipboard_store),
636         (_gtk_clipboard_store_all):
637         * gtk/gtkclipboard.h:
638         Add API for clipboard persistence and implement it, also add
639         gtk_clipboard_wait_is_target_available.
640         
641         * gtk/gtkmain.c: (gtk_main):
642         Call _gtk_clipboard_store_all before exiting.
643         
644 2004-10-25  Matthias Clasen  <mclasen@redhat.com>
645
646         * gtk/gtkaboutdialog.h: 
647         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_logo_icon_name)
648         (gtk_about_dialog_get_logo_icon_name): Support named icons as 
649         logos.  (#156378, James Henstridge)
650
651         * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the 
652         doc formatting.
653
654         * gtk/gtkcellview.[hc]: Make function parameter names consistent.
655
656         * tests/Makefile.am (noinst_PROGRAMS): Add testimage.
657
658         * tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
659
660 2004-10-25  Matthias Clasen  <mclasen@redhat.com>
661
662         Add a public setting for button ordering (#74669, Owen Taylor)
663         
664         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
665         gtk-alternative-button-order setting.
666
667         * gtk/gtkdialog.h: 
668         * gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A 
669         getter for the alternative button order setting.
670         * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): 
671         New function to install an alternative button order for a 
672         dialog.
673
674         * gtk/gtkfilesel.c (gtk_file_selection_init): 
675         * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): 
676         * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): 
677         * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): 
678         * gtk/gtkfilechooserdefault.c (location_popup_handler): 
679         Set up an alternative button order.
680         
681 2004-10-25  Matthias Clasen  <mclasen@redhat.com>
682
683         * gtk/gtkimage.h: 
684         * gtk/gtkimage.c (gtk_image_new_from_icon_name)
685         (gtk_image_set_from_icon_name, gtk_image_get_icon_name)
686         (gtk_image_set_pixel_size, gtk_image_get_pixel_size):  Add a
687         new type GTK_IMAGE_ICON_NAME for named icons, update the size
688         and content of stock, icon set and named icon images upon style
689         changes, and allow to set a fixed pixel size for named icon
690         images.  (#155688, James Henstridge)
691
692         * tests/testimage.c: Test application for theming behaviour of
693         different image types and for image dnd.
694
695 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
696
697         * gtk/gtkcellrenderercombo.c: Use G_DEFINE_TYPE, initialize the
698         has_entry property, ref the model and add a finalizer.  (#156325,
699         Olivier Andrieu)
700         
701 Sun Oct 24 02:56:43 2004  Jonathan Blandford  <jrb@redhat.com>
702
703         * docs/tools/widgets.c: Update GtkFileChooserButton doc shot.
704
705 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
706
707         * gtk/gtkicontheme.c: Use the new g_key_file api in GLib.
708
709         * gtk/Makefile.am (gtk_c_sources): Remove gtkiconthemeparser.[hc]
710
711         * gtk/gtkiconthemeparser.[hc]: Removed.
712
713         * gtk/gtkfilechooserdefault.c (location_popup_handler): If the
714         location dialog is brought up by typing '/', insert the slash
715         in the entry.  (#155370, Warren Togami)
716
717 2004-10-23  Matthias Clasen  <mclasen@redhat.com>
718
719         * gtk/gtkfilechooserdefault.c (tree_view_keybinding_cb) 
720         (trap_activate_cb): Accept shift-/ for bringing up the location
721         popup, since German and French keyboards generate such 
722         events.  (#154163, Frederic Crozat)
723
724         * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Invalidate 
725         the window if the tree is empty, to avoid resizing artifacts
726         from the focus rectangle.  (#155881, Vincent Noel, patch by
727         Billy Biggs)    
728
729 Sat Oct 23 16:14:37 2004  Søren Sandmann  <sandmann@redhat.com>
730
731         * gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
732         assertion that can get triggered by broken sort functions.
733
734 Sat Oct 23 16:07:46 2004  Søren Sandmann  <sandmann@redhat.com>
735
736         * gtk/gtksequence.c (_gtk_sequence_swap): Replace broken, overly
737         clever implementation with one that works.
738         
739         * gtk/gtkliststore.c (gtk_list_store_swap): emit "rows_reordered"
740         instead of "changed" twice.
741
742         Bug 153479
743
744 Sat Oct 23 15:17:55 2004  Søren Sandmann  <sandmann@redhat.com>
745
746         * gtk/gtkmenutoolbutton.c (button_state_changed_cb): Remove check
747         for previous state being ACTIVE. Bug 153876.
748
749 2004-10-22  Matthias Clasen  <mclasen@redhat.com>
750
751         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_drag_data_received) 
752         (gtk_file_chooser_button_init): Use the new file DND api.
753
754         * gtk/gtkdnd.h:
755         * gtk/gtkdnd.c (gtk_drag_dest_add_uri_targets) 
756         (gtk_drag_source_add_uri_targets): 
757
758         * gtk/gtkselection.h:
759         * gtk/gtkselection.c (gtk_target_list_add_uri_targets):
760         (gtk_selection_data_set_uris):  
761         (gtk_selection_data_get_uris): New functions to allow
762         handling file DND "without knowing jack shit".
763
764         * configure.in: Bump glib requirement to 2.5.4.
765
766         * gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Use
767         g_uri_list_extract_uris().
768
769 Fri Oct 22 13:25:25 2004  Owen Taylor  <otaylor@redhat.com>
770
771         * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Fix 
772         backspacing on the empty last line of a buffer 
773         (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136840,
774         Dan Williams)
775
776 2004-10-22  Matthias Clasen  <mclasen@redhat.com>
777
778         * gtk/gtkdnd.c: Document how to use info with text/image 
779         targets.
780
781         * gtk/gtkselection.h: 
782         * gtk/gtkselection.c (gtk_target_list_add_text_targets): 
783         (gtk_target_list_add_image_targets): Add info argument.
784         
785         * gtk/gtkcalendar.c (gtk_calendar_motion_notify): 
786         * gtk/gtkentry.c (gtk_entry_init): 
787         * gtk/gtktextview.c (gtk_text_view_init): Adjust all callers.
788
789 2004-10-22  Anders Carlsson  <andersca@gnome.org>
790
791         * gtk/gtktexttag.c: (gtk_text_tag_get_property):
792         GdkBitmap is a GObject, not a boxed type.
793         
794 Thu Oct 21 15:01:09 2004  Owen Taylor  <otaylor@redhat.com>
795
796         #155952
797
798         * gtk/gtkentry.c: Fix checking the wrong position for
799         the backspace_deletes_character PangoLogAttr.
800
801         * gtk/gtktextbuffer.[ch] gtk/gtk.symbols (gtk_text_buffer_backspace): 
802         Move backspace logic from GtkTextView to here, check 
803         backspace_deletes_char. 
804
805         * gtk/gtktextview.c: Use gtk_text_buffer_backspace().
806
807 2004-10-21  Matthias Clasen  <mclasen@redhat.com>
808
809         * gtk/gtkiconcache.c: Include io.h on windows.  (#156075,
810         Kazuki IWAMOTO)
811         (_gtk_icon_cache_new_for_path): Don't use MAP_FAILED if we don't
812         have mmap.
813
814         * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Implement for
815         cached themes.
816
817         * gtk/gtkiconcache.h: 
818         * gtk/gtkiconcache.c (_gtk_icon_cache_has_icon): New function.
819
820         * gtk/updateiconcache.c (scan_directory): Don't skip .icon 
821         files which are listed before their images.
822         (foreach_remove_func): Instead filter lonely .icon files out
823         here.
824
825         * gtk/gtkicontheme.c (theme_dir_get_icon_suffix): Filter out
826         the HAS_ICON_FILE flag.
827
828 2004-10-21  Matthias Clasen  <mclasen@redhat.com>
829
830         * gtk/gtkiconcache.c: Make it compile without mmap() and
831         add some more checks.  (#155973, Morten Welinder)
832
833         Add convenience api for image dnd (#150165):
834         
835         * gtk/gtkselection.h: 
836         * gtk/gtkselection.c (gtk_target_list_add_image_targets) 
837         (gtk_selection_data_set_pixbuf, gtk_selection_data_get_pixbuf): 
838         New functions to handle the image formats readable/writable 
839         by gdk-pixbuf. 
840         
841         * gtk/gtkdnd.h: 
842         * gtk/gtkdnd.c (gtk_drag_dest_add_image_targets) 
843         (gtk_drag_source_add_text_targets): New functions to handle
844         the image formats readable/writable by gdk-pixbuf. 
845
846 2004-10-20  Matthias Clasen  <mclasen@redhat.com>
847
848         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make
849         the code clearer.  (#155239, Murray Cumming)
850
851         * gtk/gtkicontheme.c: Small fixes.
852
853         * gtk/gtkrc.c: Include gtkmodules.h.  (#155885, Kazuki IWAMOTO)
854
855         * gtk/gtktoolbar.h: Add _gtk_toolbar_rebuild_menu(). (#155885)
856
857         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
858         Fix a wrong blurb.  (#155838, Morten Welinder)
859
860 2004-10-19  Matthias Clasen  <mclasen@redhat.com>
861
862         Implement icon theme caching.  (#154034, Martijn Vernooij,
863         caching schema proposed by Owen Taylor, initial implementation
864         by Anders Carlsson)
865         
866         * gtk/gtkdebug.h: 
867         * gtk/gtkmain.c: Add a "icontheme" debug flag.
868
869         * gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c
870         (gtk_private_h_sources): Add gtkiconcache.h
871         (bin_PROGRAMS): Add gtk-update-icon-cache
872
873         * gtk/gtkicontheme.c: Use icon caches if they are available.
874         Currently, GTK+ uses the cache to get information about the
875         available sizes, image file formats and .icon files. The
876         actual image data, and the .icon file contents are not 
877         cached yet.
878
879         * gtk/updateiconcache.c: A cmdline utility for generating
880         icon cache files.
881
882         * gtk/gtkiconcache.h: 
883         * gtk/gtkiconcache.c: The glue code to mmap an icon cache
884         file and manage the information it contains.
885
886         * tests/testicontheme.c: Add a "display" option.
887
888 2004-10-19  Matthias Clasen  <mclasen@redhat.com>
889
890         * tests/testicontheme.c: Set the locale, tidy up output.
891
892 2004-10-18  Matthias Clasen  <mclasen@redhat.com>
893
894         Fix #155658, Sebastien Bacher:
895         
896         * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new 
897         is_leader flag.
898
899         * gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on
900         leader windows even if they are withdrawn.
901         (gdk_window_set_group): Mark the new leader window as such. We 
902         never remove the flag again, but that should a) be vanishingly
903         rare and b) not a problem, since the flag just turns off an
904         optimization.
905
906         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default
907         leader window as such.
908
909 2004-10-17  Matthias Clasen  <mclasen@redhat.com>
910
911         * gtk/gtkaboutdialog.c (gtk_about_dialog_new): Destroy secondary
912         dialogs if the main dialog is hidden. (#155084, Paolo Borelli)
913
914 2004-10-16  Matthias Clasen  <mclasen@redhat.com>
915
916         * gtk/gtkaboutdialog.c (gtk_about_dialog_destroy): Don't leak
917         the secondary dialogs.  (#155084, Paolo Borelli)
918
919         * gtk/gtkhsv.c (gtk_hsv_expose): Fix redraw issues with the
920         focus on the ring. 
921
922 2004-10-15  Matthias Clasen  <mclasen@redhat.com>
923
924         * gdk/makegdkalias.pl: Include linux-fb/gdkfb.h when building
925         the framebuffer backend.  (#155486, Olexiy Avramchenko)
926
927 2004-10-15  Matthias Clasen  <mclasen@redhat.com>
928
929         * gtk/gtksizegroup.c (do_size_request): Unset GTK_REQUEST_NEEDED
930         before emitting ::size-request, following this weeks discussion
931         on gtk-devel-list@gnome.org.
932
933         * gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore 
934         the size info for the current row after measuring another 
935         row.  (#154945, William Jon McCann)
936
937 2004-10-14  Matthias Clasen  <mclasen@redhat.com>
938
939         * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't
940         get text unnecessarily.  (#155384, Morten Welinder)
941         (gtk_file_chooser_default_finalize): Don't forget to
942         unref the tooltips.  (#155412, Morten Welinder)
943         (shortcuts_add_current_folder): Don't leak volume. (#155400,
944         Morten Welinder)
945
946 2004-10-12  Matthias Clasen  <mclasen@redhat.com>
947
948         * gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge 
949         the fact that invariants are broken and loop all the way up to 
950         the resize container.
951
952 Tue Oct 12 17:11:02 2004    <timj@birnet.org>
953
954         * gtk/gtkwidget.c (gtk_widget_set_usize_internal): don't queue the
955         widget for resize or emit change notification if the usize didn't
956         change. this works around a buggy signal connection in #155139.
957
958 2004-10-11  Matthias Clasen  <matthias@localhost.localdomain>
959
960         * docs/tools/widgets.c: Create scrolledwindow, statusbar, 
961         scale and image images. 
962
963 2004-10-10  Matthias Clasen  <matthias@localhost.localdomain>
964
965         * docs/tools/widgets.c: Create a toolbar, menubar, progressbar,
966         notebook and messagedialog images.
967
968         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_all): 
969         Avoid a warning.
970
971 Sun Oct 10 11:24:56 2004  Jonathan Blandford  <jrb@redhat.com>
972
973         * gtk/gtkcontainer.h (struct _GtkContainer): add /*< private >*/
974         markings.
975
976 2004-10-09  Matthias Clasen  <mclasen@redhat.com>
977
978         * docs/tools/widgets.c: Shrink panes and separators images to MEDIUM.
979
980         * gtk/gtkcellview.c: Add docs.
981
982         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_get_menu): Fix
983         doc comment.
984
985         * gtk/gtkactiongroup.h: 
986         * gtk/gtkactiongroup.c: Reinstate the accidentally lost addition 
987         of gtk_action_group_translate_string().
988
989         * gtk/gtkaccelgroup.h: Declare gtk_accelerator_get_label.
990
991 2004-10-08  Matthias Clasen  <mclasen@redhat.com>
992
993         * gdk/x11/gdkx.h: Declare gdk_x11_window_set_user_time here.
994
995         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): Don't start a 
996         drag if we loose the grab.
997
998         * gtk/gtkfilechooserdefault.c (renderer_edited_cb): Set the cell 
999         renderer to inert mode to avoid bug #154921.  This fixes a crash
1000         which would otherwise occur if the editing is stopped for the second
1001         time.  (#154767, Manuel Baena García)
1002
1003         * gtk/gtkdebug.h: 
1004         * gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
1005         flag, geometry, to debug size allocation.
1006
1007         * gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
1008         unconditionally.  (#152562, Federico Mena Quintero)
1009
1010 2004-10-08  Matthias Clasen  <mclasen@redhat.com>
1011
1012         * gtk/gtkuimanager.c (update_node): Also update smart separators 
1013         if the visibility of a  menuitem with a submenu changes.  (#153791,
1014         Christian Persch)
1015
1016 2004-10-08  Matthias Clasen  <mclasen@redhat.com>
1017
1018         * gtk/gtkentry.h:
1019         * gtk/gtkentry.c: 
1020         * gtk/gtkentrycompletion.c: 
1021         * gtk/gtkspinbutton.c: Share the three copies of get_borders()
1022         under the name _gtk_entry_get_borders().  (#116368, Owen Taylor)
1023
1024 2004-10-07  Matthias Clasen  <mclasen@redhat.com>
1025
1026         * gtk/gtkfilechooserdefault.c (check_is_folder): Don't free 
1027         info too early.  (#154703, Morten Welinder)
1028
1029         * gtk/gtkfilechooserdefault.c: Include gtkeventbox.h.
1030         (#154798, Morten Welinder)
1031
1032 2004-10-06  Matthias Clasen  <mclasen@redhat.com>
1033
1034         * gtk/gtkpaned.c (gtk_paned_compute_position): Reduce rounding 
1035         error.  (#154658, John Cupitt)
1036
1037         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Clear
1038         the iter instead of returning it unmodified. (#154186, Jonathan Blandford)
1039
1040         * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
1041         the completions again after tab.  (#147700, Jens Bech Madsen)
1042
1043         * gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
1044         before changing the selection to make the file chooser preview
1045         update work better.  (#143826, Tommi Komulainen)
1046
1047 2004-10-06  Matthias Clasen  <mclasen@redhat.com>
1048
1049         * gtk/gtkrange.c (gtk_range_real_change_value): Replace a really
1050         gross way of rounding to a specified number of digits.  (#145232,
1051         Peter Zelezny, patch by Soeren Sandmann)
1052
1053 Wed Oct  6 00:45:04 2004    <timj@birnet.org>
1054
1055         * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
1056         variable, not just the window passed in. fixes #145270.
1057
1058 Tue Oct  5 21:00:54 2004  Tim Janik  <timj@gtk.org>
1059
1060         * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change 
1061         and applied owen's leaner conditional flag update which should be good
1062         enough to preserve resizing flag invariants.
1063
1064 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
1065
1066         * NEWS: Updates
1067
1068 Tue Oct  5 19:29:06 2004  Tim Janik  <timj@gtk.org>
1069
1070         * gtk/gtkentry.h: removed redundant gtk_entry_get_layout() decl.
1071
1072 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
1073
1074         * gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): Go back to
1075         not scaling up at all. Less magic.
1076
1077 Tue Oct  5 17:06:26 2004  Tim Janik  <timj@gtk.org>
1078
1079         * gtk/gtkwidget.c (gtk_widget_size_allocate): if REQUEST_NEEDED is still
1080         set on ::size-allocate, another size-request has been queued since
1081         ::size-request and needs to be requeued.
1082
1083 2004-10-05  Paolo Borelli  <pborelli@katamail.com>
1084
1085         * gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
1086         show-menu as discussed in bug #153873.
1087
1088 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
1089
1090         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set 
1091         action_name.  (#154526, John Finlay)
1092
1093         * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display): 
1094         Return a new reference to an existing GdkWindow if one already
1095         exists.  (#151378, Gustavo Carneiro)
1096
1097 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
1098
1099         Provide access to the string representation of accelerators used
1100         in GtkAccelLabel.  (#154068, John Spray)
1101
1102         * gtk/gtkaccelgroup.h:
1103         * gtk/gtkaccelgroup.c (gtk_accelerator_get_label): New function
1104         to return the accelerator label used in GtkAccelLabel. 
1105         (gtk_accelerator_name): Update docs to point to 
1106         gtk_accelerator_get_label().
1107         * gtk/gtkaccellabel.h:
1108         * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
1109         New auxiliary function which creates the string representing the
1110         accelerator.
1111         
1112 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
1113
1114         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Resize the
1115         popup if a new model is set.  (#154129, Bernd Demian)
1116
1117 2004-10-04  Matthias Clasen  <mclasen@redhat.com>
1118
1119         * gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): 
1120         Make the code work as intended for unthemed icons; don't scale
1121         them up too much. Allow to scale them down, and do so 
1122         exactly.  (#154142, Ross Burton)
1123         (gtk_icon_info_load_icon): Amend docs.
1124
1125         * gtk/gtkcelllayout.c (gtk_cell_layout_clear): Improve 
1126         docs.  (#154504, Dave Cook)
1127
1128         * gtk/gtkwindow.c (gtk_window_set_icon_list): 
1129         (gtk_window_set_default_icon_list): Ref the new icons
1130         before unreffing the old ones.  (#154468, Morten Welinder)
1131         (gtk_window_realize_icon): Only set using_themed_icon if
1132         we actually got an icon list from the theme.  (#154472, Morten
1133         Welinder)
1134
1135 2004-10-03  Matthias Clasen  <mclasen@redhat.com>
1136
1137         * gtk/gtkiconview.c (gtk_icon_view_set_model): Reset pointers
1138         pointing to the old model.  (#154350)
1139
1140         * gtk/gtkwindow.c (icon_list_from_theme): Don't leak the
1141         sizes array.  (#154310, Christian Persch)
1142
1143         * gtk/gtktreeviewcolumn.c 
1144         (gtk_tree_view_column_setup_sort_column_id_callback): 
1145         Set sort_indicator to FALSE when appropriate.  (#153714, 
1146         Reinout van Schouwen)
1147
1148         * gtk/gtktreeview.c (gtk_tree_view_search_position_func): 
1149         Fix positioning near the monitor boundaries.  (#154341,
1150         Ken Harris)
1151
1152 2004-10-01  Paolo Borelli  <pborelli@katamail.com>
1153
1154         * gtk/gtkmenutoolbutton.c: deactivate the menu before setting it
1155         to something else. Bug #153887.
1156
1157 2004-10-01  Matthias Clasen  <mclasen@redhat.com>
1158
1159         Fix bug #150790:
1160         
1161         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): Fix the
1162         calculation of x_offset when ellipsized and in RTL mode.
1163         (gtk_cell_renderer_text_render): Fix the calculation of the layout
1164         width when ellipsized.  
1165
1166 2004-10-01  Tor Lillqvist  <tml@iki.fi>
1167
1168         * gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to
1169         FALSE, thus enabling tablet input by default.
1170
1171         * gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the
1172         --use-wintab option again (but without effect, as this is now the
1173         default, see above). (#153788)
1174
1175         * modules/input/gtkimcontextime.c: Numerous changes.
1176
1177         Remove the ifdef UNICODE conditionals. Always use the
1178         wide-character Imm* API. It is present also in Windows 98 and
1179         Me. (Not Windows 95, but I think we don't care about that.) Using
1180         the multibyte API wouldn't work anyway on systems where the system
1181         codepage doesn't support the language the user uses an IME for, so
1182         for instance I wouldn't be able to test this module on my English
1183         Windows 2000 although I do have C, J and K IMEs available.
1184
1185         Guard against IMM not being active, always check ImmGetContext()
1186         returning NULL. Work to some extent even without any IME. Fixes
1187         #153800 at least partially.
1188
1189         * modules/input/imime.c (ime_info): Rename to "ime" to match the
1190         naming pattern of other input modules. Make it default for
1191         ja:ko:zh only.
1192
1193 2004-10-01  Matthias Clasen  <mclasen@redhat.com>
1194
1195         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding
1196         cell renderers to the docs.
1197
1198         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
1199         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes): 
1200         Silently ignore info being NULL. This is unavoidable with the 
1201         current design where we have every implementation of layout_clear
1202         call layout_clear_attributes, and also delegate calls to dependent
1203         cell layouts.  (#154191, Martyn Russell)
1204
1205 2004-10-01  Matthias Clasen  <mclasen@redhat.com>
1206
1207         * modules/input/iminuktitut.c: Fix the spelling of Inuktitut
1208         in several places.  (#154176, John Austin)
1209
1210 2004-09-30  Paolo Borelli  <pborelli@katamail.com>
1211
1212         * tests/testellipsize.c: exit on close.
1213
1214 2004-09-29  Matthias Clasen  <mclasen@redhat.com>
1215
1216         * gtk/gtkmain.c: Make --g-fatal-warnings a G_OPTION_ARG_NONE,
1217         since it doesn't take an argument.
1218
1219 2004-09-29  Christopher Blizzard  <blizzard@redhat.com>
1220
1221         * gtk/gtkmenutoolbutton.h: Remove trailing semicolon on
1222         G_END_DECLS
1223
1224 2004-09-29  Paolo Borelli  <pborelli@katamail.com>
1225
1226         * tests/testtoolbar.c: add a GtkMenuToolButton.
1227
1228 2004-09-29  Matthias Clasen  <mclasen@redhat.com>
1229
1230         * gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right) 
1231         (gtk_icon_view_move_cursor_start_end) 
1232         (gtk_icon_view_move_cursor_page_up_down) 
1233         (gtk_icon_view_move_cursor_up_down): Handle an empty icon
1234         view gracefully.  (#152486)
1235
1236         Allow keynav to selectable labels (#138085, David Hawthorne):
1237         
1238         * gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
1239         looking for the initial focus widget.
1240
1241         * gtk/gtklabel.c (gtk_label_focus): Remove to put selectable labels 
1242         in the regular focus chain again.
1243
1244 2004-09-28  Matthias Clasen  <mclasen@redhat.com>
1245
1246         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Don't
1247         reuse insensitive pixbufs across multiple rows.  (#153984, Milosz
1248         Derezynski)
1249
1250         * gtk/gtkmain.c (gtk_parse_args): Use gtk_get_option_group() 
1251         to obtain an option group with correctly set pre- and post-
1252         parse hooks, instead of manually calling the hooks. This fixes
1253         a problem with setting the program class in the gdk preparse
1254         hook.  (#153788, Robert Ögren)
1255
1256 2004-09-27  Matthias Clasen  <mclasen@redhat.com>
1257
1258         Fix #153082:
1259         
1260         * gtk/gtkmain.c (do_pre_parse_initialization): Don't call gdk_parse_args()
1261         here, we don't want to parse args twice.
1262         (gtk_init_with_args): Add the ugid check here as well.
1263         (gtk_parse_args): Add the gdk options to the main option group as well.
1264
1265 2004-09-27  Paolo Borelli  <pborelli@katamail.com>
1266
1267         * gtk/Makefile.am:
1268         * gtk/gtk.h:
1269         * gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
1270         discussed in bug #151441.
1271
1272         * docs/reference/gtk/gtk-docs.sgml:
1273         * docs/reference/gtk/gtk-sections.txt:
1274         * docs/reference/gtk/gtk.types:
1275         * docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
1276         new widget.
1277
1278 2004-09-27  Matthias Clasen  <mclasen@redhat.com>
1279
1280         * gtk/gtkfilesystemunix.c (gtk_file_folder_unix_list_children): 
1281         Emit ::finished-loading.
1282
1283 2004-09-27  Roozbeh Pournader  <roozbeh@farsiweb.info>
1284  
1285         * configure.in: Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS.
1286
1287 2004-09-27  Matthias Clasen  <mclasen@redhat.com>
1288
1289         * gtk/gtktreeview.c (gtk_tree_view_append_column): Fix typo in
1290         docs.  (#153811, Billy Biggs)
1291
1292         * gtk/gtkpathbar.h (struct _GtkPathBar): Only need a bit for
1293         need_timer.
1294
1295 2004-09-26  Matthias Clasen  <mclasen@redhat.com>
1296
1297         * gtk/gtknotebook.c (gtk_notebook_class_init): Add a missing _
1298         to the name of the has_secondary_backward_stepper property.
1299         Noticed by Michèle Garoche.
1300
1301 Sun Sep 26 02:06:43 2004  Jonathan Blandford  <jrb@gnome.org>
1302
1303         * gtk/gtkpathbar.h (struct _GtkPathBar): add missing structures.
1304
1305 2004-09-26  Matthias Clasen  <mclasen@redhat.com>
1306
1307         * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
1308         to make the current folder visible.  (#152921)
1309
1310         * gtk/gtkbutton.c: Revert the button state to !button_down,
1311         if we're missing the release event due to grab shadowing
1312         or insensitivation.
1313
1314         * gtk/gtkpathbar.c: Make the slider buttons scroll.
1315
1316         * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Remove 
1317         debug spew.
1318         (bookmarks_check_remove_sensitivity): Don't free an uninitialized
1319         pointer.
1320
1321         * gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): 
1322         cursor_pos is in characters, not bytes.  (#153332, Owen Taylor)
1323
1324 2004-09-25  Robert Ögren  <gtk@roboros.com>
1325
1326         * gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
1327         lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
1328         a further fix for bug #145467.
1329
1330 2004-09-25  Matthias Clasen  <mclasen@redhat.com>
1331
1332         * gtk/gtktextiter.c (inside_word_func): Don't access 
1333         attr[-1].  (#153628, Padraig O'Briain)
1334
1335 2004-09-23  Matthias Clasen  <mclasen@redhat.com>
1336
1337         * gtk/gtkfilechooserdefault.c: Add some tooltips.
1338
1339 2004-09-22  Matthias Clasen  <mclasen@redhat.com>
1340
1341         * gtk/gtkrange.c (gtk_range_map, gtk_range_unmap): 
1342         * gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
1343         unnecessary g_return_if_fail()s from virtual functions.  (#153469,
1344         (Tristan Van Berkom) 
1345
1346         * gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
1347         cursors.  (#153468, Christian Persch)
1348
1349         * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
1350         (#153467, Christian Persch)
1351
1352         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
1353         bitops on booleans.
1354         (gtk_file_chooser_default_should_respond): Make it easier to 
1355         select folders in SELECT_FOLDER mode.
1356
1357 Wed Sep 22 00:54:34 2004  Matthias Clasen  <mclasen@redhat.com>
1358
1359         * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
1360         pixbuf.
1361
1362 Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>
1363
1364         * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
1365         other minor cleanups.
1366
1367 Tue Sep 21 16:27:19 2004  Manish Singh  <yosh@gimp.org>
1368
1369         * gdk/gdk.c: remove now unused arg variables.
1370
1371         * gdk/gdkinternals.h: declare _gdk_windowing_init ().
1372
1373         * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
1374         here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
1375
1376 2004-09-21  Matthias Clasen  <mclasen@redhat.com>
1377
1378         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond): 
1379         Don't assert that current_focus != NULL, just return FALSE.
1380
1381         * gtk/gtkpathbar.c (gtk_path_bar_size_request): Give the path
1382         bar arrows some more space.
1383
1384         * configure.in: Check for mallinfo.
1385
1386         * tests/testtreemodel.c: Only include malloc.h if HAVE_MALLINFO
1387         is defined.  (#153168, Darren Creutz)
1388
1389         * gtk/gtkactiongroup.c: Fix typos in signal docs.  (#153224,
1390         John Finlay)
1391
1392 Mon Sep 20 19:44:58 2004  Matthias Clasen  <mclasen@redhat.com>
1393
1394         * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
1395         return FALSE from a void function.  (#153185, Joel Fredrikson)
1396
1397 2004-09-20  Matthias Clasen  <mclasen@redhat.com>
1398
1399         * gtk/gtkbutton.c (gtk_button_class_init): Add a boolean ::displace-focus
1400         style property and apply child displacement to the focus rectangle 
1401         if it is TRUE.  (#141170, Soeren Sandmann)
1402
1403 Sun Sep 19 23:56:18 2004  Søren Sandmann  <sandmann@redhat.com>
1404
1405         * gtk/gtkmenu.c (MENU_SCROLL_TIMEOUT2): Change from 50 to 20 to
1406         make the menus scroll faster.
1407
1408 2004-09-19  Matthias Clasen  <mclasen@redhat.com>
1409
1410         * configure.in: Bump version
1411
1412         * === Released 2.5.3 ===
1413
1414 2004-09-18  Matthias Clasen  <mclasen@redhat.com>
1415
1416         Make GtkFileChooserButton activatable via mnemonics.
1417         (#152925, Dennis Cranston, patch by James M. Cape)
1418
1419         * gtk/gtkfilechooserbutton.c: Add a ::mnemonic-activate signal
1420         and a suitable default handler.
1421
1422         * tests/testfilechooserbutton.c: Add a mnemonic.
1423
1424 2004-09-18  Matthias Clasen  <mclasen@redhat.com>
1425
1426         Fix win32 build errors.  (#153032, #153028, Robert Ögren)
1427
1428         * gdk/win32/gdkmain-win32.c: Make it compile.  
1429
1430         * gtk/gtkmain.c: Include glib.h.  
1431
1432 2004-09-18  Federico Mena Quintero  <federico@ximian.com>
1433
1434         Merged from 2.4:
1435
1436         * gtk/gtkfilesystem.h: Removed the GTK_FILE_PATH() and
1437         GTK_IS_FILE_PATH() macros.  They are not supposed to exist, as
1438         GtkFilePath is not an object.  And they never worked, anyway.
1439
1440 2004-09-18  Marco Pesenti Gritti  <marco@gnome.org>
1441
1442         * gtk/gtkentry.c: (gtk_entry_completion_key_press):
1443
1444         Make numeric pad enter activate the selected completion
1445         entry. Fix bug 143486 reported by Edd Dumbill.
1446
1447 2004-09-17  Matthias Clasen  <mclasen@redhat.com>
1448
1449         * NEWS: Updates
1450
1451         * gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
1452         row.  (#143868, Christian Persch)
1453
1454 2004-09-17  Matthias Clasen  <mclasen@redhat.com>
1455
1456         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove
1457         leftover debug code.
1458
1459         Improve the behaviour of the file chooser in save mode. Fixes bugs
1460         #151031, #151608, #151994 reported by Owen Taylor and Alexander 
1461         Larsson.
1462         
1463         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): 
1464         (location_entry_create): Propagate the action to the file 
1465         chooser entries.
1466         (gtk_file_chooser_default_should_respond): Switch folders if 
1467         the user enters a directory name in the entry and clear the entry
1468         after switching folders.
1469         (gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb): 
1470         Move focus to the file list when activating a shortcut.
1471         (gtk_file_chooser_default_should_respond): Handle the case where the
1472         user clicks on "Save" after selecting a folder in the file list.
1473
1474         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): 
1475         Propagate the action to the file chooser entries.
1476         
1477         * gtk/gtkfilechooserentry.h: 
1478         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): 
1479         (_gtk_file_chooser_entry_get_action): New functions to propagate
1480         the GtkFileChooserAction of the file chooser to the file chooser 
1481         entry.
1482         (check_completion_callback): If we are in save mode, only do 
1483         inline completion for directories. 
1484
1485 Fri Sep 17 11:20:03 2004  Jonathan Blandford  <jrb@gnome.org>
1486
1487         * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
1488         docs.
1489
1490 Thu Sep 16 23:20:05 2004  Matthias Clasen  <maclas@gmx.de>
1491
1492         * gtk/gtkselection.c (selection_get_text_plain): 
1493         * gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING
1494         or text/plain;charset=utf-8 roperty contains invalid 
1495         UTF-8.  (#152845, Owen Taylor)
1496
1497 2004-09-16  Matthias Clasen  <mclasen@redhat.com>
1498
1499         Fix #152760, Christian Persch:
1500         
1501         * gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't free
1502         private data.
1503         (gtk_about_dialog_set_translator_credits): Recommend the msg
1504         id translator-credits.
1505         (display_credits_dialog): Show translator credits if they're
1506         translated, not if they're untranslated.
1507
1508 Thu Sep 16 02:07:56 2004  Jonathan Blandford  <jrb@gnome.org>
1509
1510         * docs/tools/widgets.c (create_icon_view): load images at normal
1511         size.
1512
1513         * docs/reference/gtk/images/*png: Update shots.
1514
1515 Thu Sep 16 00:33:11 2004  Jonathan Blandford  <jrb@gnome.org>
1516
1517         * docs/tools/widgets.c (new_widget_info): Add constrained sizing
1518         to the widgets.  This gives us all images running the same size,
1519         which will make the table layout look better.
1520
1521 2004-09-15  Tor Lillqvist  <tml@iki.fi>
1522
1523         * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
1524         Remove bogus code that tried to do what the X11 backend does in
1525         its version of this function. There are no "frame windows" (for
1526         toplevel window decoration) on Windows. The desktop ("root")
1527         window is not the parent of a toplevel window. (#152481)
1528
1529 2004-09-15  Matthias Clasen  <mclasen@redhat.com>
1530
1531         * NEWS: Update.
1532
1533 Wed Sep 15 00:57:37 2004  Matthias Clasen  <maclas@gmx.de>
1534
1535         * docs/tools/widgets.c: Add accel label, file button
1536         and icon view.
1537
1538 Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>
1539
1540         * configure.in: New option --disable-visibility to disable
1541         the use of ELF visibility attributes for PLT reduction.
1542
1543         * gtk/makegtkalias.pl: 
1544         * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
1545         define.
1546
1547 Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
1548
1549         * gtk/gtkaction.c (connect_proxy): Call
1550         gtk_tool_item_rebuild_menu().
1551
1552         * gtk/gtktoolitem.c (gtk_tool_item_class_init): Update
1553         documentation for GtkToolItem::create_menu_proxy.
1554
1555         * gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New
1556         API to make the toolbar update itself when the proxy menu item
1557         for a tool item changes.
1558
1559         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call
1560         gtk_tool_item_rebuild_menu here()
1561
1562         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
1563         Remove redundant check for need_label.
1564
1565 2004-09-14  Matthias Clasen  <mclasen@redhat.com>
1566
1567         * gtk/gtkmain.c (do_post_parse_initialization): Remove an unused 
1568         variable, spotted by Morten Welinder.
1569
1570         * gtk/queryimmodules.c (escape_string): Copy code from queryloaders.c
1571         which turns backslashes in slashes on win32.  (#152608, Kazuki IWAMOTO)
1572
1573         * gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Set the cursor
1574         to the first selected row instead of always to the first row if there
1575         is no cursor.  (#143270, Jean Bréfort)
1576
1577         * tests/testfilechooser.c (main): Fix a few typos.
1578
1579 2004-09-13  Matthias Clasen  <mclasen@redhat.com>
1580
1581         * gtk/gtkexpander.c: 
1582         * gtk/gtktreeview.c: Change the default expander size to 12 to compensate 
1583         for the recent change to gtk_default_draw_expander().
1584
1585         * gtk/gtkstyle.c (gtk_default_draw_expander): Use a linewidth of one
1586         for expander sizes up to 16
1587
1588         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_model): Resize the
1589         popup if the model is replaced.  (#152333)
1590
1591 Mon Sep 13 09:11:53 2004  Manish Singh  <yosh@gimp.org>
1592
1593         * gtk/gtkrange.c: fix gtk_range_real_change_value args. Addresses part
1594         of #152518.
1595
1596 2004-09-13  Matthias Clasen  <mclasen@redhat.com>
1597
1598         Fix some problems reported by Morten Welinder:
1599         
1600         * gtk/gtkfilesystem.c: Include gtkmodules.h, not gtkmain.h, since
1601         the modules stuff moved.
1602
1603         * gtk/gtkmain.c (gtk_arg_no_debug_cb): Add a missing return
1604
1605         * gtk/gtksettings.c: Add missing include. 
1606         (settings_update_modules): Remove an unused variable.
1607
1608 2004-09-13  Matthias Clasen  <mclasen@redhat.com>
1609
1610         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
1611         Improve positioning of entry completion popup.
1612
1613 2004-09-09  Matthias Clasen  <mclasen@redhat.com>
1614
1615         * gtk/makegtkalias.pl: 
1616         * gdk/makegdkalias.pl: Use the short prefix "IA__" for 
1617         aliases instead of the long suffix "__internal_alias". 
1618
1619         * tests/testfilechooser.c (main): Update sensitivity of the "Select all"
1620         button.
1621
1622 Wed Sep  8 18:38:08 2004  Soeren Sandmann  <sandmann@redhat.com>
1623
1624         Make dropping of expandable items look nicer.
1625         
1626         * gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
1627         placeholder expand if highlight item is expanding.
1628
1629         * gtk/gtktoolbar.c (toolbar_content_set_expand): New function.
1630
1631         * gtk/gtktoolbar.c (toolbar_content_get_expand): Return TRUE only
1632         if the item is not disappering.
1633
1634 2004-09-07  Matthias Clasen  <mclasen@redhat.com>
1635
1636         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
1637         for placeholders in toolbars.  (#151963, Olivier Andrieu)
1638
1639         * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit 
1640         better.
1641
1642 Sun Sep  5 17:14:16 2004  Matthias Clasen  <maclas@gmx.de>
1643
1644         * gtk/gtkmain.c: 
1645         * gdk/gdk.c: 
1646         * gdk/x11/gdkmain-x11.c: 
1647         * gdk/win32/gdkmain-win32.c: Add descriptions for the 
1648         commandline arguments. The actual descriptions are mostly 
1649         taken from libbonoboui, so translators should be able to 
1650         copy existing translations from there.
1651
1652 2004-09-05  Anders Carlsson  <andersca@gnome.org>
1653
1654         * gdk/gdk.symbols:
1655         * gtk/gtk.symbols:
1656         Add new functions
1657
1658 2004-09-05  Anders Carlsson  <andersca@gnome.org>
1659
1660         * gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
1661         (gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
1662         (gdk_parse_args):
1663         * gdk/gdk.h:
1664         * gdk/gdkinternals.h:
1665         * gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
1666         * gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
1667         * gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
1668         * gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
1669         * gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
1670         (gtk_arg_module_cb), (gtk_arg_warnings_cb),
1671         (do_pre_parse_initialization), (do_post_parse_initialization),
1672         (pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
1673         (gtk_init_with_args), (gtk_parse_args):
1674         * gtk/gtkmain.h:
1675         Make gtk argument parsing use goption. Add gtk_get_option_group and
1676         gtk_init_with_args. 
1677         
1678         * tests/testtreemodel.c: (main):
1679         Use gtk_init_with_args.
1680         
1681 Sun Sep  5 01:04:01 2004  Matthias Clasen  <maclas@gmx.de>
1682
1683         Allow sorting of tree models to be turned off 
1684         again.  (#151139, Torsten Schoenfeld)
1685         
1686         * gtk/gtktreesortable.h: 
1687         Add GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.
1688
1689         * gtk/gtktreestore.c (gtk_tree_store_sort): 
1690         * gtk/gtkliststore.c (gtk_list_store_sort): Don't sort if
1691         the list store is not sorted.
1692
1693 Sat Sep  4 23:37:56 2004  Matthias Clasen  <maclas@gmx.de>
1694
1695         * configure.in: Fix the Solaris Xinerama checks.  (#151754)
1696
1697 Sat Sep  4 22:45:49 2004  Matthias Clasen  <maclas@gmx.de>
1698
1699         * gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete
1700         text in passwords.  (#151723, Owen Taylor)
1701
1702 Sat Sep  4 16:51:00 2004  Søren Sandmann  <sandmann@redhat.com>
1703
1704         * gdk/x11/gdkevents-x11.c (gdk_event_prepare): Revert accidental
1705         change from Aug 02 that removed a flush of the X connection from
1706         gdk_event_prepare() causing applications to get stuck. (#151732,
1707         Richard Hoelscher).
1708
1709 Fri Sep  3 22:45:03 2004  Matthias Clasen  <maclas@gmx.de>
1710
1711         * gtk/gtkuimanager.c (print_node): Don't print out attributes
1712         for the <ui> root node.  (#151752, Lorenzo Gil Sánchez)
1713
1714 Sat Sep  4 02:38:57 2004  Søren Sandmann  <sandmann@redhat.com>
1715
1716         * gtk/gtktoolbar.c (position): Accelerate the animation when it
1717         has been running for a while. (#143647).
1718
1719 2004-09-03  Tor Lillqvist  <tml@iki.fi>
1720
1721         * gtk-zip.sh.in: List the three theme gtkrc files separately, zip
1722         doesn't do anything if one of the files on its command line
1723         doesn't exist.
1724
1725         Handle changes of screen resolution on Win32. (#151581, reported by
1726         Arjohn Kampman)
1727         
1728         * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init,
1729         _gdk_root_window_size_init): Factor out setting the root window's
1730         size (as the size of the union of all monitors) to a new function.
1731
1732         * gdk/win32/gdkdisplay-win32.c (gdk_display_open,
1733         _gdk_monitor_init): Factor out the monitor query to a new
1734         function.
1735
1736         * gdk/win32/gdkprivate-win32.h: Declare above new functions.
1737
1738         * gdk/win32/gdkevents-win32.c (gdk_event_translate,
1739         handle_display_change): Handle WM_DISPLAYCHANGE by calling the
1740         above two functions, and emitting the "size_changed" signal on our
1741         (only) GdkScreen.
1742
1743 2004-09-01  Matthias Clasen  <mclasen@redhat.com>
1744
1745         * gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): 
1746         Document the return value.
1747
1748 2004-09-01  Matthias Clasen  <mclasen@redhat.com>
1749
1750         Make it possible to specify additional modules to load
1751         via a setting.  (#117236, Alex Graveley)
1752         
1753         * gtk/gtkmodules.h: 
1754         * gtk/gtkmodules.c: New files which contain the module
1755         handling code which was previously in gtkmain.[hc]. 
1756         Additionally, the code now looks for the gtk-modules 
1757         setting, which can specify additional modules to load.
1758
1759         * gtk/gtkmain.c: 
1760         * gtk/gtkmain.h: Remove all the module handling code.
1761
1762         * gtk/gtkdebug.h: Add a debug flag for modules.
1763
1764         * gtk/gtk.h: Include gtkmodules.h
1765
1766         * gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
1767         (gtk_c_sources): Add gtkmodules.c
1768
1769         * gtk/gtksettings.c: Add the gtk-modules setting.
1770
1771         * gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
1772
1773 Wed Sep  1 19:11:44 2004  Søren Sandmann  <sandmann@redhat.com>
1774
1775         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
1776         children of the toolbar are given positive dimensions. (149540,
1777         Felipe Heidrich).
1778
1779 2004-09-01  Matthias Clasen  <mclasen@redhat.com>
1780
1781         * gtk/gtkfilesystemunix.c: 
1782         * gtk/gtkfilechooserbutton.c: Protect the unistd.h include
1783         by HAVE_UNISTD_H.
1784
1785 Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
1786
1787         * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
1788         accel labels ellipsize correctly.  (#151559, Christian Persch)
1789
1790 Wed Sep  1 00:55:56 2004  Matthias Clasen  <maclas@gmx.de>
1791
1792         * gtk/gtkimage.c (gtk_image_clear): Don't leak the iter
1793         of a running animation.  (#151542)
1794
1795 Tue Aug 31 23:40:29 2004  Matthias Clasen  <maclas@gmx.de>
1796
1797         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Make
1798         "ms-windows" the default theme on Win32.  
1799
1800 Tue Aug 31 23:24:49 2004  Matthias Clasen  <maclas@gmx.de>
1801
1802         * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start  
1803         a drag if the left button is pressed.  (#151490, Frederic Croszat)
1804
1805 Tue Aug 31 23:20:58 2004  Matthias Clasen  <maclas@gmx.de>
1806
1807         * gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
1808
1809 Tue Aug 31 17:07:41 2004  Jonathan Blandford  <jrb@redhat.com>
1810
1811         * gtk/gtktreeviewcolumn.c
1812         (gtk_tree_view_column_cell_process_action): constrain cell area to
1813         passed in cell_area, #147867
1814
1815         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
1816         ellipsizing, get_size is only 3 chars wide.
1817
1818         * docs/tree-column-sizing.png: Add Matthias's excellent image.
1819
1820 2004-08-28  Robert Ögren  <gtk@roboros.com>
1821
1822         On Win32, do not produce tablet motion or button events while a
1823         window is being moved or resized. (#151090, reported by Shaneyfelt)
1824
1825         * gdk/win32/gdkprivate-win32.h
1826         * gdk/win32/gdkglobals-win32.c
1827         * gdk/win32/gdkevents-win32.c: Rename the variable resizing to
1828         _sizemove_in_progress and make it extern.
1829
1830         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore
1831         motion and button events if _sizemove_in_progress is true.
1832
1833 2004-08-30  Tor Lillqvist  <tml@iki.fi>
1834
1835         Make the ms-windows theme engine build with mingw.
1836
1837         * configure.in: Expand also modules/engines/ms-windows/Theme/
1838         Makefile and .../Theme/gtk-2.0/Makefile.
1839
1840         * modules/engines/ms-windows/Makefile.am: Adapt for building
1841         inside the GTK sources.
1842
1843         * modules/engines/ms-windows/*.c: Use "foo.h" style includes for
1844         GTK and GDK headers. Use correct path for gdkwin32.h header.
1845
1846         * modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
1847         API.
1848
1849         * modules/engines/ms-windows/xp_theme_defs.h
1850         * modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
1851         to xp_theme.c, as they are neither in mingw's nor Platform
1852         SDK's tmschema.h.
1853
1854         * modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
1855         0x0501 to get the necesssary stuff from mingw's uxtheme.h.
1856
1857 2004-08-30  Matthias Clasen  <mclasen@redhat.com>
1858
1859         Integrate the ms-windows theme engine (better known as Wimp)
1860         into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/) 
1861         was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
1862         sources have been added to the GTK+ source tree in 
1863         modules/engines/ms-windows, and there is a ChangeLog detailing 
1864         the history of Wimp. (#109615, Havoc Pennington)
1865         
1866         * configure.in: Generate modules/engines/Makefile and 
1867         modules/engines/ms-windows/Makefile.
1868
1869         * modules/Makefile.am (SUBDIRS): Add engines.
1870
1871         * modules/engines/Makefile.am: Compile ms-windows for win32.
1872
1873 2004-08-30  Matthias Clasen  <mclasen@redhat.com>
1874
1875         * gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler):
1876         Make it compile.
1877
1878 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
1879
1880         Fix #151112, Olexiy Avramchenko:
1881         
1882         * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): 
1883         * gtk/gtkiconview.c (scroll_timeout, layout_callback) 
1884         (gtk_icon_view_item_accessible_idle_do_action): 
1885         * gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle) 
1886         (popup_idle): Protect idle callbacks and timeouts with 
1887         GDK_THREADS_ENTER/_LEAVE.
1888
1889         * gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to
1890         call update_dialog() from an idle with the necessary protection.
1891
1892 Mon Aug 30 01:34:42 2004  Matthias Clasen  <maclas@gmx.de>
1893
1894         Changes to make sure input methods respect the editability
1895         of entries and text views. #114173, Noah Levitt.
1896         
1897         * gtk/gtkentry.c (popup_targets_received): Make the Input 
1898         Methods menuitem insensitive if we're not editable.
1899
1900         * gtk/gtkentry.c (gtk_entry_delete_surrounding_cb): 
1901         * gtk/gtkentry.c (gtk_entry_preedit_changed_cb): 
1902         * gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything 
1903         if we're not editable.
1904
1905         * gtk/gtkentry.c (gtk_entry_focus_out): 
1906         * gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and
1907         focus_out to the im context if we're editable.
1908
1909         * gtk/gtkentry.c (gtk_entry_set_property): Reset the im context
1910         if the entry just became non-editable.
1911
1912         * gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): 
1913         Use gtk_text_buffer_delete_interactive() to not delete
1914         non-editable portions of text.
1915
1916 2004-08-30  Tor Lillqvist  <tml@iki.fi>
1917
1918         * modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32.
1919
1920         * modules/input/gtkimcontextime.c: Use quotes in #includes, to
1921         find headers when building inside GTK+ sources.
1922
1923 2004-08-27  Tor Lillqvist  <tml@iki.fi>
1924
1925         * gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add
1926         drop_failed, like in the X11 backend. Nothing sets it, though.
1927         (gdk_drag_drop_succeeded): Copy from X11 backend.
1928
1929 Thu Aug 26 23:58:11 2004  Matthias Clasen  <maclas@gmx.de>
1930
1931         * gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash
1932         if model is not set. Noted by Mariano Suarez-Alvarez.
1933
1934 Thu Aug 26 22:44:12 2004  Matthias Clasen  <maclas@gmx.de>
1935
1936         Provide information about how an adjustment change in a range 
1937         widget happened. Add a "change-value" signal which reports how 
1938         a user is interacting with the range, whether they are clicking 
1939         on a stepper or the trough, or dragging the slider.  (#133263,
1940         Thomas Fitzsimmons)
1941
1942         * gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
1943         * gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
1944         signal.
1945         (gtk_range_internal_set_value): Rename to
1946         gtk_range_real_change_value.  Add GtkScrollType parameter.  Emit
1947         the change-value signal when the range's value changes.
1948         (update_slider_position, gtk_range_scroll_event, step_back,
1949         step_forward, page_back, page_forward, scroll_begin,
1950         scroll_end): Change gtk_range_internal_set_value to
1951         gtk_range_real_change_value.
1952         * gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
1953         function.
1954
1955 2004-08-26  Matthias Clasen  <mclasen@redhat.com>
1956
1957         * modules/input/Makefile.am: Build imime.la on Windows.
1958
1959         * modules/input/gtkimcontextime.h: 
1960         * modules/input/gtkimcontextime.c: 
1961         * modules/input/imime.c: 
1962         * modules/input/imm-extra.h: Add the IME input method for Win32
1963         written by Takuro Ashie and Kazuki IWAMOTO. The code was previously
1964         hosted at http://sourceforge.jp/projects/imime.  (#135195)
1965
1966 2004-08-26  Bill Haneman <billh@gnome.org>
1967
1968         * gtk/gtktreeview:
1969         (gtk_tree_view_move_cursor_up_down):
1970         If a multi-selection list contains only one item,
1971         select it on cursor_up or cursor_down.
1972         Fixes bug #131226.
1973         [patch from Padraig O'Briain]
1974
1975 2004-08-26  Matthias Clasen  <mclasen@redhat.com>
1976
1977         Make gdk_window_process_[all]_updates() respect 
1978         update_freeze_counter  (#144272, Soeren Sandmann)
1979         
1980         * gdk/gdkwindow.c (gdk_window_schedule_update): New function to
1981         install an idle for gdk_window_update_idle() if one isn't there
1982         already.
1983         (gdk_window_process_all_updates): 
1984         (gdk_window_process_updates): Only process the updates if the
1985         window isn't frozen.
1986         (gdk_window_invalidate_maybe_recurse): Schedule an update when
1987         necessary.
1988         (gdk_window_thaw_updates): Use gdk_window_schedule_update() instead
1989         of directly installing the idle.
1990
1991 2004-08-22  Robert Ögren  <gtk@roboros.com>
1992
1993         On Win32, make graphical tablets work on multi-monitor systems.
1994         (#145467, reported by buttknock1@ya...)
1995
1996         * gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates):
1997         Use dimensions of _gdk_parent_root as screen size.
1998         (gdk_input_get_root_relative_geometry): Get coordinates relative
1999         to GDK root window instead of Win32 coordinates.
2000         (_gdk_input_other_event): Updated accordingly.
2001
2002 Wed Aug 25 17:24:17 2004  Manish Singh  <yosh@gimp.org>
2003
2004         * gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale()
2005         function.
2006
2007         * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused
2008         variables num_extensions and extensions.
2009
2010         * gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function.
2011
2012 Wed Aug 25 17:14:58 2004  Manish Singh  <yosh@gimp.org>
2013
2014         * gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
2015         path so we don't potentially use an undefined pointer.
2016
2017         * gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
2018         cast for tree_view_keybinding_cb.
2019
2020         * gtk/gtkfilechooserdefault.c (location_entry_create): cast to
2021         GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
2022         calls.
2023
2024         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
2025         cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
2026
2027         * gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
2028         since that's what g_convert_with_fallback() expects.
2029
2030 Wed Aug 25 16:14:34 2004  Jonathan Blandford  <jrb@redhat.com>
2031
2032         * gtk/gtktreeview.c (gtk_tree_view_search_activate): activate the
2033         typeahead entry on enter.
2034
2035 2004-08-25  Matthias Clasen  <mclasen@redhat.com>
2036
2037         * gtk/gtkmenu.c (gtk_menu_attach_to_widget): Steal ATTACHED_MENUS
2038         list so its tail isn't freed when we re-set it, noticed
2039         by Hans Petter Jansson.
2040
2041         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Fix
2042         a typo, noticed by Tim Janik.
2043
2044 Wed Aug 25 15:15:56 2004  Jonathan Blandford  <jrb@redhat.com>
2045
2046         * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Change the Down
2047         button to be end-justified, so that clicking on it is a stable
2048         operation.
2049
2050 Tue Aug 24 02:06:37 2004  Jonathan Blandford  <jrb@gnome.org>
2051
2052         * gtk/gtktreeview.c
2053         (gtk_tree_view_real_expand_collapse_cursor_row): Don't handle the
2054         event if we have no children.
2055
2056         * gtk/gtkfilechooserdefault.c (trap_activate_cb):
2057         (tree_view_keybinding_cb):Since GtkTreeView has a keybinding
2058          attached to '/', we need to catch keypresses before the TreeView
2059          gets them.
2060         (gtk_file_chooser_default_class_init): add '/' to be a keybinding
2061         to the C-l dialog.
2062         (location_entry_create): Clear the text to "" when loading a file.
2063         This has a much better feel than putting the currently selected
2064         in.
2065         * #include <errno.h>
2066
2067 2004-08-25  Matthias Clasen  <mclasen@redhat.com>
2068
2069         * gtk/gtkfilechooserdefault.c (check_is_folder): Use get_file_info() rather 
2070         than trying get_folder() and checking for an error directly because older 
2071         versions of the gnome-vfs backend don't return an error 
2072         immediately.  (#150852, Zack Cerza )
2073
2074 2004-08-25  Matthias Clasen  <mclasen@redhat.com>
2075
2076         * configure.in: Post-release version bump.
2077
2078         * === Released 2.5.2 ===
2079
2080         * gdk/abicheck.sh:
2081         * gtk/abicheck.sh: Make work during make distcheck.
2082         
2083         * docs/RELEASE-HOWTO: Add hint about doing make check 
2084         before make distcheck.
2085         
2086         * gtk/gtk.symbols: Add some missing symbols.
2087
2088         * gtk/gtkiconview.c: Add some missing statics.
2089
2090 2004-08-24  Matthias Clasen  <mclasen@redhat.com>
2091
2092         * NEWS: Updates for 2.5.2
2093
2094 Wed Aug 25 00:22:48 2004  Søren Sandmann  <sandmann@redhat.com>
2095
2096         * gtk/gtksequence.c: Remove debug spew
2097
2098 Wed Aug 25 00:09:07 2004  Søren Sandmann  <sandmann@redhat.com>
2099
2100         * gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
2101         errors in gtk_list_store_move_before/after(). (#150983, patch by
2102         Robert Ögren).
2103
2104 Tue Aug 24 21:46:42 2004  Søren Sandmann  <sandmann@redhat.com>
2105
2106         * gtk/gtksequence.c (_gtk_sequence_move): Just return if the
2107         parameters are identical. (#150159, Robert Ögren)
2108
2109 2004-08-24  Matthias Clasen  <mclasen@redhat.com>
2110
2111         * gtk/gtkaction.c (connect_proxy, disconnect_proxy): Handle 
2112         action_group being NULL.  (#150869,  Tommi Komulainen)
2113
2114 2004-08-24  Matthias Clasen  <mclasen@redhat.com>
2115
2116         * gdk/gdkimage.c (allocate_scratch_images): Use the correct 
2117         index variable.  (#150941, Tommi Komulainen)
2118
2119 2004-08-24  Matthias Clasen  <mclasen@redhat.com>
2120
2121         * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Take header
2122         height and adjustment into account.  (#136496, Pawek Salek)
2123
2124 Mon Aug 23 17:19:19 2004  Jonathan Blandford  <jrb@redhat.com>
2125
2126         * configure.in:
2127         * docs/tools/Makefile.am (clean-local): add the doc shooter to the
2128         docs dir as an uninstalled helper tool.
2129
2130 2004-08-23  Matthias Clasen  <mclasen@redhat.com>
2131
2132         * gdk/x11/gdkwindow-x11.c (show_window_internal): Make it compile.
2133
2134         * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a 
2135         user_time field.
2136
2137         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update
2138         toplevel->user_time.
2139         (show_window_internal): Update the user time when re-mapping a
2140         toplevel window.  (#150502, Elijah Newren)
2141
2142 2004-08-23  Matthias Clasen  <mclasen@redhat.com>
2143
2144         Fix #150822, reported by Christian Persch
2145         
2146         * gtk/gtklabel.c (gtk_label_ensure_layout): Set the layout width
2147         appropriately when ellipsized.
2148         (gtk_label_size_allocate): Only set the layout width if there
2149         is a layout.
2150
2151 2004-08-23  Matthias Clasen  <mclasen@redhat.com>
2152
2153         * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
2154         EWMH additions to the _NET_ACTIVE_WINDOW client message 
2155         format.  (#150668, Elijah Newren)
2156
2157 Mon Aug 23 01:17:59 2004  Matthias Clasen  <maclas@gmx.de>
2158
2159         * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
2160         bits in pixel to 1s in case they are used as alpha; copying
2161         code from gdk_colormap_alloc_colors().  (#150466, Rich Wareham)
2162
2163 2004-08-22  Philip Langdale  <plangdale@vmware.com>
2164
2165         * gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals
2166         (gtk_action_sync_property and gtk_action_sync_sensitive) were
2167         not being correctly disconnected, leading to actions continuing
2168         to affect disconnected proxies. (#150607)
2169
2170 2004-08-22  Tor Lillqvist  <tml@iki.fi>
2171
2172         * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
2173         gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
2174         windows in the Task Manager. Implement by calling
2175         gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
2176         Evans)
2177
2178         * gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
2179         Report whole of (primary) monitor, including any taskbars.
2180         Excluding the taskbar area from the "root window" reported to GDK
2181         doesn't seem to be that useful although gdk/win32 had been doing it
2182         for a very long time. (#149013, see also #145467 and #148526)
2183
2184 Sun Aug 22 16:55:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2185
2186         * gtk/gtkexpander.c
2187         * gtk/gtkalignment.c: 
2188         * gtk/gtktexttag.c
2189         Make enums match property names. Found by a script by Tommi
2190         Komulainen.
2191
2192         * gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
2193
2194 Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2195
2196         * gtk/gtkliststore.h (struct _GtkListStore): 
2197         * gtk/gtkliststore.c (gtk_list_store_init): 
2198         * gtk/gtkliststore.c (gtk_list_store_insert): 
2199         * gtk/gtkliststore.c (gtk_list_store_remove): 
2200         Restore length field; PyGTK and maybe others use it directly.
2201
2202 Sun Aug 22 15:46:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2203
2204         * gtk/gtkpaned.c (gtk_paned_class_init):
2205         s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
2206
2207         * gtk/gtkfontbutton.c (gtk_font_button_class_init):
2208         s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/
2209
2210         Both pointed out by Tommi Komulainen.
2211
2212 Sun Aug 22 13:44:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2213
2214         * gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION,
2215         not PROP_MIN_POSITION for the max_position property. Fix pointed
2216         out by Tommi Komulainen.
2217
2218 Sun Aug 22 13:32:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2219
2220         * gtk/gtkliststore.c (gtk_list_store_insert): Normalize the
2221         position so we don't create paths with off-list
2222         indices. (#150320).
2223
2224 Sun Aug 22 12:04:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2225
2226         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Use the
2227         correct tree path (#150289, Morten Welinder).
2228
2229 Sun Aug 22 00:08:44 2004  Matthias Clasen  <maclas@gmx.de>
2230
2231         Fix #150406, reported by Fernando San Martín Woerner, patch
2232         by Gustavo Carneiro.
2233         
2234         * gtk/gtkentrycompletion.c 
2235         (gtk_entry_completion_default_completion_func): Check that 
2236         column is of type G_TYPE_STRING before proceeding.
2237
2238 Sat Aug 21 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>
2239
2240         * gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an 
2241         uninitialized tree iter.  (#150414, Torsten Schoenfeld)
2242
2243 Sat Aug 21 23:29:54 2004  Matthias Clasen  <maclas@gmx.de>
2244
2245         Fix #150738, Tomislav Jonjic.
2246         
2247         * gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS): 
2248         * gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS): 
2249         * gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS): 
2250         * gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS): 
2251         * gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS): 
2252         * gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS): 
2253         * gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS): 
2254         * gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions.
2255
2256 Wed Aug 18 17:25:26 2004  Manish Singh  <yosh@gimp.org>
2257
2258         * demos/testpixbuf-save.c
2259         * demos/gtk-demo/hypertext.c: Get rid of some unnecessary casts.
2260
2261         * demos/gtk-demo/appwindow.c: Make activate_email and activate_url
2262         match the arguments for GtkAboutDialogActivateLinkFunc.
2263
2264 Wed Aug 18 16:18:00 2004  Manish Singh  <yosh@gimp.org>
2265
2266         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): Initialize height
2267         from fixed_height before we do anything, so it always has a valid
2268         value.
2269
2270         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Fix call
2271         to gtk_tree_model_get (missing "," in param list).
2272
2273 2004-08-18  Federico Mena Quintero  <federico@ximian.com>
2274
2275         Merged from 2.4:
2276
2277         Fixes #149251:
2278
2279         * gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to
2280         SHORTCUTS_COL_DATA.  Add SHORTCUTS_COL_IS_VOLUME, to determine
2281         easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a
2282         GtkFileSystemVolume.
2283         (shortcuts_model_create): Create a boolean column for
2284         SHORTCUTS_COL_IS_VOLUME.
2285         (shortcuts_reload_icons): Simplify with the use of the
2286         SHORTCUTS_COL_IS_VOLUME column.  Don't leak the pixbuf.
2287         (shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data.
2288         (shortcuts_free_row_data): New helper function; frees the data
2289         columns for an iter.
2290         (shortcuts_remove_rows): Don't take a callback for freeing the
2291         data; free everything here instead.  Use
2292         shortcuts_free_row_data().
2293         (volume_remove_cb): Removed.
2294         (remove_bookmark_cb): Removed.
2295         (remove_row_cb): Make this a single generic function to delete
2296         rows.
2297         (shortcuts_add_volumes): Use remove_row_cb().
2298         (shortcuts_add_bookmarks): Likewise.
2299         (struct _GtkFileChooserDefault): Removed the
2300         shortcuts_current_folder_is_volume field.
2301         (shortcuts_add_current_folder): Oops, don't free the volume.
2302         (remove_current_folder_cb): Removed.
2303         (shortcut_find_position): Simplify through the use of the
2304         SHORTCUTS_COL_IS_VOLUME column.
2305         (remove_selected_bookmarks): Assert that we don't get a volume.
2306         (shortcuts_reorder): Likewise; also, plug a leak.
2307         (gtk_file_chooser_default_remove_shortcut_folder): Simplify
2308         through the use of shortcuts_remove_rows().
2309         (gtk_file_chooser_default_list_shortcut_folders): Assert that we
2310         don't get a volume.
2311         (shortcuts_activate_iter): Simplify.
2312         (home_folder_handler): Simplify by using
2313         shortcuts_activate_iter().
2314         (shortcuts_free): New function; frees all the data columns.
2315         (gtk_file_chooser_default_finalize): Unref the
2316         shortcuts_filter_model and the shortcuts model data first.
2317
2318 Wed Aug 18 08:31:17 2004  Manish Singh  <yosh@gimp.org>
2319
2320         * gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix
2321         bug #150440.
2322
2323         * gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should
2324         match constness attributes of g_get_system_data_dirs ().
2325
2326 2004-08-17  Matthias Clasen  <mclasen@redhat.com>
2327
2328         * gtk/gtkicontheme.c (gtk_icon_theme_init): Look up icon themes in the 
2329         directories specified in the icon theme spec: $HOME/.icons, 
2330         $XDG_DATA_DIRS/icons, /usr/share/pixmaps. Note that GTK+ used to also look 
2331         in $GTK_DATA_DIR/icons, $GTK_DATA_DIR/pixmaps and /usr/share/icons.  (#148694)
2332         
2333
2334         * gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
2335         painting the shadows.  (#150351, Tim Janik)
2336
2337 2004-08-17  Matthias Clasen  <mclasen@redhat.com>
2338
2339         * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
2340
2341         * gdk/gdk.symbols: Don't use #if defined().
2342
2343         * gdk/Makefile.am (gdkalias.h): 
2344         * gtk/Makefile.am (gtkalias.h): Don't use cpp to filter gtk.symbols.
2345
2346         * gdk/makegdkalias.pl: 
2347         * gtk/makegtkalias.pl: Move the #ifdef processing into the perl script, and
2348         keep the #ifdefs which differentiate between platforms.
2349
2350         * gtk/Makefile.am (gtk_private_h_sources): Remove gtkinternals.h, it is no 
2351         longer needed.
2352
2353 2004-08-17  Matthias Clasen  <mclasen@redhat.com>
2354
2355         * tests/testfilechooserbutton.c: Use g_message() throughout, add RTL envar for
2356         rtl testing.
2357
2358         * gtk/gtkfilechooserbutton.c: Get rid of HAVE_CONFIG_H.
2359         (gtk_file_chooser_button_init): Use gtk_drag_dest_add_text_targets().
2360         (gtk_file_chooser_button_drag_data_received): Use gtk_selection_data_get_text().
2361         (gtk_file_chooser_button_set_dialog): _gtk_file_chooser_entry_set_base_folder()
2362         seems to expect a path, not an uri.
2363         (update_dialog): Handle g_filename_from_uri() returning NULL, don't free
2364         info if it is NULL. 
2365
2366         * gtk/gtkfilechooserbutton.h: Minor stylistic changes.
2367
2368 2004-08-17  Matthias Clasen  <mclasen@redhat.com>
2369
2370         * gtk/gtkfilechooserbutton.[hc]: New widget to go along with 
2371         GtkFontButton and GtkColorButton for use in preference dialogs.
2372         Replaces GnomeFileEntry.  (#148108, James M. Cape)
2373
2374         * gtk/gtk.h: Include gtkfilechooserbutton.h
2375
2376         * gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h
2377         (gtk_c_sources): Add gtkfilechooserbutton.c
2378
2379         * gtk/gtk.symbols: Add the GtkFileChooserButton symbols.
2380
2381         * gtk/gtkfilechooserutils.[hc]: Make the delegate quark available. 
2382
2383         * gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow
2384         to suppress tab-eating using the new eat_tabs argument. Adjust all
2385         callers.
2386
2387         * tests/testfilechooserbutton.c: Test for GtkFileChooserButton.
2388
2389         * tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton
2390
2391 2004-08-16  Matthias Clasen  <mclasen@redhat.com>
2392
2393         * gtk/gtkwidget.c (gtk_widget_render_icon): Doc update.
2394
2395         * gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1,
2396         use the available size closest to 48.  (#150147)
2397
2398         * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return
2399         a pointer to the beginning of the sizes array, not the end.
2400
2401 2004-08-16  Morten Welinder  <terra@gnome.org>
2402
2403         * tests/testtreemodel.c (test_run): Comment out mallinfo stuff.
2404         Fix g_print %-strings.
2405
2406         * gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
2407
2408 2004-08-16  Christian Rose  <menthos@menthos.com>
2409
2410         * configure.in: Added "bs" to ALL_LINGUAS.
2411
2412 Mon Aug 16 01:35:25 2004  Matthias Clasen  <maclas@gmx.de>
2413
2414         
2415         * gtk/gtkcombobox.[hc]: Add a ::focus-on-click property and
2416         change the default behaviour to focus on click.
2417
2418         * gtk/gtkbutton.c (gtk_button_set_focus_on_click): Typo fix.
2419
2420 Mon Aug 16 01:03:08 2004  Matthias Clasen  <maclas@gmx.de>
2421
2422         * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset): 
2423         (gtk_text_iter_set_visible_line_index): Count from the 
2424         beginning of the line, not from the current position.  (#150101,
2425         Torsten Schoenfeld)
2426
2427 2004-08-15  Tor Lillqvist  <tml@iki.fi>
2428
2429         * gtk-zip.sh.in: Fix typo. The gtk.immodules file had never been
2430         included in my zipfiles...!
2431
2432         * gtk/gtkfilesystemwin32.c (extract_icon): Improve handling of
2433         icon alpha channel (on Windows XP) and mask (older Windows
2434         versions). (#148641, Tim Evans)
2435
2436 Sun Aug 15 02:31:55 2004  Matthias Clasen  <maclas@gmx.de>
2437
2438         * gtk/gtkfilesystemunix.c (get_icon_type_from_stat): Make 
2439         the use of S_ISFIFO and S_ISSOCK conditional.  (#150146,
2440         Gustavo Carneiro)
2441
2442 2004-08-14  Tor Lillqvist  <tml@iki.fi>
2443
2444         * gtk/gtkfilechooserdefault.c (shortcuts_append_home,
2445         shortcuts_append_desktop, set_local_only)
2446         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_render_icon)
2447         * gtk/gtkpathbar.c (find_button_type, _gtk_path_bar_set_file_system): 
2448         Guard against g_get_home_dir() returning NULL. (#150007)
2449
2450 Sat Aug 14 17:56:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2451
2452         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function. 
2453
2454         * gtk/gtkentry.c (in_selection): New function using
2455         gtk_entry_get_pixel_ranges() to determine whether a click is in
2456         the selection. Improve entry behavior wrt. dragging and
2457         selecting. Bug #143249.
2458
2459 Sat Aug 14 17:53:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2460
2461         * configure.in: Require glib 2.5.2
2462         
2463         * gtk/gtksequence.[ch]: New internal data structure.
2464
2465         * gtk/gtkliststore.[hc]: Reimplement in terms of new data
2466         structure
2467         
2468         * tests/Makefile.am (testtreemodel_SOURCES):
2469         * tests/testtreemodel.c: New test program written by Matthias.
2470
2471 2004-08-13  Matthias Clasen  <mclasen@redhat.com>
2472
2473         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set): 
2474         Don't install the settings_notify_cb from here, since it
2475         may be called before the first screen_changed signal, 
2476         confusing the logic in gtk_file_chooser_screen_changed().
2477         (#148803, Abel Daniel)
2478
2479         * gtk/gtkcombobox.c: Make re-sensitivation work
2480         in menu mode.
2481
2482         * gtk/gtkaction.c (gtk_action_new): Fix the docs.
2483
2484 Fri Aug 13 01:06:56 2004  Matthias Clasen  <maclas@gmx.de>
2485
2486         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): 
2487         Make fixed height mode handle insertions.  (#135955, 
2488         Michael Vogt, testcase by Tim-Philipp Müller, fix by
2489         Pawel Salek)
2490
2491 Fri Aug 13 00:40:18 2004  Matthias Clasen  <maclas@gmx.de>
2492
2493         * gtk/gtkhandlebox.c: Add missing include.
2494
2495 Thu Aug 12 23:52:12 2004  Matthias Clasen  <maclas@gmx.de>
2496
2497         Fix #149547, Markus Lausser:
2498         
2499         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): 
2500         * gtk/gtkcombobox.c (gtk_combo_box_size_request): Don't 
2501         crash if size_request or size_allocate are called early.
2502
2503         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Protect
2504         against being allocated too small.
2505
2506 Thu Aug 12 21:02:57 2004  Matthias Clasen  <maclas@gmx.de>
2507
2508         * demos/gtk-demo/appwindow.c (about_cb): Adjust to GtkAboutDialog 
2509         API changes.
2510
2511         * gtk/gtkaboutdialog.h: 
2512         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook): 
2513         (gtk_about_dialog_set_url_hook): Add callback data and destroy notify 
2514         for language bindings.  (#149999, Olivier Andrieu)
2515
2516 2004-08-12  Matthias Clasen  <mclasen@redhat.com>
2517
2518         * gtk/gtkfilesystem.c: Underscore-prefix gtk_file_system_module_get_type().
2519         * gtk/gtkfilechooserdefault.c: Underscore-prefix shortcuts_model_filter_get_type().
2520
2521         * gtk/gtkimmodule.c: Make gtk_im_module_get_type() static.
2522         * gtk/gtk.symbols:
2523         * gtk/gtkinternals.h: Remove the no longer exported get_type functions.
2524
2525 Thu Aug 12 01:35:46 2004  Matthias Clasen  <maclas@gmx.de>
2526
2527         * gtk/gtkiconview.c: Make the icon view accessible by
2528         implementing the necessary ATK interfaces.  (#149728,
2529         Padraig O'Briain)
2530
2531 Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de
2532
2533         * gtk/gtkaction.c (gtk_action_new): Link to information about
2534         allowed action names.  (#149620, David Malcolm)
2535
2536 Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>
2537
2538         * gtk/gtk.symbols: 
2539         * gtk/gtkaction.h:
2540         * gtk/gtkaction.c (gtk_action_set_sensitive): 
2541         (gtk_action_set_visible): Add setters for the ::sensitive
2542         and ::visible properties of GtkAction.  (#149622, David Malcolm)
2543
2544 2004-08-11  Federico Mena Quintero  <federico@ximian.com>
2545
2546         Fix #149422, #143457:
2547
2548         * gtk/gtkfilechooserdefault.c
2549         (gtk_file_chooser_default_should_respond): Rewrite to take the
2550         current focus into account, the contents of the save entry, and
2551         the last focus for the shortcuts list.
2552         (switch_to_selected_folder): We don't need an assertion on the
2553         action here.
2554
2555 Wed Aug 11 20:56:00 2004  Matthias Clasen  <maclas@gmx.de>
2556
2557         * gtk/gtkinternals.h: 
2558         * gtk/gtk.symbols: Add shortcuts_model_filter_get_type.
2559
2560         * gtk/abicheck.sh: Check all symbols.
2561
2562 Wed Aug 11 19:20:34 2004  Matthias Clasen  <maclas@gmx.de>
2563
2564         * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row): 
2565         Don't start a drag if the treeview is only a 
2566         drag destination.  (#149836, Pawel Salek)
2567
2568 2004-08-11  Matthias Clasen  <mclasen@redhat.com>
2569
2570         * gtk/gtktreedatalist.[hc]: 
2571         * gtk/gtkliststore.c:
2572         * gtk/gtktreestore.c: Underscore-prefix 
2573         gtk_tree_data_list_compare_func. 
2574
2575         * gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
2576
2577         * gtk/makegtkalias.pl: No need to include gtktreedatalist.h 
2578         any more.
2579
2580 2004-08-10  Matthias Clasen  <mclasen@redhat.com>
2581
2582         * gdk/Makefile.am: 
2583         * gtk/Makefile.am: Define TESTS, not TEST, so that make check
2584         actually triggers abicheck.sh.
2585
2586         * gdk/makegdkalias.pl: 
2587         * gtk/makegtkalias.pl: Include glib.h before using glib symbols. D'oh.
2588
2589         * gdk/makegdkalias.pl: 
2590         * gtk/makegtkalias.pl: Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY.
2591         
2592         * gtk/Makefile.am: Include gtkalias.h in the generated
2593         sources gtkmarhalers.c and gtkmarshal.c.
2594
2595         * gtk/makegtkalias.pl: Cosmetic fix.
2596
2597         * gdk/Makefile.am: Remove the . which was accidentally added
2598         to SUBDIRS. Include gdkalias.h in the generated sources 
2599         gdkenumtypes.c and gdkmarshalers.c.
2600
2601         * gdk/makegdkalias.pl: Cosmetic fix.
2602
2603         * gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
2604
2605 2004-08-09  Hans Breuer  <hans@breuer.org>
2606
2607         * gtk/makefile.msc.in : autogenerate gtk.def, cleanup
2608
2609         * gdk/win32/gdkwindow-win32.c gdk/win32/gdkevents-win32.c : 
2610         removed long time unused ifdef/ed code (WITHOUT_WM_CREATE), 
2611         removed duplicated call to gdk_window_set_cursor()
2612
2613 Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
2614
2615         Add hidden aliases for exported symbols which are
2616         used internally in order to get rid of many PLT 
2617         entries.  (#145519, Arjan van de Ven)
2618         
2619         * gdk/Makefile.am: Add rules to generate gdk.def and 
2620         gdkalias.h from gdk.symbols, and make make check check 
2621         the abi with abicheck.sh.
2622
2623         * gdk/gdk.symbols: New file. Definition of the GDK ABI.
2624         The file can be processed by cpp to filter out certain 
2625         subsets of symbols.
2626
2627         * gdk/abicheck.sh: New file. Script to check the actually 
2628         symbols exported from libgdk-x11.2.0.so against the symbols
2629         found in gdk.symbols.
2630
2631         * gdk/makegdkalias.pl: New file. Perl script to generate the 
2632         header containing the alias definitions for internally used 
2633         exported symbols from a list of symbols.
2634
2635         * gdk/*.c, gdk/x11/*.c: Include gdkalias.h
2636         
2637 2004-08-09  Morten Welinder  <terra@gnome.org>
2638
2639         * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
2640
2641 Mon Aug  9 15:27:01 2004  Matthias Clasen  <maclas@gmx.de>
2642
2643         * gtk/makegtkalias.pl: Also revert 
2644         GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API to its old status.
2645
2646 Mon Aug  9 15:19:34 2004  Matthias Clasen  <maclas@gmx.de>
2647
2648         * gdk/gdk.h: 
2649         * gdk/gdkrgb.h: Add the exported functions 
2650         gdk_rgb_colormap_ditherable(), gdk_pointer_grab_info_libgtk_only(),
2651         gdk_keyboard_grab_info_libgtk_only() to the appropriate
2652         headers.
2653
2654 Mon Aug  9 14:24:46 2004  Matthias Clasen  <maclas@gmx.de>
2655
2656         * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): 
2657         Make static.
2658
2659 Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
2660
2661         Add hidden aliases for exported symbols which are
2662         used internally in order to get rid of many PLT 
2663         entries.  (#145519, Arjan van de Ven)
2664         
2665         * gtk/Makefile.am: Add rules to generate gtk.def and 
2666         gtkalias.h from gtk.symbols, and make make check check 
2667         the abi with abicheck.sh.
2668         (gtk_private_h_sources): Add gtkinternals.h
2669         (gtk_built_private_headers): Add gtkalias.h
2670         (gtk_extra_sources): Add gtk.symbols
2671         (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
2672
2673         * gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
2674         The file can be processed by cpp to filter out certain 
2675         subsets of symbols.
2676
2677         * gtk/abicheck.sh: New file. Script to check the actually 
2678         symbols exported from libgtk-x11.2.0.so against the symbols
2679         found in gtk.symbols.
2680
2681         * gtk/makegtkalias.pl: New file. Perl script to generate the 
2682         header containing the alias definitions for internally used 
2683         exported symbols from a list of symbols.
2684
2685         * gtk/gtkinternals.h: New file. An uninstalled header listing
2686         symbols which must be exported for some reason and do not appear
2687         in any other header.
2688
2689         * gtk/*.c: Include gtkalias.h
2690         
2691 Mon Aug  9 11:49:46 2004  Matthias Clasen  <maclas@gmx.de>
2692
2693         * gtk/gtkmain.c: Only undef gtk_init_check and gtk_init on win32.
2694
2695 Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
2696
2697         * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() 
2698         and its inverse. The have always been exported and are meant
2699         to be public.
2700         
2701 Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
2702
2703         * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the 
2704         file contents.
2705
2706 Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
2707
2708         * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
2709         leak the icon source.
2710
2711 Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
2712
2713         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2714         leak a reference to the pixbufs.
2715
2716 Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
2717
2718         * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
2719         and sink the column.
2720         (gtk_combo_box_menu_destroy): Unref the column.
2721
2722 Sun Aug  8 23:35:00 2004  Matthias Clasen  <maclas@gmx.de>
2723
2724         * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): 
2725         (gtk_drag_dest_add_text_targets): Don't leak a reference 
2726         to the target list.
2727
2728 Sun Aug  8 22:52:26 2004  Matthias Clasen  <maclas@gmx.de>
2729
2730         * gtk/gtkcombobox.c (find_menu_by_path): Don't stumble over
2731         separators which are not backed by model rows.
2732
2733 Sun Aug  8 11:01:23 2004  Matthias Clasen  <maclas@gmx.de>
2734
2735         * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak
2736         the path.
2737
2738 2004-08-08  Hans Breuer  <hans@breuer.org>
2739
2740         * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into
2741         account again to allow dnd of other things than text
2742
2743         * gdk/win32/gdkselection-win32.c : offer windows bitmap to
2744         be pasted from clipboard (makes The GIMP 2.1's 
2745         "File/Acquire/Paste as New" work, only using gtk+ API) 
2746
2747 Sun Aug  8 01:32:36 2004  Matthias Clasen  <maclas@gmx.de>
2748
2749         * gtk/gtk.def: Add gtk_cell_renderer_progress_get_type.
2750
2751 Sun Aug  8 01:29:08 2004  Matthias Clasen  <maclas@gmx.de>
2752
2753         * gtk/gtk.def: Replace duplicate gtk_tree_view_get_hover_expand
2754         by gtk_tree_view_set_hover_expand.
2755
2756 Sun Aug  8 01:23:08 2004  Matthias Clasen  <maclas@gmx.de>
2757
2758         * gtk/gtk.def: Remove the static function gtk_menu_get_private.
2759
2760 2004-08-07  Tor Lillqvist  <tml@iki.fi>
2761
2762         * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode
2763         mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx()
2764         map it to what's printed on the keypad decimal key for the current
2765         input locale (keyboard layout). (#149404)
2766
2767 Sat Aug  7 18:19:03 2004  Matthias Clasen  <maclas@gmx.de>
2768
2769         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
2770         (shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc 
2771         instead of GtkCellRendererSepText.  (#147864)
2772
2773         * gtk/gtkcellrendererseptext.[hc]: Removed.
2774
2775         * gtk/Makefile.am: Remove gtkcellrendererseptext.[hc]
2776         
2777 Sat Aug  7 18:15:15 2004  Matthias Clasen  <maclas@gmx.de>
2778
2779         * gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted): 
2780         (gtk_combo_box_menu_row_inserted): 
2781         (gtk_combo_box_menu_row_changed): Correctly handle
2782         insertion and deletion of separators in menu mode.
2783
2784 2004-08-07  Tor Lillqvist  <tml@iki.fi>
2785
2786         * gdk/win32/gdkevents-win32.c (handle_configure_event,
2787         gdk_event_translate:WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to
2788         top-level window coordinates, not just in generated
2789         events. (#148526, Robert Ögren)
2790
2791 Sat Aug  7 01:26:08 2004  Matthias Clasen  <maclas@gmx.de>
2792
2793         Make the column drag code a bit more robust (still scary, 
2794         though).  (#106992, Christian Biere)
2795         
2796         * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert
2797         that cur_reorder is NULL here.
2798
2799         * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): 
2800         Reset cur_reorder to NULL, and only hide drag_highlight_window 
2801         if it exists.  
2802
2803 2004-08-06  Federico Mena Quintero  <federico@ximian.com>
2804
2805         Fix #144232:
2806
2807         * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a
2808         GtkFileChooserEntry for the file name, rather than a GtkEntry.
2809         (update_chooser_entry): Set the contents of the file chooser entry
2810         rather than the plain entry's.
2811         (gtk_file_chooser_default_set_current_folder): Set the new folder
2812         on the save entry.
2813         (gtk_file_chooser_default_set_current_name): Set the name on the
2814         file chooser entry.
2815         (check_save_entry): Use the file chooser entry rather than the
2816         plain entry.
2817
2818         * gtk/gtkfilechooserentry.c
2819         (_gtk_file_chooser_entry_set_base_folder): Call
2820         gtk_file_chooser_entry_changed() so that we recompute the current
2821         folder based on the new base folder.
2822
2823 2004-08-06  Hans Breuer  <hans@breuer.org>
2824
2825         * gdk/win32/gdkwindow-win32.c : make it compile and more
2826         similar to the X11 implementation [backward compatibility
2827         for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702), 
2828         use the *screen* function variants, dont reparent already 
2829         destroyed]
2830         (get_visible_region) : take the win32 part into account
2831         (_gdk_windowing_window_destroy) : remove from handle table
2832
2833         * gdk/win32/gdkdisplay-win32.c : added 
2834         gdk_display_(request|supports)_selection_notification ()
2835         with a currently mostly pointless implementation ;-)
2836
2837         * gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX,
2838         plugs memory leak
2839         (gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY
2840
2841         * gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in 
2842           gtk/stock-icons/makefile.msc tests/makefile.msc : updated
2843
2844         * gdk/gdk.def gtk/gtk.def : updated externals
2845
2846         * tests/testiconview.c : remove unneeded dirent.h inclusion
2847
2848 2004-08-06  Matthias Clasen  <mclasen@redhat.com>
2849
2850         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix
2851         an off-by-one error.  (#141809, Markku Vire)
2852
2853         * gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
2854         fix the initialization of the target list.
2855
2856         Support XDND v5. (#10220, Owen Taylor)
2857         
2858         * gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
2859         drop was successful in the GdkDragContextPrivateX11 struct.
2860         (xdnd_finished_filter): Store the success status of the drop
2861         for an XDND version 5 interaction. For other versions, always
2862         assume the drop was successful.
2863         (xdnd_check_dest): Return the protocol version.
2864         (_gdk_drag_get_protocol_for_display): Return the protocol version.
2865         (gdk_drag_find_window_for_screen): Store the used protocol version
2866         in the GdkDragContext.
2867         (xdnd_send_enter): Send the used protocol version from the context,
2868         instead of hardwiring 3.
2869         (xdnd_enter_filter): Accept protocol versions >= 3 and store the
2870         used protocol version in the context.
2871
2872         * gdk/gdkdnd.h: 
2873         * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
2874         to find out whether a drop was successful.
2875
2876 2004-07-28  Robert Ögren  <gtk@roboros.com>
2877
2878         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
2879         and y_root in button and motion events from the tablet. (#148715)
2880
2881 Thu Aug  5 19:58:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2882
2883         * gtk/gtkplug.c (gtk_plug_realize): Call
2884         gdk_window_enable_synchronized_configure()
2885
2886         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
2887         noop if gdk_window_enable_synchronized_configure() has not been
2888         called.
2889
2890 2004-08-04  Matthias Clasen  <mclasen@redhat.com>
2891
2892         * gtk/gtkfilechooser.[hc]: Add setter and getter for the 
2893         ::show-hidden property.  (#145610, Jeff Franks)
2894
2895         * tests/testiconview.c: Add buttons to select and unselect all
2896         nodes, make the popup menu actually work.
2897
2898         * gtk/gtkiconview.c: Make GTK_SELECTION_BROWSE work as intended,
2899         let button 3 presses through to the app, to make popup menus
2900         work.
2901
2902         * tests/Makefile.am: Add testiconview.
2903         * tests/testiconview.c: A test for GtkIconView
2904         * tests/gnome-textfile.png: ...which uses this image.
2905
2906 Wed Aug  4 01:37:57 2004  Matthias Clasen  <maclas@gmx.de>
2907
2908         * gtk/gtktreeview.c: 
2909         * gtk/gtktreestore.c: 
2910         * gtk/gtktreemodelfilter.c: 
2911         * gtk/gtknotebook.c: s/childs/children/g.
2912
2913 Wed Aug  4 01:04:48 2004  Matthias Clasen  <maclas@gmx.de>
2914
2915         Fix #133446, noticed by Christian Persch:
2916         
2917         * gtk/gtkaction.c (gtk_action_class_init): Add a new boolean 
2918         property ::visible-overflown. 
2919         * gtk/gtkaction.c (gtk_action_create_menu_proxy): Don't create 
2920         a menu proxy if visible_overflown is FALSE.  
2921
2922 Tue Aug  3 20:16:26 2004  Matthias Clasen  <maclas@gmx.de>
2923
2924         * gtk/gtkactiongroup.[hc]: Make the the GtkAction{Toggle,Radio,}Entry*
2925         arguments to the gtk_action_group_add_..._actions() functions const, 
2926         since the most common use case is to use a static array.  (142334, 
2927         Mariano Suarez-Alvarez)
2928
2929 Tue Aug  3 20:03:33 2004  Matthias Clasen  <maclas@gmx.de>
2930
2931         * gtk/gtkuimanager.c (get_node): Make gtk_ui_manager_add_ui()
2932         accept paths with a leading "/ui".  (#149077, David Malcolm)
2933
2934 Tue Aug  3 19:59:29 2004  Matthias Clasen  <maclas@gmx.de>
2935
2936         * gtk/gtkiconview.c: Fix some warnings.
2937
2938 Tue Aug  3 18:38:40 2004  Matthias Clasen  <maclas@gmx.de>
2939
2940         * gtk/gtktreemodelfilter.c: Correct the return type
2941         of gtk_tree_model_filter_get_flags().  (#149195, Morten Welinder)
2942
2943 Tue Aug  3 18:16:55 2004  Matthias Clasen  <maclas@gmx.de>
2944
2945         Fix #149191, reported by Morten Welinder:
2946         
2947         * gtk/gtkmain.c: Include gtkclipboard.h,
2948         * gtk/gtkwidget.h: Declare _gtk_widget_grab_notify, not
2949         _gtk_widget_emit_grab_notify.  
2950
2951 Tue Aug  3 14:50:14 2004  Matthias Clasen  <maclas@gmx.de>
2952
2953         * gtk/gtkicontheme.c (add_size): Add missing parens.
2954         (#149190, Morten Welinder)
2955
2956 Tue Aug  3 14:29:49 2004  Matthias Clasen  <maclas@gmx.de>
2957
2958         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill): Remove 
2959         accidentally committed debug code.
2960
2961 Tue Aug  3 01:19:12 2004  Matthias Clasen  <maclas@gmx.de>
2962
2963         * gtk/gtkcombobox.c (gtk_combo_box_relayout_item): Optimize 
2964         for the case that row_column and col_column are unset.  
2965         (#148868, Lorenzo Gil Sánchez)
2966
2967 Mon Aug  2 21:52:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2968
2969         * gdk/x11/gdkwindow-x11.c (ensure_sync_counter): New
2970         function. Make sure the sync counter is recreated when a window is
2971         reparented to become a toplevel. (#148358)
2972
2973 2004-08-02  Matthias Clasen  <mclasen@redhat.com>
2974
2975         * tests/testcombo.c: Some trees in combo boxes.
2976
2977         * gtk/gtkcombobox.c: Rework the combo box to handle 
2978         tree models.  (#139582, Matt Walton)
2979         
2980         * gtk/gtktreeview.h: 
2981         * gtk/gtktreeview.c: 
2982         * gtk/gtktreeprivate.h: Add a new boolean property 
2983         ::hover-expand and make the treeview expand/collapse rows
2984         on mouseover if it is set.
2985
2986         * gtk/gtkiconview.h: Remove some erroneous declarations.
2987
2988         * gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
2989         crash if the displayed row is gone.
2990
2991 2004-08-02  Morten Welinder  <terra@gnome.org>
2992
2993         * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
2994
2995 Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
2996
2997         * gtk/gtktextview.[hc]: 
2998         * gtk/gtkentry.[hc]: Add a new binding signal ::backspace,
2999         bind it to the backspace key, and make it pay attention 
3000         to the Pango backspace_deletes_character 
3001         attribute.  (#119891, Noah Levitt, patch by Theppitak 
3002         Karoonboonyanan)
3003
3004 Mon Aug  2 01:02:57 2004  Matthias Clasen  <maclas@gmx.de>
3005
3006         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): 
3007         (gdk_check_wm_desktop_changed): Add missing error 
3008         traps.  (#149011, Thomas Leonard)
3009
3010 Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>
3011
3012         * gtk/gtktextview.c (blink_cb): Add the same warning
3013         that the blink_cb() in GtkEntry already has.  (#148733)
3014
3015 Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>
3016
3017         * gtk/gtkentry.c (gtk_entry_class_init):
3018         (gtk_entry_get_alignment): 
3019         (gtk_entry_set_alignment): Document the xalign property
3020         and its getter and setter as 2.4 additions.  (#148978,
3021         Axel Simon)
3022
3023 Mon Aug  2 00:11:31 2004  Matthias Clasen  <maclas@gmx.de>
3024
3025         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): 
3026         * gtk/gtkactiongroup.c (gtk_action_group_class_init): Use
3027         canonical signal names in doc comments, since gtk-doc won't
3028         pick up signal docs with underscores.  
3029
3030 2004-08-01  Matthias Clasen  <mclasen@redhat.com>
3031         
3032         * configure.in: Post-release version bump
3033
3034         * === Released 2.5.1 ===
3035  
3036 Thu Jul 29 16:36:42 2004  Jonathan Blandford  <jrb@redhat.com>
3037
3038         * gtk/gtktreeprivate.h: New arguments
3039
3040         * gtk/gtktreeview.c:
3041         (gtk_tree_view_class_init): Add key_release callback
3042         (gtk_tree_view_init): Initialize timeout handler
3043         (gtk_tree_view_unrealize): clear timeout if needed
3044         (gtk_tree_view_key_press): Typeahead support
3045         (gtk_tree_view_key_release): Not used yet -- will be needed for
3046         typeahead.
3047         (gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry
3048         in a timeout.
3049         (gtk_tree_view_ensure_interactive_directory):
3050         (gtk_tree_view_real_start_interactive_search):
3051         (gtk_tree_view_search_init):
3052         (gtk_tree_view_start_interactive_search): Typeahead support added.
3053         (gtk_tree_view_search_dialog_hide): Clear timeout and text when we
3054         hide.
3055
3056 Sat Jul 31 23:17:44 2004  Matthias Clasen  <maclas@gmx.de>
3057
3058         * NEWS: Updates
3059
3060 Sat Jul 31 01:13:01 2004  Matthias Clasen  <maclas@gmx.de>
3061
3062         * gtk/gtkwindow.c: 
3063         * gtk/gtkentry.c: 
3064         * gtk/gtkaction.c: Use the canonical form of signal names 
3065         after "notify::". Otherwise, no notification arrives. 
3066         GObject should have a warning for that, really.  (#148879, 
3067         Lorenzo Gil Sánchez)
3068
3069 Sat Jul 31 00:42:08 2004  Matthias Clasen  <maclas@gmx.de>
3070
3071         * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): 
3072         * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't
3073         set both states at once.  (#148789, Matthew Garrett)
3074
3075 2004-07-30  Matthias Clasen  <mclasen@redhat.com>
3076
3077         * gtk/gtkcombobox.c: Don't forget to destroy the row separator
3078         function user data when the combo box is destroyed.
3079
3080 2004-07-30  Matthias Clasen  <mclasen@redhat.com>
3081
3082         * gtk/gtkcombobox.h: 
3083         * gtk/gtkcombobox.c: Change the api for separators to use a 
3084         separator function instead of a boolean column.
3085
3086         * tests/testcombo.c: Update to match the api change.
3087
3088 Fri Jul 30 02:21:41 2004  Matthias Clasen  <maclas@gmx.de>
3089
3090         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
3091         Fix the positioning of the popup. 
3092
3093 Fri Jul 30 00:56:31 2004  Matthias Clasen  <maclas@gmx.de>
3094
3095         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_active_changed): 
3096         Implement this in terms of gtk_combo_box_get_active_iter(),
3097         instead of gtk_combo_box_get_active().
3098
3099 2004-07-29  Federico Mena Quintero  <federico@ximian.com>
3100
3101         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
3102         a field for an "add to shortcuts" menu item.
3103         (popup_menu_detach_cb): Clear out the field.
3104         (file_list_build_popup_menu): Only build the menu here.
3105         (file_list_update_popup_menu): Build the menu, then update the
3106         sensitivity of its items.
3107         (file_list_popup_menu): Use file_list_update_popup_menu().
3108         (bookmarks_check_add_sensitivity): Also set the sensitivity of the
3109         popup menu item.  Correctly handle the case for a *single* file.
3110         Simplify a bit.
3111         (bookmarks_add_selected_folder): New helper function; code moved
3112         over from add_bookmark_button_clicked_cb().
3113         (add_bookmark_button_clicked_cb): Use the function above.
3114         (selection_check): Rather than returning a boolean value for
3115         emptiness, actually return the number of selected rows.  Also,
3116         simplify a bit.
3117         (get_selected_path): New helper function.
3118
3119 2004-07-29  Anders Carlsson  <andersca@gnome.org>
3120
3121         * demos/gtk-demo/Makefile.am:
3122         * demos/gtk-demo/clipboard.c: (copy_button_clicked),
3123         (paste_received), (paste_button_clicked), (do_clipboard):
3124         Add clipboard demo.
3125         
3126 2004-07-28  Federico Mena Quintero  <federico@ximian.com>
3127
3128         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
3129         Store signal IDs in gulongs, not guints!
3130         (gtk_file_chooser_default_hierarchy_changed): We now monitor the
3131         focus widget on our toplevel to know which widget was last focused
3132         at the time our "should_respond" method gets called.
3133         (shortcuts_activate_selected): New helper function.
3134         (shortcuts_get_selected): New helper function.
3135         (remove_selected_bookmarks): Use shortcuts_get_selected().
3136         (bookmarks_check_remove_sensitivity): Likewise.
3137         (shortcuts_reorder): Likewise.
3138         (shortcuts_activate_iter): Renamed from shortcuts_activate_item().
3139         Activate by iter, not by item number.
3140         (save_folder_combo_changed_cb): Use shortcuts_activate_iter().
3141         (shortcuts_row_activated_cb): Likewise.
3142         (gtk_file_chooser_default_should_respond): If the last focused
3143         widget on the toplevel was the shortcuts list, activate the
3144         selected shortcut.
3145
3146 2004-07-28  Matthias Clasen  <mclasen@redhat.com>
3147
3148         * gdk/linux-fb/gdkprivate-fb.h: Make the fb backend compile against
3149         current freetype.  (#148558, Nicolas Deves)
3150
3151         * gtk/gtktreeview.c: Replace the EXPANDER_MAX macro by 
3152         ROW_HEIGHT.  (#145528)
3153
3154         * gtk/gtkuimanager.c: Warning fixes.
3155
3156         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Fix
3157         prototype mismatch.  (#148589, Nicolas Deves)
3158
3159 2004-07-28  Anders Carlsson  <andersca@gnome.org>
3160
3161         * gdk/x11/gdkdrawable-x11.c (gdk_draw_rectangle_alpha_libgtk_only): 
3162         Cast to 32-bit integers when premultiplying, suggested by Keith Packard.
3163
3164 2004-07-27  Anders Carlsson  <andersca@gnome.org>
3165
3166         * demos/gtk-demo/iconview.c: (do_iconview):
3167         Change selection mode to multiple.
3168         
3169         * gdk/gdkdrawable.h:
3170         * gdk/linux-fb/gdkdrawable-fb2.c:
3171         (gdk_draw_rectangle_alpha_libgtk_only):
3172         * gdk/win32/gdkdrawable-win32.c:
3173         (gdk_draw_rectangle_alpha_libgtk_only):
3174         * gdk/x11/gdkdrawable-x11.c: (gdk_x11_draw_image),
3175         (get_impl_drawable), (gdk_x11_draw_pixbuf),
3176         (gdk_draw_rectangle_alpha_libgtk_only):
3177         Add gdk_draw_rectangle_alpha_libgtk_only which uses 
3178         XRenderFillRectangle on X11. It's stubbed out on the 
3179         Win32 and fb backends.
3180         
3181         * gtk/gtkiconview.c: 
3182         (gtk_icon_view_paint_rubberband):
3183         Use gdk_draw_rectangle_alpha_libgtk_only here.
3184
3185 2004-07-27  Anders Carlsson  <andersca@gnome.org>
3186
3187         * gtk/gtkaboutdialog.c: (gtk_about_dialog_init),
3188         (text_view_style_set), (add_credits_page),
3189         (display_credits_dialog), (display_license_dialog):
3190         Remove dialog separators, fix text view background setting,
3191         use Close buttons instead of OK buttons.
3192         
3193 2004-07-27  Matthias Clasen  <mclasen@redhat.com>
3194
3195         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): 
3196         Add a frame around the C-f popup to stop it from merging visually
3197         in whatever is underneath.
3198
3199         * gtk/gtkcombobox.h: 
3200         * gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New 
3201         function necessary to make GtkComboBox accessible.  (#132847, 
3202         Padraig O'Briain)
3203
3204 Tue Jul 27 02:34:06 2004  Matthias Clasen  <maclas@gmx.de>
3205
3206         * gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
3207         windows when disposing them.  (#133231, Michael Natterer)
3208
3209 2004-07-26  Matthias Clasen  <mclasen@redhat.com>
3210
3211         * gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
3212         for GtkLabel::ellipsize.
3213
3214 Mon Jul 26 00:38:27 2004  Matthias Clasen  <maclas@gmx.de>
3215
3216         Make the GtkComboBox in list mode scroll if the list is too
3217         large to fit in the popup.  (#135543)
3218
3219         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add a 
3220 o       scrolled window to the popup in list mode.
3221         (gtk_combo_box_list_position): Calculate the height of the
3222         popup so that it fits on the screen, set the scrollbar policy
3223         of the scrolled window appropriately.
3224         (gtk_combo_box_popup): Use the height calculated by 
3225         gtk_combo_box_list_position().
3226         (gtk_combo_box_remeasure): Don't add unnecessary padding.
3227         (gtk_combo_box_size_request): But add the focus with here.
3228         (gtk_combo_box_list_setup): Connect to enter notify on the 
3229         popup window to activate auto scrolling.
3230         (gtk_combo_box_list_enter_notify): Activate auto scrolling.
3231         (gtk_combo_box_list_button_pressed): Setup a timeout for
3232         auto scrolling. 
3233         (gtk_combo_box_list_scroll_timeout): Timeout function for
3234         auto scrolling.
3235         (gtk_combo_box_list_auto_scroll): Scroll the list when the 
3236         pointer leaves the window.
3237         
3238 Sun Jul 25 19:51:17 2004  Matthias Clasen  <maclas@gmx.de>
3239
3240         * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
3241         events from the content of the page.  (#148409, Gabriel 
3242         de Perthuis)
3243
3244 Sat Jul 24 21:38:12 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3245
3246         * gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
3247         add a tool item to a toolbar using the deprecated API.
3248
3249 Fri Jul 23 13:04:10 2004  Matthias Clasen  <maclas@gmx.de>
3250
3251         * gtk/gtkdnd.c (gtk_drag_dest_set): Revert the change to
3252         initialize target_list to an empty list instead of NULL,
3253         since it broke tree dnd.  (#148215, Ernst Persson)
3254
3255         * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): 
3256         * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead 
3257         handle target list being NULL here.
3258
3259 2004-07-23  Dafydd Harries  <daf@muse.19inch.net>
3260
3261         * gtk/gtkradioaction.c:
3262         * gtk/gtkradiobutton.c:
3263         * gtk/gtkentry.c:
3264         * gtk/gtkmisc.c:
3265         Improve various translatable messages. (#137616)
3266
3267 Fri Jul 23 11:11:10 2004  Matthias Clasen  <maclas@gmx.de>
3268
3269         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): 
3270         Align the entry in the same way as the cell.  (#136749)
3271
3272 Fri Jul 23 11:01:00 2004  Matthias Clasen  <maclas@gmx.de>
3273
3274         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
3275         Don't iterate too far up. (#147965, Olivier Sessink)
3276
3277 Fri Jul 23 10:28:43 2004  Matthias Clasen  <maclas@gmx.de>
3278
3279         * gtk/gtktreeview.c (gtk_tree_view_finalize): 
3280         * gtk/gtkradioaction.c (gtk_radio_action_finalize): 
3281         * gtk/gtkfontsel.c (gtk_font_selection_finalize): 
3282         * gtk/gtkcellview.c (gtk_cell_view_finalize): 
3283         * gtk/gtkcalendar.c (gtk_calendar_finalize): 
3284         * gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
3285         unnecessary checks.  (#148175, Morten Welinder)
3286
3287 Thu Jul 22 01:42:16 2004  Matthias Clasen  <maclas@gmx.de>
3288
3289         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
3290         Add a new :ellipsize property which controls ellipsization of the 
3291         rendered text.  (#144835, Vincent Untz, patch by Jonathan Blandford
3292         and Anders Carlsson)
3293         
3294         * gtk/gtkfilechooserdefault.c (create_file_list): Use ellipsization
3295         for the name column.
3296
3297 Thu Jul 22 01:21:28 2004  Matthias Clasen  <maclas@gmx.de>
3298
3299         * gtk/gtkfontsel.c (gtk_font_selection_init): Add additional
3300         accessability relations.  (#141804,  Padraig O'Briain)
3301
3302 Thu Jul 22 01:16:23 2004  Matthias Clasen  <maclas@gmx.de>
3303
3304         * gtk/gtkcombobox.c: Avoid some warnings.
3305
3306 Thu Jul 22 01:05:16 2004  Matthias Clasen  <maclas@gmx.de>
3307
3308         * configure.in: Require Pango 1.5.1 (for ellipsisation).
3309
3310         * gtk/gtklabel.h: 
3311         * gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsize
3312         property which controls ellipsization of the label.  (#125250, 
3313         Tim Van Wassenhove, patch by James M. Cape)
3314
3315         * tests/testellipsise.c: Simple test for ellipsizsation.
3316
3317 Wed Jul 21 22:46:27 2004  Matthias Clasen  <maclas@gmx.de>
3318
3319         * gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
3320         list store.  (#148134, Crispin Flowerday)
3321
3322 Wed Jul 21 22:35:47 2004  Matthias Clasen  <maclas@gmx.de>
3323
3324         * gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the
3325         menu.  (#148110, Tommi Komulainen)
3326
3327 Wed Jul 21 22:24:10 2004  Matthias Clasen  <maclas@gmx.de>
3328
3329         * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
3330         tree model and tree row reference.  (#148125, Crispin Flowerday)
3331
3332 Wed Jul 21 22:17:06 2004  Matthias Clasen  <maclas@gmx.de>
3333
3334         * tests/testcombo.c (main): Don't leak models.  (#148128,
3335         Tommi Komulainen)
3336
3337 Wed Jul 21 21:26:08 2004  Matthias Clasen  <maclas@gmx.de>
3338
3339         * gtk/gtkviewport.c (viewport_set_adjustment): Don't leak
3340         the adjustments.  (#148089, Tommi Komulainen)
3341
3342 Wed Jul 21 21:20:21 2004  Matthias Clasen  <maclas@gmx.de>
3343
3344         * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't leak
3345         the adjustments.  (#148073, Tommi Komulainen)
3346
3347 Wed Jul 21 21:04:50 2004  Matthias Clasen  <maclas@gmx.de>
3348
3349         * gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the 
3350         arrow.  (#148064, Tommi Komulainen)
3351
3352 2004-07-21  Matthias Clasen  <mclasen@redhat.com>
3353
3354         * gtk/gtkcalendar.c: Use the new text target functionality
3355         in GtkTargetList instead of hardcoding a subset of text targets.
3356
3357 Tue Jul 20 23:11:23 2004  Matthias Clasen  <maclas@gmx.de>
3358
3359         * gdk/x11/gdkevents-x11.c: Hook up gtk-menu-bar-accel to
3360         an XSetting, Gtk/MenuBarAccel.  (#120859, Scott James Remnant)
3361
3362 Tue Jul 20 22:26:29 2004  Matthias Clasen  <maclas@gmx.de>
3363
3364         * gtk/gtkfilechooserutils.h: 
3365         * gtk/gtktoolbutton.c: 
3366         * gtk/gtktoolbar.c: 
3367         * gtk/gtkicontheme.c: 
3368         * gtk/gtkcalendar.c: 
3369         * demos/gtk-demo/ui_manager.c: 
3370         * demos/gtk-demo/appwindow.c: Remove trailing commas
3371         from enumerations.  (#148035)
3372
3373 2004-07-20  Federico Mena Quintero  <federico@ximian.com>
3374
3375         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Fix the
3376         documentation comment for the editing-started signal.
3377
3378         * gtk/gtkmarshalers.list: Added VOID:OBJECT,STRING for
3379         GtkCellRenderer::editing-started.
3380
3381 2004-07-20  Matthias Clasen  <mclasen@redhat.com>
3382
3383         * tests/testactions.c (main): 
3384         * tests/testmerge.c (main): Add some refcount debugging.
3385
3386         * gtk/gtkuimanager.c (update_node, free_node): Ref an sink
3387         all proxies, so that we can properly clean up floating proxies
3388         which the app didn't adopt.  (#147926, Tommi Komulainen)
3389
3390 2004-07-20  Matthias Clasen  <mclasen@redhat.com>
3391
3392         Allow custom initialization of cell editables.  (#147221)
3393         
3394         * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): 
3395         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a 
3396         ::editing-started signal as a hook for setting up the 
3397         GtkCellEditable.
3398         (gtk_cell_renderer_start_editing): ...and emit it here.
3399
3400 Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>
3401
3402         * gtk/gtktreeview.c (gtk_tree_view_button_press): Set drag_pos
3403         before grabbing the focus, since we may reenter into 
3404         gtk_tree_view_motion_resize_column() which requires drag_pos
3405         to be set.  (#147913, Guilherme Salgado, patch by John Finlay) 
3406
3407 Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>
3408
3409         * gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
3410         use uninitialized node pointer.  (#147911, Peter Zelezny)
3411
3412 Tue Jul 20 04:34:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3413
3414         * configure.in: Bump version number
3415
3416 Sun Jul 18 17:21:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3417
3418         * === Released 2.5.0 ===
3419
3420         * NEWS: updates
3421
3422         * tests/testcombo.c: Fix compilation
3423
3424 2004-07-19  Matthias Clasen  <mclasen@redhat.com>
3425
3426         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_popup_completion):
3427         Fix doc comment.
3428         
3429 2004-07-19  Matthias Clasen  <mclasen@redhat.com>
3430
3431         Make GtkCellView public, since people seem to have uses for it, 
3432         it is clean API and we were just conservative in not making it 
3433         public initially. At the same time, get rid of GtkCellViewMenuItem,
3434         which doesn't have any function which can't be served by a
3435         GtkMenuItem with a GtkCellView child.  (#136637, Padraig O'Briain)
3436
3437         * gtk/gtk.h: Include gtkcellview.h
3438
3439         * gtk/Makefile.am (gtk_public_h_sources): 
3440
3441         * gtk/Makefile.am (gtk_private_h_sources): 
3442         (gtk_c_sources): Remove gtkcellviewmenuitem.[hc]
3443         * gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by
3444         GtkMenuItem with a GtkCellView child.
3445
3446         * gtk/gtkcellviewmenuitem.[hc]: Removed.
3447
3448 2004-07-19  Matthias Clasen  <mclasen@redhat.com>
3449
3450         Support inline autocompletion in entries  (#135953)
3451         
3452         * gtk/gtkentryprivate.h: 
3453         * gtk/gtkentrycompletion.h: 
3454         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
3455         Add a new signal ::insert-prefix which can be used to override 
3456         the default inline-completion behaviour. Add two new boolean
3457         properties, :popup_completion and :inline_completion which
3458         determine how the possible completions should be presented.
3459         (gtk_entry_completion_insert_prefix): New function to request
3460         a prefix insertion. 
3461
3462         * gtk/gtkentry.c: Add the necessary glue for inline completion. 
3463
3464 Sun Jul 18 15:28:24 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3465
3466         * gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
3467         empty target list if targets is NULL.
3468
3469         * configure.in: Add check for X11/extensions/sync.h. (#147416,
3470         Morten Welinder)
3471
3472 Sun Jul 18 01:24:31 2004  Matthias Clasen  <maclas@gmx.de>
3473
3474         * NEWS: Updates for 2.5.0
3475
3476 Sat Jul 17 23:11:04 2004  Matthias Clasen  <maclas@gmx.de>
3477
3478         * gtk/gtkiconview.h:
3479         * gtk/gtkiconview.c (gtk_icon_view_class_init): 
3480         * gtk/gtkiconview.c (gtk_icon_view_set_orientation): 
3481         * gtk/gtkiconview.c (gtk_icon_view_get_orientation): 
3482         * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): 
3483         * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): 
3484         Add a new :orientation property to determine whether text
3485         is positioned below or beside icons.  (#147463)
3486
3487 Sat Jul 17 23:03:30 2004  Matthias Clasen  <maclas@gmx.de>
3488
3489         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
3490         * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): 
3491         * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Draw 
3492         focus indicator outside the selection, respect focus 
3493         line width.  (#147460) 
3494
3495 Sat Jul 17 01:17:33 2004  Matthias Clasen  <maclas@gmx.de>
3496
3497         * gdk/x11/gdkdnd-x11.c (xdnd_check_dest): Fix a warning
3498         message.
3499
3500 Sat Jul 17 00:48:27 2004  Matthias Clasen  <maclas@gmx.de>
3501
3502         Support text/plain selection target  (#55117, Owen Taylor)
3503         
3504         * gtk/gtkselection.h: 
3505         * gtk/gtkdnd.h: 
3506         * gtk/gtkselection.c (gtk_target_list_add_text_targets): 
3507         * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): 
3508         * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New
3509         functions to facilitate handling of text targets.
3510
3511         * gtk/gtkentry.c: 
3512         * gtk/gtktextview.c: Use the new text target handling 
3513         functions instead of hardwiring the list of supported
3514         text targets everywhere.
3515
3516         * gtk/gtkselection.c (gtk_selection_data_get_text): 
3517         (gtk_selection_data_set_text): 
3518         Support the targets text/plain, text/plain?charset=utf-8
3519         and text/plain?charset=<LOCALE-CHARSET> as outlined in
3520         #55117: 
3521         For text/plain send only ASCII, but accept 8-bit text 
3522         and treat it as ISO-8859-1 as specified by the Xdnd spec.
3523         Always send CRLF terminators. Accept either and convert
3524         into the native terminator for the platform.
3525         
3526 Fri Jul 16 23:20:34 2004  Matthias Clasen  <maclas@gmx.de>
3527
3528         Support themed window icons.  (#92346, Calum Benson)
3529         
3530         * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): New 
3531         function to obtain information about the sizes in which an
3532         icon is available.  
3533
3534         * gtk/gtkwindow.h: 
3535         * gtk/gtkwindow.c (gtk_window_class_init): 
3536         (gtk_window_set_icon_name): 
3537         (gtk_window_get_icon_name): Add an "icon_name" property
3538         (gtk_window_set_default_icon_name): ...and a default icon name. 
3539         (icon_list_from_theme): 
3540         (update_themed_icon): New auxiliary functions to create a 
3541         list of all available sizes of a themed icon and update the
3542         window icon list from it.
3543
3544 2004-07-16  Matthias Clasen  <mclasen@redhat.com>
3545
3546         * gtk/gtkcombobox.c (gtk_combo_box_scroll_event): Make 
3547         scrolling work if no item is selected.
3548         (gtk_cell_editable_key_press): Don't eat space.
3549
3550         Add a combo box cell renderer (#139347, Lorenzo Gil Sanchez)
3551         
3552         * gtk/gtkcellrenderercombo.[hc]: New Files.
3553
3554         * gtk/gtk.h: 
3555         * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): 
3556         Add the new files.
3557
3558         * gtk/gtkcombobox.[hc]: Implement GtkCellEditable, add a 
3559         :has-frame property for suppressing the frame around 
3560         the child and redo the size allocation logic to take 
3561         focus width into account.
3562
3563         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): 
3564         Acknowledge the GtkComboBox:has-frame property and make
3565         the entry fill its allocation vertically.
3566
3567         * gtk/gtkmarshalers.list: Add BOOLEAN:STRING.
3568                 
3569         * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Queue
3570         a draw here to keep non-widget windows from leaving 
3571         shadows behind.
3572
3573 2004-07-16  Matthias Clasen  <mclasen@redhat.com>
3574
3575         * gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate
3576         multiple times over some of the children. 
3577
3578 Thu Jul 15 22:19:40 2004  Matthias Clasen  <maclas@gmx.de>
3579
3580         Fix #60128, #58307, #144706:
3581         
3582         * gtk/gtkstyle.c (gtk_style_real_copy): Handle references
3583         to bg_pixmaps properly.
3584         (gtk_style_real_unrealize): Don't keep dangling references
3585         to the bg_pixmaps.  
3586         (gtk_style_attach): Split the loop into two loops, first 
3587         looking for a matching style, then for an empty one.
3588         (gtk_style_finalize): 
3589         (gtk_style_duplicate): Add comments explaining the handling
3590         of style->styles.
3591
3592 Thu Jul 15 20:31:28 2004  Matthias Clasen  <maclas@gmx.de>
3593
3594         * gtk/gtkspinbutton.c (start_spinning): Install the timeout
3595         before changing the value, so that a ::value_changed handler
3596         has a chance to remove it.  (#122427, Elke Meier)
3597
3598 Thu Jul 15 19:20:05 2004  Matthias Clasen  <maclas@gmx.de>
3599
3600         * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): 
3601         * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot'
3602         instead of 'can not' in messages.  (#144226, Morten Welinder)
3603
3604 2004-07-15  Matthias Clasen  <mclasen@redhat.com>
3605
3606         * gtk/gtktreeview.c (gtk_tree_view_class_init): 
3607         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
3608         Correct the declared default values of several properties
3609         to be in sync with the actual initial values.
3610
3611         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): 
3612         Make spacing a property, correct the declared default values 
3613         of several properties to be in sync with the actual initial 
3614         values.  (#147654, Matthias Clasen)
3615
3616         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Don't reparent
3617         back to menu->toplevel if it is already gone because we're
3618         shutting down.  (#147656, John Cupitt)
3619
3620 2004-07-14  Federico Mena Quintero  <federico@ximian.com>
3621
3622         Fix #126295:
3623
3624         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
3625         indicator along the edge of the bin_window when the tree is empty.
3626         (grab_focus_and_unset_draw_keyfocus): New helper function.
3627         (gtk_tree_view_button_press): Remove a bit of superfluous code.
3628         Use the helper function to save on duplicated code.
3629         (gtk_tree_view_button_press): Grab the focus if the tree is empty.
3630         (gtk_tree_view_focus): Allow focusing into an empty tree.
3631
3632 2004-07-14  Matthias Clasen  <mclasen@redhat.com>
3633
3634         * gtk/gtkaboutdialog.c (add_credits_page): Don't use
3635         gcc extensions for the ternary ?: operator.  (#147590,
3636         Damien Carbery)
3637
3638 2004-07-14  Federico Mena Quintero  <federico@ximian.com>
3639
3640         Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:
3641
3642         * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Set the
3643         accessible object name for the tree view.
3644         (create_file_list): Likewise.
3645
3646 Tue Jul 13 21:53:08 2004  Matthias Clasen  <maclas@gmx.de>
3647
3648         * gtk/gtkicontheme.c (free_unthemed_icon): Don't leak
3649         no_svg_filename.  (#147399, Kjartan Maraas)
3650
3651 2004-07-13  Matthias Clasen  <mclasen@redhat.com>
3652
3653         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): 
3654         Make this work in RTL context.
3655
3656 2004-07-13  Federico Mena Quintero  <federico@ximian.com>
3657
3658         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Set a
3659         busy cursor while mounting the volume.  Also, ref the chooser
3660         while mounting, as we may re-enter.  Fixes #139376.
3661
3662 2004-07-13  Matthias Clasen  <mclasen@redhat.com>
3663
3664         * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): 
3665         Prepare to handle composite implementations of
3666         GtkCellEditable, but recursively poking at
3667         allocation->y (hack stolen from GtkCList).
3668         (check_expander_max): Tweak the warning.
3669
3670         * gtk/gtkmain.h: Add gtk_parse_args(), its a public 
3671         function.  (#147476, Owen Taylor)
3672
3673         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
3674         crash if unrealized.
3675
3676 Tue Jul 13 01:50:06 2004  Matthias Clasen  <maclas@gmx.de>
3677
3678         * gtk/gtkaboutdialog.c (display_credits_dialog): Don't
3679         display untranslated translator credits. 
3680
3681 Tue Jul 13 01:15:05 2004  Matthias Clasen  <maclas@gmx.de>
3682
3683         * gtk/gtkiconview.c: Some documentation updates.
3684
3685 Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3686
3687         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
3688         empty begin_paint_region()/end_paint() for windows without
3689         EXPOSURE_MASK.
3690
3691         * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
3692         _gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.
3693
3694 2004-07-12  Matthias Clasen  <mclasen@redhat.com>
3695
3696         * demos/gtk-demo/appwindow.c: Use a GtkAboutDialog.
3697
3698         * gtk/gtkaboutdialog.h: 
3699         * gtk/gtkaboutdialog.c: New widget: GtkAboutDialog.
3700
3701         * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): 
3702         * gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli,
3703         patch by Matthias Clasen)
3704
3705         * gtk/gtkrc.c (_gtk_rc_init): Apply the gtk-default-menu-item-style 
3706         to cell view menu items as well.  (#147405, John Cupitt)
3707
3708         * gtk/gtkentrycompletion.c: Warning fixes.  (#147420,
3709         Morten Welinder)
3710
3711         * gtk/gtkcombobox.c (gtk_combo_box_destroy): Pop down 
3712         first. (#147399, John Cupitt)
3713
3714 Mon Jul 12 01:56:26 2004  Matthias Clasen  <maclas@gmx.de>
3715
3716         * gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents): 
3717         Include the update_counter check in the HAVE_XSYNC condition,
3718         since update_counter isn't present in the !HAVE_XSYNC case.
3719
3720 Mon Jul 12 00:52:04 2004  Matthias Clasen  <maclas@gmx.de>
3721
3722         * gtk/stock-icons/Makefile.am: 
3723         * gtk/stock-icons/stock_about_{16,24}.png: 
3724         * gtk/stock-icons/stock_connect_{16,24}.png: 
3725         * gtk/stock-icons/stock_disconnect_{16,24}.png: 
3726         * gtk/stock-icons/stock_edit_{16,24}.png: 
3727         * gtk/stock-icons/stock_media_forward_{16,24}.png: 
3728         * gtk/stock-icons/stock_media_next_{16,24}.png: 
3729         * gtk/stock-icons/stock_media_pause_{16,24}.png: 
3730         * gtk/stock-icons/stock_media_play_{16,24}.png: 
3731         * gtk/stock-icons/stock_media_previous_{16,24}.png: 
3732         * gtk/stock-icons/stock_media_record_{16,24}.png: 
3733         * gtk/stock-icons/stock_media_rewind_{16,24}.png: 
3734         * gtk/stock-icons/stock_media_stop_{16,24}.png: 
3735         * gtk/gtkstock.h (GTK_STOCK_ABOUT): 
3736         * gtk/gtkstock.h (GTK_STOCK_CONNECT): 
3737         * gtk/gtkstock.h (GTK_STOCK_DISCONNECT): 
3738         * gtk/gtkstock.h (GTK_STOCK_EDIT): 
3739         * gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD): 
3740         * gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT): 
3741         * gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE): 
3742         * gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY): 
3743         * gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS): 
3744         * gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD): 
3745         * gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND): 
3746         * gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP): 
3747         * gtk/gtkiconfactory.c (get_default_icons): 
3748         * gtk/gtkstock.c (builtin_items): Add a number of new stock 
3749         items.  (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
3750         Michael Opdenacker)
3751
3752 Sun Jul 11 15:24:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3753
3754         Bug 143330, support update counter spec.
3755         
3756         * configure.in: Add check for the Sync extension
3757
3758         * gdk/gdkwindow.h: gdk_window_enable_synchronized_configure() and
3759         gdk_window_configure_finished()
3760
3761         * gtk/gtkwindow.c (gtk_window_move_resize): Call gdk_window_finish_configure().
3762         * gtk/gtkwindow.c (gtk_window_realize): Automatically enable
3763         synchronized configures.
3764
3765         * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store current
3766         and pending counter values. 
3767
3768         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): New function.
3769         * gdk/x11/gdkwindow-x11.c
3770         (gdk_window_enable_synchronized_configure): New function.
3771         * gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
3772         Delete update counter.
3773         * gdk/x11/gdkwindow-x11.c (set_wm_protocols): Advertise
3774         _NET_WM_SYNC_REQUEST when Sync is available
3775
3776         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Handle
3777         _NET_WM_SYNC_REQUEST messages
3778         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Save counter
3779         value for use by gdk_window_configure_finished() when receiving
3780         ConfigureNotifies.
3781
3782         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add use_sync flag
3783         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Check if the XSync
3784         extension is available
3785         * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_SYNC_REQUEST and
3786         _NET_WM_SYNC_REQUEST_COUNTER to list of supported atoms.
3787
3788         * gdk/linux-fb/gdkwindow-fb.c, gdk/win32/gdkwindow-win32.c: Add
3789         stubs for enable_synchronized_configure() and configure_finished()
3790
3791 Sat Jul 10 23:35:13 2004  Matthias Clasen  <maclas@gmx.de>
3792
3793         * gtk/gtkentry.c (paste_received): Make middle-button pasting
3794         work as expected inside the entry.  (#116789, Scott Bronson)
3795
3796 Sat Jul 10 22:13:53 2004  Matthias Clasen  <maclas@gmx.de>
3797
3798         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): Update 
3799         clipboards.  (#142805, Mikael Hallendal)
3800
3801 Sun Jul 11 01:38:48 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3802
3803         * gtk/gtkpaned.c (gtk_paned_expose): Remove clip-region computing
3804         code. Just use &paned->handle_pos.
3805
3806 Sun Jul 11 01:12:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3807
3808         Bug 144271
3809         
3810         * gtk/gtknotebook.c (gtk_notebook_size_allocate): Remove an
3811         unnecessary redraw..
3812
3813         * gtk/gtknotebook.c (gtk_notebook_page_allocate): Remove some
3814         incorrect redraws.
3815
3816 Sat Jul 10 01:33:25 2004  Matthias Clasen  <maclas@gmx.de>
3817
3818         * docs/RELEASE-HOWTO: Updates.
3819
3820 Sat Jul 10 01:55:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3821
3822         * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{re|un}set_bg):
3823         Insert checks for root window. The root window is never mapped.
3824
3825 Sat Jul 10 01:06:05 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3826
3827         * gdk/x11/gdkwindow-x11.c (post_unmap): Fix a warning
3828         * gdk/x11/gdkwindow-x11.c (show_window_internal): Actually unset
3829         bg.
3830
3831 Sat Jul 10 00:37:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3832
3833         Bug 113310.
3834         
3835         * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg):
3836         New functions that can do a recursive unset/reset bg.
3837
3838         * gdk/x11/gdkgeometry-x11.c: Remove
3839         gdk_window_tmp_{un|re}set_bg().
3840
3841         * gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions
3842         called before and after unmapping a window. They unset the
3843         background of all other windows to prevent flicker from the X
3844         server repainting the background. post_unmap() also invalidates
3845         the parent of the unmapped window to draw it without roundtrips.
3846
3847         * gdk/x11/gdkwindow-x11.c (show_window_internal): Unset
3848         background of newly mapped windows and all desendants to prevent
3849         flicker.
3850         
3851 Fri Jul  9 15:33:55 2004  Manish Singh  <yosh@gimp.org>
3852
3853         * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
3854         statements to avoid gcc warnings about not all enum values handled.
3855
3856         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in 
3857         #ifdef HAVE_XFIXES.
3858
3859 Fri Jul  9 23:26:09 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3860
3861         (Bug 113340)
3862
3863         * gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
3864         "override_redirect" bit.
3865
3866         * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set it here.
3867         
3868         * gdk/x11/gdkwindow-x11.c (gdk_window_move, gdk_window_resize,
3869         gdk_window_move_resize): 
3870         Update the local size/position cache
3871         immediately for override redirect windows.
3872
3873         * gdk/x11/gdkwindow-x11.c (show_window_internal): Invalidate
3874         newly mapped child and override redirect windows.
3875
3876 2004-07-09  Federico Mena Quintero  <federico@ximian.com>
3877
3878         Fixes #137031:
3879
3880         * gtk/gtkfilesystemunix.c (get_fallback_icon): New helper
3881         function, fetches a stock icon as a fallback.
3882         (gtk_file_system_unix_volume_render_icon): Fall back to a stock
3883         icon.
3884         (gtk_file_system_unix_render_icon): Fall back to a stock icon.
3885         Use helper functions rather than being a mega-function.
3886         (get_icon_name_for_directory): Renamed from
3887         get_icon_for_directory().
3888         (get_icon_type_from_path): New helper function; code pulled out
3889         from gtk_file_system_unix_render_icon().
3890         (get_special_icon): Likewise.
3891         (get_icon_for_mime_type): Likewise.
3892
3893 2004-07-09  Federico Mena Quintero  <federico@ximian.com>
3894
3895         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Fix typo; tmp_event ->
3896         temp_event.
3897
3898 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
3899
3900         * gtk/gtktooltips.c (gtk_tooltips_paint_window): Use the 
3901         requisition of the widget instead of relying on the style
3902         drawing function to supply the size of the drawable.  (#146531) 
3903
3904 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
3905
3906         Make GtkEntry work harder to protect passwords:  (#143955,
3907         Morten Welinder)
3908         
3909         * gtk/gtkentry.c (gtk_entry_destroy): Add a destroy handler
3910         to clear the password even if the widget is leaked.
3911
3912         * gtk/gtkentry.c (gtk_entry_real_delete_text): 
3913         * gtk/gtkentry.c (gtk_entry_finalize): Zero out the memory
3914         before freeing it.
3915         
3916         * gtk/gtkentry.c (gtk_entry_real_insert_text): Zero and free
3917         the old memory instead of just reallocating it.
3918
3919         * gtk/gtkentry.c (gtk_entry_create_layout): Don't leak text
3920         direction information for passwords.
3921
3922 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
3923
3924         * gtk/gtkstyle.c: Fix some cases where style functions were 
3925         not handling widget == NULL properly.  (#146282)
3926
3927 Thu Jul  8 22:38:58 2004  Matthias Clasen  <maclas@gmx.de>
3928
3929         * gtk/gtktreeview.c: Improve the EXPANDER_MAX warning.
3930
3931 2004-07-08  Federico Mena Quintero  <federico@ximian.com>
3932
3933         Fix #139290:
3934
3935         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Add a
3936         GError argument.  Do check for errors when getting the
3937         GtkFileFolder:  get the folder and read the children before
3938         actually creating the model.  Removed obsolete code that handled
3939         roots-changed on the file system.
3940         (file_model_node_get_info): Assert that we don't reach the old
3941         case to display file system roots.
3942         (roots_changed_callback): Removed.
3943
3944         * gtk/gtkfilechooserdefault.c (set_list_model): Add a GError
3945         argument, and a boolean return value.  Return an error if we
3946         cannot create the file system model.  On error, set a NULL model
3947         on the tree.
3948         (gtk_file_chooser_default_set_current_folder): Use the error value
3949         from set_list_model().
3950         (gtk_file_chooser_default_set_property): Set the show_hidden
3951         property only if the browse_files_model exists.
3952         (gtk_file_chooser_default_unselect_path): Only operate if the
3953         browse_files_model exists.
3954         (check_preview_change): Check whether we have the sort_model.
3955         (change_folder_and_display_error): Copy the path we get passed
3956         before using it.  There's a comment in there that explains why we
3957         need to copy it; basically, if the passed path belongs to the
3958         model, the model may go away in the middle of this function and
3959         we'll be left with a dangling pointer.
3960         (install_list_model_filter): Assert that the model is not NULL.
3961         (set_current_filter): Check whether the model exists.
3962
3963         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Don't
3964         g_return_if_fail if the model is NULL.
3965         (gtk_tree_selection_get_selected_rows): Likewise.
3966         (gtk_tree_selection_count_selected_rows): Likewise.
3967         (gtk_tree_selection_selected_foreach): Likewise.
3968         (gtk_tree_selection_path_is_selected): Likewise; rather just
3969         return FALSE.
3970         (gtk_tree_selection_select_all): Likewise.
3971         (gtk_tree_selection_unselect_all): Likewise.
3972         (gtk_tree_selection_select_range): Do g_return_if_fail() if the
3973         model is NULL.
3974         (gtk_tree_selection_unselect_range): Likewise.
3975
3976         * gtk/gtkfilesystemunix.c (fill_in_names): Return immediately if
3977         g_dir_open() fails:  there is no need to set the error ourselves,
3978         as g_dir_open() already does it.
3979
3980 2004-07-08  Matthias Clasen  <mclasen@redhat.com>
3981
3982         * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
3983         to restore the default search function.  (#145365, John Finlay) 
3984
3985         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak 
3986         references to the drag context.  (#144324, Alex Larsson)
3987
3988 Thu Jul  8 00:31:34 2004  Matthias Clasen  <maclas@gmx.de>
3989
3990         * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
3991         when a new model is set.  (#145566, Dmitry M. Shatrov)
3992
3993 Wed Jul  7 23:44:32 2004  Matthias Clasen  <maclas@gmx.de>
3994
3995         * gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
3996         are properly aligned for gdk_pixbuf_saturate_and_pixelate(),
3997         in order to avoid rendering artifacts from misaligned 
3998         pixelation patterns.  (#145585, Felipe Heidrich, Billy Biggs)
3999
4000 2004-07-07  Matthias Clasen  <mclasen@redhat.com>
4001
4002         * gtk/gtktreeview.c: 
4003         * gtk/gtktreeview.h: Small documentation fixes.
4004
4005 2004-07-07  Matthias Clasen  <mclasen@redhat.com>
4006
4007         Support separators in combo boxes and more generally in tree 
4008         views  (#135873):
4009         
4010         * gtk/gtkcombobox.h: 
4011         * gtk/gtkcombobox.c (gtk_combo_box_get_row_separator_column):
4012         * gtk/gtkcombobox.c (gtk_combo_box_set_row_separator_column):
4013         Add a ::row-separator-column property with getter and setter, 
4014         which can indicate a boolean model column to determine which
4015         rows are separators. 
4016
4017         * gtk/gtkcombobox.c: Display separator rows as separator menu 
4018         items in menu mode, and by using the new treeview separator 
4019         functionality in list mode.
4020
4021         * gtk/gtktreeview.h: 
4022         * gtk/gtktreeprivate.h:
4023         * gtk/gtktreeview.c (gtk_tree_view_get_row_separator_func): 
4024         * gtk/gtktreeview.c (gtk_tree_view_set_row_separator_func): 
4025         Add a callback to determine whether a row is a separator.
4026         
4027         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): 
4028         * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): 
4029         * gtk/gtktreeview.c (validate_row): Use the new callback
4030         to determine whether a row is a separator, and draw it
4031         as a separator then. Since separators should take up less
4032         vertical space than regular rows, this requires removing
4033         the redundant MAX(...,expander_size) calls which appear in
4034         many places. Instead, the MAX() is now only done in 
4035         validate_row(), and only if the row is not a separator.
4036         To catch possible side effects of this intrusive change,
4037         I have left EXPANDER_MAX() calls in place of the MAX() calls
4038         which will emit a warning if something breaks. They should
4039         be removed before 2.6.
4040
4041         * gtk/gtktreeselection.c (row_is_selectable): Don't let 
4042         separator rows be selected.
4043         
4044         * tests/testcombo.c (create_blaat): Add a separator column.
4045
4046 Tue Jul  6 22:58:00 2004  Matthias Clasen  <maclas@gmx.de>
4047
4048         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Fix
4049         a 64bit alignment issue.  (#144302, Sunil)
4050
4051 2004-07-07  Tor Lillqvist  <tml@iki.fi>
4052
4053         * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)
4054         * gdk/win32/gdkfont-win32.c (gdk_text_extents)
4055         * gdk/win32/gdkproperty-win32.c (find_common_locale,
4056         gdk_property_change)
4057         * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Use
4058         g_utf8_to_utf16() instead of the removed _gdk_utf8_to_ucs2() (see
4059         below).
4060
4061         * gdk/win32/gdkglobals-win32.c
4062         * gdk/win32/gdkmain-win32.c (_gdk_windowing_init)
4063         * gdk/win3/gdkprivate-win32.h: Add a variable for the TARGETS
4064         atom. Initialize it. Declare it. Drop the variable for the
4065         COMPOUND_TEXT atom.
4066
4067         * gdk/win32/gdkim-win32.c (gdk_wcstombs): Don't return UTF-8. This
4068         function is supposed to return the string in the locale's charset
4069         and encoding. Use g_convert().
4070
4071         (gdk_mbstowcs): Similarily, don't take an UTF-8 string, but a
4072         string in the locale's charset. Use g_convert().
4073
4074         (_gdk_ucs2_to_utf8, _gdk_utf8_to_wcs, _gdk_utf8_to_ucs2):
4075         Delete. The UCS-2 functions didn't handle surrogates anyway. Use
4076         GLib's UTF-16 functions instead. Windows uses UTF-16.
4077
4078         * gdk/win32/gdkprivate-win32.h: Remove declarations of the deleted
4079         functions mentioned above.
4080
4081         * gdk/win32/gdkproperty-win32.c (gdk_property_change): Use CF_TEXT
4082         also if the string is of type STRING, i.e. ISO-8859-1, and the
4083         current codepage is 1252, and contains no C1 chars. Accept
4084         also UTF8_STRING.
4085
4086         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
4087         Mark as static. When storing STRING data, convert to
4088         Latin-1. (#140537)
4089         (gdk_selection_owner_set_for_display): Now that STRING is always
4090         ISO-8859-1, use UTF8_STRING when sending the selection request
4091         to ourselves.
4092
4093         (gdk_selection_convert): Handle also UTF8_STRING. (#140537, John
4094         Ehresman)
4095
4096         (gdk_text_property_to_text_list_for_display): Make work more like
4097         X11 version. Do obey the encoding parameter.
4098
4099         (gdk_string_to_compound_text_for_display,
4100         gdk_utf8_to_compound_text_for_display): Don't even pretend
4101         supporting COMPOUND_TEXT.
4102
4103         (gdk_utf8_to_string_target): Convert to ISO-8859-1, like on X11.
4104
4105         (sanitize_utf8): Zero-terminate string.
4106
4107 2004-07-06  Matthias Clasen  <mclasen@redhat.com>
4108
4109         * gtk/stock-icons/Makefile.am: Add stock_file_16.png, 
4110         stock_file_24.png, stock_directory_16.png and stock_directory_24.png.
4111
4112         * gtk/gtkstock.h (GTK_STOCK_FILE, GTK_STOCK_DIRECTORY): 
4113         * gtk/gtkiconfactory.c (get_default_icons): New stock icons as 
4114         fallbacks for gtkfilechooser. Currently these are the same images
4115         as the "new" and "open" items...
4116
4117 Tue Jul  6 10:00:22 2004  Jonathan Blandford  <jrb@redhat.com>
4118
4119         Fix for #136496, Pawel Salek:
4120         
4121         * gtk/gtktreeview.c (gtk_tree_view_row_changed): Queue a redraw on
4122         a node when it changes in fixed_height mode.
4123
4124         (gtk_tree_view_node_queue_redraw): new function to queue a redraw
4125         on a node.
4126
4127 2004-07-06  Matthias Clasen  <mclasen@redhat.com>
4128
4129         * gtk/gtkmenu.c (gtk_menu_position): Make sure 
4130         private->monitor_num is a valid monitor number before 
4131         using it.  (#139187, Michael Natterer)
4132
4133 Tue Jul  6 02:00:28 2004  Matthias Clasen  <maclas@gmx.de>
4134
4135         * gtk/gtkfilechooserdefault.c (popup_position_func): 
4136         * gtk/gtkentry.c (popup_position_func): 
4137         * gtk/gtktextview.c (popup_position_func): Improve positioning
4138         of keyboard-activated menus with Xinerama.
4139
4140 Tue Jul  6 00:29:03 2004  Matthias Clasen  <maclas@gmx.de>
4141
4142         * gtk/gtkuimanager.c (do_updates): 
4143         (do_updates_idle): Only call GDK_THREADS_ENTER() / _LEAVE() 
4144         when called from an idle handler.  (#145429, Jan-Marek Glogowski)
4145
4146 Mon Jul  5 23:47:38 2004  Matthias Clasen  <maclas@gmx.de>
4147
4148         * gtk/gtkfilechooserutils.c (delegate_notify): Use
4149         the less efficient g_object_interface_find_property () instead
4150         of the param_id range check, since the GParamSpecs we're 
4151         dealing with are the overridden onces on the interface, whose
4152         param_id is always zero.  (#145312, Alex Roitman, fix proposed
4153         by Owen Taylor)
4154
4155 2004-07-05  Lorenzo Gil Sanchez  <lgs@sicem.biz>
4156
4157         * gtk/gtklayout.c (gtk_layout_add): added a default method for the add
4158         virtual method of GtkContainer.
4159         (gtk_layout_class_init): assign gtk_layout_add to the 'add' virtual
4160         method slot of the container class.
4161
4162 2004-07-05  Anders Carlsson  <andersca@gnome.org>
4163
4164         * gtk/gtkiconview.c: (gtk_icon_view_set_markup_column):
4165         * gtk/gtkiconview.h:
4166         Use gint, not int in gtk_icon_view_set_markup_column,
4167         (Paolo Maggi)
4168         
4169 2004-07-05  Anders Carlsson  <andersca@gnome.org>
4170
4171         * gtk/gtkiconview.c: (gtk_icon_view_class_init),
4172         (gtk_icon_view_real_select_cursor_item),
4173         (gtk_icon_view_real_activate_cursor_item):
4174         * gtk/gtkiconview.h:
4175         Add an "activate_cursor_item" action signal
4176         and bind it to the return key.
4177         
4178 2004-07-04  Anders Carlsson  <andersca@gnome.org>
4179
4180         * demos/gtk-demo/Makefile.am:
4181         * demos/gtk-demo/gnome-fs-directory.png:
4182         * demos/gtk-demo/gnome-fs-regular.png:
4183         * demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store),
4184         (sort_func), (create_store), (item_activated), (up_clicked),
4185         (home_clicked), (do_iconview):
4186         Add a simple file browser based on the icon view.
4187         
4188         * gtk/gtk.h:
4189         Add gtk/gtkiconview.h
4190         
4191         * gtk/gtkiconview.c: (gtk_icon_view_layout),
4192         (gtk_icon_view_item_new), (gtk_icon_view_item_activated):
4193         Fix a few bugs discovered while writing the demo.
4194         
4195 2004-07-04  Anders Carlsson  <andersca@gnome.org>
4196
4197         * gtk/Makefile.am:
4198         * gtk/gtkiconview.c
4199         * gtk/gtkiconview.h:
4200         Add GtkIconView to the build, remove debugging output.
4201         
4202 Sun Jul  4 01:29:35 2004  Matthias Clasen  <maclas@gmx.de>
4203
4204         * gtk/gtkcalendar.c (gtk_calendar_drag_data_get): 
4205         (gtk_calendar_drag_data_received): Fix off-by-one error.  
4206         GDate month is one-based and GtkCalendar month is zero-based.  
4207         (#145134, William Jon McCann)
4208
4209 Sun Jul  4 01:11:07 2004  Matthias Clasen  <maclas@gmx.de>
4210
4211         * gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
4212         somebody tries to move a node after itself in a list of 
4213         length 1.  (#145291, Sampo Nurmentaus)
4214
4215 Sat Jul  3 23:43:23 2004  Matthias Clasen  <maclas@gmx.de>
4216
4217         * docs/faq/gtk-faq.sgml: 
4218         * gtk/gtkwindow.c: Fix links to www.freedesktop.org.  (#145210,
4219         Billy Biggs)
4220
4221 Sat Jul  3 02:09:51 2004  Matthias Clasen  <maclas@gmx.de>
4222
4223         * gtk/gtksocket.c (gtk_socket_end_embedding): Reset current_width
4224         and current_height to 0 when ending the embedding.  (#143675,
4225         Nickolay V. Shmyrev)
4226
4227 Sat Jul  3 01:48:19 2004  Matthias Clasen  <maclas@gmx.de>
4228
4229         * gtk/gtkentry.c (gtk_entry_move_visually): Let the cursor move
4230         to the right end of the entry text, even if it ends in combining
4231         marks.  (#141728, Theppitak Karoonboonyanan)
4232
4233 Fri Jul  2 23:34:33 2004  Matthias Clasen  <maclas@gmx.de>
4234
4235         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Unset the displayed
4236         row when unsetting the model.  (#138560, Christian Persch)
4237
4238 Fri Jul  2 23:01:07 2004  Matthias Clasen  <maclas@gmx.de>
4239
4240         * gtk/gtkcombobox.c (update_menu_sensitivity): Don't crash if there
4241         are no items.
4242
4243 Fri Jul  2 22:41:27 2004  Matthias Clasen  <maclas@gmx.de>
4244
4245         * gtk/gtkimage.c (gtk_image_expose): Properly align mask and
4246         pixbuf if a subarea is exposed.  (#135423, fix by John Ehresman)
4247
4248 Fri Jul  2 21:40:21 2004  Matthias Clasen  <maclas@gmx.de>
4249
4250         * gtk/gtknotebook.c (gtk_notebook_realize): Add scroll events
4251         to the event mask, set a scroll_event handler.
4252         * gtk/gtknotebook.c (gtk_notebook_scroll): Handle scroll events
4253         by switching tabs.  (#145244, Gabriel de Perthuis)
4254
4255 2004-07-02  Anders Carlsson  <andersca@gnome.org>
4256
4257         * gtk/gtktreeview.c (gtk_tree_view_set_model): 
4258         Make sure we check for a NULL model first.
4259
4260 2004-07-01  J. Ali Harlow  <ali@juiblex.co.uk>
4261
4262         * gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
4263         win32 build problem w/o wintab.  Fixed #145242
4264
4265 2004-06-30  Anders Carlsson  <andersca@gnome.org>
4266
4267         * gtk/gtktreeview.c (gtk_tree_view_set_model): Use
4268         g_return_if_fail to make sure that the model is a GtkTreeModel.
4269
4270 Sat Jun 26 17:41:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4271
4272         * gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
4273         current state, not GTK_STATE_NORMAL
4274
4275         * gtk/gtkframe.c (gtk_frame_paint): Fix a rounding error
4276
4277 Sat Jun 26 15:07:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4278
4279         * gtk/gtkstyle.c, gtk/gtkrc.c: small color tweak. (#141173)
4280
4281 Sat Jun 26 01:15:40 2004  Matthias Clasen  <maclas@gmx.de>
4282
4283         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Handle
4284         _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW.  (#144851, 
4285         Billy Biggs)
4286
4287 Sat Jun 26 01:04:31 2004  Matthias Clasen  <maclas@gmx.de>
4288
4289         * gtk/gtkiconfactory.c (clear_cache): Prevent unwanted 
4290         recursion by resetting icon_set->cache before freeing
4291         the cache.  (#144947, Tim Janik)
4292
4293 Sat Jun 26 00:40:02 2004  Matthias Clasen  <maclas@gmx.de>
4294
4295         * gtk/gtkiconfactory.c (render_icon_name_pixbuf): 
4296         * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): 
4297         * gtk/gtkstyle.c (gtk_default_render_icon): Accept a NULL 
4298         style.
4299
4300 Sat Jun 26 00:04:36 2004  Matthias Clasen  <maclas@gmx.de>
4301
4302         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model): 
4303         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Reflect the 
4304         last change in the docs.
4305
4306 Fri Jun 25 23:35:42 2004  Matthias Clasen  <maclas@gmx.de>
4307
4308         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
4309         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Allow passing
4310         NULL to unset the model.  (#137211, patch by  Mariano Suárez-Alvarez)
4311
4312 Fri Jun 25 23:33:05 2004  Matthias Clasen  <maclas@gmx.de>
4313
4314         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Fix the
4315         placement policy for GtkComboBoxEntry to be: if it fits below, 
4316         place below, if it fits above place above, else place in the 
4317         larger space and scroll so that the scroll arrow appear at the
4318         far end.  (#144362, David A. Knight)
4319
4320 Fri Jun 25 22:49:58 2004  Matthias Clasen  <maclas@gmx.de>
4321
4322         * gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
4323         use of &parent_iter. (#145007, John Finlay)
4324
4325 2004-06-25  Bastien Nocera  <hadess@hadess.net>
4326
4327         reviewed by: Matthias Clasen  <maclas@gmx.de>
4328
4329         * gdk/x11/gdkkeys-x11.c: (get_symbol), (update_keymaps),
4330         (gdk_keymap_lookup_key), (translate_keysym): fix keys parsing when
4331         the number of keysyms per keycode is odd. Fixes #144808.
4332
4333 2004-06-25  Matthias Clasen  <mclasen@redhat.com>
4334
4335         * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
4336         a crash if the font doesn't exist.  (#144967, Yevgen Muntyan) 
4337
4338 Fri Jun 25 00:32:15 2004  Matthias Clasen  <maclas@gmx.de>
4339
4340         * gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change
4341         which was mentioned below.
4342
4343 Thu Jun 24 23:35:09 2004  Matthias Clasen  <maclas@gmx.de>
4344
4345         * gtk/gtknotebook.c (gtk_notebook_class_init): Fix a typo,
4346         string change.  (#139503, Baris Cicek)
4347
4348 2004-06-22  Federico Mena Quintero  <federico@ximian.com>
4349
4350         * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a Save
4351         or an Open stock button for the C-l dialog depending on the action
4352         in which the file chooser operates.  Fixes #141753.
4353
4354 2004-06-22  Federico Mena Quintero  <federico@ximian.com>
4355
4356         Fixes the GTK+ part of #142308:
4357
4358         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_filename_to_path):
4359         Use filename_to_path().
4360         (gtk_file_system_unix_uri_to_path): Likewise.
4361         (filename_to_path): Use remove_trailing_slash().
4362
4363 2004-06-22  Matthias Clasen  <mclasen@redhat.com>
4364
4365         * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs
4366         for the ::move_cursor signal.
4367
4368         * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
4369         "<WINDOWTYPE>" as a valid accel path.  (#144427, Philip 
4370         Kendall)        
4371
4372         * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure 
4373         this gets defined for all backends, so linux-fb has a 
4374         chance of compiling.
4375
4376         * gdk/x11/gdkgc-x11.c: 
4377         * gdk/gdkgc.c: Move function docs inline, add hints about 
4378         obtaining rgb colors from gcs.  (#144688, Steve Chaplin)
4379
4380         * gtk/gtktreestore.c (gtk_tree_store_swap): Make this work
4381         for children of the root.  (#139785, Jean-François Wauthy,
4382         patch by John Finlay)
4383
4384         * gtk/gtkicontheme.h (GTK_ICON_THEME_GET_CLASS): Typo
4385         fix.  (#144750, Jeff Franks) 
4386
4387 2004-06-21  Michael Natterer  <mitch@gimp.org>
4388         Merge from stable:
4389
4390         * gdk/x11/gdkdrawable-x11.[ch]: made convert_format() utility
4391         function public as _gdk_x11_convert_to_format().
4392
4393         * gdk/x11/gdkcursor-x11.c (create_cursor_image): premultiply
4394         the pixels from the GdkPixbuf when putting them in the
4395         Xcursor image. Fixes bug #144350.
4396
4397 2004-06-16  Federico Mena Quintero  <federico@ximian.com>
4398
4399         * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a
4400         visible node, free the old path before creating the new one.
4401         Fixes #144356.
4402
4403 Tue Jun 15 01:10:32 2004  Matthias Clasen  <maclas@gmx.de>
4404
4405         * gtk/gtkcombobox.c: Make GtkComboBox work without model.  
4406         (#144198, Mariano Suárez-Alvarez)
4407         
4408 Fri Jun 11 22:05:56 2004  Matthias Clasen  <maclas@gmx.de>
4409
4410         * gtk/gtkfilechooserdefault.c: Don't use
4411         contractions like "don't" or "isn't" in error messages.
4412         It isn't nice to use them in log entries either...
4413         (#137774, Morten Welinder, patch by Alexander Winston)
4414
4415 2004-06-11  Federico Mena Quintero  <federico@ximian.com>
4416
4417         Fixes #143578:
4418
4419         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_add_editable):
4420         Don't ref the editable node.
4421         (_gtk_file_system_model_remove_editable): Don't unref the editable node.
4422         (_gtk_file_system_model_remove_editable): Ahem, free the node.
4423
4424         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
4425         Added fields for edited_idle and edited_new_text.
4426         (renderer_edited_cb): Queue the
4427         creation of the folder in an idle handler.
4428         (renderer_editing_canceled_cb): Likewise for the cancellation.
4429         (gtk_file_chooser_default_finalize): Free the impl->edited_new_text.
4430
4431 Thu Jun 10 22:12:26 2004  Matthias Clasen  <maclas@gmx.de>
4432
4433         * gtk/gtkmain.c (gtk_parse_args): Typo fix.
4434
4435 2004-06-10  Federico Mena Quintero  <federico@ximian.com>
4436
4437         Fixes #144110, patch by Bastien Nocera <hadess@hadess.net>.
4438
4439         * gtk/gtkfilechooser.c (gtk_file_chooser_list_shortcut_folders):
4440         Refer to gtk_file_chooser_add_shortcut_folder().
4441         (gtk_file_chooser_list_shortcut_folder_uris): Refer to
4442         gtk_file_chooser_add_shortcut_folder_uri().
4443
4444 Thu Jun 10 00:36:15 2004  Matthias Clasen  <maclas@gmx.de>
4445
4446         * gtk/gtkcalendar.c (gtk_calendar_main_button): Start 
4447         the drag before focusing the selected.day.
4448         * gtk/gtkcalendar.c (gtk_calendar_state_changed): Stop
4449         a beginning drag if the widget becomes insensitive.
4450
4451 Thu Jun 10 00:09:06 2004  Matthias Clasen  <maclas@gmx.de>
4452
4453         * gtk/gtkcalendar.c (gtk_calendar_button_press): Start 
4454         spinning before calling arrow_action(), so that a signal
4455         handler triggered from arrow_action() has a chance to 
4456         stop the spinning.  (#143966, Davyd Madeley)
4457
4458 Wed Jun  9 23:11:23 2004  Matthias Clasen  <maclas@gmx.de>
4459
4460         * gtk/gtkstyle.c (_gtk_style_init_for_settings): Fix a 
4461         typo.  (#144070, Kent Sandvik)
4462
4463 Thu Jun 10 00:22:51 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4464
4465         * gtk/gtkmenu.c: Revert the "drag select" part of
4466         #141169. (#144011).
4467
4468 Mon Jun  7 23:07:40 2004  Matthias Clasen  <maclas@gmx.de>
4469
4470         * gtk/gtkcombobox.c (gtk_combo_box_remeasure): Handle
4471         priv->model being NULL.  (#143856, Mariano Suárez-Alvarez)
4472
4473 2004-06-07  Federico Mena Quintero  <federico@ximian.com>
4474
4475         * gtk/gtktreeview.c (gtk_tree_view_button_press): Revert the patch
4476         from 2003/Sep/12.  This kept DnD in tree views within modal
4477         dialogs from working, which is especially bad for the file
4478         chooser.  Fixes #135168.
4479
4480 Sun Jun  6 23:57:21 2004  Matthias Clasen  <maclas@gmx.de>
4481
4482         Make the entry context menu work in editable text cells. The changes
4483         are based on a patch by Kristian Rietveld, which implemented an 
4484         approach outlined by Owen Taylor.  (#50075)
4485         
4486         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): 
4487         Ignore focus out if the entry menu is posted.
4488         (gtk_cell_renderer_text_populate_popup): Mark the entry menu as 
4489         posted, and set up a signal handler to clear the flag if the menu 
4490         is unmapped.
4491         (gtk_cell_renderer_text_popup_unmap): Clear the in_entry_menu flag, 
4492         set up a timeout to stop editing if the focus is lost.
4493         (popdown_timeout): Stop editing if the entry doesn't have focus anymore.
4494         (gtk_cell_renderer_text_start_editing): Connect to the populate_popup 
4495         signal on the entry and keep a pointer to the entry.
4496         (gtk_cell_renderer_text_editing_done): Disconnect from popuplate_popup, 
4497         clear the pointer to the entry.
4498
4499 Sun Jun  6 23:24:43 2004  Matthias Clasen  <maclas@gmx.de>
4500
4501         * gtk/gtktexttag.c (gtk_text_tag_class_init): Improve the description
4502         of the ::language property.  (#143802, Owen Taylor)
4503
4504 Sat Jun  5 23:07:30 2004  Matthias Clasen  <maclas@gmx.de>
4505
4506         * gtk/gtkentrycompletion.c: (gtk_entry_completion_init),
4507         (gtk_entry_completion_list_enter_notify),
4508         (gtk_entry_completion_list_motion_notify),
4509         (_gtk_entry_completion_popup), (_gtk_entry_completion_popdown):
4510         * gtk/gtkentryprivate.h: Add an ignore_enter flag and
4511         use it as in the menu code to avoid the initial selection if
4512         the window pops up under the pointer.  (Anders Carlsson)
4513
4514 Sat Jun  5 20:05:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4515
4516         * tests/testmerge.c: Add a checkbox to queue an
4517         merge/unmerge. Patch from Matthias Clasen.
4518
4519         * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag
4520         "need_rebuild"
4521         (rebuild_menu): New function that rebuilds the overflow menu and
4522         makes sure it doesn't start or end with a separator.
4523         (toolbar_content_new_tool_item)
4524         (toolbar_content_remove)
4525         (toolbar_content_new_compatibility): Set the rebuild_needed flag
4526         (gtk_toolbar_size_allocate): Only show the overflow arrow when we
4527         have actually overflown an item with a proxy menu item. Also make
4528         sure we rebuild the menu if needed.
4529
4530         Fix #125504, #142377, #143463
4531         
4532         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose):
4533         Obey the "priv->draw" flag. (#143692)
4534
4535 2004-06-04  Matthias Clasen  <mclasen@redhat.com>
4536
4537         * docs/widget_geometry.txt: Add a note about the !CAN_FOCUS
4538         quirk in the button size allocation code.
4539
4540         * gtk/gtkbutton.c (gtk_button_size_allocate): Give the space
4541         requested for drawing the focus indicator to the child in the
4542         !CAN_FOCUS case. This should fix issues which the Gimp has with 
4543         the button allocation changes in 2.4.2.
4544
4545 Thu Jun  3 21:17:29 2004  Matthias Clasen  <maclas@gmx.de>
4546
4547         * gtk/gtkentry.c (gtk_entry_completion_timeout): Calculate the
4548         length of the entry contents in characters, not in bytes.
4549
4550         * gtk/gtkentry.c (paste_received): Don't pop up the completion
4551         window on paste, noticed by Anders Carlsson.
4552
4553 Thu Jun  3 20:56:19 2004  Matthias Clasen  <maclas@gmx.de>
4554
4555         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed
4556         values and default value for the ::active property.  (#143669,
4557         Olivier Andrieu)
4558
4559 2004-06-03  Michael Natterer  <mitch@gimp.org>
4560
4561         * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition()
4562         instead of accessing item->image->allocation.width/height
4563         directly. Makes widgets which only have a requisition set using
4564         gtk_widget_set_size_request() work and fixes bug #142789.
4565
4566 Thu Jun  3 08:07:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4567
4568         * gtk/gtkmenu.c: Revert previous commit. It caused the problem
4569         of sticky right click menus to return.
4570
4571 Wed Jun  2 01:56:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4572
4573         * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to
4574         better handle the "click" case. bug  Better fix for #141169.
4575
4576 2004-06-02  Federico Mena Quintero  <federico@ximian.com>
4577
4578         * gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
4579         model is empty.  Fixes #143536.
4580
4581 2004-06-02  Matthias Clasen  <mclasen@redhat.com>
4582
4583         * gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
4584         close the dialog on focus out of the size entry.  (#143505, 
4585         David Hawthorne)
4586
4587 2004-06-02  Federico Mena Quintero  <federico@ximian.com>
4588
4589         Fix #138807.
4590
4591         * gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument.
4592         (gtk_fnmatch_intern): Likewise; also implement this option.
4593
4594         * gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype.
4595
4596         * gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the
4597         no_leading_period argument of _gtk_fnmatch().
4598         (attempt_file_completion): Likewise.
4599
4600         * gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the
4601         no_leading_period argument of _gtk_fnmatch().
4602
4603 Wed Jun  2 00:47:11 2004  Matthias Clasen  <maclas@gmx.de>
4604
4605         * gtk/gtkselection.c (_gtk_selection_request): Remove leftover
4606         debug code.
4607
4608 Wed Jun  2 00:13:57 2004  Matthias Clasen  <maclas@gmx.de>
4609
4610         * gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
4611         allow unless selection mode is multiple.  (#142634, John Finlay)
4612
4613 Tue Jun  1 23:00:20 2004  Matthias Clasen  <maclas@gmx.de>
4614
4615         * gtk/gtktoolbar.h: 
4616         * gtk/gtktoolbar.c: 
4617         * gtk/gtkentrycompletion.h: 
4618         * gtk/gtkentrycompletion.c: 
4619         * gtk/gtkcombobox.h: 
4620         * gtk/gtkcombobox.c: Rename function parameters from
4621         index to index_ to prevent clash with BSD index().  (#143001)
4622
4623 Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>
4624
4625         * gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
4626         NULL on an accel label. (#139641, Sam Stephenson, patch by 
4627         Michael Natterer)
4628
4629 Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>
4630
4631         * gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon 
4632         lookup finding icons in the wrong prefix.  (#143328,
4633         Mark McLoughlin)
4634
4635 Wed Jun  2 00:39:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4636
4637         Bug #141169.
4638
4639         * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus
4640         only stay up if you release within 500 milliseconds.
4641         (gtk_menu_shell_button_press): Set the activate_time to the event
4642         time when a button is pressed.
4643
4644         * gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify):
4645         Interprete button releases as activate when we have seen both an
4646         enter an a motion event.
4647
4648 2004-06-01  Federico Mena Quintero  <federico@ximian.com>
4649
4650         * gtk/gtkfilesystemmodel.c (do_files_removed): Don't insert a
4651         dummy node if there is no parent node.  Fixes #143362.
4652
4653 2004-05-31  Federico Mena Quintero  <federico@ximian.com>
4654
4655         * gtk/gtkfilechooserdefault.c (renderer_edited_cb): Change to the
4656         newly-created folder.  Fixes #138932.
4657         (trap_activate_cb): Only return TRUE if we did handle the event.
4658         Fixes #143359; patch by jylefort@brutele.be.
4659
4660 Mon May 31 02:39:32 2004  Matthias Clasen  <maclas@gmx.de>
4661
4662         * gtk/gtkimage.c (gtk_image_new_from_pixmap): Fix typo in 
4663         docs.  (#142892, Tommi Komulainen)
4664
4665 Mon May 31 02:16:37 2004  Matthias Clasen  <maclas@gmx.de>
4666
4667         * gtk/gtkhandlebox.c: Make detached handleboxes work when their
4668         parent is minimized, porting the fix from 1.2.  (#1923, #57182)
4669
4670 Mon May 31 02:03:17 2004  Matthias Clasen  <maclas@gmx.de>
4671
4672         * gtk/gtkwindow.c (gtk_window_show): Make moving realized, 
4673         unmapped windows work. 
4674
4675 Mon May 31 00:27:33 2004  Matthias Clasen  <maclas@gmx.de>
4676
4677         * gtk/gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Fix
4678         a typo.
4679
4680 Mon May 31 00:23:55 2004  Matthias Clasen  <maclas@gmx.de>
4681
4682         * gtk/gtkfilechooser.c (gtk_file_chooser_set_preview_widget): 
4683         Refer to ::update-preview, not ::selection-changed.
4684
4685 2004-05-29  Christian Rose  <menthos@menthos.com>
4686  
4687         * configure.in: Added "tk" to ALL_LINGUAS.
4688  
4689 Fri May 28 15:00:01 2004  Matthias Clasen  <maclas@gmx.de>
4690
4691         * gtk/gtkwidget.c (gtk_widget_set_parent): Add informative
4692         messages for common problems.  (#137974, Owen Taylor)
4693
4694 Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>
4695
4696         * gdk/x11/gdkevents-x11.c: Fix off-by-one allocation 
4697         errors. (#143337, Billy Biggs) 
4698
4699 Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
4700
4701         * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
4702         bits within visual->depth that aren't used for color to
4703         1s, in case they are alpha.
4704
4705 2004-05-27  Anders Carlsson  <andersca@gnome.org>
4706
4707         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
4708         Make separator rows insensitive.
4709
4710 Thu May 27 00:48:16 2004  Matthias Clasen  <maclas@gmx.de>
4711
4712         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_text_column): 
4713         Add more docs.
4714
4715 Thu May 27 00:45:07 2004  Matthias Clasen  <maclas@gmx.de>
4716
4717         * gtk/gtkentrycompletion.h:
4718         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_text_column): 
4719         Getter for text_column. Also make ::text_column a property.
4720
4721 Thu May 27 00:11:01 2004  Matthias Clasen  <maclas@gmx.de>
4722
4723         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): Fix a typo.
4724
4725 Thu May 27 00:07:47 2004  Jonathan Blandford  <jrb@gnome.org>
4726
4727         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
4728         signal if the box exists.
4729
4730 Wed May 26 23:26:51 2004  Matthias Clasen  <maclas@gmx.de>
4731
4732         Support insensitive cells in tree views and combo boxes:
4733         
4734         * gtk/gtkcellrenderer.h: 
4735         * gtk/gtkcellrenderer.c: Add a ::sensitive property.
4736
4737         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
4738         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
4739         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): 
4740         Support drawing insensitive.
4741
4742         * gtk/gtkcellview.h: 
4743         * gtk/gtkcellview.c (gtk_cell_view_get_cell_renderers): New 
4744         function to obtain the cell renderers from a cell view. Also
4745         export gtk_cell_view_set_cell_data().
4746
4747         * gtk/gtktreeselection.c (tree_column_is_sensitive):
4748         * gtk/gtktreeselection.c (row_is_selectable): Helper functions
4749         to determine whether all visible cells in a row are insensitive
4750         and whether a row is selectable. A row is not selectable if the 
4751         user function says so or if all visible cells are insensitive.
4752         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): 
4753         * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): 
4754         Use row_is_selectable().
4755         
4756         * gtk/gtkcombobox.c (row_is_sensitive): 
4757         * gtk/gtkcombobox.c (tree_column_row_is_sensitive): 
4758         * gtk/gtkcombobox.c (menu_row_is_sensitive): Helper functions
4759         to determine row sensitivity in menu or list mode.
4760
4761         * gtk/gtkcombobox.c (update_menu_sensitivity): Helper function
4762         to set up sensitivity menu items from the underlying rows.
4763
4764         * gtk/gtkcombobox.c (gtk_combo_box_popup): 
4765         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): Use
4766         update_menu_sensitivity().
4767                 
4768         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Setup the cell
4769         data funcs.
4770
4771         * gtk/gtkcombobox.c (gtk_combo_box_key_press): Skip insensitive
4772         rows.
4773
4774         * tests/testcombo.c (main): Make some rows insensitive.
4775
4776 2004-05-26  Robert Ögren  <gtk@roboros.com>
4777
4778         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Send key
4779         modifiers (shift, ctrl etc) in button and motion events from the
4780         tablet. (#143240)
4781
4782 2004-05-26  Robert Ögren  <gtk@roboros.com>
4783
4784         * gdk/win32/gdkinput-win32.c (gdk_device_get_state): Simple
4785         implementation for extended input devices using last known 
4786         device state (#143237)
4787
4788 Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
4789
4790         * gtk/gtkframe.c: Move docs inline, fixing them on the
4791         way.  (#143029, Steve Chaplin)
4792
4793 2004-05-11  Robert Ögren  <gtk@roboros.com>
4794
4795         * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
4796         events to windows that want extended input events. (#142943)
4797         (gdk_event_translate): Move check for extended input devices to
4798         propagate, new parameter to propagate.
4799         (gdk_pointer_grab, gdk_display_pointer_ungrab): Enable calls to
4800         _gdk_input_(un)grab_pointer. (#142943)
4801
4802         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Check for
4803         input grab. [Fix missing update of impl in "dijkstra" event
4804         propagation loop] Drop the parallel "impl" pointer, just use a
4805         cast. Don't propagate beyond windows that want normal input
4806         events. (#142943)
4807         (gdk_input_grab_pointer, gdk_input_ungrab_pointer): Limited
4808         implementation of input grab. (#142943)
4809
4810 2004-05-22  Tor Lillqvist  <tml@iki.fi>
4811
4812         * gdk/win32/gdkinput-win32.c (print_lc): Remove duplicated
4813         line. (Spotted by Benoît Carpentier.)
4814
4815 2004-05-18  Matthias Clasen  <mclasen@redhat.com>
4816
4817         * configure.in: Check for XFIXES extension.
4818
4819         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add 
4820         a gboolean have_xfixes member.
4821
4822         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
4823         XFIXES events and set have_xfixes.
4824
4825         * gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
4826         (GdkEventOwnerChange): New event struct for owner change events.
4827         (GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.
4828         
4829         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate 
4830         XFixesSelectionNotify events into GdkEventOwnerChange events.
4831         
4832         * gdk/gdkdisplay.h:
4833         * gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
4834         (gdk_display_request_selection_notification): New api 
4835         to support selection ownership notification.
4836
4837         * gtk/gtkclipboard.h:
4838         * gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
4839         api to handle owner change events.
4840         (clipboard_peek): Refactored out the body of 
4841         gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().
4842
4843         * gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
4844         by calling _gtk_clipboard_handle_event().
4845
4846 2004-05-18  Matthias Clasen  <mclasen@redhat.com>
4847
4848         * gtk/gtkintl.h: Include glib/gi18n-lib.h and only define
4849         the P_() macros ourselves.
4850
4851         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
4852         Restrict the width of the popup to be no larger than the
4853         monitor.  (#142678, DmD Ljungmark)
4854
4855         * gtk/gtkbutton.c: Go back to the initial fix for the 
4856         focus-overdrawing problem, which was actually correct 
4857         according to docs/widget_geometry.txt.
4858
4859         * gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial
4860         arrow size from 11 to 15 to compensate for that.
4861
4862         * gtk/gtktextview.c (gtk_text_view_class_init): Document the
4863         arguments of the ::move-cursor signal.  (#142725)
4864
4865 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
4866
4867         Merged from 2.4:
4868         
4869         * gtk/gtkbutton.c (gtk_button_size_request) 
4870         (gtk_button_size_allocate, _gtk_button_paint): Allocate
4871         space for the focus rectangle only if necessary.  (#142668,
4872         Michael Natterer)
4873
4874 Sun May 16 23:11:47 2004  Matthias Clasen  <maclas@gmx.de>
4875
4876         Merged from 2.4:
4877         
4878         * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless 
4879         lines.  (#142479, Morten Welinder)
4880
4881 Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>
4882
4883         * gtk/gtkintl.h (Q_): Add a Q_() macro. 
4884
4885         * gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
4886         and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
4887         they are not really needed.
4888
4889         * gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
4890         instead of hardwired padding, use Q_() for the default label, 
4891         compute a reasonable minimal size.  (#142571, #142572, #142573,
4892         Tommi Komulainen, Christian Persch)
4893         
4894 2004-05-15  Tor Lillqvist  <tml@iki.fi>
4895
4896         * gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the
4897         GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this
4898         time). It is used by the OLE2_DND code, which is unfinished and
4899         presumably horribly broken, but still, let's not make it not
4900         compile on purpose. Silence some gcc warnings in the OLE2_DND
4901         code.
4902
4903 2004-05-14  Matthias Clasen  <mclasen@redhat.com>
4904
4905         * gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords): 
4906         New function to go from tree window to tree coordinates, kept
4907         static for now until we figure out the multiple coordinate
4908         system mess in GtkTreeView API-wise.
4909         (gtk_tree_view_scroll_to_cell): Transform the coordinates 
4910         from tree window to tree coordinates, using the new function.
4911         Previously, the x coordinate was wrongly transformed. (#142494)
4912
4913         * gdk/gdktypes.h (GdkModifierType): Add a comment about unused
4914         bits.
4915
4916         * gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
4917         modifier bit to mark stock item which need to be freed 
4918         eventually.  (#140654, Michal Pasternak, Scott Tsai)
4919
4920 2004-05-11  Robert Ögren  <gtk@roboros.com>
4921
4922         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing
4923         call to g_object_ref in Wintab code. (#138341)
4924
4925         * gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems
4926         including unallocated buffers for event->motion.axes and
4927         event->button.axes, unsigned wraparound problem in the code for
4928         detecting missing press/release events and assigning min instead
4929         of max when setting up axes.
4930
4931 2004-05-12  Matthias Clasen  <mclasen@redhat.com>
4932
4933         * tests/testtreeedit.c: Add a progress column.
4934
4935         * gtk/Makefile.am: Add gtkcellrendererprogress.[hc] in the right
4936         places.
4937
4938         * gtk/gtk.h: Include gtkcellrendererprogress.h.
4939
4940         * gtk/gtkcellrendererprogress.[hc]: A progress cell renderer,
4941         based on the one found in Epiphany.
4942
4943 2004-05-11  Michael Natterer  <mitch@gimp.org>
4944
4945         * gtk/gtkcombobox.c (gtk_combo_box_popup)
4946         (gtk_combo_box_menu_button_press): don't allocate the popup
4947         smaller than the combobox. Fixes bug #59660.
4948
4949 2004-05-11  Matthias Clasen  <mclasen@redhat.com>
4950
4951         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the
4952         previous change to this function, clarify the docs instead.
4953
4954         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
4955         GTK_SELECTION_BROWSE.
4956
4957         * gtk/gtktreeview.c: Make hover selection work for 
4958         GTK_SELECTION_BROWSE as well.
4959
4960 Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>
4961
4962         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init): 
4963         Document the ::toggled signal.
4964
4965 Mon May 10 23:04:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4966
4967         * gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify()
4968
4969 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
4970
4971         * gtk/gtkwindow.c (get_screen_icon_info): Make static.
4972
4973         * gdk/gdkdisplay.c (singlehead_...): 
4974         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): 
4975         * gdk/x11/gdkgeometry-x11.c (expose_serial_predicate): 
4976         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.
4977
4978         * gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a 
4979         note about COLUMN_FIXED restriction.
4980
4981         * gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press): 
4982         Set the entry in the default handler of the ::match-selected signal.
4983         (#137226)
4984
4985         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't
4986         do the move-selected-item below pointer thingie, do the 
4987         place-below-or-above one.
4988
4989         * tests/testentrycompletion.c: Make the second example use the 
4990         ::match-selected signal to make it actually work.
4991
4992         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): 
4993         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
4994         mode.  (#127648, Dave Bordoley)
4995
4996         * gtk/gtktreeview.h:
4997         * gtk/gtktreeview.c: Add a new property "hover_selection", which 
4998         when TRUE makes the selection follow the mouse. Also add setter
4999         and getter for the fixed_height property.
5000
5001 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
5002
5003         * gtk/gtkcombobox.c (gtk_combo_box_popup) 
5004         (gtk_combo_box_menu_button_press): Make sure the menu pops up
5005         as wide as the combobox.  (#59660, Havoc Pennington)
5006
5007 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
5008
5009         * gtk/gtkcombobox.h: 
5010         * gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu 
5011         mode). Add a new property, add-tearoffs, for this.  (#135956)
5012
5013         * gtk/gtkfontsel.c (list_row_activated): Make Return activate the
5014         default button.  (#118921)
5015
5016 Mon May 10 15:03:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
5017
5018         * gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function
5019         that emits the grab notify signal.
5020         
5021         * gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here.
5022
5023 Mon May 10 00:48:08 2004  Matthias Clasen  <maclas@gmx.de>
5024
5025         * gtk/gtkmenu.c: Make destruction of a torn off menu work 
5026         like un-tearing off.
5027
5028 Sun May  9 21:05:38 2004  Matthias Clasen  <maclas@gmx.de>
5029
5030         Merge from 2.4:
5031
5032         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
5033         Allow to suppress the stock accelerator by using "".  (#142196,
5034         David A Knight)
5035         
5036 Sun May  9 02:01:13 2004  Matthias Clasen  <maclas@gmx.de>
5037
5038         Merge from 2.4:
5039         
5040         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): 
5041         In list mode, accept the same mouse/wheel bindings on 
5042         the cellview as on the button.  (#136967)
5043
5044 Sun May  9 01:25:37 2004  Matthias Clasen  <maclas@gmx.de>
5045
5046         * gtk/gtkiconfactory.c (add_to_cache): Actually count the
5047         cached icons.  (#135888, Crispin Flowerday)
5048
5049 Sun May  9 00:03:03 2004  Matthias Clasen  <maclas@gmx.de>
5050
5051         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure
5052         that we actually return menus for nodes of type menu, not the
5053         menuitems they're attached to.
5054
5055 Sat May  8 22:50:55 2004  Matthias Clasen  <maclas@gmx.de>
5056
5057         * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): 
5058         Add a note regarding UTF-8 requirements, proposed by 
5059         Mariano Suárez-Alvarez.
5060
5061 Sat May  8 22:43:11 2004  Matthias Clasen  <maclas@gmx.de>
5062
5063         * gtk/gtktearoffmenuitem.h: 
5064         * gtk/gtktearoffmenuitem.c: Put the torn_off flag back
5065         into the GtkTearoffMenuItem struct, since it is used
5066         by the Gimp, and keep it synchronized with the 
5067         tearoff_state property of the parent menu.
5068
5069 2004-05-08  Hans Breuer  <hans@breuer.org>
5070
5071         * gtk/gtkfilesystemwin32.c (extract_icon) : finally also
5072         create the correct mask for 'pseudo mime' icons
5073
5074         * gdk/win32/gdkwindow-win32.c(show_window_internal) : also
5075         take focus_on_map into account
5076
5077         * gtk/gtkselection.c : g_message() only with DEBUG_SELECTION
5078
5079         * gtk/gtkactiongroup.c gtk/gtkcombobox.c : 
5080         ... must return a value
5081
5082         * gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated
5083
5084 2004-05-07  Matthias Clasen  <mclasen@redhat.com>
5085
5086         * gtk/gtkbutton.c (gtk_button_size_allocate): Don't let the child
5087         draw over the focus rectangle.
5088
5089         * gtk/gtkhsv.c: Draw focus indication in the color wheel using
5090         standard focus style.  (#63071, Bill Haneman, idea for new
5091         style by Owen Taylor)
5092
5093         * gtk/gtkstyle.c (gtk_default_draw_focus): Support drawing on
5094         focus on the colorwheel via details.
5095
5096 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
5097
5098         Merge from 2.4:
5099         
5100         * gtk/gtkcombobox.c (gtk_combo_box_menu_state_changed): Remove
5101         this no longer needed signal handler.  (#141817, Paul Pogonyshev)
5102
5103 Fri May  7 00:41:46 2004  Matthias Clasen  <maclas@gmx.de>
5104
5105         * gtk/gtktearoffmenuitem.h: 
5106         * gtk/gtktearoffmenuitem.c: Make the tearoff 
5107         functionality model/view, the tearoffmenuitem being
5108         the view and the tearoff_state property of the menu
5109         being the model.  (#101185, Owen Taylor)
5110
5111         * gtk/gtkmenu.c: Add a tearoff_state property.
5112
5113 Thu May  6 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>
5114
5115         Merge from 2.4:
5116
5117         * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also 
5118         popup the submenu for items in torn off menus.  (#122051)
5119
5120 2004-05-06  Sven Neumann  <sven@gimp.org>
5121
5122         * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
5123         position the title lable next to the arrow just as we do for LTR
5124         rendering. Fixes bug #141825.
5125
5126 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
5127
5128         * docs/RELEASE-HOWTO: Document the new policy of
5129         bumping version numbers after release.
5130
5131         * configure.in: Bump version number to 2.5.0.
5132
5133 2004-05-06  Padraig O'Briain  <padraig.obriain@sun.com>
5134
5135         * gtk/gtkmenu.h:
5136         * gtk/gtkmenu.c: Add new function gtk_menu_get_for_attach_widget.
5137         (bug #113112).
5138
5139 Thu May  6 00:24:11 2004  Matthias Clasen  <maclas@gmx.de>
5140
5141         * gtk/gtkactiongroup.h: 
5142         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): 
5143         New function to translate a string with translate_func.
5144         (#135740)
5145
5146 Thu May  6 00:02:21 2004  Matthias Clasen  <maclas@gmx.de>
5147
5148         * gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width): 
5149         (gtk_combo_box_get_row_span_column): 
5150         (gtk_combo_box_get_column_span_column): Add missing getters
5151         for readwrite properies. (#135649)
5152
5153 Wed May  5 23:42:42 2004  Matthias Clasen  <maclas@gmx.de>
5154
5155         * gtk/gtkcombobox.h: 
5156         * gtk/gtkcombobox.c (gtk_combo_box_get_active_text): 
5157         Add gtk_combo_box_get_active_text() convenience 
5158         function. (#136372, Christian Neumeir, patch by Olivier Andrieu) 
5159
5160 2004-05-05  Elijah Newren  <newren@math.utah.edu>
5161
5162         Changes to support do-not-focus-on-map hint in conjunction with
5163         _NET_WM_USER_TIME (#115650):
5164
5165         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
5166         field focus_on_map
5167         
5168         * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
5169         set it.
5170
5171         * gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map"
5172         and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map().
5173
5174         * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
5175         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
5176         * gdk/x11/gdkwindow-x11.c (gdk_window_new):
5177         Initialize the focus_on_map field to TRUE.
5178
5179         * gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map): 
5180         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map): 
5181         * gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map): 
5182         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window):
5183         Implementations for the various backends. The Win32 and linux-fb
5184         implementations set the focus_on_map field, but don't use it yet
5185         to actually implement noinput windows. The X implementation sets
5186         _NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH).
5187
5188         * gdk/x11/gdkwindow-x11.h: 
5189         * gdk/x11/gdkevents-x11.c (set_user_time): 
5190         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
5191         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): 
5192         s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/,
5193         since we want that function to be part of the public API.
5194
5195 Wed May  5 22:20:21 2004  Matthias Clasen  <maclas@gmx.de>
5196
5197         Merge from 2.4:
5198         
5199         * gtk/gtkiconfactory.c (icon_source_clear): Don't
5200         call g_free() on a pixbuf.  (#141961, Crispin Flowerday) 
5201
5202 2004-05-05  Matthias Clasen  <mclasen@redhat.com>
5203    
5204         Merge from 2.4:
5205         
5206         * gtk/gtkuimanager.c (print_node): Make the output 
5207         parseable.  (#141929, Sven Neumann)
5208
5209 2004-05-05  Tor Lillqvist  <tml@iki.fi>
5210
5211         * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
5212         multi-monitor offset. (#141842, John Ehresman)
5213
5214 2004-05-04  Federico Mena Quintero  <federico@ximian.com>
5215
5216         Fixes #139562, based on a patch by Christian Neumair.
5217
5218         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
5219         a filter_combo_hbox field to contain the filter combo.
5220         (show_filters): Show/hide the filter_combo_hbox.
5221         (create_filename_entry_and_filter_combo): Removed.
5222         (file_pane_create): Create the filter_combo_hbox here.
5223
5224 2004-05-04  Matthias Clasen  <mclasen@redhat.com>
5225
5226         * modules/input/gtkimcontextxim.c: Fix the recent
5227         string_conversion_callback change to work on 
5228         Solaris.  (#141190, Padraig O'Briain)
5229
5230         * gtk/gtkselection.c: Disable debug logging again.
5231
5232 2004-05-03  Matthias Clasen  <mclasen@redhat.com>
5233
5234         * gtk/gtkselection.c: Make the chunk size for 
5235         incremental transfers depend on the maximal request 
5236         size, capped at 256k. This should allow most selections
5237         to be transferred nonincrementally, avoiding many
5238         roundtrips and protocol overhead.
5239
5240 2004-05-03  Federico Mena Quintero  <federico@ximian.com>
5241
5242         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Call
5243         g_signal_new() correctly and initialize the signal fields.  Fixes
5244         #141749; patch based on Michael Natterer's.
5245
5246 u2004-05-03  Matthias Clasen  <mclasen@redhat.com>
5247
5248         * gtk/gtkselection.c (_gtk_selection_request): Fix
5249         a debug message to show correct information.
5250         (_gtk_selection_incr_event): Make INCRemental transfer
5251         of MULTIPLE targets work. This was broken since 1997!
5252
5253 2004-05-02  Hans Breuer  <hans@breuer.org>
5254
5255         * gdk/win32/gdkdrawable-win32.c (draw_segments) : don't
5256         modify the passed in GdkSegment(s) in place, we may get
5257         them again to draw at the same place. Fixes bug #129095, 
5258         bug #137177, ...
5259         (draw_segments) draw the end pixel again to get the 
5260         pixmap mask right, fixes bug #126710, #130202
5261
5262         * gdk/win32/gdkwindow-win32.c : use SetForegroundWindow,
5263         fixes bug #106013, John Ehresman
5264
5265         * gtk/makefile.msc.in : don't try to link gtk.res but
5266         use gtk-win32.res (as supposed to be fixed below :)
5267
5268 2004-05-01  Hans Breuer  <hans@breuer.org>
5269
5270         * tests/Makefile.am : tests/makefile.msc is in CVS for
5271         a long time, finally added to EXTRA_DIST : fixes bug 
5272         #141334, John Ehresman
5273
5274 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
5275
5276         * === Released 2.4.1 ===
5277
5278         * configure.in: Version 2.4.1, interface age 1. 
5279
5280         * NEWS: Updates
5281
5282 2004-04-29  Federico Mena Quintero  <federico@ximian.com>
5283
5284         Fixes #140412.
5285
5286         * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New
5287         function; moved the code over from
5288         remove_bookmark_button_clicked_cb().
5289         (remove_selected_bookmarks): Now, getting a non-removable bookmark
5290         is not an error, as we may be called as a result of hitting the
5291         Delete key.
5292         (shortcuts_key_press_event_cb): New handler; delete the bookmark
5293         if the user presses Backspace, Delete, or KP_Delete.
5294
5295 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
5296
5297         * gtk/gtkaction.c (closure_accel_activate): Use
5298         _gtk_action_emit_activate() instead of directly
5299         emitting the activate signal.  (#141429, Jody Goldberg)
5300
5301         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
5302         Warn people when the accelerator can not be 
5303         parsed.  (#141429, Jody Goldberg)
5304
5305 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
5306
5307         * tests/testentrycompletion.c (main): Add a missing 
5308         cat.  (#141070, Chris Sherlock)  
5309
5310         * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
5311         variable.  (#141022, Chris Sherlock)
5312         
5313         * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
5314         cast.  (#141013, Chris Sherlock)
5315
5316         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
5317         unused variable.  (#141011, Chris Sherlock)
5318
5319 2004-04-29  Tor Lillqvist  <tml@iki.fi>
5320
5321         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
5322         leak. (#140775, John Ehresman)
5323
5324 Thu Apr 29 01:09:50 2004  Matthias Clasen  <maclas@gmx.de>
5325
5326         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
5327         to index the cached gcs, not depth.  (#139494)
5328
5329 2004-04-28  Matthias Clasen  <mclasen@redhat.com>
5330
5331         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
5332
5333 Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
5334
5335         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
5336         cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
5337
5338 2004-04-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>
5339
5340         Patch to add support for string conversion callbacks to
5341         GtkIMContextXIM (#101814)
5342
5343         * modules/input/gtkimcontextxim.c: Set the string conversion callback
5344         if supported by the XIC.
5345
5346         (struct _GtkIMContextXIM): Add string_conversion_callback member.
5347
5348         (struct _GtkXIMInfo, setup_im): Check and keep flag inidicating
5349         whether string conversion callback is supported.
5350
5351         (gtk_im_context_get_ic, +set_string_conversion_callback,
5352         +string_conversion_callback): Also initialize string conversion
5353         callback, if supported, along with the IC initialization.
5354
5355         * modules/input/imxim.c: Make "xim" module default for Thai as well.
5356
5357 2004-04-23  Matthias Clasen  <mclasen@redhat.com>
5358
5359         * gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
5360         initialize targets.  (#139883, John Finlay)
5361
5362         * gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement. 
5363
5364         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): 
5365         Don't recommend gtk_tree_row_reference_new_proxy().  (#138309,
5366         Tim-Philipp Müller)
5367
5368         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): 
5369         Remove an excessive g_return_if_fail().
5370
5371         * gdk/x11/gdkevents-x11.c (set_user_time): Make set_user_time()
5372         static.
5373         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
5374         _-prefix calls of gdk_x11_window_set_user_time().
5375
5376 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
5377
5378         * gtk/gtkuimanager.c (update_node): Make sure the separators 
5379         used to demarkate placeholder ends don't show up on 
5380         show_all().  (#140496, Murray Cumming)
5381
5382         * gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons
5383         work with negative increments.  (#137975, Tim Gerla)
5384
5385 Wed Apr 21 21:38:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
5386
5387         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget,
5388         gtk_tool_button_set_icon_widget): Remove the old widget from the
5389         tool button before overwriting it with the new widget.
5390
5391         (#140508, Todd Goyen)
5392         
5393 2004-04-22  Tor Lillqvist  <tml@iki.fi>
5394
5395         Fix the file chooser on Windows. I can't make it misbehave or
5396         crash any more now. But presumably there are still corner cases
5397         not handled. I haven't really checked behaviour of UNC paths, for
5398         instance.
5399
5400         * gtk/gtkfilesystemwin32.c: Accept both backslash and slash in
5401         several places. Use G_IS_DIR_SEPARATOR macro (which could be added
5402         to GLib in 2.6).
5403
5404         (gtk_file_system_win32_get_parent): Like the Unix version, assert
5405         filename is absolute, and avoid one unnecessary string allocation
5406         and freeing.
5407         
5408         (canonicalize_filename,gtk_file_system_win32_parse): Handle drive
5409         letters more correctly.
5410
5411         (gtk_file_system_win32_render_icon): Assure correct syntax is used
5412         for root folder of a drive. (#137962, Morten Welinder)
5413
5414         (filename_is_some_root): New function that accepts also root
5415         without any drive specified.
5416
5417         (filename_is_drive_root): Rename from filename_is_root.
5418
5419         * gtk/gtkfilechooserentry.c (completion_match_func): Casefold on
5420         Windows.
5421
5422 2004-04-21  Matthias Clasen  <mclasen@redhat.com>
5423
5424         * gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the 
5425         completion window if there are no completions anymore.
5426
5427         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
5428         Don't call gtk_tree_view_scroll_to_cell() on an empty tree view. 
5429         It doesn't like that.  (#140642, Christian Persch)
5430
5431         * demos/gtk-demo/expander.c (do_expander): A new demo.
5432
5433         * demos/gtk-demo/Makefile.am (demos): Add expander.c.
5434
5435 2004-04-20  Matthias Clasen  <mclasen@redhat.com>
5436
5437         * gtk/gtktextview.c (gtk_text_view_allocate_children): Make
5438         sure anchored children get size allocated, even if the layout
5439         is valid.  (#122323, Andrew E. Makeev)
5440         (gtk_text_view_scroll_pages): 
5441         (gtk_text_view_scroll_hpages): Don't scroll to cursor position
5442         if we already have pending scrolls. Bandaid fix for #78513.
5443
5444 Mon Apr 19 17:59:17 2004  Owen Taylor  <otaylor@redhat.com>
5445
5446         * INSTALL.in: Update libpng and libjpeg URLs, remove
5447         note about building without since that's not the normal
5448         case.
5449
5450 Sun Apr 11 09:45:11 2004  Owen Taylor  <otaylor@redhat.com>
5451
5452         * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in
5453         handling of SVG/non-SVG unthemed icons.
5454
5455 2004-04-19  Morten Welinder  <terra@gnome.org>
5456
5457         * gtk/gtktoolbar.c (gtk_toolbar_focus): Don't leak list of
5458         children.  (#140523)
5459
5460 2004-04-19  Matthias Clasen  <mclasen@redhat.com>
5461
5462         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
5463         Don't stop the iteration up to the tag_root too 
5464         early.  (#109945, Dongho Shin)
5465
5466 Sun Apr 18 17:06:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
5467
5468         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make
5469         gdk_keymap_translate_keyboard_state() handle NULL
5470         keymaps. (#139715, Torsten Schoenfeld).
5471
5472 Sun Apr 18 16:59:21 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
5473
5474         * configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586,
5475         reported by Pedro RODRIGUEZ, about compilation problems when
5476         Xcursor is installed in a non-standard location.
5477
5478 Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
5479
5480         Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
5481         Newren.
5482         
5483         * gdk/x11/gdkwindow-x11.[ch]: Add new internal function
5484         _gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.
5485
5486         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field
5487
5488         * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
5489         precached atoms.
5490         
5491         * gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
5492         property on user interaction.
5493
5494 2004-04-15  Federico Mena Quintero  <federico@ximian.com>
5495
5496         * gtk/gtkfilesel.c (open_new_dir): Tell the user to use
5497         G_FILENAME_ENCODING, not G_BROKEN_FILENAMES.  Fixes #114065.
5498
5499         * gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
5500         code from gtkfilesel.c to parse a "text/uri-list" blob.  Fixes
5501         #140126.
5502
5503 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
5504
5505         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
5506         * gtk/gtkbutton.c (gtk_button_class_init): Doc fixes.
5507
5508 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
5509
5510         * gtk/gtkcombobox.c: 
5511         * gtk/gtkwidget.c: 
5512         Make all style properties readonly.
5513
5514 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
5515
5516         * gtk/gtkcolorsel.c: Add a11y relations between the color
5517         wheel and the spin buttons.  (#132745, Padraig O'Briain)
5518
5519         * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
5520         the meaning of size == -1.
5521
5522         * gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept  
5523         a size of -1.  (#137436, Brian Cameron)
5524
5525         * gtk/gtkcombobox.c: Make the arrow and separator regular
5526         children of an hbox inside the button, and propagate state
5527         changes from the button to the cell view.  (part of the fix
5528         for #138650, should also fix #137535)
5529
5530         * gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT
5531         state to gtk_cell_renderer_render() when prelighted. (part 
5532         of the fix for #138650)
5533
5534         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
5535         Use PRELIGHT state when appropriate.  (part of the fix for 
5536         #138650)
5537
5538         * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't spit 
5539         out warnings if called before the combo box is 
5540         realized.  (#139742, Philip Langdale)
5541
5542 Wed Apr 14 03:45:39 2004  Jonathan Blandford  <jrb@gnome.org>
5543
5544         * gtk/gtktreeview.c (gtk_tree_view_expose): propagate expose
5545         events to children.
5546
5547 Wed Apr 14 03:32:58 2004  Jonathan Blandford  <jrb@gnome.org>
5548
5549         * gtk/gtkpathbar.c (make_directory_button): remove spurious
5550         gtk_box_pack_start.
5551
5552 Tue Apr 13 16:19:23 2004  Jonathan Blandford  <jrb@redhat.com>
5553
5554         * gtk/gtkpathbar.c (make_directory_button): patch from Owen to
5555         make the buttons sized by a bold label.  This makes the text
5556         'swim' a little, but stops the buttons from resizing, #137210
5557
5558 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
5559
5560         * gtk/gtkuimanager.c (get_child_node): Don't crash if a node 
5561         has no name.
5562         (start_element_handler): Accept separators without unique 
5563         names.  (#133302, Anders Carlsson)
5564
5565         * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
5566         possible accelerator gotcha when using this function.  (#139641, 
5567         Christian Persch)
5568
5569         * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
5570         list nodes.  (#138862, Morten Welinder)
5571
5572 Tue Apr 13 12:24:49 2004  Jonathan Blandford  <jrb@redhat.com>
5573
5574         * gtk/gtktreeview.c (gtk_tree_view_destroy): remove unused
5575         variable.
5576         (gtk_tree_view_button_press): If we activated the row we don't
5577         want to grab focus back, as moving focus to another widget is
5578         pretty common, #138458
5579
5580 2004-04-12  Federico Mena Quintero  <federico@ximian.com>
5581
5582         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Added
5583         documentation to all the signals.
5584
5585 2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
5586
5587         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't unref
5588         model if it is NULL. (#139770)
5589
5590         * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix.
5591
5592         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add
5593         a shadow inside the scrolled window, add it around the vbox.
5594
5595         * gtk/gtkentryprivate.h: 
5596         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
5597         Return a boolean indicating whether the popup is positioned above 
5598         or below. Scroll the completions to the beginning or the end, 
5599         depending on the positioning.
5600
5601         * gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav
5602         wrap around in the entry completion popup, and allow GDK_UP to 
5603         enter the popup.  (#137440)
5604
5605 2004-04-12  Matthias Clasen  <mclasen@redhat.com>
5606
5607         * gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is 
5608         there before using it.
5609
5610 Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
5611
5612         * gtk/gtktreeprivate.h: Moved search entries into priv data.
5613
5614         * gtk/gtktreeview.c: Prep for type-ahead support.
5615
5616         (gtk_tree_view_destroy): Destroy the search window explicitly.
5617         (gtk_tree_view_key_press): Minor change; prep for type-ahead
5618         (gtk_tree_view_ensure_interactive_directory): New function
5619         (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
5620         (gtk_tree_view_real_start_interactive_search): rework
5621         (gtk_tree_view_search_dialog_hide): ditto
5622         (gtk_tree_view_search_delete_event): ditto
5623         (gtk_tree_view_search_button_press_event): ditto
5624         (gtk_tree_view_search_key_press_event): ditto
5625         (gtk_tree_view_search_move): ditto
5626         (gtk_tree_view_search_init): ditto
5627
5628         * gtk/gtktreeviewcolumn.c:
5629         (gtk_tree_view_column_cell_layout_clear): remove unused variable.
5630
5631         * tests/testfilechooser.c: (main): change
5632
5633 2004-04-11  Hans Breuer  <hans@breuer.org>
5634
5635         * gdk/win32/gdkspawn-win32.c : workaround for bug #137496,
5636         the real fix would involve just another small API breakage,
5637         i.e. gdk_spawn_* using GPid not just gint.
5638
5639         * gtk/makefile.msc.in : build gtk-win32.res, not gtk.res
5640
5641 2004-04-10  Tor Lillqvist  <tml@iki.fi>
5642
5643         * gdk/win32/gdkkeys-win32.c (gdk_keymap_translate_keyboard_state):
5644         If both Shift and CapsLock pressed, ignore the shift only for
5645         letters (that would have been affected by the CapsLock). (#139095)
5646
5647         * gdk/win32/gdkglobals-win32.c: Disable tablet support by default,
5648         seems to be even buggier now than it used to be. (#138341)
5649         Initialize _gdk_input_ignore_wintab to TRUE.
5650
5651         * gdk/win32/gdkmain-win32.c: Add --use-wintab switch and
5652         GDK_USE_WINTAB environment variable to turn on tablet support.
5653
5654 2004-04-09  Christian Persch  <chpe@cvs.gnome.org>
5655
5656         * gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
5657         (gtk_ui_manager_remove_action_group): Terminate
5658         g_object_[dis]connect() calls with NULL instead of 0.
5659         Fixes #138997.
5660
5661 2004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
5662
5663         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
5664
5665 2004-04-07  Federico Mena Quintero  <federico@ximian.com>
5666
5667         Fix #132500.
5668
5669         * gtk/gtkfilesystem.c (gtk_file_system_parse): Ensure that the
5670         passed-in 'str' is not NULL.
5671
5672         * gtk/gtkfilesystemunix.c (expand_tilde): New helper function;
5673         expands "~/" or "~foo/" at the beginning of a filename.
5674         (gtk_file_system_unix_parse): Use expand_tilde() before doing
5675         anything else.
5676
5677         * gtk/gtkfilechooserentry.c
5678         (gtk_file_chooser_entry_maybe_update_directory): Take in a
5679         force_reload argument.
5680         (gtk_file_chooser_entry_changed): If gtk_file_system_parse()
5681         returns an error, set the file_part_pos to -1.
5682         (load_directory_callback): Only populate the model if the
5683         file_part_pos is not -1.
5684
5685 2004-04-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
5686
5687         * configure.in: Added Icelandic (is) to ALL_LINGUAS
5688
5689 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
5690
5691         * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a
5692         title for SAVE and CREATE_FOLDER modes.  Fixes #137272.
5693
5694         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Look
5695         for G_DIR_SEPARATOR in the display_name, and err out if it is
5696         present; use the same error message as Nautilus.  Fixes #136467.
5697
5698         * gtk/gtkfilechooserdefault.c (file_pane_create): Make the
5699         new-folder button say "Create Fo_lder" rather than "Create
5700         _Folder", so that the mnemonic doesn't conflict with the "Save in
5701         _folder" label.  Fixes #136975.
5702
5703 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
5704
5705         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Ref/sink the
5706         buttons.  Also, free them correctly upon failure.  Based on a
5707         patch by Morten Welinder, fixes #137956.
5708
5709 2004-04-05  Anders Carlsson  <andersca@gnome.org>
5710
5711         * gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly.
5712
5713 Fri Apr  2 17:57:33 2004  Jonathan Blandford  <jrb@redhat.com>
5714
5715         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set the height
5716         correctly for fixed height when inserting a node, #138082
5717
5718 2004-04-01  Federico Mena Quintero  <federico@ximian.com>
5719
5720         Fix #136077.
5721
5722         * gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
5723         "child_is_hidden" boolean argument to the "path-clicked" signal.
5724
5725         * gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
5726         field.
5727         (make_directory_button): Take a file_is_hidden argument; put it in
5728         the ButtonData.
5729         (_gtk_path_bar_set_path): See whether each path component path is
5730         a hidden file.
5731         (gtk_path_bar_class_init): Add the file_is_hidden argument to the
5732         "path-clicked" signal.
5733         (button_clicked_cb): See if the downwards button represents a
5734         hidden file for the file_is_hidden argument in the signal
5735         emission.
5736
5737         * gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.
5738
5739         * gtk/gtkfilechooserdefault.c
5740         (gtk_file_chooser_default_select_path): If we fail to switch
5741         folders, don't try to select the path in the file system model.
5742         Also, return the result from _gtk_file_system_model_path_do().
5743         (gtk_file_chooser_default_select_path): Turn on show_hidden in the
5744         file system model if we are asked to select a hidden file.
5745         (path_bar_clicked): Show hidden files based on whether the
5746         immediate downwards folder in the path bar is a hidden file
5747         itself.
5748         (struct _GtkFileChooserDefault): Added fields
5749         browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
5750         (create_file_list): Set an object data key of
5751         "GtkFileChooserDefault" on the tree view so that we can find the
5752         impl from the popup menu callbacks.  Also, hook up to the
5753         "button-press-event" and "popup-menu" signals in the file list to
5754         bring up a popup menu.
5755         (list_popup_menu_cb): New callback.
5756         (list_button_press_event_cb): New callback.
5757
5758         Fix #138763:
5759
5760         * gtk/gtkfilesystemmodel.c
5761         (_gtk_file_system_model_new): Oops, connect_object to
5762         "finished-loading".
5763
5764 2004-03-31  Tor Lillqvist  <tml@iki.fi>
5765
5766         * configure.in: Move AC_CANONICAL_HOST earlier, before the check
5767         for native Win32. (#136559, J. Ali Harlow)
5768
5769         * gdk/win32/gdkdrawable-win32.c (draw_arc): Use X11 semantics for
5770         angles. Thanks to Tim Newsham.
5771
5772 2004-03-29  Federico Mena Quintero  <federico@ximian.com>
5773
5774         Fix #137520.
5775
5776         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
5777         for an ::is_finished_loading() method and a ::finished_loading()
5778         signal at the end of the struct.
5779
5780         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
5781         "finished-loading" signal.
5782         (gtk_file_folder_is_finished_loading): New function.
5783
5784         * gtk/gtkfilesystemunix.c
5785         (gtk_file_folder_unix_is_finished_loading): Implement.
5786
5787         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
5788         slot for a "finished-loading" signal.
5789         (gtk_file_system_model_class_init): Create the "finished-loading"
5790         signal.
5791         (struct _GtkFileSystemModel): New field
5792         idle_finished_loading_source.  We emit the "finished-loading"
5793         signal in an idle if the root folder was done loading right in
5794         _gtk_file_system_model_new(), so that the caller has a chance to
5795         connect to the signal.
5796         (_gtk_file_system_model_new): Connect to the normal signals of the
5797         folder even if the initial _list_children() fails.  Also, see if
5798         the folder is finished loading; connect to the "finished-loading"
5799         signal otherwise.
5800         (gtk_file_system_model_finalize): Remove the idle handler.
5801
5802         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
5803         and connect to the model's "finished-loading" signal.
5804         (get_toplevel): New helper function.
5805         (error_message): Use get_toplevel().
5806         (trap_activate_cb): Likewise.
5807         (location_popup_handler): Likewise.
5808         (set_busy_cursor): New function.
5809         (browse_files_model_finished_loading_cb): New callback.
5810
5811 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
5812
5813         * gtk/gtkfilechooserdefault.c (check_preview_change): Just use the
5814         file under the cursor; we don't need the logic from
5815         GtkFileSelection after all.  Fixes #132255.
5816
5817 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
5818
5819         * gtk/gtkfilechooserdefault.c (location_entry_create): Fill the
5820         location entry with the display name of the file under the cursor
5821         for Open mode, or the typed filename in Save mode.
5822
5823 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
5824
5825         * gtk/gtkfilesystemwin32.c
5826         (filename_is_root): Bare drive designators (eg., "c:") are
5827         no longer considered as root filenames.  Fixed #137942
5828
5829 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
5830
5831         * gtk/gtkfilesystemwin32.c
5832         (gtk_file_system_win32_create_folder): Invert test for error in
5833         mkdir.  Fixes #137945
5834
5835 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
5836
5837         Fixed #138004 using Federico's code from #132327.
5838
5839         * gtk/gtkfilesystemwin32.c (struct _GtkFileSystemWin32): Add a
5840         folder_hash field to keep a list of live folder objects.
5841         (gtk_file_system_win32_init): Create the folder_hash.
5842         (gtk_file_system_win32_finalize): Destroy the folder_hash.
5843         (gtk_file_system_win32_get_folder): Ref and return an existing
5844         folder if we have it around, otherwise return a new folder object.
5845         (struct _GtkFileFolderWin32): Add a field for the parent file system.
5846         (gtk_file_folder_win32_finalize): Remove the folder from the file
5847         system's hash table.
5848         (gtk_file_system_win32_create_folder):  Emit "files-added" on the
5849         newly-created folder's parent.  Fixes #138004.
5850
5851 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
5852
5853         * gtk/gtkfilesystemwin32.c
5854         (gtk_file_system_win32_get_folder): Test that path is actually
5855         a directory and throw error if not. Fixed bug #137950
5856
5857 2004-03-22  J. Ali Harlow  <ali@juiblex.co.uk>
5858
5859         * gtk/gtkfilesystemwin32.c
5860         (gtk_file_system_win32_volume_get_display_name): Ignore empty
5861         volume labels; assume that GetVolumeInformation would fail if
5862         GetVolumeInformationW does; catches a small memory leak;
5863         pass the buffer size to GetVolumeInformationW in wide
5864         characters instead of bytes. Fixes bug #137543
5865         (list_volumes): Cope with the theoretical possibility of
5866         more than 26 logical drives. Fixes bug #137940
5867         (bookmarks_serialize): Now actually removes bookmarks.
5868         Fixes bug #137943
5869
5870 2004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
5871
5872         * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
5873
5874 2004-03-21  Tor Lillqvist  <tml@iki.fi>
5875
5876         * gtk/gtkfilesystemwin32.c
5877         (gtk_file_system_win32_volume_get_base_path): Include the
5878         backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
5879         NULL for a volume base path, as g_filename_to_uri() requires an
5880         absolute path, and just a drive letter and colon isn't. (#137543)
5881
5882 2004-03-20  Hans Breuer  <hans@breuer.org>
5883
5884         * gtk/gtkfilesystemwin32.c : applied the undisputable and
5885         required [due to recent gtkfilesystem internal api semantic 
5886         changes] part of patches to fix bug #137543 (Tor Lillqvist,
5887         J. Ali Harlow)
5888
5889         * gdk/gdkevents-win32.c (handle_configure_event) :
5890              (gdk_event_translate), WM_WINDOWPOSCHANGED : initialize
5891         GdkWindowObject::x, y with screen coords to make 
5892         gdk_window_get_position () return the right thing and thus fix
5893         drag and drop positioning (e.g. Gimp tabs, fixes bug #137192)
5894
5895 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
5896
5897         * Revert the patch to #137520, as 2.4.1 is for conservative bug
5898         fixes only.  The patch is attached to the bug report, for
5899         reference.
5900
5901 2004-03-19  Morten Welinder  <terra@gnome.org>
5902
5903         * gtk/gtkfilechooserdefault.c
5904         (gtk_file_chooser_default_set_current_folder): Test existance of
5905         the path after checking for locality, if needed.
5906
5907 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
5908
5909         Fix #137520.
5910
5911         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
5912         for an ::is_finished_loading() method and a ::finished_loading()
5913         signal at the end of the struct.
5914
5915         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
5916         "finished-loading" signal.
5917         (gtk_file_folder_is_finished_loading): New function.
5918
5919         * gtk/gtkfilesystemunix.c
5920         (gtk_file_folder_unix_is_finished_loading): Implement.
5921
5922         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
5923         slot for a "finished-loading" signal.
5924         (gtk_file_system_model_class_init): Create the "finished-loading"
5925         signal.
5926         (struct _GtkFileSystemModel): New field
5927         idle_finished_loading_source.  We emit the "finished-loading"
5928         signal in an idle if the root folder was done loading right in
5929         _gtk_file_system_model_new(), so that the caller has a chance to
5930         connect to the signal.
5931         (_gtk_file_system_model_new): Connect to the normal signals of the
5932         folder even if the initial _list_children() fails.  Also, see if
5933         the folder is finished loading; connect to the "finished-loading"
5934         signal otherwise.
5935         (gtk_file_system_model_finalize): Remove the idle handler.
5936
5937         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
5938         and connect to the model's "finished-loading" signal.
5939         (get_toplevel): New helper function.
5940         (error_message): Use get_toplevel().
5941         (trap_activate_cb): Likewise.
5942         (location_popup_handler): Likewise.
5943         (set_busy_cursor): New function.
5944         (browse_files_model_finished_loading_cb): New callback.
5945
5946 Thu Mar 18 12:10:45 2004  Owen Taylor  <otaylor@redhat.com>
5947
5948         * gtk/gtktreeitem.c (gtk_tree_item_forall): Include 
5949         eventbox for expander. (#137564, reported by
5950         Jacques Garrigue)
5951
5952 2004-03-18  Guntupalli Karunakar  <karunakar@freedomink.org>
5953
5954         * mr.po: Added "mr" for Marathi to ALL_LINGUAS.
5955
5956 2004-03-17  Morten Welinder  <terra@gnome.org>
5957
5958         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free
5959         volumes not actually put into the shortcut list.
5960
5961         * tests/prop-editor.c (object_changed): Plug leak.
5962
5963         * tests/testfilechooser.c (main): Plug some leaks and expose
5964         others.
5965
5966         * tests/prop-editor.c (create_prop_editor): Don't leak the tooltip
5967         object.  Fixed #136652.
5968
5969         * gtk/gtkfilechooserdefault.c (check_icon_theme): Do nothing if we
5970         have no screen.  Fixes #137260.
5971         (shortcuts_add_bookmark_from_path): Simplify using check_is_folder
5972         thereby fixing leak.  Fixes #137259.
5973
5974         * gtk/gtkpathbar.c (gtk_path_bar_forall): Make this work when the
5975         slider buttons have been destroyed.
5976         (gtk_path_bar_remove): Make this work for slider buttons too.
5977         Fixes #137257
5978
5979 2004-03-15  Morten Welinder  <terra@gnome.org>
5980
5981         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
5982         Sanitize and plug leak.
5983         (check_icon_theme): Only do something if the widget has a screen.
5984
5985 Wed Mar 17 01:20:28 2004  Matthias Clasen  <maclas@gmx.de>
5986
5987         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
5988         Move the repositioning logic from _gtk_entry_completion() popup
5989         over here. Fixes #137355, reported by Niklas Knutsson.
5990