]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
53cb82ed47ec482e10cbf03a34b4a9f702cf570d
[~andy/gtk] / ChangeLog.pre-2-10
1 2005-03-31  Sven Neumann  <sven@gimp.org>
2
3         Merged from gtk-2-6:
4
5         * gtk/gtkbutton.c
6         * gtk/gtkiconview.c: fixed gtk-doc comments.
7
8 2005-03-31  Michael Natterer  <mitch@gimp.org>
9
10         Allow to pop up menus without grabbing the keyboard. Useful for
11         stuff like virtual keyboards. Fixes bug #159890
12
13         * gtk/gtk.symbols
14         * gtk/gtkmenushell.[ch]: added boolean property "take-focus"
15         and public API gtk_menu_shell_set/get_take_focus().
16
17         * gtk/gtkmenu.c (gtk_menu_popup)
18         (popup_grab_on_window): don't grab the keyboard if take_focus
19         is FALSE.
20
21         * gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
22         parent menu_shell's take_focus property to the submenu which is
23         about to be popped up.
24
25 2005-03-30  Federico Mena Quintero  <federico@ximian.com>
26
27         Merged from gtk-2-6:
28
29         Fix #170755:
30
31         * gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
32         if the row which changed is the same as the row being edited.
33
34 2005-03-30  Matthias Clasen  <mclasen@redhat.com>
35
36         * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): 
37         Make enable_search control only typeahead, not C-f.  (#170435,
38         Sven Neumann)
39         (gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.
40
41         * gdk/gdkpixbuf.h: Include cairo.h
42
43         * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): 
44         Don't accept n_targets == -1.
45         (clipboard_unset): unref the old_data, not the
46         user_data which we have just cleared.  (#172038, Sven
47         Neumann)
48
49         * gtk/gtkcombobox.c (gtk_combo_box_popup): Don't 
50         segfault if somebody tries to popup an unrealized
51         combo box.  (#172031, Felipe Heidrich)
52
53 2005-03-30  Tor Lillqvist  <tml@novell.com>
54
55         * gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
56         state field should represent the state before the event, like on
57         X11. (#169753)
58         (gdk_event_translate): Fix event filter handling. If an event
59         filter (global, client message filter, of window-specific) returns
60         GDK_FILTER_CONTINUE, continue as if nothing happened. If it
61         returns GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE
62         from gdk_event_translate() which means that DefWindowProc() will
63         not be called.
64         (gdk_event_translate): Fix client message handling. Append a
65         GDK_CLIENT_EVENT unless there is a filter that matches and returns
66         something other than GDK_FILTER_CONTINUE. (#135552)
67
68 2005-03-29  Matthias Clasen  <mclasen@redhat.com>
69
70         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func): 
71         Document the need to refilter if parameters of the visibility function
72         change.  (#169516, Olivier Sessink)     
73
74 Mon Mar 28 15:13:42 2005  Søren Sandmann  <sandmann@redhat.com>
75
76         * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
77         invalidate areas that are covered by mapped input-output child
78         windows. Bug 141380.
79
80 2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>
81
82         * gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
83         the preview label ellipsize so the dialog layout stays constant.
84         (#171398)
85
86 2005-03-28  Matthias Clasen  <mclasen@redhat.com>
87
88         * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
89         the context menu of the search entry if it is not visible.
90         (#169534, Billy Biggs)
91
92 2005-03-27  Tor Lillqvist  <tml@novell.com>
93
94         * configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
95         after all, and in fact necessary with HEAD libtool.
96
97 2005-03-26  Matthias Clasen  <mclasen@redhat.com>
98
99         * gtk/*.c: 
100         * gdk/gdkdisplaymanager.c: 
101         Use canonical names for g_object_notify() as well. 
102
103 2005-03-24  Tor Lillqvist  <tml@novell.com>
104
105         * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
106         in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
107         gtk+-2.0.pc file and automatically used by dependents. MSVC users
108         who use pkg-config will have to manually edit it out from
109         gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
110         some kind of conditionals in .pc files?
111
112 2005-03-23  Matthias Clasen  <mclasen@redhat.com>
113
114         * gtk/gtkfilechooserbutton.c (update_combo_box): Remove
115         a call whose result was unused and leaked.  (#170776,
116         Kjartan Maraas)
117
118         Some cleanups to the GtkDialog code:  (#170746, 
119         Morten Welinder)
120         * gtk/gtkdialog.c (action_widget_activated): Simplify,
121         use _gtk_dialog_get_response_for_widget.
122         (gtk_dialog_add_action_widget): Use the correct signal
123         id for non-buttons.
124         (gtk_dialog_set_response_sensitive): 
125         (gtk_dialog_set_default_response): Use get_response_data.
126         (gtk_dialog_run): Don't disconnect the signals if the
127         dialog was destroyed while running.
128
129 Tue Mar 22 14:16:31 2005  Manish Singh  <yosh@gimp.org>
130
131         * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
132         Use g_return_if_fail, not g_return_val_if_fail.
133
134 2005-03-22  Matthias Clasen  <mclasen@redhat.com>
135
136         Implement bookmark renaming  (#136216, Sean Middleditch)
137         
138         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add 
139         get_bookmark_label and set_bookmark_label vfuncs.
140
141         * gtk/gtkfilesystem.h:
142         * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label): 
143         (gtk_file_system_get_bookmark_label): Wrappers for the
144         vfuncs.
145
146         * gtk/gtk.symbols: Add new exported symbols.
147
148         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label): 
149         (gtk_file_system_unix_get_bookmark_label): Implementations
150         for the Unix backend.
151
152         * gtk/gtkfilechooserdefault.c: Add a context menu to
153         the bookmarks pane, and allow to rename bookmarks.
154
155 2005-03-22  Matthias Clasen  <mclasen@redhat.com>
156
157         * gtk/gtkpathbar.c (gtk_path_bar_unmap): 
158         * gtk/gtkspinbutton.c (gtk_spin_button_unmap): 
159         * gtk/gtknotebook.c (gtk_notebook_unmap): 
160         * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
161         the widget is unmapped.  (#168791, Ryan Lortie)
162
163 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
164
165         * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
166         GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
167         their G_ counterparts, but also mark the name, nick
168         and blurb as static.
169
170         * gtk/*.c: Mark param spec strings as static, using
171         the new macros.
172
173         * gtk/gtkspinbutton.h: Fix a typo.
174
175 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
176
177         * gtk/gtkcellrendererprogress.c: 
178         * gtk/gtkcellrendererpixbuf.c: 
179         * gtk/gtkcellrenderercombo.c: 
180         * gtk/gtkcellrenderer.c: 
181         * gtk/gtkcalendar.c: 
182         * gtk/gtkbutton.c: 
183         * gtk/gtkbox.c: 
184         * gtk/gtkbbox.c: 
185         * gtk/gtkaspectframe.c: 
186         * gtk/gtkarrow.c: 
187         * gtk/gtkalignment.c: 
188         * gtk/gtkactiongroup.c: 
189         * gtk/gtkaction.c:
190         * gtk/gtkaccellabel.c: 
191         * gtk/gtkaboutdialog.c: Mark param spec strings as static.
192
193         * gdk/gdkpango.c (gdk_pango_renderer_class_init): 
194         * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
195         param spec strings as static.
196
197 2005-03-21  Tor Lillqvist  <tml@novell.com>
198
199         * modules/engines/ms-windows/*.c: Silence gcc warnings (unused
200         variables, unhandled enum value in switch). Use g_object_unref()
201         instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
202
203         * modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state): 
204         Add missing "case" keyword.
205
206         * modules/engines/ms-windows/Makefile.am: Link with -lgdi32
207         explicitly.
208
209 2005-03-20  Tor Lillqvist  <tml@novell.com>
210
211         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
212         Terminal Services session number, window station name (always
213         "WinSta0" in interactive processes), and desktop name (typically
214         "Default"), concatenated with backslash separators.
215         (gdk_display_open): Accept only NULL or the string
216         gdk_display_get_name() returns as display name.
217
218 2005-03-20  Matthias Clasen  <mclasen@redhat.com>
219
220         Make PLT-reduction work with gcc4, and don't include
221         everything in gdkalias.h:
222         
223         * gtk/grk.symbols: Group symbols by header and source file.
224         * gtk/makegtkalias.pl: Protect definitions by the same 
225         preprocessor symbols used to guard the headers. Move
226         the alias declarations to a separate file which is 
227         produced when calling makegtkalias.pl -def
228         * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate 
229         this file.
230         * gtk/*.c: Include gtkalias.h after the other headers, 
231         include gtkaliasdef.c at the bottom.
232         * gtk/*.h: Small cleanups.
233
234 Fri Mar 18 23:59:49 2005  Soeren Sandmann  <sandmann@redhat.com>
235
236         * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
237         Make right-clicks not pop up the menu.
238
239 2005-03-18  Owen Taylor  <otaylor@redhat.com>
240
241         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish): 
242         Call cairo_surface_finish()
243
244         * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
245         _gdk_windowing_set_surface_device_offset().
246
247 2005-03-18  Tor Lillqvist  <tml@novell.com>
248
249         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
250         WM_MOUSEMOVE, don't check if this process owns the active
251         window. This makes cross-application widget embedding work better.
252         On WM_MOVE, don't bother checking for window visibility.
253
254         * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
255         unused variables. Add some casts to silence gcc.
256
257 2005-02-24  Owen Taylor  <otaylor@redhat.com>
258
259         * gdk/gdkwindow.c: Use cairo_set_device_offset().
260
261         * gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
262         gdk/win32/gdkpixmap-win32.c: 
263         Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the 
264         drawable. Add _gdk_drawable_win32_finish() to clean up resources
265         when a drawable is destroyed.
266
267         * gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
268         (blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use 
269         acquire/release_dc when getting a DC to use with a GC or for 
270         blitting from a pixmap.
271
272         * gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
273
274         * gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
275         Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
276         implementations.
277
278         * gdk/win32/gdkdrawable-win32.c: Remove 
279         gdk_draw_rectangle_alpha_libgtk_only()
280
281 2005-03-17  Owen Taylor  <otaylor@redhat.com>
282
283         * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
284         EXTEND_REPEAT on the stipple pattern.
285
286 2005-03-17  Matthias Clasen  <mclasen@redhat.com>
287
288         * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
289         in example in the docs.  (#170611, Jianfei Wang)
290
291         * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
292         adjustment values on resize.  (#170567, Tomislav Jonjic)
293
294         * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
295         if there is no cache.  (#170652, Diego Gonzalez)
296         
297         * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): 
298         Make inline completion insert the prefix at the
299         right spot.  (#170146, Doug Quale)
300
301 2005-03-17  Tor Lillqvist  <tml@novell.com>
302
303         * gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
304
305 2005-03-16  Matthias Clasen  <mclasen@redhat.com>
306
307         * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize): 
308         Typo fix in the docs.
309         
310         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip): 
311         Typo fix in the docs.
312
313         * gtk/gtkiconview.c (gtk_icon_view_set_columns) 
314         (gtk_icon_view_get_columns, gtk_icon_view_set_item_width) 
315         (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing) 
316         (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing) 
317         (gtk_icon_view_set_column_spacing) 
318         (gtk_icon_view_get_row_spacing, gtk_icon_view_get_margin) 
319         (gtk_icon_view_set_margin): Add docs.
320         
321         * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row): 
322         Add docs.
323
324 2005-03-15  Owen Taylor  <otaylor@redhat.com>
325
326         * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c 
327         gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
328         gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
329         ref_cairo_surface()
330
331         * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
332         function to create_cairo_context()
333
334         * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
335
336         * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
337         not just the pixel.
338
339         * tests/testcairo.c: Update for create_cairo_context()
340
341         * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
342         Reimplement in terms of Cairo, bypass the vtable entries.
343
344         * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
345         gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
346         gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
347         implementation of draw_trapezoids / draw_glyphs[_transformed].
348
349         * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
350
351         * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
352         gdk_pango_context_get_for_screen() into the backend independent code.
353
354         * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
355         for drawing images.
356
357         * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
358         gdk_draw_rectangle_alpha_libgtk_only.
359
360         * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add 
361         gdk_pixbuf_set_as_cairo_source()
362
363         * gdk/gdk.symbols: Update
364
365         * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
366         gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
367
368         * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
369         gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
370         radio button style for now to get something more scalable.
371
372         *  gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
373         antialiasing/dpi settings.
374
375 2005-03-16  Matthias Clasen  <mclasen@redhat.com>
376
377         * demos/gtk-demo/editable_cells.c: Also demonstrate
378         GtkCellRenderer::editing-started and separators.
379
380 Tue Mar 15 20:34:33 2005  Manish Singh  <yosh@gimp.org>
381
382         * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
383
384 2005-03-15  Matthias Clasen  <mclasen@redhat.com>
385
386         Make PLT-reduction work with gcc4, and don't include
387         everything in gdkalias.h:
388
389         * gdk/gdk.symbols: Group symbols by header and source file.
390         * gdk/makegdkalias.pl: Protect definitions by the same
391         preprocessor symbols used to guard the headers. Move
392         the alias declarations to a separate file which is
393         produced when calling makegdkalias.pl -def
394         * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
395         file.
396         * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
397         headers, include gdkaliasdef.c at the bottom.
398
399 2005-03-16  Tor Lillqvist  <tml@novell.com>
400
401         * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
402         debugging output only if asked for, not always.
403
404         * gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
405         debugging printout instead of +%d+%d. Misc other additions and
406         cosmetic improvements to debugging printouts. Use API_CALL() and
407         GDI_CALL() macros in more places.
408
409         * gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
410         gdk_window_move_resize): To detect child windows, check whether
411         the real parent is not the desktop window, instead of relying on
412         the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
413         windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
414         de facto child windows.
415
416         * gdk/win32/gdkprivate-win32.h
417         * gdk/win32/*.c: Drop global variable _gdk_root_window, just call
418         GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
419         _gdk_root.
420
421         * gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
422         toplevel_window_type field.
423
424         * gdk/win32/gdkwindow-win32.c: As there is only one root window in
425         GDK on Win32, we can compare directly to _gdk_root instead of
426         checking the window type.
427         (gdk_window_reparent): When reparenting a child of the desktop
428         clear out the window decorations. Correspondingly, when
429         reparenting to the desktop, add decorations. As in the X11
430         backend, save the window type of a toplevel window when
431         reparenting, in case it is reparented back to toplevel.
432
433 2005-03-15  Matthias Clasen  <mclasen@redhat.com>
434
435         * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
436         example for manually setting up a group of actions.
437
438         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
439         Document that inline completion requires text-column to be set.
440         (gtk_entry_completion_compute_prefix): Return NULL if text-column
441         is not set.
442
443         * gtk/gtkentry.c (check_completion_callback): Call 
444         gtk_entry_completion_complete() before inserting the prefix,
445         otherwise the prefix may depend on (random) state of the
446         filter model.  
447
448 2005-03-15  Anders Carlsson  <andersca@imendio.com>
449
450         * docs/iconcache.txt:
451         Update spec.
452         
453         * gtk/gtkiconcache.c: (find_image_offset),
454         (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
455         (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
456         * gtk/gtkiconcache.h:
457         Update to be able to fetch pixbuf data and icon metadata.
458         
459         * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
460         (icon_info_ensure_scale_and_pixbuf):
461         Use new cache functions.
462         
463         * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
464         (maybe_cache_image_data), (scan_directory), (write_pixdata),
465         (get_image_meta_data_size), (get_image_pixel_data_size),
466         (get_image_data_size), (get_single_node_size), (get_bucket_size),
467         (write_bucket), (main):
468         Update to write pixbuf data as well as information from .icon
469         files.
470         
471 2005-03-15  Tor Lillqvist  <tml@novell.com>
472
473         * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
474         debugging function. As GetKeyNameText() returns a localized key
475         name we need to convert it to UTF-8.
476
477         * gdk/win32/gdkprivate-win32.h: Declare it.
478
479         * gdk/win32/gdkevents-win32.c: Use it.
480
481         * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
482         handling of children of foreign windows. They should be child
483         windows from Windows's perspective, even if they are toplevel GDK
484         windows.
485
486 2005-03-13  Ivan, Wong Yat Cheung  <email@ivanwong.info>
487
488         * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
489         for big window support. Now also the test in testgtk works.
490
491 2005-03-11  Matthias Clasen  <mclasen@redhat.com>
492
493         * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
494         style changes.  (#169334, Yury Puzis)
495
496         * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
497         the doc comments.  (#169967, Masao Mutoh)
498
499 2005-03-12  Ivan, Wong Yat Cheung  <email@ivanwong.info>
500
501         Big window fix for Win32. Big windows are still emulated within
502         16-bit coordinate limits, though. Big windows now work on NT-based
503         Windows. (#169989)
504
505         * gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
506         32-bit coordinates.
507
508         * gdk/win32/gdkgeometry-win32.c: Largely rewrite.
509
510         * gdk/win32/gdkwindow-win32.c: Minor related changes.
511         
512 2005-03-10  Matthias Clasen  <mclasen@redhat.com>
513
514         * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv): 
515         Fix a doc typo.  (#169873, Johan Dahlin)
516
517         * gtk/gtkdialog.c (gtk_dialog_map): Don't
518         try to focus the default_widget if there is 
519         none.  (#169881, Thomas Leonard)
520
521 Wed Mar  9 19:20:44 2005  Manish Singh  <yosh@gimp.org>
522
523         * configure.in: Remove inadvertent gail references, require
524         Pango 1.9.0
525
526 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
527
528         * configure.in: Require GLib 2.7.0
529
530 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
531
532         * gtk/gtkwidget.h (struct _GtkWidget): Typo fixes in comments.
533         (#169728, Morten Welinder, Owen Taylor)
534
535         * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
536         in the docs.  (#169729, Morten Welinder)
537
538         * gtk/gtkimage.c (gtk_image_class_init): Fix a typo.
539
540         * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize 
541         when the model is unset.  (#169528, Tomislav Jonjic)
542
543 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
544
545         * gtk/gtkviewport.c (gtk_viewport_class_init): 
546         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): 
547         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init): 
548         * gtk/gtktipsquery.c (gtk_tips_query_class_init): 
549         * gtk/gtktext.c (gtk_text_class_init): 
550         * gtk/gtkstatusbar.c (gtk_statusbar_class_init): 
551         * gtk/gtkspinbutton.c (gtk_spin_button_class_init): 
552         * gtk/gtktoggleaction.c (gtk_toggle_action_class_init): 
553         * gtk/gtkoptionmenu.c (gtk_option_menu_class_init): 
554         * gtk/gtkoldeditable.c (gtk_old_editable_class_init): 
555         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): 
556         * gtk/gtktoolbutton.c (gtk_tool_button_class_init): 
557         * gtk/gtktoolitem.c (gtk_tool_item_class_init): 
558         * gtk/gtkimage.c (gtk_image_class_init): 
559         * gtk/gtkruler.c (gtk_ruler_class_init): 
560         * gtk/gtkiconview.c (gtk_icon_view_class_init): 
561         * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): 
562         * gtk/gtkprogress.c (gtk_progress_class_init): 
563         * gtk/gtkmenu.c (gtk_menu_class_init): 
564         * gtk/gtkscale.c (gtk_scale_class_init): 
565         * gtk/gtkpaned.c (gtk_paned_class_init): 
566         * gtk/gtkhandlebox.c (gtk_handle_box_class_init): 
567         * gtk/gtkfontbutton.c (gtk_font_button_class_init): 
568         * gtk/gtkfontsel.c (gtk_font_selection_class_init): 
569         * gtk/gtkfilesel.c (gtk_file_selection_class_init): 
570         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
571         * gtk/gtkcurve.c (gtk_curve_class_init): 
572         * gtk/gtkcombo.c (gtk_combo_class_init): 
573         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
574         * gtk/gtkcolorbutton.c (gtk_color_button_class_init): 
575         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): 
576         * gtk/gtkmenuitem.c (gtk_menu_item_class_init): 
577         * gtk/gtkcheckbutton.c (gtk_check_button_class_init): 
578         * gtk/gtktogglebutton.c (gtk_toggle_button_class_init): 
579         * gtk/gtkcellview.c (gtk_cell_view_class_init): 
580         * gtk/gtktoolbar.c (gtk_toolbar_class_init): 
581         * gtk/gtkmenubar.c (gtk_menu_bar_class_init): 
582         * gtk/gtkclist.c (gtk_clist_class_init): 
583         * gtk/gtkctree.c (gtk_ctree_class_init): 
584         * gtk/gtkcolorsel.c (gtk_color_selection_class_init): 
585         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): 
586         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): 
587         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init): 
588         * gtk/gtkcalendar.c (gtk_calendar_class_init): 
589         * gtk/gtkbbox.c (gtk_button_box_class_init): 
590         * gtk/gtktable.c (gtk_table_class_init): 
591         * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): 
592         * gtk/gtkframe.c (gtk_frame_class_init): 
593         * gtk/gtkaction.c (gtk_action_class_init): 
594         * gtk/gtkaccellabel.c (gtk_accel_label_class_init): 
595         * gtk/gtkaboutdialog.c (gtk_about_dialog_class_init): 
596         * gtk/gtkdialog.c (gtk_dialog_class_init): More of the same.
597
598 2005-03-08  Matthias Clasen  <mclasen@redhat.com>
599
600         * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): 
601         * gtk/gtkrange.c (gtk_range_class_init): 
602         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): 
603         * gtk/gtktexttag.c (gtk_text_tag_class_init): 
604         * gtk/gtktextview.c (gtk_text_view_class_init): 
605         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): 
606         * gtk/gtknotebook.c (gtk_notebook_class_init): 
607         * gtk/gtkentry.c (gtk_entry_class_init): 
608         * gtk/gtkexpander.c (gtk_expander_class_init): 
609         * gtk/gtkarrow.c (gtk_arrow_class_init): 
610         * gtk/gtkalignment.c (gtk_alignment_class_init): 
611         * gtk/gtkbutton.c (gtk_button_class_init): 
612         * gtk/gtklabel.c (gtk_label_class_init): 
613         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): 
614         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
615         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
616         * gtk/gtktreeview.c (gtk_tree_view_class_init): 
617         * gtk/gtkbox.c (gtk_box_class_init): 
618         * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init): 
619         * gtk/gtkcontainer.c (gtk_container_class_init): 
620         * gtk/gtkwidget.c (gtk_widget_class_init): 
621         * gtk/gtkobject.c (gtk_object_class_init): Use canonical names
622         when registering param specs.
623
624         * demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
625         (#169607, Mark McLoughlin)
626         
627         * gtk/gtk.symbols: Add the new attributes here, too.
628
629         * gtk/gtkwidget.h: 
630         * gtk/gtktreeview.h: 
631         * gtk/gtktreeviewcolumn.h: 
632         * gtk/gtktextbuffer.h: 
633         * gtk/gtkobject.h: 
634         * gtk/gtkfilechooserdialog.h: 
635         * gtk/gtkdialog.h: 
636         * gtk/gtkcontainer.h: 
637         * gtk/gtkcelllayout.h: 
638         * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
639         appropriate.  (#165682, Marc Meissner)
640
641 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
642
643         Convert the gdk keyval-keyname tables to a big string
644         + offsets. (#168901)
645         
646         * gdk/gen-keyname-table.pl: Perl script inspired by
647         pango/tools/gen-color-table.pl to create the 
648         gdk_keys_by_keyval and gdk_keys_by_name tables as lists
649         of offsets pointing into a big const string.
650         
651         * gdk/keynames.txt: List of keyval-keyname pairs.
652         * gdk/keyname-table.h: Generated tables.
653
654         * gdk/gdkkeynames.c: Include keyname-table.h and don't
655         generate the inverse table at runtime.
656
657 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
658
659         * gtk/gtkstyle.c: Document which parameters may be NULL.  
660         (#166855, Frank Naumann)
661
662 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
663
664         * AUTHORS: Add original authors of incorporated software.
665
666 Thu Mar  3 16:59:44 2005  Manish Singh  <yosh@gimp.org>
667
668         * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
669
670 2005-03-03  Matthias Clasen  <mclasen@redhat.com>
671
672         * gtk/gtksettings.c (gtk_settings_get_property): 
673         * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak 
674         the values here.  (#169047, Philip Langdale)
675
676         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
677         Don't warn if a stock icon cannot be found.  (#168830,
678         Sven Neumann)
679
680 2005-03-03  Matthias Clasen  <mclasen@redhat.com>
681
682         * gtk/gtkwidget.c (gtk_widget_reparent_subwindows): 
683         Avoid warnings if gtk_widget_reparent() is called at
684         unusual times.  (#168966, Christian Persch)
685
686 Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>
687
688         * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
689         const warnings on data structure seeding.
690
691 Tue Mar  1 13:53:56 2005  Manish Singh  <yosh@gimp.org>
692
693         * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
694
695 2005-03-01  Matthias Clasen  <mclasen@redhat.com>
696
697         * gtk/gtkmenutoolbutton.c (button_state_changed_cb): 
698         Fix prelighting.  (#157392, Vincent Noel, patch by
699         Christian Persch)
700
701         * gtk/gtkicontheme.c (theme_lookup_icon): Make 
702         icon data caching work again.  (#168851, Alexander Larsson)
703
704         * gdk-pixbuf/gdk-pixbuf.c:
705         * gdk-pixbuf/gdk-pixbuf-features.h.in:
706         Revert the previous change, since it breaks
707         bin compat.
708
709 2005-03-01  Matthias Clasen  <mclasen@redhat.com>
710
711         * gdk/gdkkeyuni.c
712         * gdk/gdkpixbuf-drawable.c
713         * gdk/gdkrgb.c
714         * gdk/x11/gdkdnd-x11.c
715         * gdk/x11/gdkevents-x11.c
716         * gdk/x11/gdkproperty-x11.c
717         * gdk/x11/gdkvisual-x11.c
718         * gdk-pixbuf/gdk-pixbuf.c
719         * gdk-pixbuf/gdk-pixbuf-features.h.in
720         * gtk/gtkaction.c
721         * gtk/gtkbindings.c
722         * gtk/gtkcolorbutton.c
723         * gtk/gtkcombo.c
724         * gtk/gtkcontainer.c
725         * gtk/gtkfilechooserdefault.c
726         * gtk/gtkfilesel.c
727         * gtk/gtkgamma.c
728         * gtk/gtkiconview.c
729         * gtk/gtkinputdialog.c
730         * gtk/gtkitemfactory.c
731         * gtk/gtkmenu.c
732         * gtk/gtktextview.c
733         * gtk/gtktooltips.c
734         * gtk/gtktreedatalist.c
735         * gtk/gtkuimanager.c
736         * gtk/tree_minus.xpm
737         * gtk/tree_plus.xpm
738         * gtk/xdgmime/xdgmime.c
739         * gtk/xdgmime/xdgmime.h: 
740         Move constant data to .rodata.
741
742 2005-02-27  Matthias Clasen  <mclasen@redhat.com>
743
744         * gtk/gtkaction.c (connect_proxy): Improve the handling
745         of buttons as action proxys.  (#165534, Milosz Derezynski)
746
747         * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
748         (#168646, Vincent Untz)
749
750         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
751         Unset "focus-on-click" for the save folder combo.  (#168688,
752         Sven Neumann)
753
754 2005-02-25  Matthias Clasen  <mclasen@redhat.com>
755
756         * demos/testpixbuf.c (main): Remove a C++ comment.  (#168531, 
757         Paul Cornett)
758
759         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a 
760         path here.  (#168443, Morten Welinder)
761
762 2005-02-24  Robert Ögren  <gtk@roboros.com>
763
764         Implement better handling of Wintab tablet context overlap on
765         Win32. (#167298)
766
767         * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
768         function that brings any tablet contexts to the top of the overlap
769         order.
770         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
771         * gdk/win32/gdkevents-win32.c (gdk_event_translate):
772         Call _gdk_input_set_tablet_active when a window is activated (on
773         WM_ACTIVATE)
774
775 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
776
777         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): 
778         Don't leak parent_path.  (#168435, Morten Welinder)
779
780 Thu Feb 24 14:20:16 2005  Søren Sandmann  <sandmann@redhat.com>
781
782         * gtk/gtkstyle.c: Add
783
784         g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
785
786         all over the place.
787
788 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
789
790         * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
791         (gtk_combo_box_model_row_deleted): Update the displayed row in 
792         the cell_view.  (#167842, Gustavo Carneiro)
793
794 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
795
796         Fix #167259, reported by  Christian Persch:
797         
798         * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented 
799         widget, even if we avoid the unrealizing. 
800         (gtk_widget_reparent_subwindows): Make reparenting work for
801         !NO_WINDOW widgets which have other windows which are siblings
802         of widget->window (as e.g. GtkSpinButton).
803
804 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
805
806         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
807         Don't emit a warning if a parent node is filtered out. (#164726,
808         Olivier Sessink)
809
810 2005-02-23  Matthias Clasen  <mclasen@redhat.com>
811
812         * gtk/gtklabel.c (gtk_label_style_set): Revert the last 
813         change, since gtk_widget_set_style_internal() already
814         queues a resize.
815
816 2005-02-23  Matthias Clasen  <mclasen@redhat.com>
817
818         * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
819         fonts may have changed.  (#164128, Phil Blundell)
820
821         * gtk/gtkaboutdialog.c (gtk_about_dialog_init) 
822         (gtk_about_dialog_new): Move initialization code from _new to 
823         _init.  (#168249, Murray Cumming) 
824
825 Wed Feb 23 17:34:01 2005  Jonathan Blandford  <jrb@redhat.com>
826
827         * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
828         jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
829         widgets.
830
831 2005-02-23  Tor Lillqvist  <tml@novell.com>
832
833         * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
834         MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
835
836 Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>
837
838         * gtk/updateiconcache.c: #include <config.h>
839
840 2005-02-22  Federico Mena Quintero  <federico@ximian.com>
841
842         Merged from gtk-2-6:
843
844         Fix #164940, patch by Ben Maurer and Tommi Komulainen.
845
846         * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
847         (gdk_rgb_convert_565_d): Likewise.
848         (DM_565): Made a static const precomputed array to avoid
849         allocating it at runtime.
850         (gdk_rgb_preprocess_dm_565): #ifdef out.
851
852 2005-02-20  Matthias Clasen  <mclasen@redhat.com>
853
854         * gtk/gtkwindow.c: 
855         * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
856         in the documentation.
857
858         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
859         Set have_render_with_trapezoids to GDK_YES when we have 
860         a new enough Render extension.  (#167965,Billy Biggs) 
861
862         * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
863         the last user interaction when focusing the window.  (#166379, 
864         Elijah Newren)
865
866 Thu Feb 17 14:58:16 2005  Manish Singh  <yosh@gimp.org>
867
868         * gtk/gtkuimanager.c (start_element_handler): make sure expand
869         is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
870
871 Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>
872
873         * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
874
875 2005-02-16  Matthias Clasen  <mclasen@redhat.com>
876
877         * docs/iconcache.txt: Add some information about the
878         icon cache format (since I can't locate it at freedesktop.org)
879
880         Fixes for #143829, Tommi Komulainen, Christian Persch:
881         
882         * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
883         typeselect_flush_timeout when destroying the widgets
884         it is operating on.  
885         (gtk_tree_view_ensure_interactive_directory): Add the 
886         popup to the window group of the toplevel it belongs to.
887
888         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) 
889         (gtk_combo_box_popup): Do the same here. 
890
891 2005-02-14  Matthias Clasen  <mclasen@redhat.com>
892
893         * configure.in: Kill --enable-ansi  (#164394)
894
895 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
896
897         * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling 
898         when the pathbar goes away.  (#167094, Rodney Dawes)
899         (change_icon_theme): Use GTK_ICON_SIZE_MENU here as 
900         well  (Vincent Noel)
901
902 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
903
904         Support vertical menubars  (#166632): 
905         
906         * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack 
907         directions, with values for left-to-right, right-to-left, 
908         top-to-bottom and bottom-to-top.
909
910         * gtk/gtk.symbols: 
911         * gtk/gtkmenubar.h: 
912         * gtk/gtkmenubar.c: Add two properties, pack-direction and
913         child-pack-direction, which specify how children and 
914         grandchildren of a menubar are packed, with getters and setters. 
915
916         * gtk/gtkmenubar.c (gtk_menu_bar_set_property): 
917         (gtk_menu_bar_get_property): Implement set_property and get_property.
918
919         * gtk/gtkmenubar.c (gtk_menu_bar_size_request): 
920         (gtk_menu_bar_size_allocate): Take pack direction into account.
921
922         * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement 
923         move_current here move all the menubar-specific direction 
924         tweaking from the generic menushell implementation here.
925
926         * gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific 
927         direction tweaking from the generic menushell implementation here.
928
929         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): 
930         (gtk_menu_bar_size_allocate): Take pack direction into account.
931
932         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request) 
933         (gtk_image_menu_item_size_allocate): 
934         (gtk_image_menu_item_toggle_size_request): Take child pack 
935         direction into account and pack the image vertically if
936         necessary.
937
938         * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
939         Set the submenu direction to left-right for menuitems in 
940         vertical menubars.
941         (gtk_real_menu_shell_move_current): Simplify by moving
942         direction tweaking to menu- and menubar-specific 
943         implementations. Take pack direction into account when
944         doing fallbacks.
945
946         * tests/testmenubars.c: Test menubars in various packing
947         direction combinations.
948
949         * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
950
951 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
952
953         Complete the fix for #165770, Vincent Noel:
954         
955         * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
956         fallback size be 16, to be equal to the default for
957         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
958         (gtk_file_chooser_button_init):
959         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
960         GTK_ICON_SIZE_SMALL_TOOLBAR. 
961
962 2005-02-09  Matthias Clasen  <mclasen@redhat.com>
963
964         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
965         keynav for going from menubar to menu.
966
967 2005-02-08  Christian Rose  <menthos@menthos.com>
968
969         * configure.in: Added "xh" to ALL_LINGUAS.
970
971 2005-02-08  Matthias Clasen  <mclasen@redhat.com>
972
973         * gtk/gtkuimanager.c (start_element_handler): Accept 
974         the "expand" attribute and set a flag in the node if it
975         is set to "true".
976         (update_node): If the expand flag is set, make separator
977         toolitems non-drawn and expanding.  (#166489, Christian Persch)
978
979 2005-02-05  Hans Breuer  <hans@breuer.org>
980
981         * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
982         build with Cairo dependency. The patch to acually use Cairo
983         on win32 will be on gtk-devel-list soon.
984         * tests/makefile.msc : add testcairo building
985
986         * gtk/stock-icons/makefile.msc : split command line into two to
987         work with the shells default
988
989 Fri Feb  4 14:16:31 2005  Manish Singh  <yosh@gimp.org>
990
991         * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
992         function.
993
994         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
995         Add some extra parens for bitop order of operations disambiguiation.
996
997         * gtk/gtkstock.c: Fix const confusion, make our own copy of the 
998         domain when setting a translate function.
999
1000         * tests/testcombo.c: removed unused variable.
1001
1002 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
1003
1004         * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
1005         being NULL.  (#166179, Diego Gonzalez)
1006
1007 2005-02-04  Owen Taylor  <otaylor@redhat.com>
1008
1009         * configure.in: Revert gtk_binary_version to 2.4.0. Fix
1010         up comment to talk only about backwards compat, not
1011         forward/backwards compat. (#166293, reported by Vincent Noel)
1012
1013 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
1014
1015         * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
1016         when there is not enough space. This avoids a nasty size
1017         allocation loop in the file chooser.  (#154007, reported 
1018         by Milosz Derezynski, patch by Robert Ögren)
1019
1020 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
1021
1022         * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
1023         selection of RTL direction if the widget does not have 
1024         focus.  (#164125, Frederic Crozat)
1025
1026 Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
1027
1028         * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
1029
1030 2005-02-03  Owen Taylor  <otaylor@redhat.com>
1031
1032         * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
1033         gdk_drawable_set_cairo_target().
1034
1035         * tests/testtreeflow.c (enum): Use grand not rand as a variable
1036         name because one of the cairo headers is pulling in stdlib.h.
1037
1038         * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
1039         example.
1040
1041         * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
1042
1043         * Require libpangocairo for all backends.
1044
1045 2005-02-03  Tor Lillqvist  <tml@novell.com>
1046
1047         * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
1048         wide character version of ImmGetCompositionString() here,
1049         too. (#165278, Takuro Ashie)
1050
1051 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
1052
1053         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
1054         one roundtrip per motion event.  (#166173, pointed out
1055         by Chris Lee, patch by Søren Sandmann)
1056
1057         * gtk/gtk.symbols: 
1058         * gtk/gtkstock.h: 
1059         * gtk/gtkstock.c (gtk_stock_set_translate_func): 
1060         New function which allows to change the function used for
1061         translation stock labels, on a per-domain basis. Use this
1062         functionality to switch the GTK+ stock items to use Q_()
1063         prefixed msgids.  (#166179, Funda Wang)
1064         
1065         * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
1066         Tommi Komulainen)
1067
1068 2005-02-02  Federico Mena Quintero  <federico@ximian.com>
1069
1070         Merged from gtk-2-6:
1071
1072         * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
1073         Don't select the first row if the chooser is not mapped.  This
1074         happens when it's acting on behalf of GtkFileChooserButton.  Also,
1075         don't select the first row if we are in SAVE or CREATE_FOLDER
1076         modes --- I had missed that (see the ChangeLog entry from
1077         2005-01-18).  Fixes #165264.
1078
1079 2005-02-02  Tor Lillqvist  <tml@novell.com>
1080
1081         Implement lazy extended input initialization on Win32, by Robert
1082         Ögren. Fixes #163163, possibly #162334. Lazy initialization would
1083         be a good idea in any case even if it didn't fix any visible
1084         problems, though.
1085
1086         The Wacom tablet driver seems to get confused if Wintab is
1087         initialized but no window is shown before the process exits. This
1088         is the case for some GIMP plug-ins, for instance. 
1089
1090         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
1091         non-static (and renamed).
1092         (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
1093
1094         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
1095
1096         * gdk/win32/gdkinput.c (gdk_devices_list,
1097         gdk_display_list_devices, gdk_input_set_extension_events): Call
1098         _gdk_input_wintab_init_check() here instead.
1099
1100 2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1101
1102         * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
1103         of a single window so that gtk_clipboard_request_contents() can be
1104         called inside a GtkClipboardReceivedFunc(). (#163844)
1105
1106 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
1107
1108         * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
1109         in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
1110
1111         * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
1112         to NULL after freeing it.  (#165800, Damon Chaplin)
1113
1114 2005-02-01  Michael Natterer  <mitch@gimp.org>
1115
1116         * configure.in: depend on stable pango-1.8, not unstable 1.7
1117
1118 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
1119
1120         Merged from gtk-2-6:
1121
1122         * gtk/gtkfilechooserdefault.c
1123         (browse_files_model_finished_loading_cb): Don't
1124         g_assert_not_reached() if we are in any other state.  Another code
1125         path may have triggered a folder reload.  Fixes #165556.
1126
1127 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
1128
1129         Merged from gtk-2-6:
1130
1131         Fix #165770:
1132
1133         * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
1134         fallback size be 16, to be equal to the default for
1135         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
1136         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
1137         GTK_ICON_SIZE_SMALL_TOOLBAR.
1138
1139 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
1140
1141         * */*.c: Fix many instances of "the the" in docs and
1142         comments.  (#165815, Masao Mutoh)
1143
1144         * gtk/updateiconcache.c (main): Add a --quiet option.
1145
1146 2005-02-01  Tor Lillqvist  <tml@novell.com>
1147
1148         * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
1149         reset_after_dead, handle_dead): New functions, code blocks
1150         refactored out of update_keymap(). No functionality change.
1151
1152         (update_keymap): Use ToUnicodeEx() when available (on NT-based
1153         Windows) instead of ToAsciiEx(). Makes keyboard input work in
1154         Unicode-only input locales that don't have any ANSI codepage, for
1155         instance Hindi and Bengali. Use _gdk_input_codepage only on
1156         Win9x. (#165723)
1157
1158         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
1159         WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
1160         TranslateCharsetInfo() to get the input locale's corresponding
1161         codepage, if any.
1162
1163 2005-01-31  Matthias Clasen  <mclasen@redhat.com>
1164
1165         * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate 
1166         NULL-terminated va lists.  (#165683)
1167
1168 2005-01-29  Matthias Clasen  <mclasen@redhat.com>
1169
1170         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw): 
1171         Typo fix.  (#165581, Masao Mutoh)
1172
1173 Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
1174
1175         * README.cvs-commits: update ancient IRC info.
1176
1177 2005-01-27  Federico Mena Quintero  <federico@ximian.com>
1178
1179         Merged from gtk-2-6:
1180
1181         * gtk/gtkfilechooserdefault.c
1182         (gtk_file_chooser_default_select_path): Oops, don't assert that we
1183         can't reach the end of the function; this happens if we are still
1184         loading but don't need a path change.  Fixes #165213.
1185
1186 2005-01-27  Matthias Clasen  <mclasen@redhat.com>
1187
1188         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
1189         Make wrapping work in RTL mode.  
1190
1191         * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
1192         obey HIG spacing a bit more, add a hand cursor when over the
1193         link button.  (#163979, Jorn Baayen)
1194
1195 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
1196
1197         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
1198         Don't allow -1 as minimum-key-length.
1199         (gtk_entry_completion_set_model): Add missing notification.
1200         (gtk_entry_completion_set_minimum_key_length): Add missing
1201         notification, allow setting minimum-key-length to 0.  (#165194,
1202         Vincent Ladeuil)
1203
1204 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
1205
1206         * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
1207         the license dialog is initially displayed without a horizontal
1208         scrollbar.  
1209         (gtk_about_dialog_class_init): Document the fact that the 
1210         license text is not wrapped.  (#165012, Christian Rose)
1211
1212 2005-01-25  Matthias Clasen  <mclasen@redhat.com>
1213
1214         * gtk/gtkbutton.c (gtk_button_set_image): Fix docs.  (#165180,
1215         Jeff Franks)
1216
1217         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix 
1218         docs.  (#165163, Jeff Franks)
1219         
1220         * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
1221         for a string GValue.  (#165203, Damon Chaplin)
1222
1223 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
1224
1225         * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): 
1226         Initialize user_time from DESKTOP_STARTUP_ID.  (#165131,
1227         Elijah Newren)
1228
1229 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
1230
1231         * gtk/gtkfilechooserdefault.c: Removed leftover comments.
1232
1233 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
1234
1235         Merged from gtk-2-6:
1236
1237         Fix #147785 and clean up the loading code:
1238
1239         * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
1240         be EMPTY, PRELOAD, LOADING, FINISHED.
1241         (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
1242         (struct _GtkFileChooserDefault): Added a pending_select_paths
1243         field.
1244         (load_remove_timer): Add the new states.
1245         (load_setup_timer): Likewise.
1246         (load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
1247         (browse_files_model_finished_loading_cb): Switch to the
1248         LOAD_FINISHED state.
1249         (enum PendingOp): Removed.
1250         (struct _GtkFileChooserDefault): Removed the pending_op and
1251         pending_select_path fields.
1252         (pending_select_paths_free): New utility function.
1253         (pending_select_paths_add): New utility function.
1254         (gtk_file_chooser_default_finalize): Call
1255         pending_select_paths_free().
1256         (pending_op_queue): Removed.
1257         (pending_op_process): Removed.
1258         (pending_select_paths_process): New function.
1259         (browse_files_model_finished_loading_cb): Call
1260         pending_select_paths_process().
1261         (center_selected_row_foreach_cb): Handle multiple selection by
1262         only centering the first row.
1263         (get_is_file_filtered): Constify.
1264         (gtk_file_chooser_default_select_path): Queue into a list of paths
1265         to select if we are not finished loading.
1266         (show_and_select_paths): New utility function.
1267         (up_folder_handler): Use pending_select_paths_add().
1268         (gtk_file_chooser_default_should_respond): Do not call
1269         pending_op_queue(); free the pending_selected_paths instead.
1270         (gtk_file_chooser_default_initial_focus): Don't queue a pending
1271         operation, and don't select the first row unconditionally --- this
1272         will happen when the folder is done loading.
1273         (shortcuts_row_activated_cb): Free the pending_select_paths.
1274         (pending_select_paths_store_selection): New utility function.
1275         (gtk_file_chooser_default_map): Call
1276         pending_select_paths_store_selection() to save the selection
1277         before reloading the folder.
1278         (select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
1279         move the cursor here; it will be done when processing the pending paths.
1280
1281         * tests/testfilechooser.c (main): Add a button to the command
1282         window to unmap and remap the file chooser.
1283
1284 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
1285
1286         * docs/tutorial/gtk-tut.sgml:
1287         * docs/tutorial/gtk_tut.sgml:
1288         * docs/reference/gtk/tmpl/gtkliststore.sgml:
1289         * gtk/gtkactiongroup.c:
1290         * gtk/gtksizegroup.c:
1291         * gtk/gtksizegroup.h:
1292         * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
1293         appropriate.  (#165108, Dan Winship)
1294
1295 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
1296
1297         * gtk/gtkwidget.c (gtk_widget_class_init): Document 
1298         GtkWidget::style-set.  (#164222, Alex Graveley)
1299         
1300 2005-01-22  Matthias Clasen  <mclasen@redhat.com>
1301
1302         * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): 
1303         Remove the accidentally added prototype for this unimplemented 
1304         function.  (#164893, Jeff Franks)
1305
1306         * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
1307         drags.  (#164884)
1308
1309 2005-01-23  Tor Lillqvist  <tml@novell.com>
1310
1311         * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
1312         dead accent key. (#164859, reported and fix verified by Daniel
1313         Atallah.)
1314
1315         * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
1316         GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
1317         and upsilon.
1318
1319         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): 
1320         Don't call GetVolumeInformation() for network drives. They might
1321         be disconnected, and calling GetVolumeInformation() will then
1322         cause long delays. (#164448, reported by Dave Neary.) It seems to
1323         be very hard to reliably find out whether a network drive is
1324         connected or not, so it's easier to just not try getting the
1325         volume name for them. See the bug report for discussion.
1326
1327         Make volume name display formats translatable.
1328
1329         Fix for #163702, from Ivan Wong: 
1330         
1331         * gdk/win32/gdkprivate-win32.h 
1332         * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
1333         
1334         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
1335         WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
1336         GDK_SELECTION_CLEAR event.
1337
1338         * gdk/win32/gdkselection-win32.c
1339         (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
1340         when emptying the clipboard ourselves.
1341
1342         (gdk_selection_send_notify_for_display): Remove the artifical
1343         GDK_SELECTION_CLEAR event generation.
1344
1345 2005-01-21  Matthias Clasen  <mclasen@redhat.com>
1346
1347         * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
1348         provided by Bill Haneman.
1349
1350 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1351
1352         * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs.  (#164725,
1353         George Kraft IV)
1354
1355         * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
1356         here, even if the only focusable widgets are labels.
1357
1358 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1359
1360         Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
1361         
1362         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init) 
1363         Add a follow-state property which when TRUE causes the pixbuf
1364         to be tinted according to state.
1365
1366         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
1367         Use follow-state and colorize the pixbuf when appropriate.      
1368         
1369 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1370
1371         Support wrapping in GtkCellRendererText  (#163608):
1372         
1373         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
1374         Add wrap-mode and wrap-width properties which cause a 
1375         text cell to break to a specified width when set.
1376
1377         * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
1378         and wrap-width when they are set.
1379
1380 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1381
1382         * gtk/gtkmodules.c (load_module): Don't reverse the order
1383         of modules when putting them in gtk_modules.  (#162676, Dennis
1384         Cranston, patch by Remus Draica)
1385
1386         * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash 
1387         if the tree is empty.  (#164669, Priit Laes)
1388
1389 Wed Jan 19 18:57:02 2005  Manish Singh  <yosh@gimp.org>
1390
1391         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
1392         GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
1393         function a bit too.
1394
1395 Wed Jan 19 17:17:31 2005  Manish Singh  <yosh@gimp.org>
1396
1397         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
1398         strict aliasing warning in _NET_VIRTUAL_ROOTS code.
1399
1400 2005-01-19  Tor Lillqvist  <tml@novell.com>
1401
1402         * gdk/win32/gdkkeys-win32.c (update_keymap,
1403         gdk_keymap_translate_keyboard_state): Handle keyboards with
1404         ShiftLock (and not CapsLock) correctly. (#161814)
1405
1406 2005-01-19  Matthias Clasen  <mclasen@redhat.com>
1407
1408         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
1409         In save mode, don't return paths containing nonexisting 
1410         directories.  (#162443, Jean Marie Favreau)
1411
1412         * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit 
1413         macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
1414
1415         * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
1416         atom.
1417
1418         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): 
1419         Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
1420         
1421         * gdk/gdk.symbols: 
1422         * gdk/x11/gdkx.h: 
1423         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): 
1424         Add a function to obtain the last user interaction 
1425         time.  (#163119, Elijah Newren)
1426
1427 Tue Jan 18 13:56:09 2005  Manish Singh  <yosh@gimp.org>
1428
1429         * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
1430         PENDING_OP_NONE.
1431
1432 Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org>
1433
1434         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
1435         disambiguate nested if/else.
1436
1437 2005-01-18  Federico Mena Quintero  <federico@ximian.com>
1438
1439         Merged from gtk-2-6:
1440
1441         * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
1442         operation to select the first file if we are in SAVE or
1443         CREATE_FOLDER modes.  Executing that operation would overwrite the
1444         contents of the save-name entry.
1445
1446 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
1447
1448         * gdk/gdkdisplay.h: 
1449         * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): 
1450         * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
1451         pointer warping to GDK.  (#160437)
1452
1453         * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
1454
1455 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
1456
1457         * gtk/gtkstyle.c (gtk_default_draw_check) 
1458         (gtk_default_draw_option, gtk_default_draw_handle): Add some
1459         more NULL checks, patch by Michael Natterer.
1460
1461 Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>
1462
1463         * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
1464         and NULL widget.
1465
1466         * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
1467         NULL widget.  (#164477, Michael Natterer)
1468
1469 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
1470
1471         Avoid X errors when running against servers which
1472         implement XRender < 0.4.  (#164427, Albert Chin)
1473         
1474         * gdk/x11/gdkprivate-x11.h:
1475         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
1476         New function to check for trapezoid support in XRender.
1477         (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): 
1478         Use it here.
1479         
1480         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a 
1481         separate have_render_with_trapezoids field.
1482
1483         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
1484
1485 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
1486
1487         * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
1488
1489 Mon Jan 17 16:44:36 2005  Jonathan Blandford  <jrb@redhat.com>
1490
1491         * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
1492         dist.
1493
1494 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
1495
1496         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
1497         and restore the selected row in the bookmark list and the
1498         save folder combo.  (#164290)
1499
1500 2005-01-16  Matthias Clasen  <mclasen@redhat.com>
1501
1502         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
1503         Fix argument order in docs.  
1504
1505 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
1506
1507         * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): 
1508         * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL 
1509         if the keymap is neutral.  (#164125, Phil Blundell)
1510
1511 2005-01-14  Matthias Clasen  <mclasen@redhat.com>
1512
1513         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
1514         reset the property to its default value -1. 
1515         (gtk_tree_view_get_search_column): Return the default value in
1516         the g_return_val_if_fail() check.  (#163864, Richard Hult)
1517
1518         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): 
1519         Add a translator hint.  (#163889)
1520
1521         * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
1522         is an enum value, not a define. Pointed out by Tommi Komulainen.
1523         * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
1524
1525 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
1526
1527         * configure.in: Check for nl_langinfo()
1528         * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
1529         available to determine first day of week   (#163842, Vincent Untz)
1530
1531         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about 
1532         the lifecycle of widgets.  (#159503, Christian Persch)
1533
1534         * demos/gtk-demo/main.c (create_text): Use monospace for the 
1535         source code view.  (#163526, Theerud Lawtrakul)
1536
1537         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
1538         for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
1539         Müller)
1540         
1541         * configure.in: Add an OS_LINUX conditional.
1542
1543         * gdk/Makefile.am (TESTS):
1544         * gdk-pixbuf/Makefile.am (TESTS):
1545         * gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
1546         Roger Leigh)
1547
1548 2005-01-13  Matthias Clasen <mclasen@redhat.com>
1549
1550         * gtk/gtktreeview.c: (gtk_tree_view_class_init),
1551         (gtk_tree_view_set_headers_clickable): Make the headers-visible
1552         property readwrite instead of just writable, and remove the
1553         g_return_if_fail check that there is a model when setting this
1554         property. Also improve the blurb.  (#163851, Richard Hult)
1555
1556 2005-01-12  Owen Taylor <otaylor@redhat.com>
1557
1558         * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
1559         initialization of gdktarget, that was causing it to be
1560         evaluated before host was set. Simplify --with-gdktarget help
1561         message.
1562
1563         * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
1564         which doesn't work with slightly older versions of GNU grep 
1565         in install-libtool-import-lib rule.
1566         
1567 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
1568
1569         Fix for #162790, by Iwan Wong:
1570         
1571         * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
1572         correctly. Simplify the interface to render_line_horizontal() and
1573         render_line_vertical(). Need to draw lines "manually" also on
1574         NT-based Windowses if we have a dash offset or are drawing
1575         double-dashed lines.
1576
1577         * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
1578         double-dash flag, and a brush for the background colour (used by
1579         the odd dashes in the double-dash line style) in the GdkGCWin32
1580         struct.
1581
1582         * gdk/win32/gdkgc-win32.c: Set up above new fields.
1583
1584 2005-01-10  Federico Mena Quintero  <federico@ximian.com>
1585
1586         Fix #162617.
1587
1588         * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
1589         GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
1590         (gtk_file_system_unix_get_folder): Make error reporting more
1591         accurate.  Don't bail out if we can't read the directory.
1592         (fill_in_stats): Don't return an error; just assume we don't have
1593         stat info for this folder's files.
1594         (fill_in_names): Don't create the hash table for the names if we
1595         can't open the directory.
1596         (gtk_file_folder_unix_list_children): Don't emit the
1597         "finished-loading" signal --- we don't do asynchronous loads, so
1598         we are always finished loading.
1599         (gtk_file_folder_unix_get_info): Use helper functions; handle the
1600         case where we can't stat '/'.
1601         (get_icon_type_from_path): Don't call fill_in_stats() here; only
1602         use the info we have.
1603         (fill_in_mime_type): Don't return an error.  Don't do anything if
1604         we don't have the stat info.
1605
1606 2005-01-10  Owen Taylor  <otaylor@redhat.com>
1607
1608         * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
1609         to EXTRA_DIST.
1610
1611 2005-01-10  Matthias Clasen  <mclasen@redhat.com>
1612
1613         * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
1614         signals.  (#163319, Murray Cumming)
1615
1616 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
1617
1618         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
1619         cursor also when changing the cursor of a window that is the first
1620         ancestor of the window containing the pointer that has a cursor
1621         defined. (#163035, Ivan Wong)
1622
1623 2005-01-09  Anders Carlsson <andersca@gnome.org>
1624
1625         * gtk/gtkcellrenderertext.c: (get_size):
1626         * gtk/gtklabel.c: (gtk_label_size_request):
1627         * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
1628         Don't pass NULL to pango_context_get_metrics. Use 
1629         pango_context_get_language instead, which is way faster.
1630         
1631 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
1632
1633         * configure.in: Bump version
1634
1635         * === Released 2.6.1 ===
1636         
1637         * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
1638
1639 2005-01-07  Tor Lillqvist  <tml@iki.fi>
1640
1641         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
1642         Fix braino. (#163232, Arnaud Charlet)
1643
1644 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
1645
1646         * gtk/gtkiconview.c: Make markup_column work, and fix some
1647         layout issues when either icon or text is missing.  (#163065)
1648
1649 2005-01-06  Federico Mena Quintero  <federico@ximian.com>
1650
1651         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
1652         "Open _Location" item.  Fixes #148839.
1653
1654 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
1655
1656         * README.in: Fix a typo.  (#163128, kentaro fukuchi)
1657
1658 2005-01-06  James M. Cape  <jcape@ignore-your.tv>
1659
1660         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
1661         (gtk_file_chooser_button_new_with_backend): Use default title if
1662         NULL is passed.
1663
1664         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
1665         match API.
1666
1667 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
1668
1669         Fix #161409:
1670
1671         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
1672         a pending operation to select the first row.
1673
1674 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
1675
1676         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
1677         button_data_free() explicitly; the button is weak-reffed and the
1678         callback will free the button data.  Fixes #163010.
1679         (_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
1680         failure case, call gtk_widget_destroy() on it.
1681
1682         * gtk/gtkfilechooserdefault.c (check_is_folder): Use
1683         gtk_file_system_get_folder() again (see the ChangeLog entry from
1684         2004-08-25).  We can't first get the parent folder and then
1685         request the info for the path in question, as the parent folder
1686         may not be readable.  See bug #162617.
1687         (gtk_file_chooser_default_set_current_folder): Assert that the
1688         passed-in path is not null.
1689         (shortcuts_find_current_folder): Likewise.
1690         (shortcuts_add_current_folder): Likewise.
1691         (set_list_model): Likewise.
1692         (gtk_file_chooser_default_map): Only reload the current folder if
1693         it exists.
1694         (bookmarks_check_add_sensitivity): Check for the current folder
1695         being NULL.
1696         (browse_files_select_first_row): Don't set the cursor if there is
1697         no model loaded.
1698
1699 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
1700
1701         * gtk/gtkfilechooserdefault.c: Don't construct errors from 
1702         the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
1703         (get_file_info, check_is_folder): Translate errors from
1704         the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
1705         of the fix for #162911, noticed by Murray Cumming.
1706
1707 Wed Jan  5 11:42:49 2005  Søren Sandmann  <sandmann@redhat.com>
1708
1709         * gtk/gtkviewport.c (gtk_viewport_realize):
1710         * gtk/gtktextview.c ((text_window_realize): Set the background of
1711         the windows to None instead of adding EXPOSURE_MASK, as suggested
1712         by Owen in #162112.
1713
1714         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update 
1715         the user time when receiving a WM_DELETE message.  (#162980, 
1716         Elijah Newren)
1717         
1718 Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>
1719
1720         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
1721         only reorder on button 1, part of #141937
1722
1723 Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
1724
1725         Bug 162112.
1726         
1727         * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
1728         to win->window's event_mask
1729
1730         * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
1731         to viewport->view_window.
1732
1733 2005-01-04  Matthias Clasen  <mclasen@redhat.com>
1734
1735         * demos/testpixbuf.c (main): Remove the size_prepared callback,
1736         to test incremental display.
1737         (new_testrgb_window): Return the drawing area, not the window,
1738         since we want to queue draws on the drawing area.
1739
1740 2005-01-03  Matthias Clasen  <mclasen@redhat.com>
1741
1742         * examples/*: Re-extract.
1743
1744         * docs/tutorial/gtk-tut.sgml: Small corrections.
1745         
1746         * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
1747         section.  (#161414, Robert Ancell)
1748
1749         * docs/tutorial/gtk-tut.sgml: Make it build.
1750
1751         * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
1752         regarding modality.  (#112903, Dave Bordoley)
1753
1754         * gtk/gtkfixed.c (gtk_fixed_set_has_window): 
1755         Add a little motivation.  (#145556, Tommi Komulainen)
1756
1757         * docs/tutorial/gtk-tut.sgml: Clarify section on 
1758         g_signal_connect_swapped.   (#120543, David Bourguignon)
1759
1760         Make gtk_icon_theme_load_icon() work independent of
1761         icon factory initialization.  (#162791, Tristan Van Berkom)
1762         
1763         * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
1764         _gtk_icon_factory_ensure_default_icons, and make it non-static.
1765
1766         * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
1767
1768 2005-01-02  Matthias Clasen  <mclasen@redhat.com>
1769
1770         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): 
1771         Don't add a shortcut here.  (#162752, Tor Lillqvist)
1772
1773 2005-01-02  Tor Lillqvist  <tml@iki.fi>
1774
1775         * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
1776         CoTaskMemFree in get_special_folder() below.
1777
1778         * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
1779         Win32 using _gtk_file_system_win32_path_compare().
1780
1781         * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
1782
1783         * gtk/gtkfilechooserbutton.c (model_add_special)
1784         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
1785         _gtk_file_system_win32_get_desktop() to get correct Desktop folder
1786         on Win32. (#144003)
1787
1788         * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
1789         consider all drives "mounted", including floppies. Trying to
1790         inspect the contents of a nonexistent floppy will cause errors
1791         later that are handled normally, no need to avoid them
1792         completely. Keep the drive type in the GtkFileSystemVolume.
1793         Support UNC paths. (#161797, #137874) Fix error message
1794         capitalizations as in gtkfilesystemunix.c.
1795
1796         (gtk_file_system_win32_init): Start one timeout per
1797         GtkFileSystemWin32.
1798
1799         (gtk_file_system_win32_finalize): Remove the timeout.
1800
1801         (get_special_folder): Copied from GLib.
1802
1803         (_gtk_file_system_win32_get_desktop): New function, uses
1804         get_special_folder().
1805
1806         (gtk_file_system_win32_list_volumes): Don't start a timeout at
1807         each call to this function. Don't assume A: and B: are floppies.
1808
1809         (gtk_file_system_win32_get_volume_for_path): Don't assume all
1810         volumes are drive roots, i.e. support share roots of UNC paths
1811         (\\server\share).
1812
1813         (gtk_file_system_win32_get_folder): Don't assume errno is set
1814         after g_file_test() returns FALSE. It isn't on Win32 (and even on
1815         Unix I don't think one should assume anything about errno after
1816         g_file_test()).
1817
1818         (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
1819
1820         (gtk_file_system_win32_volume_get_display_name): Don't call
1821         GetVolumeInformation() on drives A: or B: if they are removable,
1822         as they might then be floppies, causing an unnecessary
1823         delay. (#157820)
1824
1825         (gtk_file_system_win32_volume_render_icon): Use network icon for
1826         unrecognized drive types.
1827
1828         (canonicalize_filename, gtk_file_system_win32_parse): Don't get
1829         confused by UNC paths.
1830
1831         (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
1832         for case-insensitive UTF-8 path comparison.
1833
1834         (extract_icon): Use SHGetFileInfo() which is faster than
1835         ExtractAssociatedIcon(). Icon extraction is still slow, though,
1836         needs work.
1837
1838         (win32_pseudo_mime_lookup): Don't use the same icon for all
1839         shortcuts or executables. Cache only other file type icons.
1840
1841         (gtk_file_system_win32_render_icon): Use network stock icon for
1842         remote drives and UNC server share roots. Compare home directory
1843         case-insensitively. Do lookup icons also for executable files,
1844         after all, it's these files that can have individual icons in the
1845         first place. Yes, it can be slow. Needs work.
1846
1847         (filename_is_drive_root): Require also the slash after the colon.
1848
1849         (filename_is_server_share): New function.
1850
1851         (_gtk_file_system_win32_path_compare): New function, does
1852         case-folded UTF-8 comparison.
1853
1854         * gtk/gtkfilesystemwin32.h: Declare
1855         _gtk_file_system_win32_path_compare().
1856
1857 2005-01-01  Matthias Clasen  <mclasen@redhat.com>
1858
1859         * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
1860         custom image by passing NULL.
1861         (gtk_button_init): Initialize image_is_stock to TRUE, fixing
1862         a problem with changing stock labels.  (#162273, Marcin 
1863         Krzyzanowski)
1864
1865 2005-01-01  Tor Lillqvist  <tml@iki.fi>
1866
1867         * gtk/gtkmodules.c (get_module_path)
1868         * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
1869         gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
1870         g_getenv() now returning UTF-8 on Win32, no need to call
1871         g_locale_to_utf8().
1872
1873 2004-12-31  Matthias Clasen  <mclasen@redhat.com>
1874
1875         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) 
1876         (_gtk_key_hash_lookup): Don't sort a list of values as if
1877         it was a list of entries. This fixes crashes during mnemonic
1878         activation in the presence of multiple keymaps. (#162488, 
1879         Christian Persch)
1880
1881 2004-12-30  Matthias Clasen  <mclasen@redhat.com>
1882
1883         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
1884         state propagation when making an insensitive combo box sensitive
1885         again.  (#162524, Carlos Garnacho Parro)
1886
1887         * gtk/gtkfilechooserdefault.c: Use secondary text for error 
1888         dialogs.
1889
1890         * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
1891         (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
1892         for error messages. Also mark some error messages for translation,
1893         fix capitalization of error messages.
1894
1895         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): 
1896         Use g_value_get_boolean() for ellipsize_set.  (#162447, 
1897         Brian Tarricone)
1898
1899 2004-12-30  Tor Lillqvist  <tml@iki.fi>
1900
1901         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
1902         only on Unix.
1903
1904 2004-12-28  Matthias Clasen  <mclasen@redhat.com>
1905
1906         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
1907         submenu direction from the parent menu.
1908
1909         * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): 
1910         Return a boolean indicating whether an item in the submenu
1911         was selected.
1912         (gtk_real_menu_shell_move_current): When going in child 
1913         direction, don't get stuck at completely insensitive 
1914         submenus.  (#162055, Billy Biggs)       
1915
1916 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
1917
1918         Make the clipboard image API more robust (#162357, 
1919         Torsten Schoenfeld):
1920         
1921         * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
1922         ref the pixbuf if it is NULL.
1923
1924         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): 
1925         NULL-terminate the varargs in the call to 
1926         gdk_pixbuf_save_to_buffer(). 
1927         (gtk_selection_data_get_pixbuf): Only use a pixbuf loader 
1928         if there is data to load.
1929
1930 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
1931
1932         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
1933         Set x_root and y_root in button and motion events from 
1934         extended input devices.  (#148715, Robert Ögren)
1935
1936         * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a 
1937         typo.  (#162339, Alessio Dessi)
1938
1939         * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
1940         properties as new since 2.4.  (#156101, Billy Biggs)
1941
1942         * configure.in: Add a warning about the linux-fb 
1943         target.  (#155488, Zeeshan Ali)
1944
1945         * gtk/gtkmain.c (gtk_init_with_args): Typo fix.  (#162278,
1946         Torsten Schoenfeld)
1947
1948 2004-12-26  Matthias Clasen  <mclasen@redhat.com>
1949
1950         * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): 
1951         Typo fix.  (#162219, Masao Mutoh)
1952         (gtk_file_chooser_set_preview_widget_active): 
1953         Another typo.  (#162218, Masao Mutoh)
1954
1955 2004-12-23  Matthias Clasen  <mclasen@redhat.com>
1956
1957         * gtk/gtkliststore.c (gtk_list_store_iter_children): 
1958         Return TRUE if there are children.  (#162134, Iñigo Serna,
1959         patch by John Finlay)
1960
1961         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
1962         Transfer state from the button to the cell view to get
1963         prelighting right.  (#156327, Ricardo Veguilla)
1964
1965 Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
1966
1967         * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
1968         timeout. Written by Christian Persch.
1969
1970 Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
1971
1972         Bug #161561
1973         
1974         * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
1975         background for windows that get expose events. 
1976
1977         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
1978         hack to repaint !expose windows.
1979
1980 Wed Dec 22 11:35:41 2004  Søren Sandmann  <sandmann@redhat.com>
1981
1982         Bug #147497, make menu items activate immediately when you release
1983         the button.
1984         
1985         * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
1986         items activate immediately.
1987
1988         * gtk/gtkmenu.c (definitely_within_item): New function
1989         * gtk/gtkmenu.c (check_threshold): New function
1990
1991 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
1992
1993         * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
1994         null the mnemonic_menu when unsetting a mnemonic, reported
1995         by Owen Taylor.
1996
1997 2004-12-21  Matthias Clasen  <mclasen@redhat.com>
1998
1999         * gtk/gtkliststore.c (generate_order): Generate the order the
2000         way it is supposed to be, order[new_pos] == old_pos.
2001         (gtk_list_store_reorder): Invert the order before using it.
2002
2003 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
2004
2005         Fix sorting of list stores.  (#161886, Marcin Krzyzanowski)
2006
2007         * gtk/gtkliststore.c (generate_order): Generate the order the
2008         way it is supposed to be, order[new_pos] == old_pos.
2009         (gtk_list_store_reorder): Invert the order before using it.
2010
2011         * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
2012         list store fix.
2013
2014 Wed Dec 22 01:24:01 2004  Jonathan Blandford  <jrb@redhat.com>
2015
2016         * gtk/queryimmodules.c (main): print out the version and binary
2017         name in the header comment.  Problem reported by Seth Nickell.
2018
2019 2004-12-20  Matthias Clasen  <mclasen@redhat.com>
2020
2021         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
2022         root path to gtk_tree_model_rows_reordered().  (#161720,
2023         Marcin Krzyzanowski)
2024
2025         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't 
2026         translate NULL messages.  (#161789, Morten Welinder)
2027
2028         * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
2029         the secondary label on show_all().  (#161707, Christian Persch)
2030
2031 2004-12-19  Tor Lillqvist  <tml@iki.fi>
2032
2033         * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
2034         Use wide character API when available. Use UTF-8 for filenames.
2035
2036         * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
2037         the string's trailing zero byte in the property's length, just for
2038         safety.
2039
2040 2004-12-18  Matthias Clasen  <mclasen@redhat.com>
2041
2042         * gtk/gtkfilechooserentry.c (check_completion_callback) 
2043         (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
2044
2045         * gtk/gtkfilechooserdefault.c (edited_idle_cb) 
2046         (shortcuts_drag_outside_idle_cb): Add missing 
2047         GDK_THREADS_ENTER/LEAVE.  (#161604)
2048         
2049         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): 
2050         (list_select_func): Don't call gtk_file_info_get_is_folder()
2051         on NULL. 
2052
2053         * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): 
2054         (gtk_about_dialog_init): Add missing initializations.  (#161646,
2055         Torsten Schoenfeld)
2056