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