]> Pileus Git - ~andy/gtk/blob - ChangeLog
Render insensitive icons in a way that more closely matches Windows.
[~andy/gtk] / ChangeLog
1 2005-06-04  Tor Lillqvist  <tml@novell.com>
2
3         * modules/engines/ms-windows/msw_style.c: Render insensitive icons
4         in a way that more closely matches Windows. (#305986, Tim Evans).
5
6         * modules/engines/ms-windows/Makefile.am (LDADDS): Link with
7         gdk-pixbuf.
8
9 2005-06-03  Dom Lachowicz <cinamod@hotmail.com>
10
11         * modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp
12         * modules/engines/ms-windows/xp_theme.c: Ditto
13         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
14
15 Thu May 26 16:43:27 2005 Manish Singh  <yosh@gimp.org>
16
17         * gtk/gtkentrycompletion.h: Add declarations for
18         gtk_entry_completion_{get,set}_popup_single_match.
19
20 2005-05-26  Matthias Clasen  <mclasen@redhat.com>
21
22         * gtk/gtk.symbols: 
23         * gtk/gtkentrycompletion.c: Add a property to suppress the
24         popup for single matches.  (#154711)
25
26         * gtk/gtkentry.c (gtk_entry_completion_timeout): Respect it here.
27
28         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): 
29         Use it here.
30
31         * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the 
32         redisplay after modifying the tag in the btree, otherwise 
33         we end up showing the old tags until the next redraw comes 
34         around.   (#143537, Gary Kramlich, Peter Wainwright)
35
36         * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make 
37         autoscrolling work at the bottom of the screen.
38
39 2005-05-26  Maciej Katafiasz  <email@mathrick.org>
40
41         * docs/reference/gtk/tmpl/gtkentry.sgml:
42         Point to GtkTextView instead of GtkText. Fixes bug #305535
43
44 2005-05-26  Sven Neumann  <sven@gimp.org>
45
46         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): use a less
47         aggressive PNG compression level (bug #305340).
48
49 2005-05-26  Tor Lillqvist  <tml@novell.com>
50
51         * gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
52         from the root window, take the multi-monitor offset into
53         account. (#305511)
54
55 2005-05-25  Matthias Clasen  <mclasen@redhat.com>
56
57         * demos/gtk-demo/appwindow.c (do_appwindow): Set the window
58         icon by name.
59
60         * gtk/gtkfilesystem.c (gtk_file_folder_is_finished_loading): 
61         Remove another C99ism.
62
63         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the 
64         background of rows insensitive when the treeview is insensitive.
65         (pointed out by Billy Biggs)
66
67         * demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
68         and DND, and clipboard persistency.
69
70         * gtk/gtkselection.c (gtk_target_list_add_image_targets): 
71         Make sure png comes first, otherwise dnd may use bmp by
72         default, loosing transparency.
73
74 2005-05-25  Michael Natterer  <mitch@imendio.com>
75
76         * gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
77         handler when changing cursor visibility because it would expose
78         the whole paragraph where the cursor is. Instead, expose the
79         cursors' areas manually. (#173047).
80
81         (text_window_invalidate_cursors): new function which exposes the
82         cursors.
83
84         * gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
85         same cursor size calculation is in text_window_invalidate_cursors().
86
87 2005-05-25  Matthias Clasen  <mclasen@redhat.com>
88
89         * demos/gtk-demo/editable_cells.c (create_items_model): Also
90         demonstrate GtkCellRendererProgress.
91
92         * demos/gtk-demo/Makefile.am (demos): 
93         * demos/gtk-demo/combobox.c: Add a demo showing combo box 
94         variations.
95
96         * demos/gtk-demo/Makefile.am (demos): 
97         * demos/gtk-demo/pickers.c: Add a demo showing all picker widgets.
98
99 2005-05-24  Matthias Clasen  <mclasen@redhat.com>
100
101         * demos/gtk-demo/iconview.c (do_iconview): Fix a typo.
102
103 2005-05-24  Tor Lillqvist  <tml@novell.com>
104
105         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Handle
106         gtk-alternative-button-order (setting it to TRUE).
107
108 2005-05-23  Matthias Clasen  <mclasen@redhat.com>
109
110         * gtk/gtktreeview.c (gtk_tree_view_search_init): Remove
111         an unused variable.  (#305130, Jaap A. Haitsma)
112
113         * gtk/gtkfilechooserdefault.c (filter_create): Don't grab
114         the focus away from the file list when operating the filter
115         combo with the pointer.  (#304844, Sven Neumann)
116
117 2005-05-23  Tor Lillqvist  <tml@novell.com>
118
119         * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to
120         GDK_Menu. (#172383, Ivan Wong)
121
122         * gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one
123         of the special cases this function takes care of, use it as
124         such. This takes care of for instance the Bengali Virama, see bug
125         #165723.
126
127 2005-05-20  Matthias Clasen  <mclasen@redhat.com>
128
129         * gtk/gtkimcontextsimple.c (check_table): Avoid a possible
130         buffer overrun.  (#142444, Leonard Michlmayr)
131
132         * gtk/gtkfilesystem.c: Remove C99-isms (#304879, 
133         Kazuki IWAMOTO)
134
135 2005-05-18  Matthias Clasen  <mclasen@redhat.com>
136
137         * gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri): 
138         Use the correct function to conver the uri to a path.  (#304565,
139         Ismael Juma)
140
141         * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
142         Cancel button properly.  (#304234, Sven Neumann)
143
144 2005-05-18  Anders Carlsson  <andersca@imendio.com>
145
146         * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
147         (gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
148         * gtk/gtktextview.h:
149         If the horizontal adjustment changes because of a change in the
150         layout width, then do a complete redraw. This is because there
151         might be right-aligned or centered text that needs to be redrawn.
152
153 2005-05-18  Matthias Clasen  <mclasen@redhat.com>
154         
155         * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
156         the event masks of descendent windows.  (#169821, Tommi Komulainen)
157
158         * gtk/gtktreeview.c (gtk_tree_view_get_drop_column) 
159         (gtk_tree_view_set_column_drag_info): Fix some errors in the
160         handling of drop columns.  (#143355, John Finlay)
161
162         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): 
163         Remove the no longer needed workaround.
164
165         * gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
166         allocations of mapped children.
167
168         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): 
169         Add a bug reference.
170
171 2005-05-18  Tor Lillqvist  <tml@novell.com>
172
173         * gdk/win32/gdkevents-win32.c
174         * gdk/win32/gdkkeys-win32.c
175         * gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
176         lParam of WM_KEY* messages to distinguish between left and right
177         Control and Alt keys. Unfortunately, the right Shift key doesnt
178         set KF_EXTENDED, so to distinguish between left and right Shift
179         keys, check the scan code. (#304584)
180
181 2005-05-18  Matthias Clasen  <mclasen@redhat.com>
182
183         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if
184         length overflows.  (#161520, Ian Wienand)
185
186         * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix
187         parameter names to make gtk-doc happy.
188
189         * gtk/gtkscale.c (gtk_scale_class_init): Fix the default
190         values of draw-value and value-pos to be the values we
191         actually use in _init. (#304547, Mikael Hallendal)
192
193         * gtk/gtkcellrendererpixbuf.c: Support named icons in
194         cells by adding a icon-name property. (#165777, Anders
195         Carlsson)
196
197         * gtk/gtk.symbols:
198         * gtk/gtktoolbutton.h: 
199         * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name) 
200         (gtk_tool_button_get_icon_name): Support named icons in 
201         tool buttons by adding a icon-name property. (#116577, 
202         Christian Neumair)
203
204         * gtk/gtk.symbols: 
205         * gtk/gtkdnd.h: 
206         * gtk/gtkdnd.c (gtk_drag_source_set_icon_name) 
207         (gtk_drag_set_icon_name): New functions to support themed 
208         drag icons.  (#116577, Christian Neumair)
209
210 2005-05-17  Owen Taylor  <otaylor@redhat.com>
211
212         * gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface): 
213         Update to changed cairo interface.
214
215         * gdk/x11/gdkdrawable-x11.[ch]:
216         Add _gdk_x11_drawable_update_size()
217         
218         * gdk/x11/gdkwindow-x11.c (gdk_window_resize) 
219         (gdk_window_move_resize)
220         * gdk/x11/gdkevents-x11.c (gdk_event_translate): 
221         Call _gdk_x11_drawable_update_size().
222
223 2005-05-17  Matthias Clasen  <mclasen@redhat.com>
224
225         * gtk/gtktextview.c (cursor_blinks): Don't blink the cursor
226         if the text view is not editable.  
227
228         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep
229         the popup posted if the button is released over the cellview.
230         This matches the behaviour of other combo box implementations.  
231         (#171378)
232         
233         * gdk/gdkwindow.c (gdk_window_set_bg_pattern): Adjust offsets
234         when recursing.  (#153682, Felipe Heidrich)
235
236 2005-05-16  Matthias Clasen  <mclasen@redhat.com>
237
238         * gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up 
239         and GDK_Page_Down twice.  (#168333, Hazael Maldonado Torres)
240
241         * gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if 
242         the entry is not editable.  (#304171, Nikos Kouremenos)
243         
244         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor): 
245         Make sure the action of the button and the dialog are in sync,
246         when the dialog is provided by the app.  (#303987, David A Knight)
247
248         * gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo
249         in the docs.  (#303940, Masao Mutoh)
250
251         * configure.in (GTK_DOC_CHECK): Check for gtk-doc 1.4.
252
253         * gtk/gtktoggleaction.c (connect_proxy): Be more careful when
254         casting.  (#304089, Philip Langdale)
255
256         * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
257         the label if we need to.  (#169390, Felix Riemann)
258
259 Sat May 14 00:07:46 2005  Manish Singh  <yosh@gimp.org>
260
261         * gdk/gdkdraw.c
262         * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
263         declaration.
264
265         * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
266         call gdk_cairo_set_source_color() with a color.
267
268         * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
269
270         * tests/testiconview.c (main): cast args of drag functions to the
271         appropriate type.
272
273 2005-05-13  Owen Taylor  <otaylor@redhat.com>
274
275         * gdk/x11/gdkdrawable-x11.c: Update for cairo-xlib API change.
276
277         * gdk/x11/gdkpixmap-x11.[ch] gdk/gdk.symbols: Export 
278         gdk_pixmap_impl_x11_get_type(), needed in gdkdrawable-x11.c.
279         
280 2005-05-11  Owen Taylor  <otaylor@redhat.com>
281
282         * tests/testgtk.c (on_alpha_window_expose): Fix to use
283         gdk_cairo_create(). (create_alpha_window): Hook up "response"
284         to close the window.
285
286 2005-05-11  Owen Taylor  <otaylor@redhat.com>
287
288         * gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
289         to draw the swatch in to avoid having an extraneous window.
290         
291         * gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
292         color when !has_opacity.
293
294 2005-05-10  Owen Taylor  <otaylor@redhat.com>
295
296         * gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
297         files for Cairo convenience functionality.
298
299         * gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
300         convenience functions to add GdkRectangle, GdkRegion to a cairo path.
301
302         * gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c 
303         gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
304
305         * gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
306         gdk_drawable_create_cairo_context() to gdk_cairo_create().
307
308         * gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
309         Rename gdk_pixbuf_set_as_cairo_source() to 
310         gdk_cairo_set_source_pixbuf().
311
312         * gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
313         gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
314         Adjust for renames.
315
316         * gdk/gdk.symbols: Update.
317
318         * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix 
319         coordinate system problem that was causing the wrong portions
320         to be invalidated.
321
322         * gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
323         gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
324         gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
325         gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
326         gtk/gtkcellview.c (gtk_cell_view_expose)
327         gtk/gtkdnd.c (gtk_drag_highlight_expose)
328         gtk/gtkentry.c (gtk_entry_draw_text) 
329         gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
330
331         * gtk/gtkcalendar.[ch]: Beat into something roughly resembling
332         GTK+ style ... use instance-private data and standard names for
333         private structure, etc. Move function docs inline.
334
335         * gtk/gtkcalendar.[ch]: Switch to drawing everything in
336         expose. Switch drawing to Cairo.
337
338         * gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
339         gtk_calendar_freeze/thaw
340
341 2005-05-10  Tor Lillqvist  <tml@novell.com>
342
343         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
344         that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
345         == gdk_screen_get_default(), as that might return NULL when this
346         function is called.
347
348 2005-05-09  Matthias Clasen  <mclasen@redhat.com>
349
350         * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
351         padding in RTL mode.  (#303572, Maciej Katafiasz)
352
353 2005-05-09  Owen Taylor  <otaylor@redhat.com>
354
355         * gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br): 
356         Fill in unused bits so they can be used for the depth-32 target case.
357         Rewrite so that that gives a marginal speedup rather than a
358         marginal slowdown. (on x86)
359
360         * gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c:
361         Add gdk_screen_get_rgba_colormap/visual to get a visual for
362         windows with an alpha channel, if one exists.
363
364         * gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c:
365         Stub out gdk_screen_get_rgba_colormap/visual.
366
367         * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of
368         "unused" wasn't right for depth == 32, since it depended on
369         shifting by 32.
370
371         * gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from
372         Keith Packard,
373         http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html)
374
375         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
376         Implement again, without using Xft.
377
378         * tests/testgtk.c: Add a test for windows with an alpha channel.
379
380 2005-05-09  Matthias Clasen  <mclasen@redhat.com>
381
382         * autogen.sh: Revert accidental commit.
383
384 2005-05-08  Matthias Clasen  <mclasen@redhat.com>
385
386         * gdk/gdkcolor.c (gdk_cairo_set_source_color): 
387         * gdk/gdkimage.h: 
388         * gdk/gdkdraw.c: 
389         * gdk/gdkcolor.h: 
390         * gdk/gdkcursor.h: 
391         * gdk/x11/gdkcolor-x11.c: Small documentation additions.
392
393 2005-05-07  Matthias Clasen  <mclasen@redhat.com>
394
395         * gtk/gtkscrolledwindow.h: 
396         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_hscrollbar): 
397         (gtk_scrolled_window_get_cscrollbar): Change the return 
398         type to GtkWidget*, proposed by Owen Taylor. 
399
400         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm) 
401         (gdk_screen_get_height_mm): Fix typos in the docs.  (#303389,
402         Masao Mutoh)
403
404 2005-05-07  Matthias Clasen <mclasen@redhat.com>
405
406         * gtk/gtkiconview.c: Fix a copy-and-paste accident, spotted
407         by Owen Taylor.
408
409 2005-05-07  Owen Taylor  <otaylor@redhat.com>
410
411         * gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
412         the background color.
413
414 2005-05-07  Owen Taylor  <otaylor@redhat.com>
415
416         * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source): 
417         Change prototype to match cairo_set_source_surface().
418
419         * gdk/gdkdraw.c gdk/gdkgc.c gdk/gdkpixbuf-render.c gdk/gdkwindow.c
420         gtk/gtkhsv.c tests/testcairo.c.
421
422 2005-05-06  Federico Mena Quintero  <federico@ximian.com>
423
424         Merged from gtk-2-6:
425
426         * gtk/gtkfilesystemunix.c (fill_in_mime_type): Don't fill the mime
427         types if this is an AFS directory.
428         (fill_in_names): If we are in an AFS directory, set the MIME type
429         blindly to "x-directory/normal".
430
431 2005-05-06  Matthias Clasen  <mclasen@redhat.com>
432
433         * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always
434         initialize child-visible to FALSE, otherwise we may end up
435         with the wrong page visible initially.  (#302283, Patrik Fimml)
436
437         * gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders
438         appear insensitive in insensitive treeviews. 
439
440 2005-05-05  Matthias Clasen  <mclasen@redhat.com>
441
442         * gtk/gtktoolbar.c: Fix a typo in the docs.  (#303024, 
443         Morten Welinder)
444
445 2005-05-06  Matthias Clasen  <mclasen@redhat.com>
446
447         * gtk/gtk.symbols:
448         * gtk/gtkiconview.[hc]: Add DND support similar to the DND
449         support in the tree view.  (#150270)
450
451 2005-05-05  Matthias Clasen  <mclasen@redhat.com>
452
453         * gtk/gtktreednd.h: 
454         * gtk/gtkwidget.h: Small cleanups.
455
456         * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix
457         a typo.
458
459 2005-05-04  Owen Taylor  <otaylor@redhat.com>
460
461         * gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.h: Fix a bug
462         in focus tracking when we move between has_pointer_focus and 
463         has_focus_window directly. (#109246, Billy Biggs, Niko Tyni 
464         and others)
465
466         * gdk/x11/gdkevents-x11.c: Also fix some confusion that could
467         happen in the case of no window manager + keyboard grabs, by
468         moving to a more consistent model of when we pay attention to
469         mode=NotifyGrab/NotifyUngrab events.
470         
471         * docs/focus_tracking.txt: Extensive writeup about how to track
472         focus under X11.
473
474 Wed May  4 13:21:41 2005  Søren Sandmann  <sandmann@redhat.com>
475
476         * tests/testcairo.c (draw): Replace cairo_show_surface() uses with
477         cairo_set_source_surface()/cairo_paint();
478
479 2005-05-04  Tor Lillqvist  <tml@novell.com>
480
481         * gdk/win32/gdkdrawable-win32.c (generic_draw, blit_from_pixmap)
482         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values,
483         _gdk_win32_gc_new, _gdk_windowing_gc_set_clip_region,
484         gdk_win32_hdc_get): Minor fixes to make Win32 backend compile
485         again.
486
487 2005-05-03  Matthias Clasen  <mclasen@redhat.com>
488
489         * gtk/gtkfilesystem.c: 
490         * gtk/gtkcelleditable.c: 
491         * gtk/gtktreemodel.c: Avoid getting the interface struct
492         twice in the same function.  (#300513, Billy Biggs)
493
494         * gtk/gtkscrolledwindow.h:
495         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_vscrollbar): 
496         * gtk/gtk.symbols: Add getters for the scrollbars.  (#167181,
497         Billy Biggs)    
498
499         * gtk/gtkdialog.h: 
500         * gtk/gtkdialog.c (gtk_dialog_get_response_for_widget): 
501         Make this function public.  (#170748, Morten Welinder)
502
503 2005-05-02  Federico Mena Quintero  <federico@ximian.com>
504
505         Merged from gtk-2-6:
506
507         Fixes #301068:
508
509         * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add fields
510         to store struct stat for /afs and /net, and boolean fields to say
511         whether these are valid.
512         (struct _GtkFileFolderUnix): Added a boolean is_network_dir field.
513         (gtk_file_system_unix_get_folder): Fill in the is_network_dir
514         field of the folder structure.
515         (fill_in_names): If the folder is a network directory, create a
516         fake struct stat for its entries.
517         (fill_in_stats): Don't stat() the children of network directories.
518
519         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): If the mtime
520         is 0, use "Unknown" for the cell's displayed text.
521
522 2005-04-28  Owen Taylor  <otaylor@redhat.com>
523
524         * gtk/gtkwidget.c: Add a draw-border style property to allow
525         themes to draw outside the widget's allocation.
526
527         * gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs
528         that were working around the clip-leakage bug in Cairo.
529
530         * gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than
531         save/fill/restore.
532
533         * gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context()
534         That updates a Cairo context to match a GC.
535
536         * gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support
537         for tiles/stipples/clipping to gdk_draw_glyphs(), 
538         gdk_draw_trapezoids().
539
540         * gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal
541         implementation of stipples. Use one cairo_t across the entire
542         drawing operation. Replace cairo_matrix_create() with 
543         stack-allocated matrices.
544
545         * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c 
546         gdk/win32/gdkgc-win32.c: Save various aspects of the 
547         GC state (fill, tile, stipple, foreground, background, clip region)
548         in instance-private-data for future use. Add getters.
549         Get rid of _gdk_windowing_gc_get_foreground() function implemented 
550         by the backends.
551
552         * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
553         gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add
554         _gdk_gc_init() to do initial setup of the GC from values;
555         fixes some problems from drawable redirection.
556
557         * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
558         gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move 
559         gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into 
560         the generic code, add _gdk_windowing_gc_copy(), 
561         _gdk_windowing_gc_set_clip_region() to do backend specific
562         stuff.
563
564         * gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
565         gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
566         gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}:
567         Don't duplicate state that now is stored by the generic code.
568
569         * gdk/gdk.symbols Update
570
571 2005-05-02  Matthias Clasen  <mclasen@redhat.com>
572
573         * tests/testiconview.c: Test cell renderers.
574
575         * gtk/gtk.symbols: Add new functions.
576
577         * gtk/gtkiconview.[hc]: Implement GtkCellLayout and use
578         cell renderers for drawing and editing. (#148144, #160242)
579
580 2005-05-02  Matthias Clasen  <mclasen@redhat.com>
581
582         * gtk/gtkcellrenderertext.c (get_size): Return a sufficient
583         width for cases where pango_layout_get_pixel_extents() returns
584         a rectangle with nonzero x. 
585
586         * gtk/gtkselection.c: Small doc fixes.
587
588         * gtk/gtkmenushell.c (gtk_menu_shell_set_take_focus): 
589         (gtk_menu_shell_get_take_focus): Fix up the docs a bit.
590
591 2005-05-02  Michael Natterer  <mitch@imendio.com>
592
593         * gtk/gtkmain.c (do_post_parse_initialization): return silently if
594         "gtk_initialized" is TRUE. Re-enables calling GTK's init functions
595         multiple times when using gtk_get_option_group(), just as one can
596         call gtk_init() multiple times without doing any harm.
597
598 2005-05-01  Matthias Clasen  <mclasen@redhat.com>
599
600         * gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
601         the event to unanchored children in the text window.  
602         (#302494, Stephen Kennedy)
603
604 2005-04-30  Tor Lillqvist  <tml@novell.com>
605
606         * gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
607         multi-monitor offset into account. (#302525)
608
609 2005-04-29  Matthias Clasen  <mclasen@redhat.com>
610
611         * gtk/gtkradioaction.c: Make the docs build.  (#302230,
612         Ali Akcaagac)
613
614         * gtk/gtkiconview.c (gtk_icon_view_map): Get rid of this
615         function, instead show the bin_window when it is created.
616
617         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
618         grab focus to unrealized widgets.  (#302240, Philip Langdale)
619
620         * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
621         background upon state changes.  (#301651, Billy Biggs)
622         (gtk_tree_view_get_path_at_pos): Take RTL into account
623         when iterating over the columns.  (#302163)
624         
625         * configure.in: Check for nm.
626
627         * gtk/Makefile.am: Use $(NM), not nm directly. (#301299, 
628         Nguyen Thai Ngoc Duy)
629
630         * gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
631         the internal unselect_all function, since we need the unselection
632         to happen even in browse mode.  (#300995, Mathias Hasselmann)
633
634         * gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
635         of triggering a ::notify by re-setting the property.  (#300982,
636         Sven Neumann)
637
638         * gtk/gtkaction.c (connect_proxy): Use gtk_action_sync_tooltip().
639
640         * gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Also
641         scroll horizontally when necessary, and keep the northwest
642         corner of the item visible.  (#300913, Mathias Hasselmann)
643
644         * tests/testiconview.c: Add some more tests.
645
646         * gtk/gtkiconview.c (gtk_icon_view_select_path): Don't crash
647         if the path does not point to a row in the model.  (#300909,
648         Mathias Hasselmann)
649         (gtk_icon_view_rows_reordered): Re-layout here.  (#301009, 
650         Mathias Hasselmann)
651
652         * tests/testtext.c: Add some more attribute tests.
653
654         * gtk/gtktexttag.c (gtk_text_tag_class_init): Correct the documentation
655         of the rise property. String change, but it is more important to
656         be correct than to be translated.  (#301740)
657
658 2005-04-25  Tor Lillqvist  <tml@novell.com>
659
660         * gtk/gtkfilesystemwin32.c
661         (gtk_file_system_win32_volume_get_display_name): Get volume name
662         also on Win9x. (#301798, Daniel Atallah)
663         (canonicalize_filename): Add explicit braces to silence compiler
664         warning.
665
666 2005-04-22  Tor Lillqvist  <tml@novell.com>
667
668         * gtk/gtkmain.c: Initailize gettext before use. Calling
669         bindtextdomain() and bind_textdomain_codeset() in
670         do_post_parse_initialization() is too late. Put the calls in a new
671         function gettext_initialization(), and call that from
672         gtk_init_with_args() and gtk_parse_args(). Fixes #170948 for
673         GTK+'s part, but the same problem occurs also at least in
674         atk. Thanks to Robert Ögren, Daniel Atallah and Kevin Stange.
675
676 2005-04-19  Ivan, Wong Yat Cheung  <email@ivanwong.info>
677
678         * gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Match
679         character height instead of cell height. Fix #301228.
680
681 2005-04-18  Federico Mena Quintero  <federico@ximian.com>
682
683         Merged from gtk-2-6:
684
685         * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
686         obsolete assertion that the selected row can't be a volume; this
687         is handled by the "removable" column now.  Fixes #301017.
688
689 2005-04-18  Owen Taylor  <otaylor@redhat.com>
690
691         * gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c
692         * gdk/gdkcolor.c gdk/gdkwindow.c gdk/gdkpixbuf-render.c
693         gdk/gdkpango.c tests/testcairo.c: Update to new Cairo API for
694         setting color and opacity. (#301066, Vincent Noel)
695  
696 2005-04-15  Federico Mena Quintero  <federico@ximian.com>
697
698         Merged from gtk-2-6:
699
700         * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
701         Patch from Christian Neumair <chris@gnome-de.org>; only select the
702         first row if we are in OPEN mode.  The only other case we were
703         letting pass through was SELECT_FOLDER, but selecting the first
704         row when changing folders confuses people when folders are
705         actually being selected.  Fixes #171885.
706
707 2005-04-13  Matthias Clasen  <mclasen@redhat.com>
708
709         * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): 
710         Revert the fix for #169870, adjust the documentation instead. 
711
712         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
713         Revert the fix for #170727.     
714
715 2005-04-11  Ivan, Wong Yat Cheung  <email@ivanwong.info>
716
717         Fix #300218:
718
719         * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
720         C99ism.
721
722         * gtk/updateiconcache.c: Guard inclusion of unistd.h and
723         utime.h.
724
725 2005-04-09  Matthias Clasen  <mclasen@redhat.com>
726
727         * gdk/x11/gdkinput-xfree.c:
728         * gdk/x11/gdkinput-none.c:
729         * gdk/gtk.symbols: Some more fixes necessary to 
730         make building with gcc 4 work.
731
732         Add 16x16 versions of the zoom icons and of 
733         GTK_STOCK_INDEX. Some of the images were taken from 
734         the hicolor icon theme, and were originally created 
735         by Jakub Steiner and Tuomas Kuosmanen.  (#167515, 
736         Vincent Noel)
737         
738         * gtk/stock-icons/stock_index_16.png:
739         * gtk/stock-icons/stock_zoom_1_16.png:
740         * gtk/stock-icons/stock_zoom_fit_16.png:
741         * gtk/stock-icons/stock_zoom_in_16.png:
742         * gtk/stock-icons/stock_zoom_out_16.png: New images.
743         
744         * gtk/stock-icons/Makefile.am: Add the new images. 
745
746         * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): 
747         Don't display too many broken images.  (#169870, Roman
748         Kagan, patch by Ivan Wong)
749
750         * gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging
751         output.  (#300013, Tommi Komulainen)
752
753 2005-04-08  Matthias Clasen  <mclasen@redhat.com>
754
755         * gtk/gtkimage.c (gtk_image_expose, gtk_image_calc_size): 
756         If a stock_id is unknown, display the missing image. (#169870,
757         Steven Walter)
758
759         * gtk/gtkiconcache.c (icon_name_hash): Use the same function 
760         as in updateiconcache.c.  (spotted by Morten Welinder)
761
762 2005-04-08  Carl Worth  <cworth@cworth.org>
763
764         * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
765         now that cairo exposes the cairo_matrix_t structure.
766         
767         * gdk/gdkpixbuf-render.c: (gdk_pixbuf_set_as_cairo_source): Track
768         cairo API change in signedness of data argument.
769
770 2005-04-08  Matthias Clasen  <mclasen@redhat.com>
771
772         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make this
773         work when called from gtk_combo_box_destroy().  (#172999,
774         Christian Persch)
775
776 2005-04-08  Matthias Clasen  <mclasen@redhat.com>
777
778         Fix double-click to autosize treeview columns. This was
779         probably broken since 2.2 ! (#169675)
780         
781         * gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the
782         "user-resized" state of the column on a double-click to
783         autosize.
784         (gtk_tree_view_button_press, gtk_tree_view_motion_resize_column): 
785         Enter the "user-resized" state of the column only if a drag
786         actually changes the column width, not on any click.
787
788 2005-04-07  Matthias Clasen  <mclasen@redhat.com>
789
790         * gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
791         images on menus.  (#169532, Benjamin Otte)
792         
793         * gtk/updateiconcache.c (write_card16, write_card32): Avoid
794         unaligned access.  (#172947)
795
796         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): 
797         Consistently use the term "Bookmarks" in the UI.  (#166906,
798         Sebastian Bacher)
799
800         Some fixes from Morten Welinder (#172947):
801         
802         * gtk/updateiconcache.c (icon_name_hash): Make this compiler- 
803         and platform-independent.
804         (is_cache_up_to_date): Don't compare mtimes is a stat call failed.
805         (build_cache): Error out if a stat fails.  
806
807 2005-04-07  Matthias Clasen  <mclasen@redhat.com>
808
809         * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add 
810         a hint about hiding expanders.
811
812         * gtk/updateiconcache.c (is_cache_up_to_date): Return 
813         TRUE if the cache is newer than the directory.  (#172852,
814         Jacob Kroon)
815
816         * configure.in: Replace an explicit pkg-config by 
817         $PKG_CONFIG.  (#168074, Hans-Wolfgang Loidl)
818         
819         * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): 
820         Ignore regions which fall completely outside the line.  
821         (#165862, Felipe Heidrich)
822
823 2005-04-06  Matthias Clasen  <mclasen@redhat.com>
824
825         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
826         -1 as possible value.  
827         (gtk_tree_view_enable_model_drag_source) 
828         (gtk_tree_view_enable_model_drag_dest): Pass the target list 
829         to the underlying dnd implementation, otherwise we miss the 
830         target info in the drag-data-received signal.  (#164085, Jorn
831         Baayen)
832
833 2005-04-06  Matthias Clasen  <mclasen@redhat.com>
834
835         * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column) 
836         (gtk_tree_view_bin_expose): Avoid a few unnecessary calls
837         to gdk_window_get_pointer(). (#168015, Billy Biggs)
838
839         * po/.cvsignore, po-properties/.cvsignore: Remove
840         Makefile.in.in.  (#171092, Stepan Kasal)
841
842         * gtk/gtkrc.c (gtk_rc_parse_style): Don't modify 
843         scanner->value, copy it first.  (#165693, Tommi Komulainen)
844
845 2005-04-05  Matthias Clasen  <mclasen@redhat.com>
846
847         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus): 
848         * gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement
849         grab_focus for GtkComboBox and GtkComboBoxEntry.  (#171912,
850         Gustavo Carneiro)
851
852         * gtk/gtkicontheme.c: Store icon caches along with the
853         mtimes of the toplevel directories. The previous
854         mechanism of a hashtable-per-theme caused duplicate icon
855         caches for the same toplevel directory to be created.  
856         (#170030)
857
858 2005-04-05  Matthias Clasen  <mclasen@redhat.com>
859
860         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): 
861         Fix a typo in a warning.
862
863         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
864         the license and credits buttons from being affected by 
865         gtk_widget_show_all().  (#172724)
866
867 2005-04-05  Matthias Clasen  <mclasen@redhat.com>
868
869         * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a 
870         reference to the item.  (#167920, Hazael Maldonado Torres)
871
872         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some
873         more docs on interactive search.
874
875 2005-04-05  Tor Lillqvist  <tml@novell.com>
876
877         * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour
878         display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL)
879         returns 1 (but GetDeviceCaps(NUMCOLORS) does return 16). (#143415)
880
881         * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
882         24bpp GdkVisual on 32bpp displays. (#140706)
883
884 Mon Apr  4 19:13:23 2005  Jonathan Blandford  <jrb@redhat.com>
885
886         Fix for #172319, Tristan Van Berkom:
887         
888         * gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use
889         gtk_tree_view_real_expand_row() instead of doing this by hand.
890
891 2005-04-04  Johan Dahlin  <johan@gnome.org>
892
893         * gtk/gtktextbuffer.c: (gtk_text_buffer_class_init),
894         (gtk_text_buffer_set_property), (gtk_text_buffer_get_property),
895         (gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631)
896
897 Mon Apr  4 14:33:55 2005  Manish Singh  <yosh@gimp.org>
898
899         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
900         cast combo->priv->entry to GTK_ENTRY()
901
902         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
903         cast completion->priv->tree_view to GTK_TREE_VIEW()
904
905 2005-04-04  Matthias Clasen  <mclasen@redhat.com>
906
907         * gtk/gtktextbuffer.c: Some trivial doc fixes.
908
909         * gtk/gtkwidget.c (gtk_widget_set_redraw_on_allocate): Improve 
910         the wording of the doc comment.  (#172422, Vincent Untz)
911
912 2005-04-04  Owen Taylor  <otaylor@redhat.com>
913
914         * gtk/gtkstyle.c (gtk_default_draw_expander): Covert expander
915         drawing to Cairo. Also always draw the entire triangle instead
916         of just drawing the center for prelight. (Fixes inconsistent
917         drawing in GtkTreeView.)
918
919 2005-04-04  Johan Dahlin  <johan@gnome.org>
920
921         * gtk/gtk.symbols: Remove symbols accidentally added.
922         * gtk/gtkentryprivate.h: Add boolean property popup_set_width
923         * gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init):
924         Use object_class instead of gobject_class
925
926 Mon Apr  4 12:14:35 2005  Søren Sandmann  <sandmann@redhat.com>
927
928         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
929         widget coordinates instead of root coordinates. Patch from Jorn
930         Baayen. (#172236)
931
932 2005-04-04  Matthias Clasen  <mclasen@redhat.com>
933
934         * gtk/gtktoolbar.c: Add a tooltips property.
935
936         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init): 
937         * gtk/gtkruler.c (gtk_ruler_class_init): Add docs.
938
939         * gtk/gtktoggletoolbutton.c: Add an active property.
940
941 2005-04-04  Matthias Clasen  <mclasen@redhat.com>
942
943         Allow completion popups to be wider than the entry. (#131916, 
944         Ross Burton)
945         
946         * gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.
947
948         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
949         Don't force the popup to have the same width as the entry if 
950         popup-set-width is FALSE.
951
952         * gtk/gtk.symbols: Add new functions.
953
954 2005-04-04  Matthias Clasen  <mclasen@redhat.com>
955
956         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
957         Use gtk_accel_map_change_entry(), so that reusing the same
958         action name works.  (#170727, Paolo Borelli)
959
960 2005-04-04  Tor Lillqvist  <tml@novell.com>
961
962         * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
963         function, to log a clipboard format name symbolically.
964         (_gdk_win32_data_to_string): Also new, to log random data bytes.
965
966         Implement delayed rendering on Win32, specifically for transfering
967         images through the clipboard from GTK+ apps to other
968         apps (#168173, implementation by Ivan Wong):
969
970         * gdk/win32/gdkevents-win32.c (gdk_event_translate): 
971         Handle WM_RENDERFORMAT.
972
973         * gdk/win32/gdkprivate-win32.h
974         * gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
975         _delayed_rendering_data and _image_bmp.
976
977         * gdk/win32/gdkmain-win32.c: Initialize _image_bmp.
978
979         * gdk/win32/gdkproperty-win32.c (gdk_property_change):
980         Accept formats other than GDK_TARGET_STRING or _utf8_string, and
981         assume they are handled through delayed rendering.
982
983         * gdk/win32/gdkselection-win32.c (gdk_selection_convert):
984         Return all available formats (including those registered by GTK+
985         apps) on request_targets.
986         (gdk_selection_property_get): We should append a zero byte like
987         X11 does.
988         (gdk_win32_selection_add_targets): New function, for
989         gtkselection's use. Win32 requires that the clipboard owner
990         registers all valid formats even if the owner wants delayed
991         rendering.
992         (_gdk_win32_selection_convert_to_dib): New function. Convert
993         images to DIB using gdk-pixbuf.
994
995         * gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().
996
997         * gtk/gtkselection.c (gtk_selection_add_target,
998         gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
999         to register target formats.
1000
1001         * gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
1002
1003 2005-04-03  Hans Breuer  <hans@breuer.org>
1004
1005         [merged from gtk-2-6 branch]
1006         * gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
1007         the line pattern not the start of the line. Fixes bug #171641.
1008
1009         * gtk/makefile.msc.in : follow .symbols changes
1010
1011         * gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
1012         dynamically. (It is not available in _WIN_VER <= 0x0400)
1013
1014         * gdk/win32/makefile.msc : removed gdkpango-win32.obj
1015
1016         * gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI
1017
1018         [also applied to gtk-2-6 branch]
1019         * gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def
1020
1021         * gdk/makefile.msc.in : add gtkmnemonichash.obj
1022
1023         * test/testgtk.c(set_parent_signal) : use g_message instead of
1024         g_print to keep the 'testgtk --bench=all' output clean
1025
1026 2005-04-03  Matthias Clasen  <mclasen@redhat.com>
1027
1028         * gtk/gtkruler.c: Add a "metric" property.
1029
1030         * gtk/gtkradiomenuitem.c: Add a "group" property like
1031         the one found in radio buttons.
1032
1033         * gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
1034         a typo in the docs.
1035         (gtk_radio_button_set_group): Add change notification.
1036
1037 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
1038
1039         * gtk/gtkselection.c: Move documentation inline, document
1040         if add_target functions append or prepend.  (#172350, 
1041         Jon-Kare Hellan)
1042
1043 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
1044
1045         Make gtk_combo_box_get_active_text do the right thing for
1046         GtkComboBoxEntry (#171373, Robert Staudinger)
1047         
1048         * gtk/gtkcombobox.h: Add a get_active_text vfunc.
1049         
1050         * gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
1051         implement it here.
1052
1053         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): 
1054         Implement get_active_text by always returning the content of 
1055         the entry.
1056
1057 2005-03-31  Sven Neumann  <sven@gimp.org>
1058
1059         Merged from gtk-2-6:
1060
1061         * gtk/gtkbutton.c
1062         * gtk/gtkiconview.c: fixed gtk-doc comments.
1063
1064 2005-03-31  Michael Natterer  <mitch@gimp.org>
1065
1066         Allow to pop up menus without grabbing the keyboard. Useful for
1067         stuff like virtual keyboards. Fixes bug #159890
1068
1069         * gtk/gtk.symbols
1070         * gtk/gtkmenushell.[ch]: added boolean property "take-focus"
1071         and public API gtk_menu_shell_set/get_take_focus().
1072
1073         * gtk/gtkmenu.c (gtk_menu_popup)
1074         (popup_grab_on_window): don't grab the keyboard if take_focus
1075         is FALSE.
1076
1077         * gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
1078         parent menu_shell's take_focus property to the submenu which is
1079         about to be popped up.
1080
1081 2005-03-30  Federico Mena Quintero  <federico@ximian.com>
1082
1083         Merged from gtk-2-6:
1084
1085         Fix #170755:
1086
1087         * gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
1088         if the row which changed is the same as the row being edited.
1089
1090 2005-03-30  Matthias Clasen  <mclasen@redhat.com>
1091
1092         * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): 
1093         Make enable_search control only typeahead, not C-f.  (#170435,
1094         Sven Neumann)
1095         (gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.
1096
1097         * gdk/gdkpixbuf.h: Include cairo.h
1098
1099         * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): 
1100         Don't accept n_targets == -1.
1101         (clipboard_unset): unref the old_data, not the
1102         user_data which we have just cleared.  (#172038, Sven
1103         Neumann)
1104
1105         * gtk/gtkcombobox.c (gtk_combo_box_popup): Don't 
1106         segfault if somebody tries to popup an unrealized
1107         combo box.  (#172031, Felipe Heidrich)
1108
1109 2005-03-30  Tor Lillqvist  <tml@novell.com>
1110
1111         * gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
1112         state field should represent the state before the event, like on
1113         X11. (#169753)
1114         (gdk_event_translate): Fix event filter handling. If an event
1115         filter (global, client message filter, of window-specific) returns
1116         GDK_FILTER_CONTINUE, continue as if nothing happened. If it
1117         returns GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE
1118         from gdk_event_translate() which means that DefWindowProc() will
1119         not be called.
1120         (gdk_event_translate): Fix client message handling. Append a
1121         GDK_CLIENT_EVENT unless there is a filter that matches and returns
1122         something other than GDK_FILTER_CONTINUE. (#135552)
1123
1124 2005-03-29  Matthias Clasen  <mclasen@redhat.com>
1125
1126         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func): 
1127         Document the need to refilter if parameters of the visibility function
1128         change.  (#169516, Olivier Sessink)     
1129
1130 Mon Mar 28 15:13:42 2005  Søren Sandmann  <sandmann@redhat.com>
1131
1132         * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
1133         invalidate areas that are covered by mapped input-output child
1134         windows. Bug 141380.
1135
1136 2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>
1137
1138         * gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
1139         the preview label ellipsize so the dialog layout stays constant.
1140         (#171398)
1141
1142 2005-03-28  Matthias Clasen  <mclasen@redhat.com>
1143
1144         * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
1145         the context menu of the search entry if it is not visible.
1146         (#169534, Billy Biggs)
1147
1148 2005-03-27  Tor Lillqvist  <tml@novell.com>
1149
1150         * configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
1151         after all, and in fact necessary with HEAD libtool.
1152
1153 2005-03-26  Matthias Clasen  <mclasen@redhat.com>
1154
1155         * gtk/*.c: 
1156         * gdk/gdkdisplaymanager.c: 
1157         Use canonical names for g_object_notify() as well. 
1158
1159 2005-03-24  Tor Lillqvist  <tml@novell.com>
1160
1161         * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
1162         in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
1163         gtk+-2.0.pc file and automatically used by dependents. MSVC users
1164         who use pkg-config will have to manually edit it out from
1165         gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
1166         some kind of conditionals in .pc files?
1167
1168 2005-03-23  Matthias Clasen  <mclasen@redhat.com>
1169
1170         * gtk/gtkfilechooserbutton.c (update_combo_box): Remove
1171         a call whose result was unused and leaked.  (#170776,
1172         Kjartan Maraas)
1173
1174         Some cleanups to the GtkDialog code:  (#170746, 
1175         Morten Welinder)
1176         * gtk/gtkdialog.c (action_widget_activated): Simplify,
1177         use _gtk_dialog_get_response_for_widget.
1178         (gtk_dialog_add_action_widget): Use the correct signal
1179         id for non-buttons.
1180         (gtk_dialog_set_response_sensitive): 
1181         (gtk_dialog_set_default_response): Use get_response_data.
1182         (gtk_dialog_run): Don't disconnect the signals if the
1183         dialog was destroyed while running.
1184
1185 Tue Mar 22 14:16:31 2005  Manish Singh  <yosh@gimp.org>
1186
1187         * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
1188         Use g_return_if_fail, not g_return_val_if_fail.
1189
1190 2005-03-22  Matthias Clasen  <mclasen@redhat.com>
1191
1192         Implement bookmark renaming  (#136216, Sean Middleditch)
1193         
1194         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add 
1195         get_bookmark_label and set_bookmark_label vfuncs.
1196
1197         * gtk/gtkfilesystem.h:
1198         * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label): 
1199         (gtk_file_system_get_bookmark_label): Wrappers for the
1200         vfuncs.
1201
1202         * gtk/gtk.symbols: Add new exported symbols.
1203
1204         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label): 
1205         (gtk_file_system_unix_get_bookmark_label): Implementations
1206         for the Unix backend.
1207
1208         * gtk/gtkfilechooserdefault.c: Add a context menu to
1209         the bookmarks pane, and allow to rename bookmarks.
1210
1211 2005-03-22  Matthias Clasen  <mclasen@redhat.com>
1212
1213         * gtk/gtkpathbar.c (gtk_path_bar_unmap): 
1214         * gtk/gtkspinbutton.c (gtk_spin_button_unmap): 
1215         * gtk/gtknotebook.c (gtk_notebook_unmap): 
1216         * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
1217         the widget is unmapped.  (#168791, Ryan Lortie)
1218
1219 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
1220
1221         * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
1222         GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
1223         their G_ counterparts, but also mark the name, nick
1224         and blurb as static.
1225
1226         * gtk/*.c: Mark param spec strings as static, using
1227         the new macros.
1228
1229         * gtk/gtkspinbutton.h: Fix a typo.
1230
1231 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
1232
1233         * gtk/gtkcellrendererprogress.c: 
1234         * gtk/gtkcellrendererpixbuf.c: 
1235         * gtk/gtkcellrenderercombo.c: 
1236         * gtk/gtkcellrenderer.c: 
1237         * gtk/gtkcalendar.c: 
1238         * gtk/gtkbutton.c: 
1239         * gtk/gtkbox.c: 
1240         * gtk/gtkbbox.c: 
1241         * gtk/gtkaspectframe.c: 
1242         * gtk/gtkarrow.c: 
1243         * gtk/gtkalignment.c: 
1244         * gtk/gtkactiongroup.c: 
1245         * gtk/gtkaction.c:
1246         * gtk/gtkaccellabel.c: 
1247         * gtk/gtkaboutdialog.c: Mark param spec strings as static.
1248
1249         * gdk/gdkpango.c (gdk_pango_renderer_class_init): 
1250         * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
1251         param spec strings as static.
1252
1253 2005-03-21  Tor Lillqvist  <tml@novell.com>
1254
1255         * modules/engines/ms-windows/*.c: Silence gcc warnings (unused
1256         variables, unhandled enum value in switch). Use g_object_unref()
1257         instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
1258
1259         * modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state): 
1260         Add missing "case" keyword.
1261
1262         * modules/engines/ms-windows/Makefile.am: Link with -lgdi32
1263         explicitly.
1264
1265 2005-03-20  Tor Lillqvist  <tml@novell.com>
1266
1267         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
1268         Terminal Services session number, window station name (always
1269         "WinSta0" in interactive processes), and desktop name (typically
1270         "Default"), concatenated with backslash separators.
1271         (gdk_display_open): Accept only NULL or the string
1272         gdk_display_get_name() returns as display name.
1273
1274 2005-03-20  Matthias Clasen  <mclasen@redhat.com>
1275
1276         Make PLT-reduction work with gcc4, and don't include
1277         everything in gdkalias.h:
1278         
1279         * gtk/grk.symbols: Group symbols by header and source file.
1280         * gtk/makegtkalias.pl: Protect definitions by the same 
1281         preprocessor symbols used to guard the headers. Move
1282         the alias declarations to a separate file which is 
1283         produced when calling makegtkalias.pl -def
1284         * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate 
1285         this file.
1286         * gtk/*.c: Include gtkalias.h after the other headers, 
1287         include gtkaliasdef.c at the bottom.
1288         * gtk/*.h: Small cleanups.
1289
1290 Fri Mar 18 23:59:49 2005  Soeren Sandmann  <sandmann@redhat.com>
1291
1292         * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
1293         Make right-clicks not pop up the menu.
1294
1295 2005-03-18  Owen Taylor  <otaylor@redhat.com>
1296
1297         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish): 
1298         Call cairo_surface_finish()
1299
1300         * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
1301         _gdk_windowing_set_surface_device_offset().
1302
1303 2005-03-18  Tor Lillqvist  <tml@novell.com>
1304
1305         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
1306         WM_MOUSEMOVE, don't check if this process owns the active
1307         window. This makes cross-application widget embedding work better.
1308         On WM_MOVE, don't bother checking for window visibility.
1309
1310         * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
1311         unused variables. Add some casts to silence gcc.
1312
1313 2005-02-24  Owen Taylor  <otaylor@redhat.com>
1314
1315         * gdk/gdkwindow.c: Use cairo_set_device_offset().
1316
1317         * gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
1318         gdk/win32/gdkpixmap-win32.c: 
1319         Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the 
1320         drawable. Add _gdk_drawable_win32_finish() to clean up resources
1321         when a drawable is destroyed.
1322
1323         * gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
1324         (blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use 
1325         acquire/release_dc when getting a DC to use with a GC or for 
1326         blitting from a pixmap.
1327
1328         * gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
1329
1330         * gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
1331         Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
1332         implementations.
1333
1334         * gdk/win32/gdkdrawable-win32.c: Remove 
1335         gdk_draw_rectangle_alpha_libgtk_only()
1336
1337 2005-03-17  Owen Taylor  <otaylor@redhat.com>
1338
1339         * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
1340         EXTEND_REPEAT on the stipple pattern.
1341
1342 2005-03-17  Matthias Clasen  <mclasen@redhat.com>
1343
1344         * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
1345         in example in the docs.  (#170611, Jianfei Wang)
1346
1347         * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
1348         adjustment values on resize.  (#170567, Tomislav Jonjic)
1349
1350         * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
1351         if there is no cache.  (#170652, Diego Gonzalez)
1352         
1353         * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): 
1354         Make inline completion insert the prefix at the
1355         right spot.  (#170146, Doug Quale)
1356
1357 2005-03-17  Tor Lillqvist  <tml@novell.com>
1358
1359         * gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
1360
1361 2005-03-16  Matthias Clasen  <mclasen@redhat.com>
1362
1363         * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize): 
1364         Typo fix in the docs.
1365         
1366         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip): 
1367         Typo fix in the docs.
1368
1369         * gtk/gtkiconview.c (gtk_icon_view_set_columns) 
1370         (gtk_icon_view_get_columns, gtk_icon_view_set_item_width) 
1371         (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing) 
1372         (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing) 
1373         (gtk_icon_view_set_column_spacing) 
1374         (gtk_icon_view_get_row_spacing, gtk_icon_view_get_margin) 
1375         (gtk_icon_view_set_margin): Add docs.
1376         
1377         * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row): 
1378         Add docs.
1379
1380 2005-03-15  Owen Taylor  <otaylor@redhat.com>
1381
1382         * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c 
1383         gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
1384         gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
1385         ref_cairo_surface()
1386
1387         * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
1388         function to create_cairo_context()
1389
1390         * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
1391
1392         * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
1393         not just the pixel.
1394
1395         * tests/testcairo.c: Update for create_cairo_context()
1396
1397         * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
1398         Reimplement in terms of Cairo, bypass the vtable entries.
1399
1400         * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
1401         gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
1402         gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
1403         implementation of draw_trapezoids / draw_glyphs[_transformed].
1404
1405         * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
1406
1407         * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
1408         gdk_pango_context_get_for_screen() into the backend independent code.
1409
1410         * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
1411         for drawing images.
1412
1413         * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
1414         gdk_draw_rectangle_alpha_libgtk_only.
1415
1416         * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add 
1417         gdk_pixbuf_set_as_cairo_source()
1418
1419         * gdk/gdk.symbols: Update
1420
1421         * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
1422         gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
1423
1424         * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
1425         gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
1426         radio button style for now to get something more scalable.
1427
1428         *  gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
1429         antialiasing/dpi settings.
1430
1431 2005-03-16  Matthias Clasen  <mclasen@redhat.com>
1432
1433         * demos/gtk-demo/editable_cells.c: Also demonstrate
1434         GtkCellRenderer::editing-started and separators.
1435
1436 Tue Mar 15 20:34:33 2005  Manish Singh  <yosh@gimp.org>
1437
1438         * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
1439
1440 2005-03-15  Matthias Clasen  <mclasen@redhat.com>
1441
1442         Make PLT-reduction work with gcc4, and don't include
1443         everything in gdkalias.h:
1444
1445         * gdk/gdk.symbols: Group symbols by header and source file.
1446         * gdk/makegdkalias.pl: Protect definitions by the same
1447         preprocessor symbols used to guard the headers. Move
1448         the alias declarations to a separate file which is
1449         produced when calling makegdkalias.pl -def
1450         * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
1451         file.
1452         * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
1453         headers, include gdkaliasdef.c at the bottom.
1454
1455 2005-03-16  Tor Lillqvist  <tml@novell.com>
1456
1457         * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
1458         debugging output only if asked for, not always.
1459
1460         * gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
1461         debugging printout instead of +%d+%d. Misc other additions and
1462         cosmetic improvements to debugging printouts. Use API_CALL() and
1463         GDI_CALL() macros in more places.
1464
1465         * gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
1466         gdk_window_move_resize): To detect child windows, check whether
1467         the real parent is not the desktop window, instead of relying on
1468         the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
1469         windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
1470         de facto child windows.
1471
1472         * gdk/win32/gdkprivate-win32.h
1473         * gdk/win32/*.c: Drop global variable _gdk_root_window, just call
1474         GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
1475         _gdk_root.
1476
1477         * gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
1478         toplevel_window_type field.
1479
1480         * gdk/win32/gdkwindow-win32.c: As there is only one root window in
1481         GDK on Win32, we can compare directly to _gdk_root instead of
1482         checking the window type.
1483         (gdk_window_reparent): When reparenting a child of the desktop
1484         clear out the window decorations. Correspondingly, when
1485         reparenting to the desktop, add decorations. As in the X11
1486         backend, save the window type of a toplevel window when
1487         reparenting, in case it is reparented back to toplevel.
1488
1489 2005-03-15  Matthias Clasen  <mclasen@redhat.com>
1490
1491         * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
1492         example for manually setting up a group of actions.
1493
1494         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
1495         Document that inline completion requires text-column to be set.
1496         (gtk_entry_completion_compute_prefix): Return NULL if text-column
1497         is not set.
1498
1499         * gtk/gtkentry.c (check_completion_callback): Call 
1500         gtk_entry_completion_complete() before inserting the prefix,
1501         otherwise the prefix may depend on (random) state of the
1502         filter model.  
1503
1504 2005-03-15  Anders Carlsson  <andersca@imendio.com>
1505
1506         * docs/iconcache.txt:
1507         Update spec.
1508         
1509         * gtk/gtkiconcache.c: (find_image_offset),
1510         (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
1511         (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
1512         * gtk/gtkiconcache.h:
1513         Update to be able to fetch pixbuf data and icon metadata.
1514         
1515         * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
1516         (icon_info_ensure_scale_and_pixbuf):
1517         Use new cache functions.
1518         
1519         * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
1520         (maybe_cache_image_data), (scan_directory), (write_pixdata),
1521         (get_image_meta_data_size), (get_image_pixel_data_size),
1522         (get_image_data_size), (get_single_node_size), (get_bucket_size),
1523         (write_bucket), (main):
1524         Update to write pixbuf data as well as information from .icon
1525         files.
1526         
1527 2005-03-15  Tor Lillqvist  <tml@novell.com>
1528
1529         * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
1530         debugging function. As GetKeyNameText() returns a localized key
1531         name we need to convert it to UTF-8.
1532
1533         * gdk/win32/gdkprivate-win32.h: Declare it.
1534
1535         * gdk/win32/gdkevents-win32.c: Use it.
1536
1537         * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
1538         handling of children of foreign windows. They should be child
1539         windows from Windows's perspective, even if they are toplevel GDK
1540         windows.
1541
1542 2005-03-13  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1543
1544         * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
1545         for big window support. Now also the test in testgtk works.
1546
1547 2005-03-11  Matthias Clasen  <mclasen@redhat.com>
1548
1549         * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
1550         style changes.  (#169334, Yury Puzis)
1551
1552         * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
1553         the doc comments.  (#169967, Masao Mutoh)
1554
1555 2005-03-12  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1556
1557         Big window fix for Win32. Big windows are still emulated within
1558         16-bit coordinate limits, though. Big windows now work on NT-based
1559         Windows. (#169989)
1560
1561         * gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
1562         32-bit coordinates.
1563
1564         * gdk/win32/gdkgeometry-win32.c: Largely rewrite.
1565
1566         * gdk/win32/gdkwindow-win32.c: Minor related changes.
1567         
1568 2005-03-10  Matthias Clasen  <mclasen@redhat.com>
1569
1570         * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv): 
1571         Fix a doc typo.  (#169873, Johan Dahlin)
1572
1573         * gtk/gtkdialog.c (gtk_dialog_map): Don't
1574         try to focus the default_widget if there is 
1575         none.  (#169881, Thomas Leonard)
1576
1577 Wed Mar  9 19:20:44 2005  Manish Singh  <yosh@gimp.org>
1578
1579         * configure.in: Remove inadvertent gail references, require
1580         Pango 1.9.0
1581
1582 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
1583
1584         * configure.in: Require GLib 2.7.0
1585
1586 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
1587
1588         * gtk/gtkwidget.h (struct _GtkWidget): Typo fixes in comments.
1589         (#169728, Morten Welinder, Owen Taylor)
1590
1591         * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
1592         in the docs.  (#169729, Morten Welinder)
1593
1594         * gtk/gtkimage.c (gtk_image_class_init): Fix a typo.
1595
1596         * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize 
1597         when the model is unset.  (#169528, Tomislav Jonjic)
1598
1599 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
1600
1601         * gtk/gtkviewport.c (gtk_viewport_class_init): 
1602         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): 
1603         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init): 
1604         * gtk/gtktipsquery.c (gtk_tips_query_class_init): 
1605         * gtk/gtktext.c (gtk_text_class_init): 
1606         * gtk/gtkstatusbar.c (gtk_statusbar_class_init): 
1607         * gtk/gtkspinbutton.c (gtk_spin_button_class_init): 
1608         * gtk/gtktoggleaction.c (gtk_toggle_action_class_init): 
1609         * gtk/gtkoptionmenu.c (gtk_option_menu_class_init): 
1610         * gtk/gtkoldeditable.c (gtk_old_editable_class_init): 
1611         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): 
1612         * gtk/gtktoolbutton.c (gtk_tool_button_class_init): 
1613         * gtk/gtktoolitem.c (gtk_tool_item_class_init): 
1614         * gtk/gtkimage.c (gtk_image_class_init): 
1615         * gtk/gtkruler.c (gtk_ruler_class_init): 
1616         * gtk/gtkiconview.c (gtk_icon_view_class_init): 
1617         * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): 
1618         * gtk/gtkprogress.c (gtk_progress_class_init): 
1619         * gtk/gtkmenu.c (gtk_menu_class_init): 
1620         * gtk/gtkscale.c (gtk_scale_class_init): 
1621         * gtk/gtkpaned.c (gtk_paned_class_init): 
1622         * gtk/gtkhandlebox.c (gtk_handle_box_class_init): 
1623         * gtk/gtkfontbutton.c (gtk_font_button_class_init): 
1624         * gtk/gtkfontsel.c (gtk_font_selection_class_init): 
1625         * gtk/gtkfilesel.c (gtk_file_selection_class_init): 
1626         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
1627         * gtk/gtkcurve.c (gtk_curve_class_init): 
1628         * gtk/gtkcombo.c (gtk_combo_class_init): 
1629         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
1630         * gtk/gtkcolorbutton.c (gtk_color_button_class_init): 
1631         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): 
1632         * gtk/gtkmenuitem.c (gtk_menu_item_class_init): 
1633         * gtk/gtkcheckbutton.c (gtk_check_button_class_init): 
1634         * gtk/gtktogglebutton.c (gtk_toggle_button_class_init): 
1635         * gtk/gtkcellview.c (gtk_cell_view_class_init): 
1636         * gtk/gtktoolbar.c (gtk_toolbar_class_init): 
1637         * gtk/gtkmenubar.c (gtk_menu_bar_class_init): 
1638         * gtk/gtkclist.c (gtk_clist_class_init): 
1639         * gtk/gtkctree.c (gtk_ctree_class_init): 
1640         * gtk/gtkcolorsel.c (gtk_color_selection_class_init): 
1641         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): 
1642         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): 
1643         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init): 
1644         * gtk/gtkcalendar.c (gtk_calendar_class_init): 
1645         * gtk/gtkbbox.c (gtk_button_box_class_init): 
1646         * gtk/gtktable.c (gtk_table_class_init): 
1647         * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): 
1648         * gtk/gtkframe.c (gtk_frame_class_init): 
1649         * gtk/gtkaction.c (gtk_action_class_init): 
1650         * gtk/gtkaccellabel.c (gtk_accel_label_class_init): 
1651         * gtk/gtkaboutdialog.c (gtk_about_dialog_class_init): 
1652         * gtk/gtkdialog.c (gtk_dialog_class_init): More of the same.
1653
1654 2005-03-08  Matthias Clasen  <mclasen@redhat.com>
1655
1656         * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): 
1657         * gtk/gtkrange.c (gtk_range_class_init): 
1658         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): 
1659         * gtk/gtktexttag.c (gtk_text_tag_class_init): 
1660         * gtk/gtktextview.c (gtk_text_view_class_init): 
1661         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): 
1662         * gtk/gtknotebook.c (gtk_notebook_class_init): 
1663         * gtk/gtkentry.c (gtk_entry_class_init): 
1664         * gtk/gtkexpander.c (gtk_expander_class_init): 
1665         * gtk/gtkarrow.c (gtk_arrow_class_init): 
1666         * gtk/gtkalignment.c (gtk_alignment_class_init): 
1667         * gtk/gtkbutton.c (gtk_button_class_init): 
1668         * gtk/gtklabel.c (gtk_label_class_init): 
1669         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): 
1670         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1671         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
1672         * gtk/gtktreeview.c (gtk_tree_view_class_init): 
1673         * gtk/gtkbox.c (gtk_box_class_init): 
1674         * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init): 
1675         * gtk/gtkcontainer.c (gtk_container_class_init): 
1676         * gtk/gtkwidget.c (gtk_widget_class_init): 
1677         * gtk/gtkobject.c (gtk_object_class_init): Use canonical names
1678         when registering param specs.
1679
1680         * demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
1681         (#169607, Mark McLoughlin)
1682         
1683         * gtk/gtk.symbols: Add the new attributes here, too.
1684
1685         * gtk/gtkwidget.h: 
1686         * gtk/gtktreeview.h: 
1687         * gtk/gtktreeviewcolumn.h: 
1688         * gtk/gtktextbuffer.h: 
1689         * gtk/gtkobject.h: 
1690         * gtk/gtkfilechooserdialog.h: 
1691         * gtk/gtkdialog.h: 
1692         * gtk/gtkcontainer.h: 
1693         * gtk/gtkcelllayout.h: 
1694         * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
1695         appropriate.  (#165682, Marc Meissner)
1696
1697 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
1698
1699         Convert the gdk keyval-keyname tables to a big string
1700         + offsets. (#168901)
1701         
1702         * gdk/gen-keyname-table.pl: Perl script inspired by
1703         pango/tools/gen-color-table.pl to create the 
1704         gdk_keys_by_keyval and gdk_keys_by_name tables as lists
1705         of offsets pointing into a big const string.
1706         
1707         * gdk/keynames.txt: List of keyval-keyname pairs.
1708         * gdk/keyname-table.h: Generated tables.
1709
1710         * gdk/gdkkeynames.c: Include keyname-table.h and don't
1711         generate the inverse table at runtime.
1712
1713 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
1714
1715         * gtk/gtkstyle.c: Document which parameters may be NULL.  
1716         (#166855, Frank Naumann)
1717
1718 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
1719
1720         * AUTHORS: Add original authors of incorporated software.
1721
1722 Thu Mar  3 16:59:44 2005  Manish Singh  <yosh@gimp.org>
1723
1724         * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
1725
1726 2005-03-03  Matthias Clasen  <mclasen@redhat.com>
1727
1728         * gtk/gtksettings.c (gtk_settings_get_property): 
1729         * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak 
1730         the values here.  (#169047, Philip Langdale)
1731
1732         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
1733         Don't warn if a stock icon cannot be found.  (#168830,
1734         Sven Neumann)
1735
1736 2005-03-03  Matthias Clasen  <mclasen@redhat.com>
1737
1738         * gtk/gtkwidget.c (gtk_widget_reparent_subwindows): 
1739         Avoid warnings if gtk_widget_reparent() is called at
1740         unusual times.  (#168966, Christian Persch)
1741
1742 Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>
1743
1744         * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
1745         const warnings on data structure seeding.
1746
1747 Tue Mar  1 13:53:56 2005  Manish Singh  <yosh@gimp.org>
1748
1749         * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
1750
1751 2005-03-01  Matthias Clasen  <mclasen@redhat.com>
1752
1753         * gtk/gtkmenutoolbutton.c (button_state_changed_cb): 
1754         Fix prelighting.  (#157392, Vincent Noel, patch by
1755         Christian Persch)
1756
1757         * gtk/gtkicontheme.c (theme_lookup_icon): Make 
1758         icon data caching work again.  (#168851, Alexander Larsson)
1759
1760         * gdk-pixbuf/gdk-pixbuf.c:
1761         * gdk-pixbuf/gdk-pixbuf-features.h.in:
1762         Revert the previous change, since it breaks
1763         bin compat.
1764
1765 2005-03-01  Matthias Clasen  <mclasen@redhat.com>
1766
1767         * gdk/gdkkeyuni.c
1768         * gdk/gdkpixbuf-drawable.c
1769         * gdk/gdkrgb.c
1770         * gdk/x11/gdkdnd-x11.c
1771         * gdk/x11/gdkevents-x11.c
1772         * gdk/x11/gdkproperty-x11.c
1773         * gdk/x11/gdkvisual-x11.c
1774         * gdk-pixbuf/gdk-pixbuf.c
1775         * gdk-pixbuf/gdk-pixbuf-features.h.in
1776         * gtk/gtkaction.c
1777         * gtk/gtkbindings.c
1778         * gtk/gtkcolorbutton.c
1779         * gtk/gtkcombo.c
1780         * gtk/gtkcontainer.c
1781         * gtk/gtkfilechooserdefault.c
1782         * gtk/gtkfilesel.c
1783         * gtk/gtkgamma.c
1784         * gtk/gtkiconview.c
1785         * gtk/gtkinputdialog.c
1786         * gtk/gtkitemfactory.c
1787         * gtk/gtkmenu.c
1788         * gtk/gtktextview.c
1789         * gtk/gtktooltips.c
1790         * gtk/gtktreedatalist.c
1791         * gtk/gtkuimanager.c
1792         * gtk/tree_minus.xpm
1793         * gtk/tree_plus.xpm
1794         * gtk/xdgmime/xdgmime.c
1795         * gtk/xdgmime/xdgmime.h: 
1796         Move constant data to .rodata.
1797
1798 2005-02-27  Matthias Clasen  <mclasen@redhat.com>
1799
1800         * gtk/gtkaction.c (connect_proxy): Improve the handling
1801         of buttons as action proxys.  (#165534, Milosz Derezynski)
1802
1803         * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
1804         (#168646, Vincent Untz)
1805
1806         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
1807         Unset "focus-on-click" for the save folder combo.  (#168688,
1808         Sven Neumann)
1809
1810 2005-02-25  Matthias Clasen  <mclasen@redhat.com>
1811
1812         * demos/testpixbuf.c (main): Remove a C++ comment.  (#168531, 
1813         Paul Cornett)
1814
1815         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a 
1816         path here.  (#168443, Morten Welinder)
1817
1818 2005-02-24  Robert Ögren  <gtk@roboros.com>
1819
1820         Implement better handling of Wintab tablet context overlap on
1821         Win32. (#167298)
1822
1823         * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
1824         function that brings any tablet contexts to the top of the overlap
1825         order.
1826         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
1827         * gdk/win32/gdkevents-win32.c (gdk_event_translate):
1828         Call _gdk_input_set_tablet_active when a window is activated (on
1829         WM_ACTIVATE)
1830
1831 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
1832
1833         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): 
1834         Don't leak parent_path.  (#168435, Morten Welinder)
1835
1836 Thu Feb 24 14:20:16 2005  Søren Sandmann  <sandmann@redhat.com>
1837
1838         * gtk/gtkstyle.c: Add
1839
1840         g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
1841
1842         all over the place.
1843
1844 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
1845
1846         * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
1847         (gtk_combo_box_model_row_deleted): Update the displayed row in 
1848         the cell_view.  (#167842, Gustavo Carneiro)
1849
1850 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
1851
1852         Fix #167259, reported by  Christian Persch:
1853         
1854         * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented 
1855         widget, even if we avoid the unrealizing. 
1856         (gtk_widget_reparent_subwindows): Make reparenting work for
1857         !NO_WINDOW widgets which have other windows which are siblings
1858         of widget->window (as e.g. GtkSpinButton).
1859
1860 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
1861
1862         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
1863         Don't emit a warning if a parent node is filtered out. (#164726,
1864         Olivier Sessink)
1865
1866 2005-02-23  Matthias Clasen  <mclasen@redhat.com>
1867
1868         * gtk/gtklabel.c (gtk_label_style_set): Revert the last 
1869         change, since gtk_widget_set_style_internal() already
1870         queues a resize.
1871
1872 2005-02-23  Matthias Clasen  <mclasen@redhat.com>
1873
1874         * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
1875         fonts may have changed.  (#164128, Phil Blundell)
1876
1877         * gtk/gtkaboutdialog.c (gtk_about_dialog_init) 
1878         (gtk_about_dialog_new): Move initialization code from _new to 
1879         _init.  (#168249, Murray Cumming) 
1880
1881 Wed Feb 23 17:34:01 2005  Jonathan Blandford  <jrb@redhat.com>
1882
1883         * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
1884         jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
1885         widgets.
1886
1887 2005-02-23  Tor Lillqvist  <tml@novell.com>
1888
1889         * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
1890         MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
1891
1892 Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>
1893
1894         * gtk/updateiconcache.c: #include <config.h>
1895
1896 2005-02-22  Federico Mena Quintero  <federico@ximian.com>
1897
1898         Merged from gtk-2-6:
1899
1900         Fix #164940, patch by Ben Maurer and Tommi Komulainen.
1901
1902         * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
1903         (gdk_rgb_convert_565_d): Likewise.
1904         (DM_565): Made a static const precomputed array to avoid
1905         allocating it at runtime.
1906         (gdk_rgb_preprocess_dm_565): #ifdef out.
1907
1908 2005-02-20  Matthias Clasen  <mclasen@redhat.com>
1909
1910         * gtk/gtkwindow.c: 
1911         * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
1912         in the documentation.
1913
1914         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
1915         Set have_render_with_trapezoids to GDK_YES when we have 
1916         a new enough Render extension.  (#167965,Billy Biggs) 
1917
1918         * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
1919         the last user interaction when focusing the window.  (#166379, 
1920         Elijah Newren)
1921
1922 Thu Feb 17 14:58:16 2005  Manish Singh  <yosh@gimp.org>
1923
1924         * gtk/gtkuimanager.c (start_element_handler): make sure expand
1925         is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
1926
1927 Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>
1928
1929         * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
1930
1931 2005-02-16  Matthias Clasen  <mclasen@redhat.com>
1932
1933         * docs/iconcache.txt: Add some information about the
1934         icon cache format (since I can't locate it at freedesktop.org)
1935
1936         Fixes for #143829, Tommi Komulainen, Christian Persch:
1937         
1938         * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
1939         typeselect_flush_timeout when destroying the widgets
1940         it is operating on.  
1941         (gtk_tree_view_ensure_interactive_directory): Add the 
1942         popup to the window group of the toplevel it belongs to.
1943
1944         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) 
1945         (gtk_combo_box_popup): Do the same here. 
1946
1947 2005-02-14  Matthias Clasen  <mclasen@redhat.com>
1948
1949         * configure.in: Kill --enable-ansi  (#164394)
1950
1951 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
1952
1953         * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling 
1954         when the pathbar goes away.  (#167094, Rodney Dawes)
1955         (change_icon_theme): Use GTK_ICON_SIZE_MENU here as 
1956         well  (Vincent Noel)
1957
1958 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
1959
1960         Support vertical menubars  (#166632): 
1961         
1962         * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack 
1963         directions, with values for left-to-right, right-to-left, 
1964         top-to-bottom and bottom-to-top.
1965
1966         * gtk/gtk.symbols: 
1967         * gtk/gtkmenubar.h: 
1968         * gtk/gtkmenubar.c: Add two properties, pack-direction and
1969         child-pack-direction, which specify how children and 
1970         grandchildren of a menubar are packed, with getters and setters. 
1971
1972         * gtk/gtkmenubar.c (gtk_menu_bar_set_property): 
1973         (gtk_menu_bar_get_property): Implement set_property and get_property.
1974
1975         * gtk/gtkmenubar.c (gtk_menu_bar_size_request): 
1976         (gtk_menu_bar_size_allocate): Take pack direction into account.
1977
1978         * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement 
1979         move_current here move all the menubar-specific direction 
1980         tweaking from the generic menushell implementation here.
1981
1982         * gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific 
1983         direction tweaking from the generic menushell implementation here.
1984
1985         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): 
1986         (gtk_menu_bar_size_allocate): Take pack direction into account.
1987
1988         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request) 
1989         (gtk_image_menu_item_size_allocate): 
1990         (gtk_image_menu_item_toggle_size_request): Take child pack 
1991         direction into account and pack the image vertically if
1992         necessary.
1993
1994         * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
1995         Set the submenu direction to left-right for menuitems in 
1996         vertical menubars.
1997         (gtk_real_menu_shell_move_current): Simplify by moving
1998         direction tweaking to menu- and menubar-specific 
1999         implementations. Take pack direction into account when
2000         doing fallbacks.
2001
2002         * tests/testmenubars.c: Test menubars in various packing
2003         direction combinations.
2004
2005         * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
2006
2007 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
2008
2009         Complete the fix for #165770, Vincent Noel:
2010         
2011         * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
2012         fallback size be 16, to be equal to the default for
2013         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
2014         (gtk_file_chooser_button_init):
2015         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
2016         GTK_ICON_SIZE_SMALL_TOOLBAR. 
2017
2018 2005-02-09  Matthias Clasen  <mclasen@redhat.com>
2019
2020         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
2021         keynav for going from menubar to menu.
2022
2023 2005-02-08  Christian Rose  <menthos@menthos.com>
2024
2025         * configure.in: Added "xh" to ALL_LINGUAS.
2026
2027 2005-02-08  Matthias Clasen  <mclasen@redhat.com>
2028
2029         * gtk/gtkuimanager.c (start_element_handler): Accept 
2030         the "expand" attribute and set a flag in the node if it
2031         is set to "true".
2032         (update_node): If the expand flag is set, make separator
2033         toolitems non-drawn and expanding.  (#166489, Christian Persch)
2034
2035 2005-02-05  Hans Breuer  <hans@breuer.org>
2036
2037         * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
2038         build with Cairo dependency. The patch to acually use Cairo
2039         on win32 will be on gtk-devel-list soon.
2040         * tests/makefile.msc : add testcairo building
2041
2042         * gtk/stock-icons/makefile.msc : split command line into two to
2043         work with the shells default
2044
2045 Fri Feb  4 14:16:31 2005  Manish Singh  <yosh@gimp.org>
2046
2047         * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
2048         function.
2049
2050         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
2051         Add some extra parens for bitop order of operations disambiguiation.
2052
2053         * gtk/gtkstock.c: Fix const confusion, make our own copy of the 
2054         domain when setting a translate function.
2055
2056         * tests/testcombo.c: removed unused variable.
2057
2058 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
2059
2060         * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
2061         being NULL.  (#166179, Diego Gonzalez)
2062
2063 2005-02-04  Owen Taylor  <otaylor@redhat.com>
2064
2065         * configure.in: Revert gtk_binary_version to 2.4.0. Fix
2066         up comment to talk only about backwards compat, not
2067         forward/backwards compat. (#166293, reported by Vincent Noel)
2068
2069 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
2070
2071         * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
2072         when there is not enough space. This avoids a nasty size
2073         allocation loop in the file chooser.  (#154007, reported 
2074         by Milosz Derezynski, patch by Robert Ögren)
2075
2076 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
2077
2078         * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
2079         selection of RTL direction if the widget does not have 
2080         focus.  (#164125, Frederic Crozat)
2081
2082 Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
2083
2084         * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
2085
2086 2005-02-03  Owen Taylor  <otaylor@redhat.com>
2087
2088         * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
2089         gdk_drawable_set_cairo_target().
2090
2091         * tests/testtreeflow.c (enum): Use grand not rand as a variable
2092         name because one of the cairo headers is pulling in stdlib.h.
2093
2094         * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
2095         example.
2096
2097         * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
2098
2099         * Require libpangocairo for all backends.
2100
2101 2005-02-03  Tor Lillqvist  <tml@novell.com>
2102
2103         * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
2104         wide character version of ImmGetCompositionString() here,
2105         too. (#165278, Takuro Ashie)
2106
2107 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
2108
2109         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
2110         one roundtrip per motion event.  (#166173, pointed out
2111         by Chris Lee, patch by Søren Sandmann)
2112
2113         * gtk/gtk.symbols: 
2114         * gtk/gtkstock.h: 
2115         * gtk/gtkstock.c (gtk_stock_set_translate_func): 
2116         New function which allows to change the function used for
2117         translation stock labels, on a per-domain basis. Use this
2118         functionality to switch the GTK+ stock items to use Q_()
2119         prefixed msgids.  (#166179, Funda Wang)
2120         
2121         * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
2122         Tommi Komulainen)
2123
2124 2005-02-02  Federico Mena Quintero  <federico@ximian.com>
2125
2126         Merged from gtk-2-6:
2127
2128         * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
2129         Don't select the first row if the chooser is not mapped.  This
2130         happens when it's acting on behalf of GtkFileChooserButton.  Also,
2131         don't select the first row if we are in SAVE or CREATE_FOLDER
2132         modes --- I had missed that (see the ChangeLog entry from
2133         2005-01-18).  Fixes #165264.
2134
2135 2005-02-02  Tor Lillqvist  <tml@novell.com>
2136
2137         Implement lazy extended input initialization on Win32, by Robert
2138         Ögren. Fixes #163163, possibly #162334. Lazy initialization would
2139         be a good idea in any case even if it didn't fix any visible
2140         problems, though.
2141
2142         The Wacom tablet driver seems to get confused if Wintab is
2143         initialized but no window is shown before the process exits. This
2144         is the case for some GIMP plug-ins, for instance. 
2145
2146         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
2147         non-static (and renamed).
2148         (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
2149
2150         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
2151
2152         * gdk/win32/gdkinput.c (gdk_devices_list,
2153         gdk_display_list_devices, gdk_input_set_extension_events): Call
2154         _gdk_input_wintab_init_check() here instead.
2155
2156 2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
2157
2158         * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
2159         of a single window so that gtk_clipboard_request_contents() can be
2160         called inside a GtkClipboardReceivedFunc(). (#163844)
2161
2162 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
2163
2164         * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
2165         in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
2166
2167         * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
2168         to NULL after freeing it.  (#165800, Damon Chaplin)
2169
2170 2005-02-01  Michael Natterer  <mitch@gimp.org>
2171
2172         * configure.in: depend on stable pango-1.8, not unstable 1.7
2173
2174 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
2175
2176         Merged from gtk-2-6:
2177
2178         * gtk/gtkfilechooserdefault.c
2179         (browse_files_model_finished_loading_cb): Don't
2180         g_assert_not_reached() if we are in any other state.  Another code
2181         path may have triggered a folder reload.  Fixes #165556.
2182
2183 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
2184
2185         Merged from gtk-2-6:
2186
2187         Fix #165770:
2188
2189         * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
2190         fallback size be 16, to be equal to the default for
2191         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
2192         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
2193         GTK_ICON_SIZE_SMALL_TOOLBAR.
2194
2195 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
2196
2197         * */*.c: Fix many instances of "the the" in docs and
2198         comments.  (#165815, Masao Mutoh)
2199
2200         * gtk/updateiconcache.c (main): Add a --quiet option.
2201
2202 2005-02-01  Tor Lillqvist  <tml@novell.com>
2203
2204         * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
2205         reset_after_dead, handle_dead): New functions, code blocks
2206         refactored out of update_keymap(). No functionality change.
2207
2208         (update_keymap): Use ToUnicodeEx() when available (on NT-based
2209         Windows) instead of ToAsciiEx(). Makes keyboard input work in
2210         Unicode-only input locales that don't have any ANSI codepage, for
2211         instance Hindi and Bengali. Use _gdk_input_codepage only on
2212         Win9x. (#165723)
2213
2214         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
2215         WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
2216         TranslateCharsetInfo() to get the input locale's corresponding
2217         codepage, if any.
2218
2219 2005-01-31  Matthias Clasen  <mclasen@redhat.com>
2220
2221         * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate 
2222         NULL-terminated va lists.  (#165683)
2223
2224 2005-01-29  Matthias Clasen  <mclasen@redhat.com>
2225
2226         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw): 
2227         Typo fix.  (#165581, Masao Mutoh)
2228
2229 Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
2230
2231         * README.cvs-commits: update ancient IRC info.
2232
2233 2005-01-27  Federico Mena Quintero  <federico@ximian.com>
2234
2235         Merged from gtk-2-6:
2236
2237         * gtk/gtkfilechooserdefault.c
2238         (gtk_file_chooser_default_select_path): Oops, don't assert that we
2239         can't reach the end of the function; this happens if we are still
2240         loading but don't need a path change.  Fixes #165213.
2241
2242 2005-01-27  Matthias Clasen  <mclasen@redhat.com>
2243
2244         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
2245         Make wrapping work in RTL mode.  
2246
2247         * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
2248         obey HIG spacing a bit more, add a hand cursor when over the
2249         link button.  (#163979, Jorn Baayen)
2250
2251 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
2252
2253         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
2254         Don't allow -1 as minimum-key-length.
2255         (gtk_entry_completion_set_model): Add missing notification.
2256         (gtk_entry_completion_set_minimum_key_length): Add missing
2257         notification, allow setting minimum-key-length to 0.  (#165194,
2258         Vincent Ladeuil)
2259
2260 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
2261
2262         * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
2263         the license dialog is initially displayed without a horizontal
2264         scrollbar.  
2265         (gtk_about_dialog_class_init): Document the fact that the 
2266         license text is not wrapped.  (#165012, Christian Rose)
2267
2268 2005-01-25  Matthias Clasen  <mclasen@redhat.com>
2269
2270         * gtk/gtkbutton.c (gtk_button_set_image): Fix docs.  (#165180,
2271         Jeff Franks)
2272
2273         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix 
2274         docs.  (#165163, Jeff Franks)
2275         
2276         * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
2277         for a string GValue.  (#165203, Damon Chaplin)
2278
2279 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
2280
2281         * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): 
2282         Initialize user_time from DESKTOP_STARTUP_ID.  (#165131,
2283         Elijah Newren)
2284
2285 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
2286
2287         * gtk/gtkfilechooserdefault.c: Removed leftover comments.
2288
2289 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
2290
2291         Merged from gtk-2-6:
2292
2293         Fix #147785 and clean up the loading code:
2294
2295         * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
2296         be EMPTY, PRELOAD, LOADING, FINISHED.
2297         (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
2298         (struct _GtkFileChooserDefault): Added a pending_select_paths
2299         field.
2300         (load_remove_timer): Add the new states.
2301         (load_setup_timer): Likewise.
2302         (load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
2303         (browse_files_model_finished_loading_cb): Switch to the
2304         LOAD_FINISHED state.
2305         (enum PendingOp): Removed.
2306         (struct _GtkFileChooserDefault): Removed the pending_op and
2307         pending_select_path fields.
2308         (pending_select_paths_free): New utility function.
2309         (pending_select_paths_add): New utility function.
2310         (gtk_file_chooser_default_finalize): Call
2311         pending_select_paths_free().
2312         (pending_op_queue): Removed.
2313         (pending_op_process): Removed.
2314         (pending_select_paths_process): New function.
2315         (browse_files_model_finished_loading_cb): Call
2316         pending_select_paths_process().
2317         (center_selected_row_foreach_cb): Handle multiple selection by
2318         only centering the first row.
2319         (get_is_file_filtered): Constify.
2320         (gtk_file_chooser_default_select_path): Queue into a list of paths
2321         to select if we are not finished loading.
2322         (show_and_select_paths): New utility function.
2323         (up_folder_handler): Use pending_select_paths_add().
2324         (gtk_file_chooser_default_should_respond): Do not call
2325         pending_op_queue(); free the pending_selected_paths instead.
2326         (gtk_file_chooser_default_initial_focus): Don't queue a pending
2327         operation, and don't select the first row unconditionally --- this
2328         will happen when the folder is done loading.
2329         (shortcuts_row_activated_cb): Free the pending_select_paths.
2330         (pending_select_paths_store_selection): New utility function.
2331         (gtk_file_chooser_default_map): Call
2332         pending_select_paths_store_selection() to save the selection
2333         before reloading the folder.
2334         (select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
2335         move the cursor here; it will be done when processing the pending paths.
2336
2337         * tests/testfilechooser.c (main): Add a button to the command
2338         window to unmap and remap the file chooser.
2339
2340 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
2341
2342         * docs/tutorial/gtk-tut.sgml:
2343         * docs/tutorial/gtk_tut.sgml:
2344         * docs/reference/gtk/tmpl/gtkliststore.sgml:
2345         * gtk/gtkactiongroup.c:
2346         * gtk/gtksizegroup.c:
2347         * gtk/gtksizegroup.h:
2348         * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
2349         appropriate.  (#165108, Dan Winship)
2350
2351 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
2352
2353         * gtk/gtkwidget.c (gtk_widget_class_init): Document 
2354         GtkWidget::style-set.  (#164222, Alex Graveley)
2355         
2356 2005-01-22  Matthias Clasen  <mclasen@redhat.com>
2357
2358         * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): 
2359         Remove the accidentally added prototype for this unimplemented 
2360         function.  (#164893, Jeff Franks)
2361
2362         * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
2363         drags.  (#164884)
2364
2365 2005-01-23  Tor Lillqvist  <tml@novell.com>
2366
2367         * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
2368         dead accent key. (#164859, reported and fix verified by Daniel
2369         Atallah.)
2370
2371         * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
2372         GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
2373         and upsilon.
2374
2375         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): 
2376         Don't call GetVolumeInformation() for network drives. They might
2377         be disconnected, and calling GetVolumeInformation() will then
2378         cause long delays. (#164448, reported by Dave Neary.) It seems to
2379         be very hard to reliably find out whether a network drive is
2380         connected or not, so it's easier to just not try getting the
2381         volume name for them. See the bug report for discussion.
2382
2383         Make volume name display formats translatable.
2384
2385         Fix for #163702, from Ivan Wong: 
2386         
2387         * gdk/win32/gdkprivate-win32.h 
2388         * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
2389         
2390         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
2391         WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
2392         GDK_SELECTION_CLEAR event.
2393
2394         * gdk/win32/gdkselection-win32.c
2395         (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
2396         when emptying the clipboard ourselves.
2397
2398         (gdk_selection_send_notify_for_display): Remove the artifical
2399         GDK_SELECTION_CLEAR event generation.
2400
2401 2005-01-21  Matthias Clasen  <mclasen@redhat.com>
2402
2403         * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
2404         provided by Bill Haneman.
2405
2406 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
2407
2408         * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs.  (#164725,
2409         George Kraft IV)
2410
2411         * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
2412         here, even if the only focusable widgets are labels.
2413
2414 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
2415
2416         Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
2417         
2418         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init) 
2419         Add a follow-state property which when TRUE causes the pixbuf
2420         to be tinted according to state.
2421
2422         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
2423         Use follow-state and colorize the pixbuf when appropriate.      
2424         
2425 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
2426
2427         Support wrapping in GtkCellRendererText  (#163608):
2428         
2429         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
2430         Add wrap-mode and wrap-width properties which cause a 
2431         text cell to break to a specified width when set.
2432
2433         * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
2434         and wrap-width when they are set.
2435
2436 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
2437
2438         * gtk/gtkmodules.c (load_module): Don't reverse the order
2439         of modules when putting them in gtk_modules.  (#162676, Dennis
2440         Cranston, patch by Remus Draica)
2441
2442         * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash 
2443         if the tree is empty.  (#164669, Priit Laes)
2444
2445 Wed Jan 19 18:57:02 2005  Manish Singh  <yosh@gimp.org>
2446
2447         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
2448         GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
2449         function a bit too.
2450
2451 Wed Jan 19 17:17:31 2005  Manish Singh  <yosh@gimp.org>
2452
2453         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
2454         strict aliasing warning in _NET_VIRTUAL_ROOTS code.
2455
2456 2005-01-19  Tor Lillqvist  <tml@novell.com>
2457
2458         * gdk/win32/gdkkeys-win32.c (update_keymap,
2459         gdk_keymap_translate_keyboard_state): Handle keyboards with
2460         ShiftLock (and not CapsLock) correctly. (#161814)
2461
2462 2005-01-19  Matthias Clasen  <mclasen@redhat.com>
2463
2464         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
2465         In save mode, don't return paths containing nonexisting 
2466         directories.  (#162443, Jean Marie Favreau)
2467
2468         * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit 
2469         macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
2470
2471         * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
2472         atom.
2473
2474         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): 
2475         Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
2476         
2477         * gdk/gdk.symbols: 
2478         * gdk/x11/gdkx.h: 
2479         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): 
2480         Add a function to obtain the last user interaction 
2481         time.  (#163119, Elijah Newren)
2482
2483 Tue Jan 18 13:56:09 2005  Manish Singh  <yosh@gimp.org>
2484
2485         * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
2486         PENDING_OP_NONE.
2487
2488 Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org>
2489
2490         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
2491         disambiguate nested if/else.
2492
2493 2005-01-18  Federico Mena Quintero  <federico@ximian.com>
2494
2495         Merged from gtk-2-6:
2496
2497         * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
2498         operation to select the first file if we are in SAVE or
2499         CREATE_FOLDER modes.  Executing that operation would overwrite the
2500         contents of the save-name entry.
2501
2502 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
2503
2504         * gdk/gdkdisplay.h: 
2505         * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): 
2506         * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
2507         pointer warping to GDK.  (#160437)
2508
2509         * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
2510
2511 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
2512
2513         * gtk/gtkstyle.c (gtk_default_draw_check) 
2514         (gtk_default_draw_option, gtk_default_draw_handle): Add some
2515         more NULL checks, patch by Michael Natterer.
2516
2517 Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>
2518
2519         * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
2520         and NULL widget.
2521
2522         * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
2523         NULL widget.  (#164477, Michael Natterer)
2524
2525 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
2526
2527         Avoid X errors when running against servers which
2528         implement XRender < 0.4.  (#164427, Albert Chin)
2529         
2530         * gdk/x11/gdkprivate-x11.h:
2531         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
2532         New function to check for trapezoid support in XRender.
2533         (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): 
2534         Use it here.
2535         
2536         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a 
2537         separate have_render_with_trapezoids field.
2538
2539         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
2540
2541 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
2542
2543         * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
2544
2545 Mon Jan 17 16:44:36 2005  Jonathan Blandford  <jrb@redhat.com>
2546
2547         * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
2548         dist.
2549
2550 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
2551
2552         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
2553         and restore the selected row in the bookmark list and the
2554         save folder combo.  (#164290)
2555
2556 2005-01-16  Matthias Clasen  <mclasen@redhat.com>
2557
2558         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
2559         Fix argument order in docs.  
2560
2561 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
2562
2563         * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): 
2564         * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL 
2565         if the keymap is neutral.  (#164125, Phil Blundell)
2566
2567 2005-01-14  Matthias Clasen  <mclasen@redhat.com>
2568
2569         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
2570         reset the property to its default value -1. 
2571         (gtk_tree_view_get_search_column): Return the default value in
2572         the g_return_val_if_fail() check.  (#163864, Richard Hult)
2573
2574         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): 
2575         Add a translator hint.  (#163889)
2576
2577         * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
2578         is an enum value, not a define. Pointed out by Tommi Komulainen.
2579         * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
2580
2581 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
2582
2583         * configure.in: Check for nl_langinfo()
2584         * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
2585         available to determine first day of week   (#163842, Vincent Untz)
2586
2587         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about 
2588         the lifecycle of widgets.  (#159503, Christian Persch)
2589
2590         * demos/gtk-demo/main.c (create_text): Use monospace for the 
2591         source code view.  (#163526, Theerud Lawtrakul)
2592
2593         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
2594         for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
2595         Müller)
2596         
2597         * configure.in: Add an OS_LINUX conditional.
2598
2599         * gdk/Makefile.am (TESTS):
2600         * gdk-pixbuf/Makefile.am (TESTS):
2601         * gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
2602         Roger Leigh)
2603
2604 2005-01-13  Matthias Clasen <mclasen@redhat.com>
2605
2606         * gtk/gtktreeview.c: (gtk_tree_view_class_init),
2607         (gtk_tree_view_set_headers_clickable): Make the headers-visible
2608         property readwrite instead of just writable, and remove the
2609         g_return_if_fail check that there is a model when setting this
2610         property. Also improve the blurb.  (#163851, Richard Hult)
2611
2612 2005-01-12  Owen Taylor <otaylor@redhat.com>
2613
2614         * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
2615         initialization of gdktarget, that was causing it to be
2616         evaluated before host was set. Simplify --with-gdktarget help
2617         message.
2618
2619         * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
2620         which doesn't work with slightly older versions of GNU grep 
2621         in install-libtool-import-lib rule.
2622         
2623 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
2624
2625         Fix for #162790, by Iwan Wong:
2626         
2627         * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
2628         correctly. Simplify the interface to render_line_horizontal() and
2629         render_line_vertical(). Need to draw lines "manually" also on
2630         NT-based Windowses if we have a dash offset or are drawing
2631         double-dashed lines.
2632
2633         * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
2634         double-dash flag, and a brush for the background colour (used by
2635         the odd dashes in the double-dash line style) in the GdkGCWin32
2636         struct.
2637
2638         * gdk/win32/gdkgc-win32.c: Set up above new fields.
2639
2640 2005-01-10  Federico Mena Quintero  <federico@ximian.com>
2641
2642         Fix #162617.
2643
2644         * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
2645         GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
2646         (gtk_file_system_unix_get_folder): Make error reporting more
2647         accurate.  Don't bail out if we can't read the directory.
2648         (fill_in_stats): Don't return an error; just assume we don't have
2649         stat info for this folder's files.
2650         (fill_in_names): Don't create the hash table for the names if we
2651         can't open the directory.
2652         (gtk_file_folder_unix_list_children): Don't emit the
2653         "finished-loading" signal --- we don't do asynchronous loads, so
2654         we are always finished loading.
2655         (gtk_file_folder_unix_get_info): Use helper functions; handle the
2656         case where we can't stat '/'.
2657         (get_icon_type_from_path): Don't call fill_in_stats() here; only
2658         use the info we have.
2659         (fill_in_mime_type): Don't return an error.  Don't do anything if
2660         we don't have the stat info.
2661
2662 2005-01-10  Owen Taylor  <otaylor@redhat.com>
2663
2664         * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
2665         to EXTRA_DIST.
2666
2667 2005-01-10  Matthias Clasen  <mclasen@redhat.com>
2668
2669         * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
2670         signals.  (#163319, Murray Cumming)
2671
2672 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
2673
2674         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
2675         cursor also when changing the cursor of a window that is the first
2676         ancestor of the window containing the pointer that has a cursor
2677         defined. (#163035, Ivan Wong)
2678
2679 2005-01-09  Anders Carlsson <andersca@gnome.org>
2680
2681         * gtk/gtkcellrenderertext.c: (get_size):
2682         * gtk/gtklabel.c: (gtk_label_size_request):
2683         * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
2684         Don't pass NULL to pango_context_get_metrics. Use 
2685         pango_context_get_language instead, which is way faster.
2686         
2687 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
2688
2689         * configure.in: Bump version
2690
2691         * === Released 2.6.1 ===
2692         
2693         * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
2694
2695 2005-01-07  Tor Lillqvist  <tml@iki.fi>
2696
2697         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
2698         Fix braino. (#163232, Arnaud Charlet)
2699
2700 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
2701
2702         * gtk/gtkiconview.c: Make markup_column work, and fix some
2703         layout issues when either icon or text is missing.  (#163065)
2704
2705 2005-01-06  Federico Mena Quintero  <federico@ximian.com>
2706
2707         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
2708         "Open _Location" item.  Fixes #148839.
2709
2710 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
2711
2712         * README.in: Fix a typo.  (#163128, kentaro fukuchi)
2713
2714 2005-01-06  James M. Cape  <jcape@ignore-your.tv>
2715
2716         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
2717         (gtk_file_chooser_button_new_with_backend): Use default title if
2718         NULL is passed.
2719
2720         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
2721         match API.
2722
2723 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
2724
2725         Fix #161409:
2726
2727         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
2728         a pending operation to select the first row.
2729
2730 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
2731
2732         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
2733         button_data_free() explicitly; the button is weak-reffed and the
2734         callback will free the button data.  Fixes #163010.
2735         (_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
2736         failure case, call gtk_widget_destroy() on it.
2737
2738         * gtk/gtkfilechooserdefault.c (check_is_folder): Use
2739         gtk_file_system_get_folder() again (see the ChangeLog entry from
2740         2004-08-25).  We can't first get the parent folder and then
2741         request the info for the path in question, as the parent folder
2742         may not be readable.  See bug #162617.
2743         (gtk_file_chooser_default_set_current_folder): Assert that the
2744         passed-in path is not null.
2745         (shortcuts_find_current_folder): Likewise.
2746         (shortcuts_add_current_folder): Likewise.
2747         (set_list_model): Likewise.
2748         (gtk_file_chooser_default_map): Only reload the current folder if
2749         it exists.
2750         (bookmarks_check_add_sensitivity): Check for the current folder
2751         being NULL.
2752         (browse_files_select_first_row): Don't set the cursor if there is
2753         no model loaded.
2754
2755 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
2756
2757         * gtk/gtkfilechooserdefault.c: Don't construct errors from 
2758         the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
2759         (get_file_info, check_is_folder): Translate errors from
2760         the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
2761         of the fix for #162911, noticed by Murray Cumming.
2762
2763 Wed Jan  5 11:42:49 2005  Søren Sandmann  <sandmann@redhat.com>
2764
2765         * gtk/gtkviewport.c (gtk_viewport_realize):
2766         * gtk/gtktextview.c ((text_window_realize): Set the background of
2767         the windows to None instead of adding EXPOSURE_MASK, as suggested
2768         by Owen in #162112.
2769
2770         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update 
2771         the user time when receiving a WM_DELETE message.  (#162980, 
2772         Elijah Newren)
2773         
2774 Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>
2775
2776         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
2777         only reorder on button 1, part of #141937
2778
2779 Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
2780
2781         Bug 162112.
2782         
2783         * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
2784         to win->window's event_mask
2785
2786         * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
2787         to viewport->view_window.
2788
2789 2005-01-04  Matthias Clasen  <mclasen@redhat.com>
2790
2791         * demos/testpixbuf.c (main): Remove the size_prepared callback,
2792         to test incremental display.
2793         (new_testrgb_window): Return the drawing area, not the window,
2794         since we want to queue draws on the drawing area.
2795
2796 2005-01-03  Matthias Clasen  <mclasen@redhat.com>
2797
2798         * examples/*: Re-extract.
2799
2800         * docs/tutorial/gtk-tut.sgml: Small corrections.
2801         
2802         * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
2803         section.  (#161414, Robert Ancell)
2804
2805         * docs/tutorial/gtk-tut.sgml: Make it build.
2806
2807         * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
2808         regarding modality.  (#112903, Dave Bordoley)
2809
2810         * gtk/gtkfixed.c (gtk_fixed_set_has_window): 
2811         Add a little motivation.  (#145556, Tommi Komulainen)
2812
2813         * docs/tutorial/gtk-tut.sgml: Clarify section on 
2814         g_signal_connect_swapped.   (#120543, David Bourguignon)
2815
2816         Make gtk_icon_theme_load_icon() work independent of
2817         icon factory initialization.  (#162791, Tristan Van Berkom)
2818         
2819         * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
2820         _gtk_icon_factory_ensure_default_icons, and make it non-static.
2821
2822         * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
2823
2824 2005-01-02  Matthias Clasen  <mclasen@redhat.com>
2825
2826         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): 
2827         Don't add a shortcut here.  (#162752, Tor Lillqvist)
2828
2829 2005-01-02  Tor Lillqvist  <tml@iki.fi>
2830
2831         * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
2832         CoTaskMemFree in get_special_folder() below.
2833
2834         * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
2835         Win32 using _gtk_file_system_win32_path_compare().
2836
2837         * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
2838
2839         * gtk/gtkfilechooserbutton.c (model_add_special)
2840         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
2841         _gtk_file_system_win32_get_desktop() to get correct Desktop folder
2842         on Win32. (#144003)
2843
2844         * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
2845         consider all drives "mounted", including floppies. Trying to
2846         inspect the contents of a nonexistent floppy will cause errors
2847         later that are handled normally, no need to avoid them
2848         completely. Keep the drive type in the GtkFileSystemVolume.
2849         Support UNC paths. (#161797, #137874) Fix error message
2850         capitalizations as in gtkfilesystemunix.c.
2851
2852         (gtk_file_system_win32_init): Start one timeout per
2853         GtkFileSystemWin32.
2854
2855         (gtk_file_system_win32_finalize): Remove the timeout.
2856
2857         (get_special_folder): Copied from GLib.
2858
2859         (_gtk_file_system_win32_get_desktop): New function, uses
2860         get_special_folder().
2861
2862         (gtk_file_system_win32_list_volumes): Don't start a timeout at
2863         each call to this function. Don't assume A: and B: are floppies.
2864
2865         (gtk_file_system_win32_get_volume_for_path): Don't assume all
2866         volumes are drive roots, i.e. support share roots of UNC paths
2867         (\\server\share).
2868
2869         (gtk_file_system_win32_get_folder): Don't assume errno is set
2870         after g_file_test() returns FALSE. It isn't on Win32 (and even on
2871         Unix I don't think one should assume anything about errno after
2872         g_file_test()).
2873
2874         (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
2875
2876         (gtk_file_system_win32_volume_get_display_name): Don't call
2877         GetVolumeInformation() on drives A: or B: if they are removable,
2878         as they might then be floppies, causing an unnecessary
2879         delay. (#157820)
2880
2881         (gtk_file_system_win32_volume_render_icon): Use network icon for
2882         unrecognized drive types.
2883
2884         (canonicalize_filename, gtk_file_system_win32_parse): Don't get
2885         confused by UNC paths.
2886
2887         (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
2888         for case-insensitive UTF-8 path comparison.
2889
2890         (extract_icon): Use SHGetFileInfo() which is faster than
2891         ExtractAssociatedIcon(). Icon extraction is still slow, though,
2892         needs work.
2893
2894         (win32_pseudo_mime_lookup): Don't use the same icon for all
2895         shortcuts or executables. Cache only other file type icons.
2896
2897         (gtk_file_system_win32_render_icon): Use network stock icon for
2898         remote drives and UNC server share roots. Compare home directory
2899         case-insensitively. Do lookup icons also for executable files,
2900         after all, it's these files that can have individual icons in the
2901         first place. Yes, it can be slow. Needs work.
2902
2903         (filename_is_drive_root): Require also the slash after the colon.
2904
2905         (filename_is_server_share): New function.
2906
2907         (_gtk_file_system_win32_path_compare): New function, does
2908         case-folded UTF-8 comparison.
2909
2910         * gtk/gtkfilesystemwin32.h: Declare
2911         _gtk_file_system_win32_path_compare().
2912
2913 2005-01-01  Matthias Clasen  <mclasen@redhat.com>
2914
2915         * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
2916         custom image by passing NULL.
2917         (gtk_button_init): Initialize image_is_stock to TRUE, fixing
2918         a problem with changing stock labels.  (#162273, Marcin 
2919         Krzyzanowski)
2920
2921 2005-01-01  Tor Lillqvist  <tml@iki.fi>
2922
2923         * gtk/gtkmodules.c (get_module_path)
2924         * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
2925         gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
2926         g_getenv() now returning UTF-8 on Win32, no need to call
2927         g_locale_to_utf8().
2928
2929 2004-12-31  Matthias Clasen  <mclasen@redhat.com>
2930
2931         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) 
2932         (_gtk_key_hash_lookup): Don't sort a list of values as if
2933         it was a list of entries. This fixes crashes during mnemonic
2934         activation in the presence of multiple keymaps. (#162488, 
2935         Christian Persch)
2936
2937 2004-12-30  Matthias Clasen  <mclasen@redhat.com>
2938
2939         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
2940         state propagation when making an insensitive combo box sensitive
2941         again.  (#162524, Carlos Garnacho Parro)
2942
2943         * gtk/gtkfilechooserdefault.c: Use secondary text for error 
2944         dialogs.
2945
2946         * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
2947         (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
2948         for error messages. Also mark some error messages for translation,
2949         fix capitalization of error messages.
2950
2951         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): 
2952         Use g_value_get_boolean() for ellipsize_set.  (#162447, 
2953         Brian Tarricone)
2954
2955 2004-12-30  Tor Lillqvist  <tml@iki.fi>
2956
2957         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
2958         only on Unix.
2959
2960 2004-12-28  Matthias Clasen  <mclasen@redhat.com>
2961
2962         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
2963         submenu direction from the parent menu.
2964
2965         * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): 
2966         Return a boolean indicating whether an item in the submenu
2967         was selected.
2968         (gtk_real_menu_shell_move_current): When going in child 
2969         direction, don't get stuck at completely insensitive 
2970         submenus.  (#162055, Billy Biggs)       
2971
2972 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
2973
2974         Make the clipboard image API more robust (#162357, 
2975         Torsten Schoenfeld):
2976         
2977         * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
2978         ref the pixbuf if it is NULL.
2979
2980         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): 
2981         NULL-terminate the varargs in the call to 
2982         gdk_pixbuf_save_to_buffer(). 
2983         (gtk_selection_data_get_pixbuf): Only use a pixbuf loader 
2984         if there is data to load.
2985
2986 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
2987
2988         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
2989         Set x_root and y_root in button and motion events from 
2990         extended input devices.  (#148715, Robert Ögren)
2991
2992         * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a 
2993         typo.  (#162339, Alessio Dessi)
2994
2995         * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
2996         properties as new since 2.4.  (#156101, Billy Biggs)
2997
2998         * configure.in: Add a warning about the linux-fb 
2999         target.  (#155488, Zeeshan Ali)
3000
3001         * gtk/gtkmain.c (gtk_init_with_args): Typo fix.  (#162278,
3002         Torsten Schoenfeld)
3003
3004 2004-12-26  Matthias Clasen  <mclasen@redhat.com>
3005
3006         * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): 
3007         Typo fix.  (#162219, Masao Mutoh)
3008         (gtk_file_chooser_set_preview_widget_active): 
3009         Another typo.  (#162218, Masao Mutoh)
3010
3011 2004-12-23  Matthias Clasen  <mclasen@redhat.com>
3012
3013         * gtk/gtkliststore.c (gtk_list_store_iter_children): 
3014         Return TRUE if there are children.  (#162134, Iñigo Serna,
3015         patch by John Finlay)
3016
3017         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
3018         Transfer state from the button to the cell view to get
3019         prelighting right.  (#156327, Ricardo Veguilla)
3020
3021 Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
3022
3023         * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
3024         timeout. Written by Christian Persch.
3025
3026 Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
3027
3028         Bug #161561
3029         
3030         * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
3031         background for windows that get expose events. 
3032
3033         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
3034         hack to repaint !expose windows.
3035
3036 Wed Dec 22 11:35:41 2004  Søren Sandmann  <sandmann@redhat.com>
3037
3038         Bug #147497, make menu items activate immediately when you release
3039         the button.
3040         
3041         * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
3042         items activate immediately.
3043
3044         * gtk/gtkmenu.c (definitely_within_item): New function
3045         * gtk/gtkmenu.c (check_threshold): New function
3046
3047 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
3048
3049         * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
3050         null the mnemonic_menu when unsetting a mnemonic, reported
3051         by Owen Taylor.
3052
3053 2004-12-21  Matthias Clasen  <mclasen@redhat.com>
3054
3055         * gtk/gtkliststore.c (generate_order): Generate the order the
3056         way it is supposed to be, order[new_pos] == old_pos.
3057         (gtk_list_store_reorder): Invert the order before using it.
3058
3059 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
3060
3061         Fix sorting of list stores.  (#161886, Marcin Krzyzanowski)
3062
3063         * gtk/gtkliststore.c (generate_order): Generate the order the
3064         way it is supposed to be, order[new_pos] == old_pos.
3065         (gtk_list_store_reorder): Invert the order before using it.
3066
3067         * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
3068         list store fix.
3069
3070 Wed Dec 22 01:24:01 2004  Jonathan Blandford  <jrb@redhat.com>
3071
3072         * gtk/queryimmodules.c (main): print out the version and binary
3073         name in the header comment.  Problem reported by Seth Nickell.
3074
3075 2004-12-20  Matthias Clasen  <mclasen@redhat.com>
3076
3077         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
3078         root path to gtk_tree_model_rows_reordered().  (#161720,
3079         Marcin Krzyzanowski)
3080
3081         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't 
3082         translate NULL messages.  (#161789, Morten Welinder)
3083
3084         * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
3085         the secondary label on show_all().  (#161707, Christian Persch)
3086
3087 2004-12-19  Tor Lillqvist  <tml@iki.fi>
3088
3089         * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
3090         Use wide character API when available. Use UTF-8 for filenames.
3091
3092         * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
3093         the string's trailing zero byte in the property's length, just for
3094         safety.
3095
3096 2004-12-18  Matthias Clasen  <mclasen@redhat.com>
3097
3098         * gtk/gtkfilechooserentry.c (check_completion_callback) 
3099         (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
3100
3101         * gtk/gtkfilechooserdefault.c (edited_idle_cb) 
3102         (shortcuts_drag_outside_idle_cb): Add missing 
3103         GDK_THREADS_ENTER/LEAVE.  (#161604)
3104         
3105         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): 
3106         (list_select_func): Don't call gtk_file_info_get_is_folder()
3107         on NULL. 
3108
3109         * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): 
3110         (gtk_about_dialog_init): Add missing initializations.  (#161646,
3111         Torsten Schoenfeld)
3112