]> Pileus Git - ~andy/gtk/blob - ChangeLog
use g_slice_dup().
[~andy/gtk] / ChangeLog
1 2007-06-19  Sven Neumann  <sven@gimp.org>
2
3         * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
4
5 2007-06-19  Sven Neumann  <sven@gimp.org>
6
7         * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
8         Keep the tooltips in a hash table instead of a linked list.
9         Improves performance when using large amounts of tooltips (#447214).
10
11         * README.in: document the GtkTooltips changes.
12
13 2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
14
15         * gtk/*: Rename buildable methods to not clash with widget 
16         methods. (#448928, Torsten Schoenfeld)
17
18 2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
19
20         * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
21         the timed poll of the storage file, since we are using multiple
22         seconds intervals and we don't actually care about millisecond
23         precision.
24
25         (threads_dispatch), (threads_free), (gtk_recent_manager_init),
26         (gtk_recent_manager_set_filename): Roll our own version of
27         gdk_threads_add_timeout() using g_timeout_add_seconds_full()
28         while holding the GDK main lock.
29
30         * configure.in: Bump up the required GLib version, in order
31         to use g_timeout_add_seconds_full().
32
33 2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
34
35         * gtk/gtkrecentmanager.c: Use a static variable to hold the
36         singleton and remove the code that binds a recent manager to
37         a GdkScreen.
38
39         (gtk_recent_manager_set_screen): Make it a NOOP.
40         (gtk_recent_manager_get_for_screen): Proxy for
41         gtk_recent_manager_get_default().
42
43         * gtk/gtk.symbols:
44         * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
45         and gtk_recent_manager_get_for_screen().
46
47         * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
48         singleton (if any) when reaching main loop depth of 0.
49
50         * gtk/gtkrecentchooserdefault.c:
51         (gtk_recent_chooser_default_dispose): Disconnect the changed
52         signal only if we have a manager and we are connected to it.
53
54         (set_recent_manager): Ditto.
55
56         * README.in: Document the deprecations.
57
58 2007-06-18  Matthias Clasen <mclasen@redhat.com>
59
60         * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
61         of the adjustment.  (#448544, Carlos Garnacho)
62
63 2007-06-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>
64
65         reviewed by: Matthias Clasen
66
67         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
68         invalidate notifiers. (#448484)
69
70 2007-06-17  Matthias Clasen <mclasen@redhat.com>
71
72         * README.in: Updates
73
74         * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
75         It was already documented as such.  (#412357, Vincent Geddes)
76
77 2007-06-17  Matthias Clasen <mclasen@redhat.com>
78
79         * gtk/gtkcontainer.c: Fix a doc typo.
80
81 2007-06-17  Richard Hult  <richard@imendio.com>
82
83         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
84         Mac OS menu shortcut events to the right menu.
85
86 2007-06-17  Richard Hult  <richard@imendio.com>
87
88         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
89         (synthesize_crossing_events_for_ns_event)
90         (find_window_for_ns_event): More refactoring of the event
91         handling: Extract synthesizing of crossing events from
92         find_window_for_ns_event so that it doesn't have any side effects,
93         and call the new function from gdk_event_translate instead.
94
95 2007-06-16  Richard Hult  <richard@imendio.com>
96
97         * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
98         (gdk_event_translate): Remove pointless logging for unhandled events.
99         Activate the application on non-left clicks, since that is only done
100         for left clicks and we depend on it to get events routed properly for
101         context menus and other popup windows.
102
103 2006-09-22  Dennis Cranston  <dennis_cranston@yahoo.com>
104
105         * gtk/gtkfilechooserbutton.c: (change_icon_theme),
106         (model_add_bookmarks), (model_update_current_folder):
107         * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
108         (shortcuts_insert_path):  Use the remote folder icon when
109         appropriate.
110
111         Follow up to #354887
112
113 2007-06-17  Christian Persch  <chpe@gnome.org>
114
115         * gtk/Makefile.am: Pass the print settings to the preview programme.
116         Bug #403717, patch by Carlos Garcia Campos.
117
118 2007-06-17  Xan Lopez  <xan@gnome.org>
119
120         * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
121         GdkWindow. Patch by Tilman Sauerbeck from #63820.
122
123 2007-06-17  Daniel Elstner  <danielk@openismus.com>
124         
125         * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
126         Change input method behavior to act on key presses instead of
127         key releases, matching normal text input behavior.  This change
128         alleviates the need to take special action for control keys not
129         handled by the input module itself.
130
131 2007-06-17  Behdad Esfahbod  <behdad@gnome.org>
132
133         * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
134         Sebastien Bacher, Alex "weej" Jones)
135
136 2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>
137
138         * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
139         problems with block cursor (#448321).
140
141 2007-06-16  Richard Hult  <richard@imendio.com>
142
143         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
144         events and break any grabs while the window is being dragged.
145
146 2007-06-16  Richard Hult  <richard@imendio.com>
147
148         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
149         Defer setting the parent until the window is shown, otherwise it
150         gets unconditionally shown here.
151
152 2007-06-16  Johan Dahlin  <jdahlin@async.com.br>
153
154         * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
155         (#448299, Jan Arne Petersen)
156
157 2007-06-16  Richard Hult  <richard@imendio.com>
158
159         * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
160         Move the checks for no window or a non-GDK window from here...
161         (gdk_event_translate): ...to here. Reorder the code so that we
162         detect the cases where we need to break grabs before bailing
163         out.
164
165 2007-06-16  Richard Hult  <richard@imendio.com>
166
167         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) 
168         (break_all_grabs): Break out into a separate function.
169
170 2007-06-16  Richard Hult  <richard@imendio.com>
171
172         * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
173         to detect if the window is currently being moved with the mouse.
174
175 2007-06-16  Richard Hult  <richard@imendio.com>
176
177         * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
178         Don't set parent/child relationship for tooltip windows since that
179         moves the parent window to the front, due to the tooltip having a
180         high window level.
181
182 2007-06-16  Christian Persch  <chpe@gnome.org>
183
184         * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
185         (gtk_builder_get_type_from_name):
186         * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
187         name. Bug #448193.
188
189 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
190         
191         * configure.in: Bump version
192
193         * === Released 2.11.3 ===
194
195 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
196
197         * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
198
199 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
200
201         * gtk/gtkbuildable.c:
202         * gtk/gtkbuilder.c: Documentation fixes
203
204         * gtk/gtktreeview.c: Fix up cross-references in docs.
205         
206         * gtk/Makefile.am: Don't install gtkbuilderprivate.h
207
208         * gtk/gtk.h: Include gtkbuilder.h
209
210         * NEWS: Updates
211
212 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
213
214         * gtk/gtkbuilder.c (gtk_builder_add_from_file): 
215         (gtk_builder_value_from_string_type): 
216         Use gsize instead of unsigned and gulong instead of long,
217         fixes complation on OSX, fixes #447987
218
219 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
220         
221         * gtk/gtkmenushell.[ch]: add move_selected signal to allow 
222         overriding the default internal behaviour.  (#446833, Ryan Lortie)
223
224 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
225
226         * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
227
228 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
229
230         * gtk/gtkwidget.c: Improving handling of tooltip-text property.
231         * tests/testtooltips.c: Also check result of tooltip getters.
232
233 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
234
235         * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
236         gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
237         convenience property "GtkWidget:tooltip-text" taking care of escaping
238         it for unwanted markup entities. Add functions to set tooltip text:
239         gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
240         gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
241
242         * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
243         to set the tooltip text without using markup.
244
245         Patches from Emmanuele Bassi (#447643).
246
247 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
248
249         reviewed by: Matthias Clasen
250
251         * demos/gtk-demo/Makefile.am:
252         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
253         (do_builder):
254         * demos/gtk-demo/demo.ui:
255         * docs/reference/gtk/gtk-docs.sgml:
256         * docs/reference/gtk/gtk-sections.txt:
257         * docs/reference/gtk/gtk.types:
258         * docs/reference/gtk/tmpl/gtkbuildable.sgml:
259         * docs/reference/gtk/tmpl/gtkbuilder.sgml:
260         * gtk/Makefile.am:
261         * gtk/gtk.h:
262         * gtk/gtk.symbols:
263         * gtk/gtkaction.c: (gtk_action_buildable_init),
264         (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
265         * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
266         (gtk_action_group_buildable_init),
267         (gtk_action_group_buildable_add),
268         (gtk_action_group_buildable_set_name),
269         (gtk_action_group_buildable_get_name):
270         * gtk/gtkbuildable.c: (gtk_buildable_get_type),
271         (gtk_buildable_set_name), (gtk_buildable_get_name),
272         (gtk_buildable_add), (gtk_buildable_set_property),
273         (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
274         (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
275         (gtk_buildable_custom_finished),
276         (gtk_buildable_get_internal_child):
277         * gtk/gtkbuildable.h:
278         * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
279         (gtk_builder_finalize), (gtk_builder_set_property),
280         (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
281         (gtk_builder_real_get_type_from_name),
282         (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
283         (_gtk_builder_construct), (_gtk_builder_add),
284         (apply_delayed_properties), (_gtk_builder_finish),
285         (gtk_builder_new), (gtk_builder_add_from_file),
286         (gtk_builder_add_from_string), (gtk_builder_get_object),
287         (object_add_to_list), (gtk_builder_get_objects),
288         (gtk_builder_set_translation_domain),
289         (gtk_builder_get_translation_domain),
290         (gtk_builder_connect_signals_default),
291         (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
292         (gtk_builder_value_from_string),
293         (gtk_builder_value_from_string_type),
294         (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
295         (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
296         * gtk/gtkbuilder.h:
297         * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
298         (error_missing_attribute), (error_invalid_attribute),
299         (error_invalid_tag), (builder_construct), (parse_object),
300         (free_object_info), (_get_type_by_symbol), (parse_child),
301         (free_child_info), (parse_property), (free_property_info),
302         (parse_signal), (_free_signal_info), (parse_interface),
303         (create_subparser), (free_subparser), (subparser_start),
304         (subparser_end), (parse_custom), (start_element), (end_element),
305         (text), (_gtk_builder_parser_parse_buffer):
306         * gtk/gtkbuilderprivate.h:
307         * gtk/gtkcelllayout.c: (attributes_start_element),
308         (attributes_text_element),
309         (_gtk_cell_layout_buildable_custom_tag_start),
310         (_gtk_cell_layout_buildable_custom_tag_end),
311         (_gtk_cell_layout_buildable_add):
312         * gtk/gtkcelllayout.h:
313         * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
314         (gtk_cell_view_buildable_custom_tag_start),
315         (gtk_cell_view_buildable_custom_tag_end):
316         * gtk/gtkcolorseldialog.c:
317         (gtk_color_selection_dialog_buildable_interface_init),
318         (gtk_color_selection_dialog_buildable_get_internal_child):
319         * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
320         (gtk_combo_box_buildable_custom_tag_start),
321         (gtk_combo_box_buildable_custom_tag_end):
322         * gtk/gtkcomboboxentry.c:
323         (gtk_combo_box_entry_buildable_interface_init),
324         (gtk_combo_box_entry_buildable_get_internal_child):
325         * gtk/gtkcontainer.c: (gtk_container_get_type),
326         (gtk_container_buildable_init), (gtk_container_buildable_add),
327         (gtk_container_buildable_set_child_property),
328         (attributes_start_element), (attributes_text_element),
329         (gtk_container_buildable_custom_tag_start),
330         (gtk_container_buildable_custom_tag_end):
331         * gtk/gtkdebug.h:
332         * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
333         (gtk_dialog_buildable_get_internal_child),
334         (attributes_start_element), (attributes_text_element),
335         (gtk_dialog_buildable_custom_tag_start),
336         (gtk_dialog_buildable_custom_finished):
337         * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
338         * gtk/gtkexpander.c: (gtk_expander_buildable_add),
339         (gtk_expander_buildable_init):
340         * gtk/gtkfontsel.c:
341         (gtk_font_selection_dialog_buildable_interface_init),
342         (gtk_font_selection_dialog_buildable_get_internal_child):
343         * gtk/gtkframe.c: (gtk_frame_buildable_init),
344         (gtk_frame_buildable_add):
345         * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
346         (gtk_icon_view_buildable_custom_tag_start),
347         (gtk_icon_view_buildable_custom_tag_end):
348         * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
349         (list_store_start_element), (list_store_end_element),
350         (list_store_text), (gtk_list_store_buildable_custom_tag_start),
351         (gtk_list_store_buildable_custom_tag_end):
352         * gtk/gtkmain.c:
353         * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
354         (gtk_notebook_buildable_add):
355         * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
356         (size_group_start_element),
357         (gtk_size_group_buildable_custom_tag_start),
358         (gtk_size_group_buildable_custom_finished):
359         * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
360         (tree_model_start_element),
361         (gtk_tree_store_buildable_custom_tag_start),
362         (gtk_tree_store_buildable_custom_finished):
363         * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
364         (gtk_tree_view_buildable_add):
365         * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
366         * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
367         (gtk_ui_manager_buildable_add),
368         (gtk_ui_manager_buildable_construct_child),
369         (gtk_ui_manager_buildable_custom_tag_start),
370         (gtk_ui_manager_buildable_custom_tag_end):
371         * gtk/gtkwidget.c: (gtk_widget_get_type),
372         (gtk_widget_buildable_interface_init),
373         (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
374         (gtk_widget_buildable_set_property),
375         (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
376         (gtk_widget_buildable_custom_tag_start),
377         (gtk_widget_buildable_custom_finshed):
378         * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
379         (gtk_window_buildable_set_property),
380         (gtk_window_buildable_parser_finished):
381         * tests/Makefile.am:
382         * tests/buildertest.c: (builder_new_from_string), (test_parser),
383         (signal_normal), (signal_after), (signal_object),
384         (signal_object_after), (signal_first), (signal_second),
385         (signal_extra), (signal_extra2), (test_connect_signals),
386         (test_uimanager_simple), (test_domain), (test_translation),
387         (test_sizegroup), (test_list_store), (test_tree_store),
388         (test_types), (test_spin_button), (test_notebook),
389         (test_construct_only_property), (test_children),
390         (test_child_properties), (test_treeview_column), (test_icon_view),
391         (test_combo_box), (test_combo_box_entry), (test_cell_view),
392         (test_dialog), (test_accelerators), (test_widget), (main):
393
394         Add GtkBuilder, fixes #172535
395         
396 2007-06-15  Hans Breuer <hans@breuer.org>
397
398         * gtk/makefile.msc.in tests/makefile.msc : updated
399         * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
400         to match the WNDCLASSEXW. 
401         True dynamic linking of SetLayeredWindowAttributes
402         * tests/testprint.c tests/testnouiprint.c : use G_PI
403
404 2007-06-14  Johan Dahlin  <jdahlin@async.com.br>
405
406         * gtk/gtk.symbols: Add missing symbol 
407         gtk_text_layout_set_overwrite_mode
408
409 2007-06-14  Behdad Esfahbod  <behdad@gnome.org>
410
411         * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
412         warning. (#447586, Kazuki IWAMOTO)
413
414 2007-06-14  Tor Lillqvist  <tml@novell.com>
415
416         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
417         g_win32_get_windows_version() instead of _winver so that this
418         compiles on Cygwin, too. Not that I know if it makes sense to
419         build GTK+ with the Win32 backend for Cygwin, but some people want
420         to.
421
422 2007-06-13  Matthias Clasen  <mclasen@redhat.com>
423
424         * NEWS: Updates
425
426         * NEWS, README.in: Move the combobox note to the README,
427         where it seems more appropriate.
428
429 2007-06-13  Matthias Clasen  <mclasen@redhat.com>
430
431         * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
432         (#447396, Masatake YAMATO)
433
434 2007-06-14  Carlos Garnacho  <carlos@imendio.com>
435
436         * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
437         the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
438         * NEWS: add a note about repercussions of this change to RC files.
439
440 2007-06-13  Behdad Esfahbod  <behdad@gnome.org>
441
442         * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
443         get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
444
445 2007-06-13  Michael Natterer  <mitch@imendio.com>
446
447         * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
448         gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
449         gtk_menu_item_remove_submenu() because we have a properly working
450         setter now (bug #447065).
451
452         * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
453
454         * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
455         gtk_menu_item_remove_submenu().
456
457 2007-06-13  Cody Russell  <bratsche@gnome.org>
458
459         * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
460         (#435840, Xan Lopez)
461
462 2007-06-13  Kristian Rietveld  <kris@imendio.com>
463
464         * gtk/gtk.symbols
465         * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
466         gtk_file_system_create to make it public and bring trunk back
467         in sync with gtk-2-10.
468
469         * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
470
471 2007-06-13  Michael Natterer  <mitch@imendio.com>
472
473         * gtk/gtklabel.c (gtk_label_set_label): added calls to
474         g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
475         return the old text when called from a "notify::label" callback.
476
477 2007-06-13  Kristian Rietveld  <kris@imendio.com>
478
479         Audit of GtkTreeView coordinate system usage. (#142494).
480
481         * gtk/gtktreeview.[ch]: general documentation updates,
482         (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
483         update coordinate translations,
484         (gtk_tree_view_tree_to_widget_coords),
485         (gtk_tree_view_widget_to_tree_coords): Deprecated,
486         (gtk_tree_view_convert_.*_coords): 6 new functions for doing
487         transformations between coordinate systems.
488
489         * gtk/gtk.symbols: updated.
490
491         * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
492         with new gtk_tree_view_convert_widget_to_bin_window_coords().
493
494         * docs/reference/gtk/Makefile.am
495         * docs/reference/gtk/images/tree-view-coordinates.png: add new image.
496
497         * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
498         different coordinate systems.
499
500 2007-06-13  Kristian Rietveld  <kris@imendio.com>
501
502         * gtk/gtkcellrendererprogress.c
503         (gtk_cell_renderer_progress_class_init),
504         (gtk_cell_renderer_progress_init),
505         (gtk_cell_renderer_progress_[gs]et_property),
506         (gtk_cell_renderer_progress_render): Add orientation property and some
507         slight refactoring here and there.  (Fixes #344836, reported by
508         Benjamin Montgomery).
509
510 2007-06-12  Matthias Clasen  <mclasen@redhat.com>
511
512         * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS
513
514         * configure.in: Remove linux-fb parts.
515
516 2007-06-12  Michael Natterer  <mitch@imendio.com>
517
518         * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
519         instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
520         wrap-width if there is no whitespace found to break at.
521         Fixes bug #446107.
522
523 2007-06-12  Kristian Rietveld  <kris@imendio.com>
524
525         Fix #410815, reported by Lucas Rocha.
526
527         * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
528         wrap-width with the first icon, if it exists,
529         (adjust_wrap_width): try to use icon_view->priv->item_width
530         if available,
531         (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
532         which caused changes in wrap-width during the layouting process and
533         resulted in layouting artefacts,
534         (update_text_cell): don't set the wrap-width property, this should
535         be handled by adjust_wrap_width.
536
537 2007-06-12  Behdad Esfahbod  <behdad@gnome.org>
538
539         * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
540         (#446138, Björn Lindqvist)
541
542 2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
543
544         * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
545         (gtk_entry_draw_cursor):
546         * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
547         (_gtk_widget_get_cursor_color):
548         * gtk/gtkstyle.h:
549         * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
550         (gtk_text_renderer_draw_shape), (text_renderer_set_state),
551         (render_para):
552         * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
553         (gtk_text_layout_invalidate_cache), (get_block_cursor),
554         (add_cursor), (gtk_text_layout_get_line_display),
555         (_gtk_text_layout_get_block_cursor):
556         * gtk/gtktextlayout.h:
557         * gtk/gtktextutil.c (layout_get_char_width),
558         (_gtk_text_util_get_block_cursor_location):
559         * gtk/gtktextutil.h:
560         * gtk/gtktextview.c (gtk_text_view_set_editable),
561         (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
562         (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
563         Implement block-cursor for overwrite mode.  (#80378)
564
565 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
566
567         * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
568         Esfahbod)
569
570 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
571
572         * modules/printbackends/cups/gtkprintbackendfile.c:
573         * modules/printbackends/cups/gtkprintbackendcups.c: Fix some
574         locking issues.  (#420249, Christian Persch)
575
576 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
577
578         * configure.in: When debugging is turned on, use error-checking
579         mutexes.
580
581 2007-06-11  Emmanuele Bassi  <ebassi@gnome.org>
582
583         * gtk/gtknotebook.h: Fix declaration of the create_window()
584         vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)
585
586 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
587         
588         * tests/testiconview.c: Use icons of varying size.
589         
590 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
591
592         * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
593         with lowercase letters for style property assignments, since 
594         GType accepts these too, and gtkmm uses such class names.  (#343012,
595         Murray Cumming, Johannes Schmid)
596
597 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
598
599         * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
600         Store cursor_hadjustment as object data rather than in the private
601         struct.
602
603 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
604
605         * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
606         being NULL.  (#445691, Christopher Taylor)
607
608 2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>
609
610         * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
611         and XOPEN_SOURCE, in order to make the simple search engine backend
612         build on really ancient GNU libc. (#444097)
613
614 2007-06-10  Michael Natterer  <mitch@imendio.com>
615
616         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
617         angles by flipping the coordinate system back to its original y
618         direction. The implementation is still broken for ellipses, will
619         have to simulate them using bezier curves.
620
621 2007-06-10  Cody Russell  <bratsche@gnome.org>
622
623         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
624         Don't revert the mouse cursor to the built-in one when
625         the user holds the mouse button down. (#445284, Tor Lillqvist)
626
627 2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>
628
629         * gtk/gtkscalebutton.[ch]: Fix some coding style bits.
630
631         (gtk_scale_button_dispose), (gtk_scale_button_class_init),
632         (gtk_scale_button_init): Use the GObject private data API instead
633         of allocating the private structure ourselves.
634
635         (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
636         the icons string vector inside ::finalize and not in ::dispose.
637
638         (gtk_scale_button_update_icon): Use g_strv_length() instead
639         of an empty for loop.
640
641 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
642
643         * gtk/gtkwidget.c:
644         * gtk/gtkscrolledwindow.c: Update docs
645         * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
646
647         * gtk/gtkbox.c: Move docs inline.
648
649         * gtk/gtkrange.c:
650         * gtk/gtkscale.c: Doc formatting improvements.
651
652 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
653
654         * gtk/gtkscalebutton.c: Add an icons property, make 
655         gtk_scale_button_new() a convenience function.  (#445855,
656         Murray Cumming)
657
658 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
659
660         * gtk/gtkhscale.c (gtk_hscale_new):
661         * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
662         it more obvious that this is a convenience function.
663
664 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
665
666         * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
667         from nl_langinfo() more correctly. 
668
669 2007-06-09  Carlos Garnacho  <carlos@imendio.com>
670
671         * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
672         branch too. (#445539)
673
674 2007-06-08  Benjamin Berg  <benjamin@sipsolutions.net>
675
676         * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
677         Fix shadow painting if the scrollbars-within-bevel style property is
678         set and border_width is nozero. (#445054)
679
680 2007-06-08  Matthias Clasen  <mclasen@redhat.com>
681
682         Make it possible for theme engines to support symbolic 
683         colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)
684
685         * gtk/gtk.symbols:
686         * gtk/gtkrc.h:
687         * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
688
689         * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
690         to new style before parsing engine section.
691
692 2007-06-08  Michael Natterer  <mitch@imendio.com>
693
694         * gdk/quartz/gdkdrawable-quartz.c: add utility function
695         gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
696         GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
697
698         (gdk_quartz_draw_segments)
699         (gdk_quartz_draw_lines): use it here.
700
701 2007-06-07  Michael Natterer  <mitch@imendio.com>
702
703         * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
704         some values to the defaults used by X11.
705
706         (gdk_quartz_gc_set_values): really set cap_style when
707         GDK_GC_CAP_STYLE is in the mask, not line_style.
708
709 2007-06-07  Michael Natterer  <mitch@imendio.com>
710
711         * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
712         use the same code for GDK_XOR as for GDK_INVERT. Xor with an
713         arbitrary color is impossible to implement with quartz.
714
715 2007-06-07  Matthias Clasen  <mclasen@redhat.com>
716
717         * gtk/gtksettings.c: Fix a typo in the docs.
718
719 2007-06-07  Christian Neumair  <cneumair@gnome.org>
720
721         * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
722
723 2007-06-07  Matthias Clasen  <mclasen@redhat.com>
724
725         * gtk/gtktreeview.c: Documentation additions.
726
727         * gtk/gtknotebook.c: Add a doc comment.
728
729 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
730
731         * gtk/gtkfilechooserbutton.c (model_add_special):
732         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
733         * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
734         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
735         Use g_get_user_special_dir() to obtain the path for the
736         DESKTOP directory.  
737
738 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
739
740         * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
741         to the list of stock icons.  (#444786)
742
743 2007-06-06  Kristian Rietveld  <kris@imendio.com>
744
745         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
746         (gtk_cell_renderer_progress_class_init),
747         (gtk_cell_renderer_progress_[gs]et_property),
748         (gtk_cell_renderer_progress_render): add text-[xy]align properties
749         for aligning the text label of the progress bar.  (#334576,
750         suggestion from Steven Sheehy).
751
752 2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
753
754         * gtk/gtkwidget.c:
755         * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
756         
757         * gtkrc.c:
758         * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and 
759         _gtk_rc_style_unset_rc_property().
760         
761         * gtk/gtk.symbols: added gtk_widget_modify_cursor.
762         
763         * tests/testtext.c (do_cursor_visible_changed):
764         * tests/testgtk.c (create_styles): test it.
765
766 2007-06-06  Richard Hult  <richard@imendio.com>
767
768         * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
769         (find_window_for_ns_event): Rework how we get the event window:
770         don't get the window from the NSEvent, always use the mouse window
771         instead. Fix mouse window tracking by only using MouseExited for
772         non-gdk windows, and to always use the NSEvent window to get the
773         right gdk window in MouseEntered. Add comments to the code. Fixes bug
774         #350460.
775
776 2007-06-06  Richard Hult  <richard@imendio.com>
777
778         * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
779         Don't do anything if the two windows are the same.
780         (find_window_for_ns_event): Translate coordinates to be relative
781         the grab window when appropriate.
782
783 2007-06-06  Emmanuele Bassi  <ebassi@gnome.org>
784
785         * gtk/gtkfilechooserdefault.c:
786         (get_file_info_finished), (shortcuts_insert_path),
787         (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
788         out the search shortcut, the recently used shortcut and the separator
789         from the shortcut selection combo. (#444734)
790
791         (recent_idle_load): Remove the idle source that lazily loads the
792         recently used files, if the GtkRecentManager returns an empty
793         list. (#443913)
794
795 2007-06-06  Ross Burton  <ross@openedhand.com>
796
797         * gdk/x11/gdkspawn-x11.c:
798         Set DISPLAY in the child process using g_setenv() instead of
799         constructing a new envp, which lets callers use child setup
800         functions which call putenv (#442617).
801
802 2007-06-06  Johan Dahlin  <jdahlin@async.com.br>
803
804         reviewed by: Matthias Clasen <mclasen@redhat.com>
805         
806         * gtk/gtkassistant.c (gtk_assistant_update_buttons_state): 
807         Check if the wizard is empty before trying to access the first page.
808         (#444310, Johan Dahlin)
809
810 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
811
812         * configure.in: Bump version
813
814         * === Released 2.11.2 ===
815
816         * NEWS: Updates
817
818 2007-06-06  Kristian Rietveld  <kris@imendio.com>
819
820         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
821         GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
822
823 2007-06-06  Kristian Rietveld  <kris@imendio.com>
824
825         * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
826         function.  (#342471, Lorenzo Gil Sanchez).
827
828         * gtk/gtk.symbols: updated.
829
830 2007-06-06  Kristian Rietveld  <kris@imendio.com>
831
832         * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
833         call to gtk_widget_size_request().  (Reported by Carlos
834         Garnacho).
835
836 2007-06-06  Kristian Rietveld  <kris@imendio.com>
837
838         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
839         last_window is not a GdkWindow anymore. (Fixes #434021, several
840         reporters).
841
842 2007-06-06  Matthias Clasen <mclasen@redhat.com>
843
844         * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
845
846 2007-06-06  Brian Cameron  <brian.cameron@sun.com>
847
848         * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
849           file gets included with the distribution, as needed.  Fixes bug
850           #442888.  Reviewed by Matthias Clasen.
851
852 2007-06-06  Richard Hult  <richard@imendio.com>
853
854         * gdk/quartz/gdkevents-quartz.c
855         (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
856         windows are the same.
857
858 2007-06-06  Kristian Rietveld  <kris@imendio.com>
859
860         * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
861         auto expand timeout if it exists.
862
863 2007-06-06  Richard Hult  <richard@imendio.com>
864
865         * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
866         Update comment to be more clear and print a warning if we try to
867         create a crossing event without knowing what the current mouse
868         window is, to help track down focus bugs.
869
870         * gdk/quartz/gdkevents-quartz.c
871         (_gdk_quartz_events_update_focus_window): Fix indentation.
872
873 2007-06-06  Richard Hult  <richard@imendio.com>
874
875         * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
876         window.
877
878 2007-06-06  Tor Lillqvist  <tml@novell.com>
879
880         * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
881         embarrassing crash. (#444457, Torsten Schoenfeld)
882
883 2007-06-05  Yevgen Muntyan  <muntyan@tamu.edu>
884
885         * demos/gtk-demo/textview.c (insert_text): Drop the phrase
886         saying invisible text doesn't work (#444236).
887
888 2007-06-05  Matthias Clasen <mclasen@redhat.com>
889
890         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
891         window_private is not NULL before using it.  (#444351, David Ronis)
892
893 2007-06-05  Jakub Steiner <jimmac@ximian.com>
894
895         * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
896                 gtk-find is used for search, rather than find within a document
897                 (file dialog).
898
899 2007-06-05  Kristian Rietveld  <kris@gtk.org>
900
901         Fix #399071, suggestion from Benoit Dejean.
902
903         * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
904         function, factored out code iterating (columns, values) vectors from
905         gtk_list_store_new_with_valuesv to here,
906         (gtk_list_store_set_valuesv): new public function to set list store
907         values using (columns, values) vectors,
908         (gtk_list_store_new_with_valuesv): call new _set_vector_internal
909         instead.
910
911         * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
912         (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
913         likewise.
914
915         * gtk/gtk.symbols: updated.
916
917 2007-06-04  Richard Hult  <richard@imendio.com>
918
919         * gdk/quartz/gdkwindow-quartz.c:
920         (show_window_internal): Don't try to make temp windows key
921         windows, fixes problem introduced below.
922
923 2007-06-04  Richard Hult  <richard@imendio.com>
924
925         * gdk/quartz/GdkQuartzWindow.c: 
926         * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
927         gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
928
929 2007-06-04  Richard Hult  <richard@imendio.com>
930
931         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
932         (gdk_window_lower): Implement.
933
934 2007-06-04  Richard Hult  <richard@imendio.com>
935
936         * gdk/quartz/gdkwindow-quartz.c:
937         * gdk/quartz/gdkwindow-quartz.h: Implement 
938         gdk_window_set_transient_for.
939
940 2007-06-04  Cody Russell  <bratsche@gnome.org>
941
942         * gtk/gtklinkbutton.h
943         * gtk/gtkaboutdialog.h: Change function argument "link"
944         to "link_" to fix warnings for applications compiling
945         with -Wshadow. (#379213)
946
947 2007-06-04  Cody Russell  <bratsche@gnome.org>
948
949         * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
950         if down_button is NULL.  This happens when the pathbar button
951         for the current directory is too large to fit in the
952         space, e.g. on Windows for directories named something like
953         "My Documents and Settings".  (#389603)
954
955 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
956
957         * configure.in: Bump version
958
959         * === Released 2.11.1 ===
960
961         * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
962
963         * NEWS:
964         * README.in: Updates
965
966 2007-06-04  Michael Natterer  <mitch@imendio.com>
967
968         Move "move-focus" signals from several widgets to GtkWidget to
969         enable more flexible costomization of keyboard navigation via
970         bindings. Fixes bug #414947.
971
972         * gtk/gtkwidget.c: add "move-focus" binding signal, default to
973         calling the toplevel GtkWindow's "move-focus" vfunc.
974
975         * gtk/gtktextview.[ch]
976         * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
977         code that makes sure that both emitting the signal on the widget
978         and overriding the virtual functions keeps working as before.
979
980         * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
981         GtkWidget's signal. This change slightly changes keyboard
982         navigation in toolbars. I'll fix the behavior if somebody can
983         explain me if and how exactly the new behavior is broken.
984
985 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
986
987         * gtk/gtkmarshalers.list:
988         * gtk/gtknotebook.[hc]: Add a create-window signal that allows
989         to override the global create-window-hook on a per-notebook
990         basis. The default handler falls back to the global hook.
991         (#386935, Christian Hammond)
992         
993 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
994
995         * gtk/gtkradiobutton.[ch]:
996         * gtk/gtk.symbols:
997         * tests/testgtk.c: Revert previous commit; the API is not yet
998         finalized - see bug #166995.
999
1000 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
1001
1002         * gtk/gtkradiobutton.h:
1003         * gtk/gtkradiobutton.c:
1004         * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
1005         gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
1006         Use these functions to set and get an arbitrary integer associated to
1007         a GtkRadioButton in a group, like the value associated to a
1008         GtkRadioAction.
1009
1010         * tests/testgtk.c:
1011         (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
1012
1013 2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>
1014
1015         * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
1016         to avoid accessing uninitialized memory when
1017         gtk_icon_theme_choose_icon() is called with an empty names list.
1018
1019 2007-06-03  Richard Hult  <richard@imendio.com>
1020
1021         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
1022         modifier state.
1023
1024 2007-06-03  Richard Hult  <richard@imendio.com>
1025
1026         * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
1027         better:
1028         (gdk_display_pointer_is_grabbed): Do what the docs say and don't
1029         consider implicit grabs here.
1030         (gdk_pointer_grab): Overriding a grab by the same app should always be
1031         succesful.
1032         (gdk_event_translate): Implicit grabs should not be owner events.
1033
1034 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
1035
1036         * NEWS: Updates
1037
1038 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
1039
1040         * docs/tools/widgets.c: Add a volume button
1041
1042 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
1043
1044         * gtk/gtkradiobutton.c:
1045         * gtk/gtkradiomenuitem.c: Fix doc typos.  
1046
1047 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
1048
1049         * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)
1050
1051 2007-06-03  Xan Lopez  <xan@gnome.org>
1052
1053         * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
1054         and remove g_return_if checks in private functions. (#443247)
1055
1056 2007-06-01  Richard Hult  <richard@imendio.com>
1057
1058         * gdk/quartz/gdkevents-quartz.c:
1059         (get_converted_window_coordinates), (create_crossing_event): Fix the
1060         coordinates in crossing events so they are relative to the right
1061         window.
1062
1063 2007-06-01  Richard Hult  <richard@imendio.com>
1064
1065         * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
1066         consistent for the various functions that retrieve data from an
1067         event.
1068
1069         * gdk/quartz/gdkprivate-quartz.h: 
1070         * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
1071         _gdk_quartz_window_find_child_by_point() function.
1072
1073 2007-06-01  Matthias Clasen  <mclasen@redhat.com>
1074
1075         Add support for composited child windows.  (#412882, Ryan Lortie)
1076
1077         * gdk/gdk.symbols:
1078         * gdk/gdkdisplay.h:
1079         * gdk/gdkinternals.h:
1080         * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
1081         gdk_window_set_composited().
1082
1083         * gdk/x11/gdkevents-x11.c:
1084         * gdk/x11/gdkdisplay-x11.[hc]:
1085         * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
1086
1087         * gdk/win32/gdkdisplay-win32.c:
1088         * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
1089
1090         * gdk/quartz/gdkdisplay-quartz.c:
1091         * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
1092
1093         * gdk/directfb/gdkdisplay-directfb.c:
1094         * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
1095
1096         * tests/testgtk.c: Add a "composited window" test.
1097
1098 2007-06-01  Michael Natterer  <mitch@imendio.com>
1099
1100         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
1101         submenu opening direction for overlapping reasons if there is even
1102         less space on the other side (bug #441863, Tommi Komulainen).
1103
1104 2007-06-01  Michael Natterer  <mitch@imendio.com>
1105
1106         * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
1107         to not obfuscate the code.
1108
1109 2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>
1110
1111         Avoid recreating pangolayouts in GtkTextView on cursor movement
1112         (#435405, Behdad Esfahbod).
1113
1114         * gtk/gtktextlayout.c:
1115         * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
1116         and functions gtk_text_layout_invalidate_cursors() and
1117         gtk_text_layout_cursors_changed(), to use when invalidation is due
1118         to moved marks or changed selection.
1119
1120         * gtk/gtktextbtree.c:
1121         * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
1122
1123         * gtk/gtk.symbols: add new functions.
1124
1125         * README.in: added a note about changed GtkTextLayout API.
1126
1127 2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>
1128
1129         * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
1130
1131 2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>
1132
1133         * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
1134         widget style to draw cursor instead of hardcoded black and grey
1135         (#79585, comment #30).
1136
1137 2007-06-01  Kristian Rietveld  <kris@gtk.org>
1138
1139         * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
1140         pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
1141         Shlomi Israel).
1142
1143 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1144
1145         * tests/autotestfilechooser.c: Reactivate the other file-chooser
1146         tests. Forgot that before commiting revision 17994.
1147
1148 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1149
1150         * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
1151         the internal response_requested flag, once the response triggered by
1152         file_chooser_widget_response_requested has been processed (#347883).
1153
1154 2007-05-30  Richard Hult  <richard@imendio.com>
1155
1156         * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
1157         function, bug #438440.
1158
1159 2007-05-30  Tor Lillqvist  <tml@novell.com>
1160
1161         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
1162         multi-monitor offset from x and y before setting up the rectangle
1163         for ClipCursor(). Fixes #442326.
1164
1165 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
1166
1167         * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
1168         if the size changed.  (#418047, Alex Graveley)
1169
1170 2007-05-30  Simos Xenitellis  <simos@gnome.org>
1171
1172         * gdk/gdkkeysyms-update.pl: Updated script to new upstream 
1173         location of keysymdef.h (#442183)
1174
1175 2007-05-30  Emmanuele Bassi  <ebassi@gnome.org>
1176
1177         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
1178         after setting the file chooser entry with the current selection.
1179
1180 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
1181
1182         * gtk/gtkiconcachevalidator.c: Correct the handling
1183         of display names.  (#441767, Marcin Bachry)
1184
1185 2007-05-30  Xan Lopez  <xan@gnome.org>
1186
1187         * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
1188         Fixes #442172.
1189
1190 2007-05-28  Cody Russell  <bratsche@gnome.org>
1191
1192         * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
1193
1194 2007-05-28  Richard Hult  <richard@imendio.com>
1195
1196         * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
1197         (get_ancestor_coordinates_from_child): Break out code that was
1198         repeated into separate functions and call them instead.
1199         (find_window_for_mouse_nsevent): Break out this from
1200         find_window_for_nsevent to make the code clearer.
1201         (find_window_for_nsevent): Use the above and fix the returned
1202         coordinates in the process so that they are always relative the
1203         found window, both for the normal case and during grabs. Still
1204         needs fixing for the case where we get nsevents for a window other
1205         than than grab window during grabs.
1206
1207 2007-05-28  Richard Hult  <richard@imendio.com>
1208
1209         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
1210         we need both press and release in the mask to trigger implicit
1211         grabs.
1212
1213 2007-05-28  Richard Hult  <richard@imendio.com>
1214
1215         * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
1216         all the grab state, to help debugging.
1217         (gdk_event_translate): Use pointer_ungrab_internal instead of
1218         duplicating the code here.
1219
1220 2007-05-28  Richard Hult  <richard@imendio.com>
1221
1222         * gdk/quartz/gdkprivate-quartz.h:
1223         * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
1224         (_gdk_quartz_window_find_child): Refactored version of
1225         _gdk_quartz_window_find_child_by_point, that doesn't return any
1226         coordinates as the users of this function already have the
1227         coordinates and need to translate them differently.
1228         (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
1229         (_gdk_windowing_window_at_pointer): Likewise.
1230
1231 2007-05-28  Richard Hult  <richard@imendio.com>
1232
1233         * gdk/quartz/gdkevents-quartz.c
1234         (find_window_interested_in_event_mask): Don't traverse beyond the
1235         toplevel of the passed in window.
1236
1237 2007-05-28  Richard Hult  <richard@imendio.com>
1238
1239         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
1240         a size for the root window.
1241
1242 2007-05-28  Richard Hult  <richard@imendio.com>
1243
1244         * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
1245         coordinates are relative to.
1246
1247 2007-05-28  Carlos Garnacho  <carlos@imendio.com>
1248
1249         * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
1250         Add back variable declaration removed in r17958.
1251
1252 2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
1253
1254         * gtk/gtkprinter.[ch]: Add new capability
1255         GTK_PRINT_CAPABILITY_NUMBER_UP.
1256         * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
1257         * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
1258         * modules/printbackends/file/gtkprintbackendfile.c:
1259         (file_printer_get_options), (file_printer_get_settings_from_options):
1260         * modules/printbackends/cups/gtkprintbackendcups.c:
1261         (cups_printer_get_capabilities): Add a new print capability to specify
1262         whether print dialog will offer printing multiple pages per sheet. (#398414)
1263         
1264 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
1265
1266         * gtk/gtktoolbar.h: Actually undeprecate 
1267         gtk_toolbar_[un]set_icon_size.  (#314172. Yevgen Muntyan)
1268
1269 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
1270
1271         * gtk/gtkwidget.c: Document some more signals
1272
1273         * gtk/gtktextview.c: Improve docs
1274
1275 2007-05-27  Tor Lillqvist  <tml@novell.com>
1276
1277         * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
1278         supposed to be -luser32, but he "l" was missing. But nobody has
1279         noticed, so presumably unnecessary.
1280
1281 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
1282
1283         * gtk/gtkprintoperationpreview.c: Improve docs
1284
1285 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
1286
1287         * gtk/gtkentry.c: Move docs inline.
1288
1289 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
1290
1291         * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
1292         that cause problems when building the docs.
1293
1294 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
1295         
1296         * gdk/x11/gdkdisplay-x11.c: Update docs
1297         * gdk/gdk.c: Update docs
1298         * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
1299         * gdk/x11/gdkwindow-x11.c: Fix doc formatting
1300
1301 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
1302
1303         * gtk/gtktooltip.c:
1304         * gtk/gtkstatusicon.c:
1305         * gtk/gtkscalebutton.c:
1306         * gtk/gtkrecentaction.c:
1307         * gtk/gtkrange.c:
1308         * gtk/gtkprinter.c:
1309         * gtk/gtkprintsettings.c:
1310         * gtk/gtkpapersize.c:
1311         * gtk/gtkpagesetup.c:
1312         * gtk/gtknotebook.c:
1313         * gtk/gtkentrycompletion.c: Document new api
1314
1315 2007-05-26  Richard Hult  <richard@imendio.com>
1316
1317         * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
1318         build working.
1319
1320 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
1321
1322         * configure.in: Require gtk-doc 1.6, for signal and property links.
1323         * gtk/gtkbox.c:
1324         * gtk/gtkbutton.c:
1325         * gtk/gtkcontainer.c:
1326         * gtk/gtkdialog.c:
1327         * gtk/gtkentry.c:
1328         * gtk/gtkimage.c:
1329         * gtk/gtklabel.c:
1330         * gtk/gtkmisc.c:
1331         * gtk/gtksettings.c:
1332         * gtk/gtkwidget.c: Documentation improvements, link signals
1333         and properties where it makes sense.
1334
1335 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
1336
1337         * gtk/gtktextmark.c:
1338         * gtk/gtktextbuffer.c: Formatting fixes.
1339
1340 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
1341
1342         Allow to separate GtkTextMark creation from buffer insertion.
1343         (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
1344
1345         * gtk/gtktextmarkprivate.h:
1346         * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
1347         create a GtkTextMark.
1348
1349         * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
1350         function to add an existing mark to a buffer. 
1351
1352         * gtk/gtktextbtree.c: Allow adding existing marks.
1353
1354         * gtk/gtk.symbols: Add new functions.
1355
1356         * tests/testtextbuffer.c: Add some tests for new mark 
1357         functionality.
1358
1359 2007-05-25  Xan Lopez  <xan@gnome.org>
1360
1361         * gtk/gtkaction.c: (gtk_action_set_short_label):
1362         Use private->data->short_label to update the proxies. (#440780)
1363
1364 2007-05-25  Richard Hult  <richard@imendio.com>
1365
1366         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
1367         Implement copying from a window, part of bug #348493.
1368
1369 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
1370
1371         * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
1372         refence on the print operation until gtk_print_job_send()
1373         is done.  (#440040, Chris Vine)
1374
1375 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
1376
1377         * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
1378         Don't crash and don't leak.  (#439565, Pedro Villavicencio)
1379
1380 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
1381
1382         * gtk/gtkiconfactory.c: Improve a warning
1383         * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
1384         set the error when returning NULL.  (#440982, Carlos Garcia
1385         Campos)
1386
1387 2007-05-25  Michael Natterer  <mitch@imendio.com>
1388
1389         Merge fix from maemo-gtk:
1390
1391         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
1392         also if the menu item we're entering is already selected. Also, it
1393         makes no sense to forward the event to the parent menu shell if we
1394         are entering a menu item of *this* menu shell.
1395
1396 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
1397
1398         * gtk/stock-icons/*: Make sure all svg icons are added
1399         as pngs.
1400
1401 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
1402
1403         * modules/input/Makefile.am: Fix broken DESTDIR support
1404
1405 2007-05-24  Michael Natterer  <mitch@imendio.com>
1406
1407         * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
1408         Bogdan Nicula which fixes a crash on GdkWindows which have no
1409         GtkWidget as user_data (bug #440890).
1410
1411 2007-05-24   Matthias Clasen  <mclasen@redhat.com>
1412
1413         * configure.in: Bump version
1414
1415         * === Released 2.11.0 ===
1416
1417         * NEWS: Updates
1418
1419 2007-05-23   Matthias Clasen  <mclasen@redhat.com>
1420
1421         * gtk/gtk.symbols: 
1422         * gdk/x11/xsettings-common.h: 
1423         * gdk/gdk.symbols: Add some missing symbols.
1424
1425         * gtk/paper_names_offsets.c:
1426         * gtk/gen-paper-names.c: Make variables static.
1427
1428         * gtk/gtktooltip.[hc]:
1429         * gtk/gtkvolumebutton.c:
1430         * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
1431
1432 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
1433
1434         * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
1435
1436         * gtk/gtkhandlebox.c (gtk_handle_box_paint):
1437         * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
1438         * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
1439         * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
1440         * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
1441         * gtk/gtkpreview.c (gtk_preview_finalize):
1442         * gtk/gtknotebook.c (gtk_notebook_set_group_id):
1443         * tests/testnotebookdnd.c (window_creation_function):
1444         * tests/testiconview.c (do_popup_menu):
1445         Fixed some compiler warnings (#440689).
1446
1447 2007-05-23  Kristian Rietveld  <kris@imendio.com>
1448
1449         * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
1450         from the window they were received on to the event widget's window;
1451         correct for no-window widgets after that, bail out on failure.  This
1452         makes the coordinates given by GtkWidget::query-tooltip truly relative
1453         to widget->window.  (#435188).
1454
1455         * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
1456         GtkWidget::query-tooltip.
1457
1458 2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
1459
1460         * gtk/gtkprintcontext.c (gtk_print_context_finalize),
1461         (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
1462         (gtk_print_context_set_cairo_context),
1463         (gtk_print_context_get_pango_fontmap),
1464         (gtk_print_context_create_pango_context):
1465         Don't create new pango fontmaps.  Use the default pangocairo
1466         fontmap and set resolution on PangoContext instead. (#417707)
1467
1468 2007-05-21  Richard Hult  <richard@imendio.com>
1469
1470         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
1471         resolution.
1472         
1473         * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
1474
1475 2007-05-21  Michael Natterer  <mitch@imendio.com>
1476
1477         * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
1478
1479 Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
1480
1481         * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
1482
1483 2007-05-21  Tor Lillqvist  <tml@novell.com>
1484
1485         * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
1486         multiple monitors.
1487
1488 2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1489
1490         * gdk/directfb/gdkwindow-directfb.c:
1491         * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
1492         required to enable gdk_directfb_create_child_window.
1493         (Closes: #437379)
1494
1495 2007-05-20  Bastien Nocera  <hadess@hadess.net>
1496
1497         * gtk/Makefile.am:
1498         * gtk/gtk.h:
1499         * gtk/gtk.symbols:
1500         * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
1501         a button that pops up a scale when clicked (Closes: #415775)
1502         * tests/Makefile.am:
1503         * tests/testvolumebutton.c: Add a test program for the
1504         volume button
1505
1506 2007-05-19  Bastien Nocera  <hadess@hadess.net>
1507
1508         reviewed by: Matthias Clasen <mclasen@redhat.com>
1509
1510         * gtk/Makefile.am:
1511         * gtk/gtk.h:
1512         * gtk/gtk.symbols:
1513         * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
1514         a button that pops up a scale when pressed
1515
1516 2007-05-19  Matthias Clasen  <mclasen@redhat.com>
1517
1518         * gtk/gtk.symbols:
1519         * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
1520         in favour of new functions gtk_notebook_[gs]et_group, which
1521         takes a pointer as group identifier and makes it easier to
1522         avoid group id collisions.  (#386930, Christian Hammond)
1523                 
1524         * tests/testnotebookdnd.c: Use new grouping api.
1525
1526 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
1527
1528         * gtk/gtkactiongroup.c: Warn and refuse to add actions with
1529         duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
1530         Vahlman)
1531
1532 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
1533
1534         * gtk/gtk.symbols:
1535         * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
1536         to allow automatic scrolling in response to cursor movements
1537         in the entry.  (#438651, Nate Nielsen)
1538
1539 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
1540
1541         * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
1542         signal, and bind F7 to it.  (#380048, Tim Miao)
1543
1544 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
1545
1546         * gtk/gtk.symbols:
1547         * gtk/gtkicontheme.h:
1548         * gtk/gtkicontheme.c: Add a function to look up an icon from
1549         a list of icon names.  (#396901, Luca Ferretti)
1550
1551 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
1552
1553         * gtk/gtkrecentchooserdefault.c:
1554         (gtk_recent_chooser_default_dispose): Reset the state on dispose.
1555
1556         (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
1557         is a valid state, if the main loop never had the chance to
1558         properly spin at least once. (#438671)
1559
1560 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
1561
1562         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
1563         string for translation. (#439437)
1564
1565 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
1566
1567         * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
1568         doc typo.  (#438100, Vincent Untz)
1569
1570 2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
1571
1572         * INSTALL.in:
1573         * README.in:
1574         * configure.in: Bump libtiff requirement to 3.6.0, by requiring
1575           presence of TIFFReadRGBAImageOriented.
1576
1577         * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
1578         Preserve pixbuf options when generating a new scaled pixbuf.
1579
1580         * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
1581         (gdk_pixbuf__jpeg_image_load_increment): Read the exif
1582         orientation tag and associate it with the "orientation" pixbuf
1583         option. Renders libexif unnecessary in some applications.
1584
1585         * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
1586         compensate for the partial rotations performed by libtiff,
1587         and generate an "orientation" option for the pixbuf.
1588
1589 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
1590
1591         * gtk/gtkexpander.c: remove c++ style comment.
1592
1593 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
1594
1595         Make combobox menu popdown keybindable (#433593)
1596
1597         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
1598         signal and keybindings.
1599         (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
1600         handler.
1601         (gtk_combo_box_menu_key_press):
1602         (gtk_combo_box_list_key_press): forward the event to the combobox if
1603         it wasn't handled by the menu.
1604
1605 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
1606
1607         * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
1608         (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
1609         their DnD handlers if the target doesn't match with anything the
1610         notebook manages. (#350665, Joakim Lundborg).
1611
1612 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
1613
1614         Refactor GtkFileChooserDialog sizing.
1615
1616         * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
1617         (_gtk_file_chooser_embed_get_resizable_hints):
1618         s/resizable_hints/resizable/, return just one boolean value to
1619         determine whether the filechooser should be resizable or not.
1620
1621         * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
1622         variables related to the GtkFileChooserEmbed get_default_size() and
1623         get_resizable() implementations.
1624         (struct GtkFileChooserDefault): Move default size management here.
1625
1626         * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
1627         Added, store currently allocated size to calculate default size later.
1628         (gtk_file_chooser_default_get_resizable_hints):
1629         s/resizable_hints/resizable/.
1630         (gtk_file_chooser_default_set_property): Reload settings if the file
1631         chooser action changes, this way the save expander state will be known
1632         before mapping the window, avoiding wrong window positioning and
1633         flickering. (#424299, #424309)
1634         (find_good_size_from_style): Only get size from style if it wasn't set
1635         previously.
1636         (gtk_file_chooser_default_get_default_size): return default size based
1637         on stored default size and preview/extra widget sizes.
1638
1639         * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
1640         (file_chooser_widget_realized_size_changed)
1641         (file_chooser_widget_unrealized_size_changed): simplified to
1642         (file_chooser_widget_size_changed): set window size and resizability
1643         based on the GtkFileChooserEmbed interface implementation. (Bug
1644         #420285, Tomeu Vizoso)
1645         (gtk_file_chooser_dialog_map): force a dialog size change, so it's
1646         clamped for sure to the 75% of the screen size.
1647
1648 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
1649
1650         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
1651         the brand new current page if there was none set previously. Fixes
1652         #425138 (Reported by Michail Crayson). Some code simplifications.
1653         (gtk_notebook_draw_arrow): code style fix.
1654
1655 2007-05-16  Matthias Clasen  <mclasen@redhat.com>
1656
1657         * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
1658         buttons. Keep the focus from vanishing when Up or Down arrows
1659         become insensitive or invisible.  (#357005, Patrick Wade)
1660
1661 2007-05-16  Brian Cameron  <brian.cameron@sun.com>
1662
1663         * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
1664           gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
1665           gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
1666           gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
1667           hardware acceleration via mediaLib is enabled if mediaLib is
1668           detected via configure.  Enhancement request #344813.  I was given
1669           permission to commit in the bug report by Matthias Clasen.
1670         * gdk/medialib.[ch]: New files added for mediaLib support.
1671         * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
1672           docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
1673           mediaLib support.
1674
1675 2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>
1676
1677         * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
1678         priv->free_platform_data to prevent gtk_print_operation_finalize()
1679         from freeing the cairo surface a second time.
1680
1681 2007-05-14  Kristian Rietveld  <kris@gtk.org>
1682
1683         * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
1684         dangling semicolon, fixes the segfault ebassi was seeing earlier today
1685         ;)
1686
1687 2007-05-14  Tristan Van Berkom  <tvb@gnome.org>
1688
1689         * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
1690         were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
1691         the GtkAboutDialog now uses the "program-name" property instead of 
1692         the conflicting "name" property (fixes bug 345822).
1693
1694 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
1695
1696         * configure.in: Add check for GNU extensions to ftw()/nftw().
1697
1698         * gtk/gtksearchenginesimple.c: Fix compilation on systems with
1699         only POSIX-compliant ftw(). (#435797, based on a patch by
1700         Richard Hult)
1701
1702 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
1703
1704         * gtk/gtkfilechooserdefault.c:
1705         Convert the GtkTreeIter inside the sorting functions for the
1706         search and recent modes. This doesn't yet fix the segfault when
1707         clicking the 'Name' column in recent mode, though.
1708
1709 2007-05-14  Behdad Esfahbod  <behdad@gnome.org>
1710
1711         * modules/input/gtkimcontextthai.c
1712         (gtk_im_context_thai_filter_keypress):
1713         Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
1714
1715 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
1716
1717         * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
1718         as 2.12 addition.  (#438131, Mart Raudsepp)
1719
1720 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
1721
1722         * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
1723         size requisition for wide vertical separators.  (#438113, 
1724         Benjamin Berg)
1725
1726 2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>
1727
1728         * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
1729         all the symbols defined in <ftw.h> conditionally.
1730
1731 2007-05-13  Cody Russell  <bratsche@gnome.org>
1732
1733         * gdk/win32/gdkevents-win32.c: Only do the configure event context
1734         iteration under WM_WINDOWPOSCHANGED instead of inside
1735         handle_configure_event().  This fixes a bug that prevented window
1736         contents from being redrawn after gtk_window_resize(). (#436721)
1737
1738 2007-05-12  Behdad Esfahbod  <behdad@gnome.org>
1739
1740         * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
1741         generation.  (#437879, Eddie C. Dost)
1742
1743 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1744
1745         GtkFileChooser search fixes and recent files support.  (#435342)
1746         
1747         * gtk/gtkfilechooserdefault.c: Support drag and drop for
1748         adding shortcuts of folders when in search or recent files
1749         mode.
1750
1751 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1752
1753         GtkFileChooser search fixes and recent files support.  (#435342)
1754
1755         * gtk/gtkfilechooserprivate.h:
1756         * gtk/gtkfilechooserdefault.c: Follow the sorting order of
1757         the GtkTreeView displaying the files list.
1758
1759         (shortcuts_get_index), (shortcuts_insert_separator),
1760         (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
1761         the separator between the Search and the Recently Used shortcuts.
1762
1763         (list_select_func), (list_icon_data_func), (list_name_data_func),
1764         (list_mtime_data_func): Update the sensitivity of the row
1765         depending on the GtkFileChooserAction used.
1766
1767 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1768
1769         GtkFileChooser search fixes and recent files support.  (#435342)
1770
1771         * gtk/gtkfilechooserprivate.h:
1772         * gtk/gtkfilechooserdefault.c: Update the contents of the
1773         files list when changing the filter of the GtkFileChooserDefault
1774         widget.
1775
1776 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1777
1778         GtkFileChooser search fixes and recent files support.  (#435342)
1779
1780         * gtk/gtkfilechooserdefault.c: Update the add bookmark button
1781         sensitivity when in search or recent files mode, and allow
1782         adding a bookmark for a folder.
1783
1784 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1785
1786         GtkFileChooser search fixes and recent files support.  (#435342)
1787
1788         * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
1789         a mnemonic to the label, de-boldify the label's text and assign
1790         focus to the search entry when switching to the search mode.
1791
1792         (list_name_data_func): Split the text in both search and recent
1793         files mode: on the first line use the short name and on the
1794         second line use the full path.
1795
1796 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1797
1798         GtkFileChooser search fixes and recent files support.  (#435342)
1799
1800         * gtk/gtkfilechooserprivate.h:
1801         * gtk/gtkfilechooserdefault.c: Add support for showing the
1802         recently used files list as a special shortcut item.
1803
1804 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1805         
1806         GtkFileChooser search fixes and recent files support.  (#435342)
1807
1808         * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
1809         indentation style consistency.
1810
1811         (list_row_activated): If the search hit is a folder, follow it
1812         when activating the row, and switch back to browse mode.
1813
1814         (search_clear_model), (search_start_query),
1815         (search_entry_activate_cb), (search_setup_widgets): Remember
1816         the last query when switching between modes.
1817
1818 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1819
1820         GtkFileChooser search fixes and recent files support.  (#435342)
1821
1822         * gtk/gtkfilechooserdefault.c:
1823         (_gtk_file_chooser_default_class_init): Add key binding for
1824         the Search shortcut; default to MOD1+S.
1825
1826         (search_shortcut_handler): Handle the key binding.
1827
1828         (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
1829         (search_setup_model): Retrieve informations on the search hits
1830         when adding them to the model.
1831
1832         (list_icon_data_func): Show the search hit icon.
1833
1834 2007-05-11  Michael Natterer  <mitch@imendio.com>
1835
1836         * gtk/gtktextview.c (selection_motion_event_handler): call
1837         gdk_event_request_motions(event) so selecting works with
1838         XInput devices too. Spotted by Tommi Komulainen.
1839
1840 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
1841
1842         * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
1843         to GtkSearchEngineSimple only if gthread has already been
1844         initialiased; otherwise, disable search support in the file
1845         chooser widget.  (#435847)
1846
1847 2007-05-10  Matthias Clasen <mclasen@redhat.com>
1848
1849         * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
1850         image before overwriting priv->image.  (#437281, Jochen Baier)
1851
1852 2007-05-10  Matthias Clasen <mclasen@redhat.com>
1853
1854         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
1855         Correct a confusing warning.  (#437284, Björn Lindqvist)
1856
1857 2007-05-10  Matthias Clasen <mclasen@redhat.com>
1858
1859         * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
1860         the backend if the region is empty.  (#437081, Sven Neumann)
1861
1862 2007-05-10  Matthias Clasen <mclasen@redhat.com>
1863
1864         * gtk/gtksearchenginesimple.c (search_visit_func);
1865         Assume Posix nftw behaviour. 
1866
1867 2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>
1868
1869         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
1870         expand/collapse with Right/Left cursor keys on Windows
1871         (#436269, Daniel Atallah)
1872
1873 2007-05-09  Cody Russell  <bratsche@gnome.org>
1874
1875         * gtk/gtkmenu.c:
1876         (get_arrows_border): New function to calculate the border sizes needed 
1877         for the scroll arrows.
1878         (get_arrows_visible_area): New function to calculate the arrows visible 
1879         area.
1880         (get_arrows_sensitive_area): New function to calculate the arrows
1881         sensitive area.
1882         (gtk_menu_paint): Refactored code to calculate the border sizes needed
1883         for the scroll arrows into get_arrows_border and the code to calculate 
1884         the visible area into get_arrows_visible_area.
1885         (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
1886         to get_arrows_sensitive_area.
1887         (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
1888         gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
1889         get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
1890         callers.  (From #436533, Tommi Komulainen)
1891
1892 2007-05-09  Kristian Rietveld  <kris@imendio.com>
1893
1894         * gtk/gtktreeview.c (gtk_tree_view_key_press),
1895         (gtk_tree_view_key_release):
1896         * gtk/gtkiconview.c (gtk_icon_view_class_init),
1897         (gtk_icon_view_key_press),
1898         (gtk_icon_view_key_release): Disable key bindings during rubber
1899         banding, make pressing Esc stop rubber banding.  (#405027).
1900
1901 2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>
1902
1903         * gtk/gtkrecentmanager.c:
1904         (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
1905         with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
1906
1907 2007-05-05  Richard Hult  <richard@imendio.com>
1908
1909         * gdk/quartz/gdkdrawable-quartz.c:
1910         (gdk_quartz_drawable_get_context),
1911         (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
1912         Turns out the lockFocus logic was flawed, now we only lock/unlock 
1913         when called outside a real expose event and never flush manually.
1914
1915 2007-05-03  Behdad Esfahbod  <behdad@gnome.org>
1916
1917         * gtk/gtklabel.c (gtk_label_ensure_layout):
1918         * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
1919         using pango_layout_set_justify() that works now. (#435675)
1920
1921 2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>
1922
1923         * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
1924         spurious g_free() call.
1925
1926 Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>
1927
1928         * tests/testgtk.c (create_handle_box): made handle box test non-modal,
1929         so other test can interact with handle boxes.
1930
1931 2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>
1932
1933         Add search file support in the GtkFileChooser. Original patch
1934         by Federico Mena Quintero; patch updated by Matthias Clasen.
1935         See bug #344785.
1936
1937         * gtk/gtksearchengine.[ch]: Private search engine abstraction
1938         object.
1939
1940         * gtk/gtksearchenginebeagle.[ch]: Private search engine
1941         implementation using libbeagle (via g_module_open()).
1942
1943         * gtk/gtksearchenginesimple.[ch]: Private search engine
1944         implementation using file tree walking.
1945
1946         * gtk/gtksearchenginetracker.[ch]: Private earch engine
1947         implementation using libtracker (via g_module_open()).
1948
1949         * gtk/gtkquery.[ch]: Private query object for the search
1950         engines.
1951
1952         * gtk/gtkfilechooserprivate.h:
1953         * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
1954         query a search engine backend using GtkQuery; create a new
1955         operating mode, OPERATION_MODE_SEARCH, and call the common
1956         operating mode OPERATION_MODE_BROWSE; add support for virtual
1957         shortcuts inside the shortcuts model and create a new "Search"
1958         virtual shortcut.
1959
1960         * gtk/Makefile.am: Update the build with the new files
1961
1962 2007-05-02  Armin Burgmeier  <armin@openismus.com>
1963
1964         * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
1965         finalize, because the menu might unparent itself from its parent and
1966         cause a signal emission on a finalized object. (#430746)
1967
1968 2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>
1969
1970         * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
1971         rendered upside down for non-XP theme (#435053, Daniel Atallah)
1972
1973 Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>
1974
1975         * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
1976         and fully replaced by docs/faq/gtk-faq.sgml.
1977
1978 2007-05-02  Kristian Rietveld  <kris@imendio.com>
1979
1980         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
1981         if it's active.
1982
1983 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1984
1985         * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
1986         icon flags.  (#435062)
1987
1988 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1989         
1990         * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
1991         pngs.
1992
1993 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1994
1995         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
1996         Don't ignore the fact that gtk_file_system_get_parent() 
1997         may return NULL.  (#424042, Jan Martinek)
1998
1999 2007-05-01  Dan Winship  <danw@novell.com>
2000
2001         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
2002         leader_window's WM_CLIENT_LEADER points to itself. #435028
2003
2004 2007-05-02  Christian Persch  <chpe@gnome.org>
2005
2006         * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
2007         GSlice for gtk_tree_iter_copy. Bug #434863.
2008
2009 2007-05-02  Christian Persch  <chpe@gnome.org>
2010
2011         * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
2012         GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
2013         #434861.
2014
2015 2007-05-02  Christian Persch  <chpe@gnome.org>
2016
2017         * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
2018         (gtk_paper_size_new), (gtk_paper_size_new_custom),
2019         (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
2020         GtkPaperSize. Bug #434862.
2021
2022 2007-05-02  Christian Persch  <chpe@gnome.org>
2023
2024         * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
2025         (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
2026         the ID into the pointer directly. Bug #434865.
2027
2028 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
2029
2030         * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
2031         (update_current_folder_get_info_cb): add a new struct field to clear
2032         the file entry after the current folder has been updated.
2033
2034         (gtk_file_chooser_default_update_current_folder),
2035         (change_folder_and_display_error): Add a new function parameter to
2036         trigger file entry clearing.
2037
2038         (edited_idle_create_folder_cb),
2039         (file_list_drag_data_received_get_info_cb),
2040         (gtk_file_chooser_default_map),
2041         (gtk_file_chooser_default_set_current_folder),
2042         (switch_to_selected_folder), (save_entry_get_info_cb),
2043         (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
2044         (shortcuts_activate_get_info_cb), (list_row_activated),
2045         (path_bar_clicked): use new function parameter appropriately.
2046
2047         (gtk_file_chooser_default_should_respond): trigger file entry clearing
2048         after the directory is updated instead of clearing it before, this way 
2049         we avoid reloading the completion model with the soon to be old folder, 
2050         causing a warning and a glitch in the folder where completion happens. 
2051         (#379414, Carlos Garnacho)
2052
2053 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
2054
2055         * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
2056
2057         * gtk/updateiconcache.c: Validate the generated cache before
2058         moving it in place. Also add a --validate option to validate
2059         an existing icon cache.
2060
2061         * gtk/gtkiconcache.c: Validate icon caches before using them.
2062
2063         * gtk/Makefile.am: Integrate it.
2064
2065 2007-05-01  Michael Emmel  <mike.emmel@gmail.com>
2066
2067         * gdk/directfb/gdkdisplay-directfb.c:
2068         Added stub gdk_notify_startup_complete_with_id to compile
2069         * gdk/directfb/gdkwindow-directfb.c:
2070         Added gdk_window_set_opacity
2071         * gdk/directfb/gdkkeys-directfb.c:
2072         Fix menu key handling crash Bug #413328
2073
2074 2007-05-01  Christian Persch  <chpe@gnome.org>
2075
2076         * gtk/gtkprinter.h:
2077         * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
2078         the new location. Bug #390437.
2079
2080 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
2081
2082         * gtk/gtksettings.c (settings_update_color_scheme):
2083         Make sure we always have a color_hash.  (#423916, Jens Granseuer)
2084
2085 2007-04-30  Christian Persch  <chpe@gnome.org>
2086
2087         * docs/reference/gtk/gtk-sections.txt:
2088         * gtk/gtk.symbols:
2089         * gtk/gtkprinter-private.h:
2090         * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
2091         (gtk_print_capabilities_get_type):
2092         * gtk/gtkprinter.h:
2093         * gtk/gtkprintjob.c:
2094         * gtk/gtkprintjob.h:
2095         * gtk/gtkprintunixdialog.c: (selected_printer_changed):
2096         Make gtk_printer_get_capabilities public, and move the
2097         GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
2098
2099 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
2100
2101         * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
2102         must not set the background of its window.  (#433972,
2103         Guilherme Polo)
2104
2105 2007-04-30  Richard Hult  <richard@imendio.com>
2106
2107         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
2108         Implement.
2109
2110 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
2111
2112         * modules/printbackends/cups/gtkprintbackendcups.c: Get all
2113         the printer attributes when getting the list of printers,
2114         not via separate requests.  (#387889, Krishan Purahoo)
2115
2116 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
2117
2118         Some more compiler warning fixes.
2119
2120         * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
2121         Fix NULL/FALSE confusion.
2122
2123 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
2124
2125         Fix some compiler warnings.  (#433642, Kjartan Maraas)
2126
2127         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
2128         (gtk_file_system_win32_create_folder):
2129         * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  
2130
2131         * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
2132         the right type to uri_func.  
2133         
2134         * gtk/gtktext.c (gtk_text_key_press):
2135         * gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
2136         * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
2137
2138         * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
2139         (gtk_tray_icon_delete):
2140         * gtk/gtkprintunixdialog.c (create_main_page):
2141         * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
2142
2143         * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
2144
2145 2007-04-30  Cody Russell  <bratsche@gnome.org>
2146
2147         * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
2148         but now we're calling it from _gdk_windowing_window_clear_area()
2149         instead of from the WM_ERASEBKGND event.  Also fixes the area
2150         that is cleared so that it is not an extra row and column too
2151         large.  (Neil Roberts, #415681)
2152
2153 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
2154
2155         * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)
2156
2157 2007-04-30  Michael Natterer  <mitch@imendio.com>
2158
2159         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
2160         submenu explicitely only in touchscreen mode since otherwise
2161         selecting the item already pops up the submenu. Restores the
2162         drag-selection timeout (spotted by Søren Sandmann, #128968).
2163
2164 2007-04-30  Michael Natterer  <mitch@imendio.com>
2165
2166         * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
2167         to gtk_paper_size_get_paper_sizes().
2168
2169 2007-04-30  Tor Lillqvist  <tml@novell.com>
2170
2171         * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
2172         _gtk_load_custom_papers() exists only on Unix.
2173
2174 2007-04-30  Tor Lillqvist  <tml@novell.com>
2175
2176         Add functionality to set overall opacity of a top-level
2177         window. (#405316)
2178
2179         * gdk/gdk.symbols: Add gdk_window_set_opacity.
2180
2181         * gdk/x11/gdkwindow-x11.c
2182         * gdk/win32/gdkwindow-win32.c: Implement
2183         gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
2184         property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
2185
2186         * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
2187
2188         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
2189         that this is not implemented in the Windows backend. Add reference
2190         to gdk_window_set_opacity().
2191
2192         * gtk/gtk.symbols: Add gtk_window_set_opacity and
2193         gtk_window_get_opacity.
2194
2195         * gtk/gtkwindow.c (struct _GtkWindowPrivate)
2196         (gtk_window_class_init): Add opacity property, a double in the
2197         range [0, 1].
2198         (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
2199         (gtk_window_realize): If opacity is set, call
2200         gdk_window_set_opacity().
2201
2202         * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
2203         gtk_window_get_opacity().
2204
2205 2007-04-30  Matthias Clasen <mclasen@redhat.com>
2206
2207         * gtk/gtk.symbols:
2208         * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
2209         to gtk_paper_size_get_paper_sizes() and optionally include
2210         custom paper sizes.
2211
2212         * gtk/gtkpagesetupunixdialog.c: Internally export a function
2213         to load custom paper sizes.
2214
2215         * modules/printbackends/file/gtkprintbackendfile.c: Implement
2216         printer_list_papers, returning all paper sizes.  (#434329,
2217         Christian Persch)
2218
2219 2007-04-30  Matthias Clasen <mclasen@redhat.com>
2220         
2221         * gtk/gtkprintoperation.c: Translate the default job
2222         name, and don't utf8-validate the job name in the
2223         setter.  (#421993, Morten Welinder)
2224
2225 2007-04-30  Matthias Clasen <mclasen@redhat.com>
2226
2227         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
2228         g_unlink.  (#421990, Morten Welinder)
2229
2230 2007-04-29  Matthias Clasen <mclasen@redhat.com>
2231
2232         Fix some issues with reference handling in the printing
2233         code.  (#429902, Mathias Hasselmann)
2234
2235         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
2236         Unref the print context, if we have one.
2237         (gtk_print_operation_done): Add a default ::done handler 
2238         that unrefs the print context.
2239         (preview_ready): Take a reference on the print operation
2240         preview here.
2241         (print_pages_idle): ...not here,
2242         (preview_print_idle_done): ...and release it here.
2243
2244         * tests/print-editor.c (preview_cb): Take a reference
2245         on the print operation here.
2246
2247 2007-04-29  Matthias Clasen <mclasen@redhat.com>
2248
2249         * gtk/gtkprintoperation.c (print_pages_idle): Don't get
2250         stuck in a recursive mainloop if a synchronous preview
2251         is cancelled.
2252
2253 2007-04-29  Matthias Clasen <mclasen@redhat.com>
2254
2255         Make the emission of ::end-print and ::done consistent
2256         for previews.  (#347567, Yevgen Muntyan)
2257
2258         * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
2259         the finished status here.
2260         (preview_end_run): ...and not here.
2261         (print_pages_idle_done): Emit ::done for a cancelled preview.
2262         (print_pages_idle): If a preview has been cancelled, don't
2263         emit ::ready, but emit ::end-print. 
2264
2265         * tests/print-editor.c: Use ::end-print to undo allocations
2266         from ::begin-print.
2267
2268 2007-04-29  Matthias Clasen <mclasen@redhat.com>
2269
2270         * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
2271         in the PWG "custom" namespace as custom. Add a link to 
2272         the spec in the docs.  (#426416, Andreas Guelzow)
2273
2274 2007-04-29  Matthias Clasen <mclasen@redhat.com>
2275
2276         * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
2277         that a print operation can be run only once, and add a 
2278         corresponding g_return_if_fail().   (#379399, Masao Mutoh)
2279
2280 2007-04-29  Dan Winship  <danw@novell.com>
2281
2282         * gdk/x11/gdkdisplay-x11.c
2283         (gdk_x11_display_broadcast_startup_message): New method to
2284         marshall and send a Startup Notification message. (from #415070)
2285         (gdk_notify_startup_complete_with_id): Use that
2286
2287 2007-04-29  Mattthias Clasen  <mclasen@redhat.com>
2288
2289         * gtk/gtkprintoperation-unix.c 
2290         (_gtk_print_operation_platform_backend_launch_preview):
2291         Don't leak a file descriptor, and don't make the error
2292         dialog modal.  (#421985, Morten Welinder, Christian Persch)
2293
2294 2007-04-29  Xan Lopez  <xan@gnome.org>
2295
2296         * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
2297         Diego Escalante Urrelo).
2298
2299         I'm fixing gtk-faq.sgml as it seems this is the file
2300         we actually use...
2301
2302 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2303
2304         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
2305         Only strip parentheses of the form (_x).  (#434261,
2306         Brian Wellington)
2307
2308 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2309
2310         * gtk/gtkprintoperation-unix.c
2311         (_gtk_print_operation_platform_backend_launch_preview):
2312         Support passing a print settings file to the preview 
2313         command.  (#403717, Christian Persch)
2314
2315         * gtk/gtksettings.c: Document %s in the 
2316         gtk-print-preview-command setting.
2317
2318 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2319
2320         * gtk/gtkprintoperation.c (print_pages_idle): Also check
2321         the default handler when deciding whether to emit the
2322         paginate signal.  (#345345, Yevgen Muntyan)
2323
2324 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2325
2326         * gtk/gtkprintoperation.h: Add a new error code
2327
2328         * gtk/gtk.symbols:
2329         * gtk/gtkpagesetup.[hc]:
2330         * gtk/gtkpapersize.[hc]:
2331         * gtk/gtkprintsettings.[hc]: Add functions to serialize 
2332         and deserialize page setups and print settings to files 
2333         and key files.  (#344515, Christian Persch)
2334
2335         * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
2336
2337         * tests/print-editor.c: Use the new functions to persist 
2338         page setup and print settings.
2339
2340 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2341
2342         * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
2343         Free the custom paper list.  (#403267, Felix Riemann)
2344
2345 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2346
2347         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
2348         small memory leak.  (#403251, Felix Riemann)
2349
2350 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2351
2352         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
2353         typo. String change !  (#406160, Stephane Raimbault)
2354
2355 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2356
2357         * gtk/gtk.symbols:
2358         * gtk/gtkpapersize.[hc]: Add a function to list the
2359         builtin paper sizes.  (#382355, Christian Persch)
2360
2361 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
2362
2363         * gtk/gtk.symbols:
2364         * gtk/gtkprinter-private.h:
2365         * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
2366         gtk_printer_request_details() public.
2367
2368         * gtk/gtkpagesetupunixdialog.c:
2369         * gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
2370         Christian Persch)
2371
2372 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2373
2374         * configure.in: Add --enable-test-print-backend, defaulting
2375         to no.
2376
2377         * modules/printbackends/Makefile.am: Make building the test
2378         print backend conditional.
2379
2380 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2381
2382         * modules/printbackends/lpr/*:
2383         * modules/printbackends/cups/*: Correct some copyright lines.
2384
2385         * configure.in:
2386         * modules/printbackends/Makefile.am:
2387         * modules/printbackends/test/*: Add a test print backend.
2388         (#409089, John Palmieri)
2389
2390 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2391
2392         * gtk/gtktexttag.[hc]: Add a way to specify accumulative
2393         margins.  (#344499, Nate Nielsen)
2394
2395 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2396
2397         * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
2398         of the input-only window if we also have a visible window. 
2399         (#405089)
2400
2401 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2402
2403         * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
2404         * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
2405         Recognize negative column indices as invalid.  (#415260,
2406         Chris Wilson)
2407
2408 2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2409
2410         * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
2411         (poll_func): fix two more potential races that could happen when
2412         an application is polling in the mainloop and a separate thread
2413         tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
2414
2415 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2416
2417         * gtk/gtkentry.c (gtk_entry_grab_focus): 
2418         (gtk_entry_real_insert_text): Only call g_object_get() 
2419         when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
2420
2421 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2422
2423         * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
2424         a note about being embedded.  (#340107, Christian Persch)
2425
2426 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2427
2428         * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
2429         restrict drags within an application/widget.  (#163141, 
2430         Jorn Baayen)
2431
2432 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2433
2434         * docs/tools/Makefile.am:
2435         * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
2436         Komulainen)
2437
2438 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2439
2440         * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
2441         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
2442         * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
2443         (get_children_folder_cb): Plug memory leaks caused by wrong 
2444         use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
2445
2446 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
2447         
2448         * demos/gtk-demo/printing.c: Fix the headers in the print
2449         demo.  (#423722, Yevgen Muntyan)
2450
2451 2007-04-28  Xan Lopez  <xan@gnome.org>
2452
2453         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
2454         Use strstr instead of g_strstr with -1 for length.
2455
2456 2007-04-28  Xan Lopez  <xan@gnome.org>
2457
2458         * gtk/gtkentry.c:
2459         * gtk/gtkentrycompletion.c:
2460         * gtk/gtkentrycompletion.h:
2461         * gtk/gtkentryprivate.h:
2462
2463         Remember the user input that triggered the completion, add
2464         API to the retrieve it and reset the entry contents to it
2465         if the user cancels the tentative completion during
2466         the inline-selection.
2467         
2468 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
2469
2470         * gdk/x11/gdkgeometry-x11.c: Factor out window movement
2471         functions. (#63820, Tilman Sauerbeck)
2472
2473 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
2474
2475         * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
2476         (#63820, Tilman Sauerbeck)
2477
2478 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
2479
2480         * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
2481         and unmapping functions.  (#63820, Tilman Sauerbeck)
2482
2483 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
2484
2485         * gdk/x11/gdkgeometry-x11.c: Make list handling code
2486         easier to read.  (#63820, Tilman Sauerbeck)
2487
2488 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
2489
2490         * gtkassistant.c:
2491         * gtkiconfactory.c:
2492         * gtkiconview.c:
2493         * gtkpapersize.c:
2494         * gtkrecentmanager.c:
2495         * gtktextiter.c: Internalize some strings, pointed out
2496         by Damon Chaplin.
2497
2498 2007-04-27  Xan Lopez  <xan@gnome.org>
2499
2500         Support inline-selection in entries (#318459)
2501         
2502         * gtk/gtkentry.c:
2503         * gtk/gtkentrycompletion.c:
2504         * gtk/gtkentrycompletion.h:
2505         * gtk/gtkentryprivate.h:
2506
2507         When enabled cursor-match is emited when the cursor is on
2508         a possible completion on the list. The default implementation
2509         will replace the contents on the entry with the contents of
2510         the text column in the completion model.
2511
2512         Review and improvements by Matthias Clasen.
2513
2514 2007-04-27  Michael Natterer  <mitch@imendio.com>
2515
2516         Merged heavily modified patch from maemo-gtk which enables opening
2517         and closing submenus on click, and introduces some usability
2518         changes when gtk-touchscreen-mode is enabled (bug #128968):
2519
2520         * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
2521         "activated_submenu" to indicate that the current mouse operation
2522         (click or drag) has opened a submenu.
2523
2524         (gtk_menu_shell_button_press): pop up submenus without delay
2525         and record the fact in "activated_submenu".
2526
2527         (gtk_menu_shell_button_release): if a submenu was explicitely
2528         opened, or not opened by this release's button_press, or enough
2529         time has passed since timeout-opening it, close the submenu here.
2530
2531         (gtk_menu_shell_enter_notify): when entering a menu item with
2532         any mouse button pressed, open its submenu.
2533
2534         (gtk_real_menu_shell_move_current): in touchsreen mode, close the
2535         submenu when moving the focus away from it via keyboard-navigation.
2536
2537         * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
2538         parameter "gboolean with_delay" so GtkMenuShell can control this
2539         for the different scenarios of submenu showing.
2540
2541         (_gtk_menu_item_popdown_submenu): new function. also needed by
2542         GtkMenuShell for closing submenus on click.
2543
2544         Renamed internal function gtk_menu_item_select_timeout() to
2545         gtk_menu_item_popup_timeout().
2546
2547         (gtk_menu_item_real_popup_submenu): new utility function which
2548         does the actual popup and records the exact time of the popup when
2549         the menu was timeout-opened (using g_get_current_time()).
2550
2551         (gtk_real_menu_item_select): don't add the popup timeout when in
2552         touchscreen mode.
2553
2554         * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
2555         first item of every opened menu.
2556
2557 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2558
2559         * gtk/gtkfilechooserentry.c: Append a '/' to directory names
2560         in the completion popup.  (#431323, Maarten Maathuis)
2561
2562 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2563
2564         * demo/gtk-demo/combobox.c: Add a simple validation demo. 
2565         * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
2566         children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
2567
2568 2007-04-26  Tor Lillqvist  <tml@novell.com>
2569
2570         * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
2571         (gtk_input_dialog_fill_keys): Remove old child of scrolled window
2572         before adding a new one when switching what input device is being
2573         handled. (#399425)
2574
2575 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2576
2577         * modules/printbackends/lpr/gtkprintbackendlpr.c
2578         (gtk_print_backend_lpr_init): Mark the printer list as done. 
2579         (#428665, Bogdan Gheorghe)
2580
2581 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2582
2583         * Makefile.am:
2584         * gtk/Makefile.am: Don't install UNIX-printing headers and
2585         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
2586
2587 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2588
2589         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
2590         unnamed separators.  (#369112, Christian Persch)
2591
2592 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2593
2594         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
2595         invalid memory.  (#429732, Armin Burgmeier)
2596
2597 2007-04-26  Cody Russell  <bratsche@gnome.org>
2598
2599         * gdk/win32/xcursors.h:
2600         * gdk/win32/gdkcursor-win32.c:
2601
2602         Use Win32 native cursors instead of the ones built into GTK
2603         where it makes sense. (#128852, Tim Evans)
2604
2605 2007-04-25  Cody Russell  <bratsche@gnome.org>
2606
2607         * gdk/gdkwindow.h:
2608         * gtk/gtkwidget.c:
2609         * gtk/gtkhandlebox.c:
2610         * gdk/directfb/gdkwindow-directfb.c:
2611         * gdk/linux-fb/gdkwindow-fb.c:
2612         * gdk/quartz/gdkwindow-quartz.c:
2613         * gdk/win32/gdkwindow-win32.c:
2614         * gdk/x11/gdkwindow-x11.c:
2615         Added window type hint and implement drop shadows on Win32
2616         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
2617
2618 2007-04-25  Jakub Steiner <jimmac@ximian.com>
2619
2620         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
2621                 gtk-close as per discussion in bug #431740.
2622
2623 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
2624
2625         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
2626         of the header window again.  (#431067, Benjamin Berg)
2627
2628 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
2629
2630         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
2631         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
2632         depends on it. 
2633
2634         * tests/testicontheme.c: Report builtin icons.
2635
2636 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
2637
2638         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
2639         crash if end_run is not set.  (#424168, Matthias Hasselmann)
2640
2641 2007-04-25  Michael Natterer  <mitch@imendio.com>
2642
2643         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
2644         scroll buttons (we were setting the state to ACTIVE but
2645         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
2646         of many separate calls to gdk_window_invalidate_rect() by
2647         remembering the old button state and only invalidating the area if
2648         the state has changed (addresses parts of bug #433242, Tommi
2649         Komulainen).
2650
2651         (gtk_menu_scroll_to): change the arrow states only if changing
2652         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
2653         state set by above function.
2654
2655 2007-04-25  Michael Natterer  <mitch@imendio.com>
2656
2657         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
2658         build. Dunno if the fix is right, but I think it is.
2659
2660 2007-04-25  Kristian Rietveld  <kris@imendio.com>
2661
2662         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2663         cleanup/refactor some leftover code.
2664
2665 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
2666
2667         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
2668         half-open ranges like -2 or 3-, and be a bit more liberal
2669         about whitespace.
2670         (dialog_set_page_ranges): Support half-open ranges.
2671
2672         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
2673         number of pages in half-open ranges.
2674         (preview_iface_is_selected): Support half-open ranges here, too.
2675
2676 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
2677
2678         * gtk/gtkicontheme.c (scan_directory): Ensure the 
2679         icon_theme->all_icons and dir->icons hash tables use the same string
2680         as their keys. (#418531)
2681
2682 2007-04-23  Cody Russell  <bratsche@gnome.org>
2683         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
2684         left-most tab when notebooks are top-oriented.  Also general cleanup of
2685         notebook tab related code.  (Lieven van der Heide, Cody Russell)
2686
2687 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
2688
2689         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
2690         the amount of debug spew if we are not debugging.
2691         
2692 2007-04-23  Michael Natterer  <mitch@imendio.com>
2693
2694         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
2695         testtoooltips_SOURCES -> testtooltips_SOURCES.
2696
2697 2007-04-19  Cody Russell <bratsche@gnome.org>
2698
2699         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
2700         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
2701
2702 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
2703
2704         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
2705         non-WinXP rendering paths. From Daniel Atallah (#403470)
2706         
2707 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
2708
2709         * gtk/gtkicontheme.h:
2710         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
2711         icon lookup flag and implement it.  (#396901, Luca Ferreti)
2712         
2713 2007-04-18  Richard Hult  <richard@imendio.com>
2714
2715         * gdk/quartz/gdkwindow-quartz.c:
2716         (gdk_window_quartz_process_updates_internal),
2717         (gdk_window_quartz_process_all_updates),
2718         (gdk_window_impl_quartz_process_updates): Refactor the process 
2719         updates functions to share code between them. Also fixes bug 
2720         #427660 by not updating larger regions than necessary.
2721
2722 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
2723
2724         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
2725         of nRects == 0 correctly.  
2726         
2727 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
2728
2729         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
2730         a leak by not increasing the refcount of the GtkRecentInfo
2731         object when returning it (thanks to Matthias Clasen).
2732
2733 2007-04-16  Alexander Larsson  <alexl@redhat.com>
2734
2735         * gtk/gtkprintoperation.c (gtk_print_operation_run):
2736         Make async print preview work by actually starting
2737         the print process in that case (#424168)
2738
2739 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
2740
2741         * gtk/gtkselection.c (selection_get_text_plain): fixed
2742         wrong g_convert_with_fallback() call which caused
2743         gtk_selection_data_get_text() return invalid UTF-8 for
2744         non-ASCII text in text/plain selection (#382824).
2745
2746 2007-04-12  Jakub Steiner <jimmac@ximian.com>
2747
2748         * gtk/stock-icons/*: update the stock icons to follow the Tango
2749                 style guidelines
2750
2751 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
2752
2753         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
2754         * gtk/gtkstock.c (gtk_stock_list_ids):
2755             Switch over to use glib's new g_hash_table_get_keys() rather
2756             than our own static implementation.
2757
2758         * gtk/gtkiconfactory.h: Update to return a GList.
2759
2760         * configure.in: Bump required version to 2.13.1
2761
2762 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2763
2764         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
2765           setup and shutdown function by mutexes and read the wakeup
2766           pipe unconditionally and unblocking. This should make the main
2767           loop always be woken up when using g_idle_add() from another
2768           thread in the Quartz backend (#425271).
2769
2770 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
2771
2772         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
2773         to return a Bool to indicate success. Update callers and 
2774         implementors. Based on a patch by Owen Taylor.
2775         
2776         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
2777         leak a reference to gdkwin.
2778
2779 2007-04-07  Xan Lopez  <xan@gnome.org>
2780
2781         * gtk/gtknotebook.c (gtk_notebook_class_init): 
2782         s/arrow-size/arrow-spacing in the arrow-spacing
2783         style property docs.
2784
2785 2007-04-06  Richard Hult  <richard@imendio.com>
2786
2787         * gdk/quartz/: Clean up namespaces to make the code more
2788         maintainable.
2789
2790         * gdk/quartz/gdkdrawable-quartz.c:
2791         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
2792         images, by setting the pattern phase for the CG pattern.
2793
2794 2007-04-04  Kristian Rietveld  <kris@imendio.com>
2795
2796         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
2797         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
2798         (gtk_tooltip_start_delay): use new gdk_threads API.
2799
2800 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
2801
2802         * gtk/gtksettings.c (settings_update_font_options): Don't set
2803         metrics-hinting font option.  Rely on the default value which is
2804         on for all raster cairo surfaces. (#425985)
2805
2806 2007-04-03  Loïc Minier  <lool@dooz.org>
2807
2808         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
2809         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
2810         Simon McVittie; #425786.
2811
2812 2007-04-02  Michael Natterer  <mitch@imendio.com>
2813
2814         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
2815         artifact from the time when type checking casts warned on NULL,
2816         some whitespace cleanup.
2817
2818 2007-04-01  Cody Russell  <bratsche@gnome.org>
2819
2820         * modules/engines/ms-windows/msw_style.c: Fix rendering of
2821         notebook tabs when they are bottom-oriented.  Fixes #399253.
2822
2823 2007-03-31  Elijah Newren  <newren gmail com>
2824
2825         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
2826           gdk_x11_window_set_user_time):
2827         Patch from Matthias to add support for the
2828         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
2829
2830         WARNING: This patch will make metacity <= 2.18.0 freeze on
2831         workspace switch.  This is due to a weird problem that should only
2832         affect window managers using gdk in-process for decoration drawing
2833         and which make an unsafe assumption relating to doing so (i.e. it
2834         should only affect metacity).  Upgrade your version of metacity if
2835         you hit this bug.
2836
2837 2007-03-29  Michael Natterer  <mitch@imendio.com>
2838
2839         Don't close menus on clicks on their border area (bug #423761).
2840         (modified patch from maemo-gtk).
2841
2842         * gtk/gtkmenu.c (gtk_menu_button_press)
2843         (gtk_menu_button_release): bail out early if the click was on the
2844         menu's border (not on any item and not outside the window).
2845
2846         (pointer_in_menu_window): new utility function which checks if
2847         passed root coords are inside the menu_shell or one of its
2848         parent shells.
2849
2850 2007-03-29  Michael Natterer  <mitch@imendio.com>
2851
2852         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
2853         gtk_widget_get_settings() into the g_object_get() call. Some small
2854         indentation fixes.
2855
2856 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
2857
2858         * modules/printbackends/cups/gtkcupsutils.[hc]:
2859         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
2860         a patch by John Palmieri to make the cups print backend support
2861         raw printers.  
2862
2863 2007-03-28  Kristian Rietveld  <kris@imendio.com>
2864
2865         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
2866         tooltip_window, since this is handled by set_qdata_full() already.
2867         (#412001, Torsten Schoenfeld).
2868
2869 2007-03-27  Tor Lillqvist  <tml@novell.com>
2870
2871         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
2872
2873 2007-03-26  Christian Persch  <chpe@gnome.org>
2874
2875         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
2876
2877 2007-03-24  Kristian Rietveld  <kris@gtk.org>
2878
2879         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
2880         calculate the depth with the corrected real_cell_area and don't
2881         subtract horizontal_separator/2.
2882
2883 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
2884
2885         * gtk-yes.png
2886         * gtk-no: More Tango love.
2887
2888 2007-03-23  Jakub Steiner <jimmac@ximian.com>
2889
2890         * gtk-dialog-authentication.svg
2891         * gtk-dialog-error.svg
2892         * gtk-dialog-info.svg
2893         * gtk-dialog-question.svg
2894         * gtk-dialog-warning.svg: Start with a Tango face-lift.
2895
2896 2007-03-23  Rodney Dawes  <dobey@novell.com>
2897
2898         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
2899
2900 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
2901
2902         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
2903         toggle whether to show hidden files.  (#344657, 
2904         Wouter Bolsterlee, Priit Laes, et al)
2905
2906 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
2907
2908         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
2909         toggle the visibility of the location entry.  (#383354, 
2910         John Pye, patch by Carlos Garnacho)
2911
2912 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
2913
2914         * gtk/gtksettings.c (merge_color_scheme): Freeze property
2915         notification.
2916         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
2917         the gtk-color-scheme xsetting being unset.
2918
2919         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
2920         recursion locally.
2921
2922 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
2923
2924         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
2925
2926 2007-03-21  Rodney Dawes  <dobey@novell.com>
2927
2928         * gtk/gtk.symbols:
2929         * gtk/gtkicontheme.[ch]:
2930         * docs/reference/gtk/gtk-sections.txt:
2931         * tests/testicontheme.c:
2932         Add a new API call gtk_icon_theme_list_contexts so that one can
2933         choose icons from a theme by context (#420719)
2934         
2935 2007-03-21  Ross Burton  <ross@burtonini.com>
2936
2937         * gtk/gtktexttag.c:
2938         Document the ::event signal (#420703).
2939
2940 2007-03-20  Kristian Rietveld  <kris@gtk.org>
2941
2942         * gtk/gtktreeviewcolumn.c:
2943         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
2944
2945         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
2946         focus_to_cell parameter, rework to handle clamping columns which
2947         are bigger than the available page size better,
2948         (gtk_tree_view_key_press): remove code handling moving the focus
2949         to other column headers,
2950         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
2951         fix RTL support, don't wrap around when moving focus to other
2952         column headers, call gtk_tree_view_clamp_column_visible() instead
2953         of duplicating code,
2954         (gtk_tree_view_focus): only clamp the column visible when we are
2955         explicitly moving to another column header (fixes #399555, Charles
2956         Kerr),
2957         (gtk_tree_view_move_cursor_left_right): update call to
2958         gtk_tree_view_clamp_column_visible().
2959
2960 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
2961
2962         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
2963         about dialog.
2964
2965 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
2966
2967         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
2968         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
2969
2970 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
2971
2972         * modules/input/gtkimcontextmultipress.[hc]:
2973         * modules/input/im-multipress.conf:
2974         * modules/input/immultipress.c:
2975         * modules/input/README.multipress: Add the multipress input
2976         method.  (#417446, Johannes Schmid, Murray Cumming)
2977
2978         * modules/input/Makefile.am: Glue
2979
2980 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
2981
2982         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
2983         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
2984         failures gracefully. (#419171)
2985
2986 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
2987
2988         * gtk/gtkrecentaction.c (recent_chooser_set_property),
2989         (gtk_recent_action_set_property): Remove useless inlined
2990         function and propagate the properties to the GtkRecentChooser
2991         objects we create, instead of all the proxies.
2992
2993         (set_current_filter): Remove 'inline' marker.
2994
2995 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
2996
2997         Apply changes suggested by Michael Natterer. (#338843)
2998
2999         * gtk/gtkaction.h:
3000         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
3001         rename gtk_action_get_submenu() to gtk_action_create_menu().
3002
3003         * gtk/gtkrecentaction.c: Update for GtkAction change.
3004
3005         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
3006         also, use the menu from the GtkAction for both menuitem and
3007         toolitem nodes.
3008
3009 2007-03-16  Xan Lopez  <xan@gnome.org>
3010
3011         * gtk/gtkwidget.c: Fix documentation error in
3012         gtk_widget_set_redraw_on_allocate.
3013
3014 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
3015
3016         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
3017         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
3018         patch by Christian Persch)
3019
3020 2007-03-15  Federico Mena Quintero  <federico@novell.com>
3021
3022         Merged from gtk-2-10:
3023
3024         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
3025         PANGO_PIXELS() gives us device units, which are *points* in
3026         pangocairo's parlance, but we want actual pixels.  So, get the
3027         screen's resolution to compute the actual number of pixels.
3028         Fixes bug #418585.
3029
3030 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
3031
3032         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
3033         unused GError; do not allocate GtkRecentData and use a variable
3034         on the stack. (#418673, Morten Welinder)
3035
3036 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
3037
3038         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
3039         actions providing a menu item or a menu tool button with already
3040         a submenu should return the GtkMenu widget.
3041
3042         * gtk/gtkuimanager.c (update_node): If an action provides its
3043         own submenu, use it instead of adding an empty one
3044
3045         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
3046         implementing the GtkRecentChooser interface for displaying the
3047         list of recently used files into menus and toolbars generated
3048         using GtkUIManager. (#338843)
3049
3050         * gtk/Makefile.am:
3051         * gtk/gtk.h:
3052         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
3053
3054         * tests/testactions.c: Exercise the GtkRecentAction API.
3055
3056 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
3057
3058         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
3059         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
3060         from recursion, which can happen for example if the app tries to
3061         reload an icon from within a theme-changed handler. (#418531)
3062
3063 2007-03-15  Richard Hult  <richard@imendio.com>
3064
3065         * gdk/quartz/gdkmain-quartz.c: Add stubs for
3066         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
3067         here too.
3068
3069 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
3070
3071         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
3072         Welinder)
3073
3074 2007-03-15  Tor Lillqvist  <tml@novell.com>
3075
3076         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
3077         gdk_window_set_startup_id.
3078
3079         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
3080
3081 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
3082
3083         * gtk/gtkrecentchooserprivate.h:
3084         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
3085         files list into the shared implementation; do the filtering
3086         before the sorting, so that we always clamp on the desired
3087         size. (#418219)
3088
3089         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
3090         list, as it's already been done.
3091
3092         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
3093         GtkTreeModelFilter: just reload the view if the sorting and
3094         filtering properties change.
3095
3096         * gtk/testrecentchoosermenu.c: Exercise the limit property.
3097
3098 2007-03-14  Michael Natterer  <mitch@imendio.com>
3099
3100         Make gtk_widget_set_extension_events() work on already realized
3101         widgets (bug #379550, Tommi Komulainen)
3102
3103         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
3104         called multiple times without leaking and work correctly when
3105         already realized (don't rely on a configure event following).
3106
3107         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
3108         internal function which walks the GdkWindow tree and sets the
3109         extension events on all windows that belong to the widget.
3110
3111         (gtk_widget_realize)
3112         (gtk_widget_set_extension_events): use the new function.
3113
3114 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
3115
3116         Various clean ups in the GtkRecent code. (see #338843)
3117
3118         * gtk/gtkrecentchooserdefault.c:
3119         * gtk/gtkrecentchoosermenu.c:
3120         * gtk/gtkrecentchooserprivate.h:
3121         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
3122         for getting the sorted and clamped list of recent files from the
3123         manager outside the implementations.
3124
3125         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
3126         the list when the sorting order changes.
3127
3128         (gtk_recent_chooser_default_dispose),
3129         (gtk_recent_chooser_default_finalize): Move object unref and
3130         source removal from finalize to dispose.
3131
3132         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
3133         prerequisite for the GtkRecentChooser interface implementations,
3134         from GtkObject to GObject.
3135
3136         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
3137         G_PARAM_*
3138
3139 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
3140
3141         Apply patch by Vytautas Liuolia for changing the startup
3142         notification id on a window in the X11 backend. (#347375)
3143
3144         * gdk/gdk.h:
3145         * gdk/gdkx.h:
3146         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
3147         and gdk_x11_display_get_startup_notification_id().
3148
3149         * gdk/gdkwindow.h:
3150         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
3151
3152         * gtk/gtkwindow.h:
3153         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
3154         change the startup notification id.
3155         
3156         (gtk_window_class_init), (gtk_window_init),
3157         (gtk_window_set_property): Add write-only "startup-id" property
3158         to GtkWindow.
3159
3160         (gtk_window_realize): Set the startup notification id
3161         on a GtkWindow if it's valid.
3162
3163         (gtk_window_map): If we have another valid startup notification
3164         id then finish the notification process.
3165
3166 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
3167
3168         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
3169         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
3170
3171 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
3172
3173         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
3174         docs.  (#345844, Torsten Schoenfeld)
3175
3176         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
3177         * gdk/gdkwindow.c (gdk_window_add_filter): Add
3178         cross-references.  (#351252, Vincent Untz)
3179
3180         * gtk/gtkprintoperation.c: Fix an oversight in an
3181         example.  (#381083, Ian Puleston)
3182
3183         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
3184
3185 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
3186
3187         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
3188         the background of the panel window on style changes. (#402144,
3189         Benjamin Berg)
3190
3191 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
3192
3193         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
3194         an obsolete comment.  (#402169, Xan Lopez)
3195
3196 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
3197
3198         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
3199         Don't copy PangoLanguage.  (#340031, Morten Welinder)
3200
3201 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
3202
3203         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
3204         Handle the row reference path being NULL.  (#410565, Joe Markus
3205         Clarke, patch by Chris Wilson)
3206
3207 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
3208
3209         * tests/testiconview.c: Handle Menu key presses without
3210         crash.  (#385637, Christian Persch)
3211
3212 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
3213
3214         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
3215         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
3216
3217 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
3218
3219         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
3220         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
3221         
3222 2007-03-12  Kristian Rietveld  <kris@gtk.org>
3223
3224         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
3225         bail out if current_folder is NULL. (#350988, lots of reporters,
3226         modified patch by Jan Darmochwal).
3227
3228 2007-03-10  Kristian Rietveld  <kris@gtk.org>
3229
3230         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
3231         hide the search dialog and send focus events if the search dialog
3232         is currently visible.
3233
3234 2007-03-10  Richard Hult  <richard@imendio.com>
3235
3236         * gdk/quartz/gdkdrawable-quartz.c:
3237         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
3238         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
3239         surface API (#410442). Don't lock focus unless called outside of an 
3240         expose event.
3241         (gdk_quartz_drawable_release_context): Only flush the CG context and 
3242         unlock focus if called outside of expose.
3243         (_gdk_quartz_drawable_finish): New function, used to free the cached
3244         cairo surface.
3245
3246         * gdk/quartz/gdkwindow-quartz.c:
3247         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
3248         (_gdk_window_impl_quartz_get_type): No need to make the type info
3249         static.
3250         (gdk_window_quartz_process_all_updates): Move the autorelease pool
3251         allocation and freeing outside the loop.
3252         (_gdk_windowing_window_destroy): Finish the drawable.
3253         (move_resize_window_internal): Small cleanup and remove comment.
3254
3255         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
3256
3257 2007-03-10  Richard Hult  <richard@imendio.com>
3258
3259         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
3260         a build warning.
3261
3262 2007-03-10  Richard Hult  <richard@imendio.com>
3263
3264         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
3265
3266 2007-03-10  Richard Hult  <richard@imendio.com>
3267
3268         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
3269
3270 2007-03-10  Richard Hult  <richard@imendio.com>
3271
3272         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
3273         the font name here, leave that to themes, fixes #387508.
3274
3275 2007-03-10  Kristian Rietveld  <kris@gtk.org>
3276
3277         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
3278         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
3279         element, also (un)ref its parent elements. (Fixes #364946,
3280         reported by many, testcase by Andreas Koehler).
3281
3282 2007-03-10  Matthias Clasen <mclasen@redhat.com>
3283
3284         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
3285         field of PrintResponseData.  (#396703, Christian Persch)
3286
3287         * tests/print-editor.c: Plug some leaks.
3288
3289 2007-03-09  Matthias Clasen <mclasen@redhat.com>
3290
3291         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
3292         Get rid of the unused event argument. Update all callers.
3293
3294         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
3295         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
3296
3297 2007-03-09  Matthias Clasen <mclasen@redhat.com>
3298
3299         * modules/input/gtkimcontextxim.c 
3300         (gtk_im_context_xim_filter_keypress): Don't commit
3301         modifier-adorned characters.  (#331369, #335796, Lin Ma
3302         and others)
3303
3304 2007-03-09  Matthias Clasen <mclasen@redhat.com>
3305
3306         * Everywhere: Remove unnecessary NULL checks before
3307         g_free().  (#369666, Morten Welinder, Djihed Afifi)
3308
3309         * configure.in: Check for ftw.h
3310
3311 2007-03-09  Matthias Clasen <mclasen@redhat.com>
3312
3313         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
3314         C99isms.  (#416525, Kazuki Iwamoto)
3315
3316 2007-03-09  Tor Lillqvist  <tml@novell.com>
3317
3318         * README.win32: Update.
3319
3320 2007-03-08  Matthias Clasen <mclasen@redhat.com>
3321
3322         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
3323         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
3324         Sebastian Dröge)
3325
3326 2007-03-08  Matthias Clasen <mclasen@redhat.com>
3327
3328         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
3329         Set child visibility to FALSE here; it will be turned
3330         back on in switch_page.  (#413664, Carlos Garnacho)
3331         
3332 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
3333
3334         * modules/engines/ms-windows/msw_style.c: Use proper border style
3335         when drawing shadow of scrolled windows on Windows XP (#168326)
3336         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
3337         element_part_map array to ensure it always is large enough.
3338         
3339 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
3340
3341         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
3342         property of GtkEntry accordingly, unify size-allocation of toggle
3343         button (#411123, patch from Mathias Hasselmann).
3344         * gtk/gtkentry.c: Add shadow-type property. Query style properties
3345         on style changes only (#411123, patch from Mathias Hasselmann).
3346         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
3347         hack as GtkComboBox emits drawing requests now (#411123, patch 
3348         from Mathias Hasselmann).
3349         
3350 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
3351
3352         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
3353         by implementing a scrollbars-within-bevel style property. (#168326)
3354         
3355 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
3356
3357         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
3358         stored in the current theme with the name
3359         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
3360         icons as reported by SHGetFileInfoW. (#412221)
3361
3362 2007-03-07  Matthias Clasen <mclasen@redhat.com>
3363
3364         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
3365         focus around the arrow if there is no label widget.  
3366         (#124045, Cody Russell)
3367
3368 2007-03-07  Matthias Clasen <mclasen@redhat.com>
3369
3370         * gtk/gtkcombo.c: (gtk_combo_init):
3371         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
3372         (gtk_combo_box_menu_setup):
3373         Set names on the popup widgets to make them themable. (#414975, 
3374         Benjamin Berg)
3375
3376 2007-03-07  Michael Natterer  <mitch@imendio.com>
3377
3378         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
3379         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
3380         empty finalize() implementation, some cosmetic cleanup
3381         (bug #415645).
3382
3383 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
3384
3385         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
3386         (do_theme_change), (gtk_icon_theme_set_custom_theme),
3387         (load_themes):
3388         Be careful not to trigger a style reset before we have loaded
3389         the icon theme. (#414875).
3390
3391 2007-03-06  Tor Lillqvist  <tml@novell.com>
3392
3393         * gdk/Makefile.am
3394         * gtk/Makefile.am: Further fixes for building on Win32 outside
3395         srcdir. (#413492, Mathias Hasselmann)
3396
3397 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
3398
3399         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
3400         fixed.
3401
3402 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
3403
3404         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
3405         breaking the build.
3406
3407 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
3408
3409         * configure.in: Added be@latin to ALL_LINGUAS
3410
3411 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
3412
3413         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
3414
3415 2007-03-01  Matthias Clasen <mclasen@redhat.com>
3416
3417         * gtk/gtksettings.c: Always store gtk-color-scheme
3418         values from all sources in the ColorSchemeData struct
3419         and ignore the property_value for gtk-color-scheme.
3420         This fixes #412596, reported by Thomas Wood.
3421
3422 2007-02-28  Matthias Clasen <mclasen@redhat.com>
3423
3424         * gtk/gtksettings.c: Make color scheme update properly
3425         when changing themes.  (#402131, Benjamin Berg)
3426
3427 2007-02-28  Matthias Clasen <mclasen@redhat.com>
3428
3429         * gtk/gtkrc.c: Don't leak references to the color-hash 
3430         gotten from GtkSettings.  (#409357, Benjamin Berg)
3431
3432 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
3433
3434         * gtk/gtkradiobutton.c: Fixed a warning from
3435         g_object_set (radiobutton, "group", NULL, NULL).
3436
3437 2007-02-26  Matthias Clasen <mclasen@redhat.com>
3438
3439         Apply a patch by Carlos Garnacho to fix several problems
3440         with filechooser size handling (#325477, #151169, 143213,
3441         #153785)
3442
3443         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
3444         (browse_widgets_create): Don't force the paned position to 200.
3445         (find_good_size_from_style): Take the size of the extra widget
3446         into account.
3447
3448         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
3449         Accept a minimal width parameter. Update all callers.
3450
3451 2007-02-26  Matthias Clasen <mclasen@redhat.com>
3452
3453         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
3454         which is more accurate, suggested by Tim Waugh. String change! 
3455
3456 2007-02-26  Matthias Clasen <mclasen@redhat.com>
3457
3458         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
3459         print-to-file work. Reported by Ian Collier.
3460
3461 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
3462
3463         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
3464
3465         * gtk/gtkicontheme.c: (scan_directory):
3466                 Reorder the replacement of the shared base_name key, so that we
3467                 avoid dereferencing the string in the icon_theme->all_icon
3468                 hash table after freeing it from the dir->icons hash table.
3469
3470 2007-02-26  Tor Lillqvist  <tml@novell.com>
3471
3472         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
3473         comment clarifying that "icon name" here is not related to the
3474         freedesktop.org icon naming stuff.
3475
3476 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
3477
3478         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
3479         progress bar on windows classic. Match from Mathias Hasselmann.
3480         
3481 2007-02-19  Tor Lillqvist  <tml@novell.com>
3482
3483         * gdk/win32/gdkinput.c
3484         (gdk_device_finalize, gdk_device_class_init): Remove.
3485         (gdk_device_get_type): Drop class init function. The X11 version
3486         doesn't have one either.
3487         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
3488         (gdk_display_list_devices): Check that the argument is
3489         _gdk_display.
3490
3491         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
3492         Cleanup: remove unused fields.
3493         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
3494         names in a few debugging printouts.
3495
3496 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
3497
3498         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
3499         Ignore invisible text when going to end of the previous line.
3500         (#382565)
3501
3502 2007-02-18  Richard Hult  <richard@imendio.com>
3503
3504         * gdk/quartz/gdkwindow-quartz.c:
3505         (gdk_window_quartz_process_all_updates),
3506         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
3507         patch from Erik van Pienbroek, fixes bug #396649.
3508
3509 2007-02-18  Richard Hult  <richard@imendio.com>
3510
3511         * gdk/quartz/gdkevents-quartz.c: Add stub for 
3512         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
3513         bug #405870.
3514
3515         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
3516
3517 2007-02-18  Richard Hult  <richard@imendio.com>
3518
3519         * gdk/quartz/GdkQuartzView.h:
3520         * gdk/quartz/GdkQuartzWindow.h:
3521         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
3522         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
3523         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
3524         on panther, patch from Mathias Hasselmann.
3525         
3526         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
3527
3528 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
3529
3530         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
3531         instead of division. (#334617)
3532
3533 2007-02-16  Kristian Rietveld  <kris@gtk.org>
3534
3535         * gtk/gtktreeprivate.h: add cursor_offset field.
3536
3537         * gtk/gtktreeview.c (gtk_tree_view_init),
3538         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
3539         in page up/down handling by memorizing the offset into the cursor
3540         row.  (Fixes #399809, reported by Bruce Bowler).
3541
3542 2007-02-16  Kristian Rietveld  <kris@gtk.org>
3543
3544         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
3545         a focus-in event to the tree view after hiding the search dialog.
3546         (#356515, Rich Burridge, Peter Parente).
3547
3548 2007-02-16  Kristian Rietveld  <kris@imendio.com>
3549
3550         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
3551         keyboard tooltips. (#408325, Matthias Clasen).
3552
3553 2007-02-16  Xan Lopez  <xan@gnome.org>
3554
3555         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
3556         in expose event handler. Reviewed by Matthias Clasen, #406112
3557
3558 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
3559
3560         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
3561         Maraas)
3562
3563 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
3564
3565         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
3566         careful when checking for ButtonRelease events that end implicit
3567         grabs.  (#386618, Christof Krüger)
3568
3569 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
3570
3571         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
3572         even if there are no views.  (#408018, Albert Huang)
3573
3574 2007-02-15  Cody Russell  <bratsche@gnome.org>
3575
3576         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
3577         iterations while we're resizing so that the window contents are resized 
3578         more smoothly (#389765).
3579
3580         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
3581         are resized (#310522).
3582
3583 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
3584
3585         * gtk/updateiconcache.c: Handle symlinked .icon files 
3586         intelligently; also avoid storing duplicate strings.
3587
3588 2007-02-15  Michael Natterer  <mitch@imendio.com>
3589
3590         * gtk/gtkmenushell.c: remove two antique function typedefs that
3591         are probably obsolete for ages.
3592
3593 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
3594
3595         reviewed by: Matthias Clasen  <mclasen@redhat.com>
3596
3597         * configure.in: determine installation prefixes of dependent libs to
3598         crossreference docs (#407146).
3599
3600 2007-02-14  Kristian Rietveld  <kris@imendio.com>
3601
3602         * gtk/gtktooltip.c (child_location_foreach): check return value
3603         of gtk_widget_translate_coordinates() so we cannot end up
3604         using uninitialized x, y values.  (#407863, patch from Carlos
3605         Garnacho).
3606
3607 2007-02-14  Kristian Rietveld  <kris@imendio.com>
3608
3609         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
3610         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
3611         position instead of a hardcoded value.  (Taken from maemo-gtk).
3612
3613 2007-02-14  Michael Natterer  <mitch@imendio.com>
3614
3615         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
3616         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
3617         maemo-gtk.
3618
3619 2007-02-13  Kristian Rietveld  <kris@imendio.com>
3620
3621         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
3622         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
3623
3624 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
3625
3626         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
3627         remove some type checking; use better variable naming for the
3628         internal menu item markers.
3629
3630 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
3631
3632         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
3633         and appending custom menu items.
3634
3635         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
3636         item for the empty menu case, and for giving us a starting
3637         point for the recent items populating process.
3638
3639         (gtk_recent_chooser_menu_insert_item),
3640         (gtk_recent_chooser_menu_dispose_items): Insert an item at
3641         the position following the placeholder (and find that position
3642         if needed).
3643
3644         (idle_populate_func), (idle_populate_clean_up): Show the
3645         placeholder menu item, instead of creating one each time.
3646
3647         (gtk_recent_chooser_menu_populate): Kill some indirections
3648         and hide the placeholder before populating the menu.
3649
3650         (set_recent_manager): Remember to remove the idle population
3651         source if the manager changes.
3652
3653         * tests/testrecentchoosermenu.c: Test the appending and
3654         prepending of the menu items to the recent chooser menu
3655         widget.
3656
3657 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
3658
3659         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
3660         of the displayed items to build the menu items mnemonic instead
3661         of the overall item count. (#377164)
3662
3663         (idle_populate_clean_up): Append a menu item if all the items
3664         got filtered in the idle populate function. (#405696)
3665
3666         * tests/Makefile.am:
3667         * tests/testrecentchoosermenu.c: Add a test for the
3668         GtkRecentChooserMenu widget.
3669
3670 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
3671
3672         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
3673         GtkButtonBox (bug #336159).
3674
3675         * gtk/gtkenums.h:
3676         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
3677         support GTK_BUTTONBOX_CENTER.
3678
3679         * tests/testbbox.c: new button box test, which allows testing of 
3680         the various button box properties.
3681
3682         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
3683
3684 2007-02-07  Cody Russell  <bratsche@gnome.org>
3685
3686         * gdk/gdk.symbols: Add gdk_event_request_motions
3687
3688 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
3689
3690         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
3691         condition which was wrongly ported with my last commit.
3692
3693 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
3694
3695         * gtk/gtktextview.c (gtk_text_view_motion_event):
3696         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
3697         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
3698         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
3699         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
3700         * gtk/gtkentry.c (gtk_entry_motion_notify):
3701         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
3702         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
3703         for new motion events after receiving motion hints.
3704
3705         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
3706
3707 2007-02-06  Kristian Rietveld  <kris@imendio.com>
3708
3709         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
3710         remove unused get of has_tooltip.
3711
3712         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
3713         portable g_snprintf instead of snprintf.
3714
3715 2007-02-06  Michael Natterer  <mitch@imendio.com>
3716
3717         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
3718
3719         (gtk_tooltip_show_tooltip): move variables and code to local
3720         scope. Fixes warnings about maybe uninitialized variables.
3721
3722 2007-02-06  Kristian Rietveld  <kris@imendio.com>
3723
3724         New tooltips API.
3725
3726         * gtk/Makefile.am
3727         * gtk/gtk.h
3728         * gtk/gtk.symbols: build system foo.
3729
3730         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
3731         hook for appropriate events.
3732
3733         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
3734
3735         * gtk/gtkrc.c: add style for gtk-tooltip.
3736
3737         * gtk/gtksettings.c (gtk_settings_class_init): make the
3738         different tooltip timeouts configurable.
3739
3740         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
3741         tooltips are hidden on unmap, destroy, update window event
3742         mask on realize, hook into focus change and show help
3743         handlers.
3744
3745         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
3746
3747         * gtk/gtktooltip.[ch]: new files.
3748
3749         * tests/Makefile.am
3750         * tests/testtooltips.c: add test application.
3751
3752 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
3753
3754         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
3755         by prematurely releasing a DC. By Hiroyuki Yamamoto
3756         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
3757         pixbufs when drawing rotated tabs. By Daniel Atallah
3758         
3759 2007-02-05  Michael Natterer  <mitch@imendio.com>
3760
3761         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
3762         and gtk-enable-mnemonics which enable/disable accelerators and
3763         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
3764
3765         * gtk/gtkwindow.c (gtk_window_activate_key)
3766         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
3767         if the resp. setting is FALSE.
3768
3769         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
3770         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
3771         them if the setting is FALSE.
3772
3773         * gtk/gtklabel.c: added signal connection to the screen's settings
3774         object and traverse all widgets on the screen when the setting
3775         changes. It's slightly ugly to also update GtkAccelLabels here,
3776         but less ugly than connecting and traversing all widgets twice.
3777
3778 2007-02-05  Michael Natterer  <mitch@imendio.com>
3779
3780         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
3781         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
3782         ansi C enum value limits. Fixes bug #46757.
3783
3784 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
3785
3786         * gtk/gtksequence.[ch]: Remove these files since GSequence has
3787         been moved into GLib.
3788
3789         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
3790
3791         * configure.in: Require glib-2.13.0
3792         
3793 2007-02-04  Tor Lillqvist  <tml@novell.com>
3794
3795         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
3796         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
3797
3798 2007-02-02  Kristian Rietveld  <kris@gtk.org>
3799
3800         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
3801         style_get of vertical-separator. (#403165, Chris Wilson).
3802
3803 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
3804
3805         * gtk/gtkfilechoosersettings.c: (get_config_filename),
3806         (ensure_settings_read), (_gtk_file_chooser_settings_init),
3807         (_gtk_file_chooser_settings_set_show_hidden),
3808         (_gtk_file_chooser_settings_set_expand_folders),
3809         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
3810         markup file. Bug #399592.
3811
3812 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
3813
3814         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
3815         be a little more helpful with the docs on GtkCellRendererText:alignment.
3816         Bug #403409.
3817
3818 2007-02-01  Michael Natterer  <mitch@imendio.com>
3819
3820         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
3821         gtk_paint_box() calls.
3822
3823 2007-02-01  Michael Natterer  <mitch@imendio.com>
3824
3825         * gtk/gtkmenu.c (gtk_menu_button_press)
3826         (gtk_menu_button_release)
3827         (gtk_menu_button_scroll): remove redundant and confusing
3828         if (GTK_IS_MENU (widget)) checks because "widget" is always a
3829         GtkMenu here.
3830
3831 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
3832
3833         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
3834         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
3835
3836 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
3837
3838         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
3839         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
3840         (gtk_about_dialog_set_artists),
3841         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
3842         there are no credits to show. Bug #402806.
3843
3844 2007-01-31  Tor Lillqvist  <tml@novell.com>
3845
3846         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
3847         function.
3848         (_gdk_input_wintab_init_check): Call it when debugging output is
3849         requested.
3850         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
3851         tablets. The Wacom driver reports duplicated cursors with
3852         physid==0. Fix verified by Robert Ögren.
3853
3854 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
3855
3856         * modules/printbackends/file/gtkprintbackendfile.c:
3857         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
3858
3859 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
3860
3861         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
3862         (gdk_x11_window_set_user_time): Be more careful about toplevel
3863         possibly being NULL.  (#402453, Sebastian Bacher)
3864
3865 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
3866
3867         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
3868         class_n_properties and leave an uninitialized value array behind.
3869
3870 2007-01-29  Michael Natterer  <mitch@imendio.com>
3871
3872         * gtk/gtkmenuitem.c (gtk_menu_item_select)
3873         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
3874         this menu item's menu, to enable themeing menu items depending on
3875         whether something is selected in their submenu (patch taken from
3876         maemo-gtk).
3877
3878 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
3879
3880         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
3881         that was mistakenly "cleaned up" a while ago. Also
3882         revert a problematic change to the screen_changed
3883         handler.  (#401598, Søren Sandmann)
3884
3885 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
3886
3887         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
3888         problem with large y thickness.  (#136592, Xan Lopez)
3889
3890 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
3891
3892         * gtk/gtkaction.c (gtk_action_new): Use canonical
3893         property names.  
3894
3895 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
3896
3897         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
3898         (gtk_notebook_draw_focus): Avoid some unnecessary 
3899         gtk_widget_get_style() calls.
3900
3901 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
3902
3903         * gtk/gtktoolbar.c:
3904         * gtk/gtktoolitem.c:
3905         * gtk/gtktoolbutton.c: Rearrange things so that setting
3906         multiple properties causes not more than a single 
3907         reconstruction of the contents.
3908
3909         * gtk/gtkaction.c (connect_proxy): Set all tool button 
3910         properties in one go.
3911
3912 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
3913
3914         * gtk/gtkstatusicon.c:
3915         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
3916         take up space on the panel if it is invisible.  (340110, Christian
3917         Persch)
3918
3919         * tests/teststatusicon.c:
3920         * tests/Makefile.am: Updates
3921
3922 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
3923
3924         * gtk/gtkfilesel.h:
3925         * gtk/gtkrc.h:
3926         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
3927         and the old file selector.  (#348256)
3928
3929 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
3930
3931         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
3932
3933 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
3934
3935         * gtk/updateiconcache.c: Check the mtime of all directories,
3936         not just the toplevel, if ftw() is available.  (#331671, Behdad
3937         Esfahbod)
3938
3939         * configure.in: Check for ftw.h.
3940
3941 2007-01-26  Michael Natterer  <mitch@imendio.com>
3942
3943         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
3944         destroy the XIM only if it exists. While the code does look safe
3945         in general, there can be corner cases where the "reconnecting"
3946         boolean being FALSE does not correspond to the XIM being
3947         allocated (fixes #329450, fix taken from maemo-gtk).
3948
3949 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
3950
3951         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
3952         window bounds (fix from Maemo Gtk).
3953
3954 2007-01-26  Michael Natterer  <mitch@imendio.com>
3955
3956         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
3957         only block/unblock completion->priv->insert_text_id if it is
3958         actually connected. While this can't happen the way GtkEntry
3959         itself uses the completion, it's still public API and should not
3960         blindly call functions that will spit warnings (fix taken from
3961         maemo-gtk).
3962
3963 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
3964
3965         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
3966         the paintable iface.  
3967
3968 2007-01-24  Michael Natterer  <mitch@imendio.com>
3969
3970         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
3971         of PRELIGHT state for the reasons given in bug #135666. Widget
3972         states are sometimes abused or otherwise used wrongly for historic
3973         reasons, causing this part of the patch to break e.g. menu items.
3974
3975 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
3976
3977         * README: Remove mention of no-longer-existing PATCH
3978         keyword in bugzilla. (#396899)
3979
3980 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
3981
3982         * gtk/gtkpagesetup.c
3983         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
3984         Fixes bug #399907. 
3985
3986 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
3987
3988         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
3989
3990         * gtk/gtkstyle.h:
3991                 Cause gcc to issue a warning if the style returned from
3992                 gtk_style_attach is not used. Failure to update
3993                 widget->style causes some very difficult to reproduce bugs,
3994                 eg Bug 353498 – crash in Terminal: changing icon theme.
3995
3996 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
3997
3998         * gdk/directfb/gdkevents-directfb.c: added fixes for window
3999         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
4000
4001 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
4002
4003         * gtk/gtkcalendar.c: Fix build breakage.
4004
4005 2007-01-19  Kristian Rietveld  <kris@imendio.com>
4006
4007         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
4008         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
4009         add_scroll_timeout().  (taken from maemo-gtk).
4010
4011 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
4012
4013         * gtk/gtkcalendar.c: Fix problems with the initial
4014         focus in GtkCalendar.  (#397783, Vincent Untz)
4015
4016 2007-01-19  Robert Ögren  <gtk@roboros.com>
4017
4018         Fix for bug #143460 - missed tablet clicks on Windows
4019
4020         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
4021         Request absolute reporting of tablet button state, and cut down
4022         the packet queue size a bit.
4023         (_gdk_input_other_event): Change button state handling
4024         accordingly. Also drop the no longer necessary code that detects
4025         missed clicks/releases for button 1. The switch to absolute button
4026         state should prevent missed events for all buttons. Additionally,
4027         swap button 2 and 3.
4028         (_gdk_input_grab_pointer): Don't reset button_state, that will only
4029         cause a new press event as soon as the next tablet packet arrives.
4030
4031 2007-01-19  Tor Lillqvist  <tml@novell.com>
4032
4033         Build Wintab support always on Windows. Don't require the Wintab
4034         SDK.
4035
4036         * configure.in: Drop the --with-wintab option. Drop the
4037         HAVE_WINTAB feature test macro and Automake variable.
4038
4039         * acconfig.h
4040         * config.h.win32.in: Drop HAVE_WINTAB.
4041
4042         * gdk/win32/gdkevents-win32.c
4043         * gdk/win32/gdkinput.c
4044         * gdk/win32/gdkinput-win32.h
4045         * gdk/win32/gdkinput-win32.c
4046         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
4047         unconditional.
4048
4049         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
4050         to load wintab32.dll dynamically here. If it is found look up the
4051         handful Wintab functions we use.
4052         (rest of file): Use these function pointers instead of calling the
4053         functions from wntab32x.lib. The code in wntab32x.lib did the same
4054         thing anyway: tried to load wintab32.dll, and looked up the
4055         addresses of the actual functions from it.
4056
4057         * gdk/Makefile.am
4058         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
4059
4060         * gdk/win32/wintab.h
4061         * gdk/win32/pktdef.h: New files. Copied from the Wintab
4062         SDK. Copyright blurb says: "The text and information contained in
4063         this file may be freely used, copied, or distributed without
4064         compensation or licensing restrictions."
4065
4066         * README.win32: Update a bit. Remove the text about the Wintab
4067         SDK.
4068
4069 2007-01-18  Tor Lillqvist  <tml@novell.com>
4070
4071         * gdk-pixbuf/Makefile.am
4072         * gdk/Makefile.am
4073         * gdk/win32/Makefile.am
4074         * gtk/Makefile.am: Fixes for building outside srcdir on
4075         Win32. (#336819, #340013) Drop distributing the handmade .la
4076         libtool wrapper for the wntab32x library. It's too much trouble
4077         making it work when building outside srcdir. Just link to the
4078         library direcly using -Wl,win32/libwntab32x.a.
4079
4080 2007-01-18  Michael Natterer  <mitch@imendio.com>
4081
4082         * gtk/gtkcheckbutton.c
4083         * gtk/gtkdnd.c
4084         * gtk/gtkentry.c
4085         * gtk/gtkmenu.c
4086         * gtk/gtktreeview.c
4087         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
4088         functions. Based on a patch from maemo-gtk (bug #398023).
4089
4090 2007-01-17  Tor Lillqvist  <tml@novell.com>
4091
4092         * gtk-zip.sh.in: Include also the COPYING file.
4093
4094 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
4095
4096         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
4097         httpGetFd() when building against cups 1.1
4098
4099 2007-01-17  Tor Lillqvist  <tml@novell.com>
4100
4101         Proper fix for #396175:
4102
4103         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
4104         include gtkprivate.h. On Win32 we do want to use the redefinition
4105         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
4106
4107         * gtk/gtkimmodule.c: Instead, correct the prefix also on
4108         simple_context_info.domain_dirname. Do the prefix corrections
4109         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
4110         now they were done only in the autoconfiscated gcc builds. Hans
4111         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
4112         in MSVC builds now.
4113         (correct_localedir_prefix): New function, like
4114         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
4115         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
4116         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
4117         on the domain_dirname instead of correct_libdir_prefix().
4118         (_gtk_im_module_list): Call correct_localedir_prefix() on
4119         simple_context_info.domain_dirname.
4120
4121 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
4122
4123         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
4124         grab changes.  (#396470, Benjamin Berg)
4125
4126 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
4127
4128         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
4129         if they grow too much. (#357303)
4130
4131 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
4132
4133         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
4134         non-scalable dir, keep going and look for a closer match.
4135         (#395830, Luca Ferretti)
4136
4137 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
4138
4139         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
4140         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
4141         gtk_target_table_free instead of duplicating the code. Bug #396493.
4142
4143 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
4144
4145         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
4146         positions can't be found.  (#396161, Hans Breuer)
4147
4148 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
4149
4150         * gtk/gtkselection.c (_gtk_selection_request): Plug 
4151         memory leaks.  (#396160, Carlos Garcia Campos)
4152
4153 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
4154
4155         * configure.in: Link libgtk against Xfixes.  (#396074,
4156         Tommi Komulainen)
4157
4158 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
4159
4160         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
4161         a compiler warning.  (#395045, Chris Wilson)
4162
4163 2007-01-13  Hans Breuer <hans@breuer.org>
4164
4165         * gtk/gtkprintoperation-win32.c : take the custom tab label from
4166         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
4167
4168         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
4169         differing definitions of GTK_LOCALEDIR (bug #396175).
4170
4171         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
4172         not available everywhere
4173
4174         * gtk/makefile.msc.in : updated
4175
4176 2007-01-12  Michael Natterer  <mitch@imendio.com>
4177
4178         * gtk/gtkentry.c (gtk_entry_button_press): don't add
4179         entry->scroll_offset to entry->drag_start_y. Fixes the entry
4180         starting drags after ridiculously small mouse movements.
4181
4182 2007-01-11  Richard Hult  <richard@imendio.com>
4183
4184         * demos/gtk-demo/main.c: (load_file): Close the file after it's
4185         loaded (bug #395316).
4186
4187 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
4188
4189         * gtk/gtkfilesystemunix.c: (expand_tilde):
4190         Make a single tilde go to $HOME in the location entry.
4191         Patch from Yevgen Muntyan. Closes the gtk+ part of
4192         bug #334168.
4193
4194 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
4195
4196         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
4197         * gtk/gtklabel.c (gtk_label_size_request):
4198         Use pango_matrix_transform_rectangle(). (#340141)
4199
4200         * configure.in: Bump pango requirement to 1.15.3.
4201
4202 2007-01-10  Kristian Rietveld  <kris@imendio.com>
4203
4204         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
4205         refactor to initialize indicator_size to TOGGLE_WIDTH instead
4206         of the hardcoded value of 12.
4207
4208 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
4209
4210         * configure.in: Fix the directfb cairo test. (#394855, 
4211         Josselin Mouette)
4212
4213 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
4214
4215         * configure.in: Fix comment for --with-included-loaders.  That option
4216         affects builds with module loading enabled too.
4217
4218 2006-01-08  Peter Teichman  <peter@novell.com>
4219
4220         * gtk/gtkfilechooserdefault.c:
4221         * gtk/gtkfilechooserprivate.h:
4222         * gtk/gtkfilechoosersettings.c:
4223         * gtk/gtkfilechoosersettings.h:
4224         Save the expanded state of the folder browser with the file
4225         chooser settings.  Resolves the expander portions of (#153828,
4226         Lemmit Kaplinski)
4227
4228 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
4229
4230         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
4231         Don't leak the icon pixbuf after setting it to the image menu
4232         item.  Found by Paolo Borelli.
4233
4234 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
4235
4236         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
4237         corrupt memory when faced with paths with ridiculously
4238         large indices. Found by the GTKVTS test suite.  
4239
4240 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
4241
4242         * gtk/gtkmodules.c (_gtk_modules_init): Set 
4243         default_display_opened before loading modules.  (#393102,
4244         Brian Cameron)
4245  
4246 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
4247
4248         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
4249         Call text_window_realize() with the correct parameters.
4250         (#393813, Yevgen Muntyan)
4251
4252 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
4253
4254         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
4255         a bit.
4256
4257 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
4258
4259         * gtk/gtklabel.c: Make line wrapping work with width-chars
4260         and max-width-chars, and simplify the storage of wrap-width.
4261         (#322580, Itai Bar-Haim)
4262
4263 2007-01-06  Tor Lillqvist  <tml@novell.com>
4264
4265         * gdk/win32/cursor.bdf: New file. Downloaded from
4266         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
4267         "diamond_cross", "draft_large", "gobbler" and "target" to fix
4268         #392504. It is possible that the same end result could have been
4269         achieved by tweaking bdfcursor.c instead.
4270         
4271         * gdk/win32/bdfcursor.c: Add optional debugging output.
4272
4273         * gdk/win32/xcursors.h: Regenerated.
4274
4275 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
4276
4277         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
4278         menu labels.  (#393255, Michail Crayson)
4279
4280 2007-01-05  Kristian Rietveld  <kris@gtk.org>
4281
4282         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
4283         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
4284
4285 2007-01-05  Kristian Rietveld  <kris@gtk.org>
4286
4287         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
4288         invalidate nodes if the tree view is not realized. (#363147,
4289         Carlos Garnacho, Miguel Cabrera).
4290
4291 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
4292
4293         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
4294         account when drawing the background.  (#393166, Benjamin Berg)
4295
4296 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
4297
4298         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
4299         again.
4300
4301 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
4302
4303         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
4304         both scroll arrows when calculating size request in GTK_POS_LEFT or
4305         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
4306
4307 2007-01-05  Michael Natterer  <mitch@imendio.com>
4308
4309         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
4310         the right function (fix taken from maemo-gtk).
4311
4312 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
4313
4314         * gdk/gdkprivate.h:
4315         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
4316         (gdk_draw_layout_with_colors):
4317         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
4318         Avoid overflow when converting coordinates to Pango units. (#332266,
4319         Jody Goldberg)
4320
4321 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
4322
4323         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
4324         after realization of the popup window, so clamp node doesn't fail.
4325         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
4326
4327 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
4328
4329         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
4330         variable.
4331
4332 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
4333
4334         * gtk/Makefile.am:
4335         * gdk-pixbuf/Makefile.am:
4336         * configure.in:
4337         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
4338         (#392646, Yevgen Muntyan)
4339
4340 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
4341
4342         * demos/gtk-demo/textscroll.c:
4343         * gtk/gtkhandlebox.c:
4344         * gtk/gtkcolorsel.c: Fix some compiler warnings.
4345
4346 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4347
4348         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
4349         by calling the input method regardless of editability,
4350         and beeping from the commit/preedit-changed handlers.
4351         (#390514, Yevgen Muntyan)
4352
4353 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4354
4355         Fix #332604, reported by Joe Wreschnig, patch
4356         by Jan Arne Petersen and Behdad Esfahbod.
4357
4358         * gtk/gtklabel.c (gtk_label_size_allocate): Only
4359         set the width of the layout when necessary.
4360         (get_layout_location): Use pango_layout_get_pixel_extents()
4361         instead of pango_layout_get_width().
4362
4363 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4364
4365         * modules/printbackends/cups/gtkprintbackendcups.c 
4366         (available_choices): Don't leak conflicts.
4367
4368         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
4369         Don't leak the status string.
4370
4371 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4372
4373         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
4374         Exit early if we can't get file info - this happens
4375         if the iter points to the row where we are editing
4376         the name for a newly created folder.  (#392191, Michael
4377         Partridge, patch by Kristian Rietveld)
4378
4379 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4380
4381         * gtk/*.c:
4382         * gdk/x11/*.c: Apply a patch by Chris Wilson to
4383         avoid spurious valgrind warnings from XSendEvent() 
4384         calls.  (#392532)
4385
4386         * modules/printbackends/cups/gtkprintbackendcups.c: Close
4387         the http connection after getting the PPD.
4388
4389         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
4390         Fix memory leaks.  
4391
4392 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4393
4394         * gtk/gtkassistant.c (remove_page): If the current page
4395         is removed, always pick a different one.  (#392457, 
4396         Colin Watson)
4397
4398 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4399
4400         * modules/printbackend/cups/*.c: Coding style cleanups.
4401
4402 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4403
4404         * configure.in: Export SED to make sourcing of
4405         libtool work. Tighten up the directfb pkgconfig check.
4406
4407 2007-01-03  Michael Natterer  <mitch@imendio.com>
4408
4409         * gtk/gtkstyle.c (option_menu_get_props)
4410         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
4411         gtk_border_free when freeing borders.
4412
4413 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
4414
4415         * gtk/gtkentry.c (get_text_area_size): Work when the
4416         entry is not realized.  (#392315, Yevgen Muntyan)
4417
4418         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
4419         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
4420
4421         * gtk/gtkentry.c (cursor_blinks): Don't get settings
4422         unnecessarily.  (#392227)
4423
4424 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4425
4426         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
4427         updates on the window at hand, not on all windows, to
4428         avoid violating resize/redraw ordering constraints.
4429         (#362406, Owen Taylor)
4430         
4431 2007-01-03  Kristian Rietveld  <kris@gtk.org>
4432
4433         * gtk/gtkcellrendererprogress.c
4434         (gtk_cell_renderer_progress_class_init): fix docs.
4435
4436 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4437         
4438         * gtk/updateiconcache.c: Include locale.h
4439
4440 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4441
4442         * gtk/updateiconcache.c (main): Call setlocale().
4443
4444         * gtk/gtkfilesel.c:
4445         * gtk/gtkfilesystemunix.c:
4446         * gtk/gtkfilesystemwin32.c:
4447         * gtk/gtkfilechoosersettings.c:
4448         * gtk/updateiconcache.c: Consistently use folder instead of
4449         directory in translated messages.  (#344584, Javier F. Serrador)
4450
4451 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4452
4453         Try to fix #315732, reported by Luke Hutchinson:
4454
4455         * gdk/x11/xsettings-client.[hc]:
4456         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
4457         will guarantee that it can be looked up in the xid hash later.
4458         Also, use the nesting server grab function during the xsettings
4459         client initialization. Finally, make xsettings client not
4460         eat DestroyNotifys so that GDK can do its regular cleanup. 
4461
4462 2007-01-02  Michael Natterer  <mitch@imendio.com>
4463
4464         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
4465         when a keybinding didn't change adjustment->value.
4466
4467 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4468
4469         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
4470         Try harder not to beep on events which are not meant to
4471         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
4472
4473 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4474
4475         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
4476
4477 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
4478
4479         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
4480         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
4481
4482 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
4483
4484         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
4485
4486 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4487
4488         * gtk/gtkscrolledwindow.h:
4489         * gtk/gtkscrolledwindow.c: Only handle key bindings
4490         for scrolling if the scrollbars are visible.
4491         (#340135, Christian Persch)
4492
4493 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4494
4495         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
4496         Don't segfault on horizontal scrolling.  
4497
4498 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4499
4500         * gtk/gtknotebook.h:
4501         * gtk/gtknotebook.c: Only handle key bindings for
4502         tab reordering if the tabs are shown and reorderable. 
4503         (#390468, Yevgen Muntyan)
4504
4505         * gtk/gtkmarshalers.list: Add required marshaler
4506
4507 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4508
4509         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
4510         Mention in the docs that the return value is
4511         NULL-terminated.  (#383373, Christian Neumair)
4512
4513 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4514
4515         * gtk/gtkicontheme.c (load_themes): Waste less time
4516         with non-directories.  (#391725, Chris Wilson)
4517
4518 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4519
4520         * gtk/gtkcellrendererprogress.c: Implement activity mode
4521         for GtkCellRendererProgress.  (#377851, Brad Taylor)
4522
4523 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4524
4525         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
4526
4527         * modules/printbackends/cups/gtkcupsutils.c
4528         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
4529         IPP_TAG_OPERATION.
4530         * modules/printbackends/cups/gtkprintbackendcups.c
4531         (gtk_print_backend_cups_print_stream): Don't add the
4532         requesting-user-name attribute a second time. 
4533
4534 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
4535
4536         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
4537
4538 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
4539
4540         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
4541         right object when disconnecting from the GtkRecentManager::changed
4542         signal; save us a few indirections using a variable.
4543
4544 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
4545
4546         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
4547         disconnections into the dispose function, as well as the
4548         object unrefs; reset every handler id and the
4549         pointers. (suggested by Paolo Borelli, #390873)
4550
4551 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
4552
4553         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
4554         Kazuki Iwamoto)
4555
4556 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4557
4558         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
4559         scroll timeout.  (#390872, Yevgen Muntyan)
4560
4561 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4562
4563         * gtk/gtkprintoperation-unix.c:
4564         * gtk/gtkprintbackend.c:
4565         * gtk/gtkfilechooserdefault.c:
4566         * gtk/gtksettings.c: Move a few settings to gtksettings.c
4567         to make sure they show up in the docs.  (#365364, Christian
4568         Persch)
4569
4570 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4571
4572         * gtk/gtkassistant.c: Redraw assistant on reallocate
4573         to avoid rendering glitches.  (#343956, Christian
4574         Persch, Carlos Garnacho)
4575
4576 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4577
4578         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
4579
4580 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4581
4582         * gtk/gtkaction.c: Improve the docs of the "label" 
4583         property.  (#341730, Kristof Vansant)
4584
4585 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4586
4587         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
4588         Correctly handle min size. (#320465, Philipp Langdale)
4589
4590 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4591
4592         * gtk/prop-editor.c: Implement editing of flags.
4593
4594 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
4595
4596         * gtk/gtkentry.c:
4597         * gtk/gtklabel.c:
4598         * gtk/gtkpaned.c:
4599         * gtk/gtkstatusbar.c:
4600         * gtk/gtktextview.c: Don't install cursors on insensitive
4601         widgets.  (#358864, Jan Schampera)
4602
4603 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
4604
4605         * gtk/gtkrecentmanager.h:
4606         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
4607         Shiino Yuki)
4608
4609         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
4610         Christian Persch)
4611
4612         * gtk/gtkentry.c (blink_cb):
4613         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
4614         if focus went missing. Just warn, clean up and continue.
4615         (#374378)
4616
4617 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
4618
4619         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
4620         originally received the event is a notebook page. (#315440, reported
4621         by Mateusz Stefek)
4622
4623 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
4624
4625         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
4626         Paolo Borelli)
4627
4628 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
4629
4630         * tests/prop-editor.c: Display children of containers
4631         and cell renderers of cell layouts.
4632
4633         * gtk/gtk.symbols:
4634         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
4635         New function to get the cell renderers of a cell layout.
4636
4637         * gtk/gtktreeviewcolumn.c:
4638         * gtk/gtkcellview.c:
4639         * gtk/gtkiconview.c: Implement get_cells.
4640
4641 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
4642
4643         * gtk/gtkiconview.c: Use word wrapping by default, and
4644         center multiline labels.  (#318763, Ross Burton)
4645
4646         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
4647         case for single-line layouts.
4648
4649 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
4650
4651         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
4652         David Lodge)
4653
4654         * gtk/gtkuimanager.c (update_node): Only use the results
4655         of find_menu/toolbar_position() if they succeed. May fix
4656         bug #388041.
4657
4658 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
4659
4660         * gdk/gdk.c: Fix some formatting errors in docs.  
4661
4662 2006-12-28  Tor Lillqvist  <tml@novell.com>
4663
4664         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
4665         (gtk_status_icon_update_image): Don't leak HICONs on
4666         Win32. (#364868, Hiroyuki Yamamoto)
4667
4668 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
4669
4670         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
4671
4672         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
4673         * gtk/gtkmarshalers.list: add new marshaler definition.
4674         * gtk/gtkenums.h: add GtkDragResult enum.
4675
4676         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
4677         operation wasn't successful.
4678         (_gtk_drag_source_handle_event) (gtk_drag_drop)
4679         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
4680         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
4681         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
4682         gtk_drag_drop_finished() the operation result.
4683
4684         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
4685         (gtk_notebook_drag_data_get): do not call window creation hook here.
4686         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
4687         target, instead connect to "drag-failed".
4688         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
4689
4690 2006-12-28  Mikael Hallendal  <micke@imendio.com>
4691
4692         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
4693         integration into gdkeventloop-quartz.c.
4694
4695         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
4696
4697         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
4698         integration.
4699
4700 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4701
4702         * modules/printbackends/lpr/gtkprintbackendlpr.c 
4703         (gtk_print_backend_lpr_print_stream): Close the io channel
4704         on unref.  (#390159, Joe Markus Clarke)
4705
4706 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4707
4708         * gdk/gdk.h: Remove redundant declarations (#390097,
4709         Christian Persch)
4710
4711 2006-12-27  Kristian Rietveld  <kris@gtk.org>
4712
4713         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
4714
4715         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
4716         gtk-alternative-sort-arrows.
4717
4718         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
4719         new setting.
4720
4721         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
4722         gtk-alternative-sort-arrows setting to true.
4723
4724         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4725         invert direction if gtk-alternative-sort-arrows is TRUE.
4726
4727 2006-12-27  Tor Lillqvist  <tml@novell.com>
4728
4729         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
4730         gtk_status_icon_set_screen.
4731
4732         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
4733         on Windows. Keep track of where the last button click on the
4734         taskbar icon took place, and return that. Obviously not correct if
4735         no button has ever been clicked on the icon, or if the geometry of
4736         the taskbar has changed since. But for most use cases where a menu
4737         is going to be displayed as a direct result of a button click on
4738         the status icon, works fine. (#377349)
4739
4740         Implement getting the orientation property on Windows.
4741
4742         (gtk_status_icon_embedded_changed)
4743         (gtk_status_icon_orientation_changed): Ifdefify these functions
4744         that are used only on X11.
4745
4746 2006-12-27  Tor Lillqvist  <tml@novell.com>
4747
4748         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
4749         typo. (#390035, Kazuki Iwamoto)
4750
4751 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4752
4753         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
4754
4755         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
4756         (gtk_combo_box_unset_model): Handle repeated unsetting
4757         of models without warnings.  (#367529, Robert Ancell)
4758
4759 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4760
4761         * modules/printbackends/cups/gtkcupsutils.c: 
4762         * modules/printbackends/cups/gtkprintbackendcups.c: Use
4763         getters for http fields where available.  (#364866, 
4764         Björn Lindqvist)
4765
4766 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4767
4768         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
4769         (#362614, Xan Lopez)
4770
4771 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4772
4773         * gtk/gtkuimanager.c (update_node): If a required action
4774         is missing, don't recurse over the children.  (#349119,
4775         Chris Moller)
4776
4777 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
4778
4779         Fix a few problems with nested menus in comboboxes
4780         (#386694, Yevgen Muntyan)
4781
4782         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
4783         connect the activate callback.
4784         (gtk_combo_box_menu_item_activate): Do nothing if called on
4785         an item with a submenu.
4786         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
4787         is empty.
4788
4789 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
4790
4791         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
4792         filechooser button. Bug 353196.
4793
4794 2006-12-26  Kristian Rietveld  <kris@gtk.org>
4795
4796         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
4797         the search dialog timeout never to be refreshed. (#389581,
4798         Andrzej Szombierski).
4799
4800 2006-12-26  Kristian Rietveld  <kris@gtk.org>
4801
4802         Lots of scrolling fixes.  Made scrolling work properly in not fully
4803         validated tree views; fixed a bunch of corner cases.
4804
4805         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
4806         upper - page_size, we know it is located at the end so the test for
4807         dy + height has been dropped.
4808         In the same case if area_below < 0, we know this is the last node
4809         in the tree view so area_above is page_size - height of this row.
4810         (validate_visible_area): got rid of subtracting new_height -
4811         old_height from area_{below,above}, it didn't make any sense at
4812         all and the full height of the row should be subtracted instead.
4813         (validate_visible_area): when scrolling to a given path, set the
4814         top row directly together with the dy offset, then sync that top_row
4815         to the dy.
4816         (gtk_tree_view_set_top_row): new function to directly set a top_row.
4817         (gtk_tree_view_dy_to_top_row): refactored to use
4818         gtk_tree_view_set_top_row().
4819         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
4820         (gtk_tree_view_adjustment_changed): only update our dy and
4821         top_row if the adjustment's dy actually changed.
4822
4823 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
4824
4825         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
4826         Return the correct value from gtk_notebook_insert_page if the
4827         page-added handler reorders the tabs. Bug #345094.
4828
4829 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
4830
4831         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
4832
4833         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
4834         scrolling when hovering with a detached tab.
4835         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
4836         focus tab has changed during a tab DND operation.
4837         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
4838         (gtk_notebook_paint): do not take cur_page as a reference to paint the
4839         box if it's detached.
4840         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
4841         to the detached tab if we hover the arrows during a tabs detaching 
4842         operation, do not allocate it unconditionally in 0,0.
4843
4844 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
4845
4846         Expose improvements for GtkNotebook. Bug #383435
4847
4848         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
4849         labels.
4850         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
4851         (gtk_notebook_draw_tab): do not send handmade expose events to tab
4852         labels.
4853
4854 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
4855
4856         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
4857         FALSE.  (#389623, Carlos Garnacho Parro)
4858
4859         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
4860         redraws.
4861
4862 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
4863
4864         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
4865         (gtk_plug_unrealize): Notify the "embedded" property also on
4866         normal construction and when destroying the socket window.
4867         Bug #388738.
4868
4869 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
4870
4871         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
4872         (gtk_about_dialog_init), (display_credits_dialog),
4873         (display_license_dialog):
4874         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
4875         (gtk_file_chooser_dialog_init),
4876         (gtk_file_chooser_dialog_constructor),
4877         (gtk_file_chooser_dialog_unmap):
4878         * gtk/gtkrecentchooserdefault.c:
4879         (_gtk_recent_chooser_default_init):
4880         * gtk/gtkrecentchooserdialog.c:
4881         (gtk_recent_chooser_dialog_class_init),
4882         (gtk_recent_chooser_dialog_init),
4883         (gtk_recent_chooser_dialog_constructor),
4884         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
4885         instead of using style-set handlers. Fix the filechooser's spacing
4886         between content and action area to 12px. Bug #372447.
4887
4888 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
4889
4890         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
4891         Don't assume statusbar->label is the statusbar's frame's child when
4892         shrinking the size allocation when the grip is shown. Bug #372452.
4893
4894 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
4895
4896         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
4897         (add_custom_paper): Fix mem leaks. Bug #389194.
4898
4899 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
4900
4901         * gtk/gtktextutil.c: Remove debug output.
4902
4903         * gtk/gtktextview.c: Improve the DND scrolling
4904         behaviour.  (#92387, Carlos Garnacho Parro)
4905
4906         * gtk/gtkaccellabel.c: Improve translators comments.  
4907         (#389298, Christian Persch)
4908
4909 2006-12-24  Bastien Nocera  <hadess@hadess.net>
4910
4911         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
4912         (#389183)
4913
4914 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
4915
4916         * docs/reference/gtk/gtk-sections.txt:
4917         * gtk/gtk.symbols:
4918         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
4919         * gtk/gtkprinter-private.h:
4920         * gtk/gtkprinter.c: (gtk_printer_list_papers):
4921         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
4922
4923 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
4924
4925         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
4926         when is selected in page setup dialog. Fixes bug #365047.
4927
4928 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
4929
4930         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
4931         Use gtk_border_free when freeing border.
4932
4933 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
4934
4935         * gtk/gtkentry.c (gtk_entry_button_press): When
4936         shift-clicking, keep the larger part of the selection
4937         selected.  (#353709, Benjamin Otte)
4938
4939         * gtk/gtkbutton.c (gtk_button_get_props): Use 
4940         gtk_border_free when freeing borders.
4941
4942         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
4943         careful when faking a button release.  (#323146,
4944         Travis Abbott)
4945
4946         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
4947         handle with the right orientation, depending on the
4948         position of the handlebox.  (#159764, Benjamin Berg)
4949
4950 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
4951
4952         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
4953         GtkBorder (#383557).
4954
4955 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
4956
4957         Bug 340141 – Update to Pango 1.16 API
4958
4959         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
4960         (gdk_pango_layout_line_get_clip_region):
4961         * gtk/gtkcalendar.c (gtk_calendar_size_request):
4962         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
4963         (get_layout_position), (gtk_entry_find_position),
4964         (gtk_entry_adjust_scroll):
4965         * gtk/gtkiconview.c (get_pango_text_offsets):
4966         * gtk/gtklabel.c (get_cursor_direction):
4967         * gtk/gtkstyle.c (get_insensitive_layout):
4968         * gtk/gtktextdisplay.c (render_para):
4969         * gtk/gtktextlayout.c (allocate_child_widgets),
4970         (find_display_line_below), (find_display_line_above),
4971         (gtk_text_layout_move_iter_to_previous_line),
4972         (gtk_text_layout_move_iter_to_next_line),
4973         (gtk_text_layout_move_iter_to_line_end),
4974         (gtk_text_layout_iter_starts_line),
4975         (gtk_text_layout_move_iter_to_x):
4976         * gtk/gtktextutil.c (limit_layout_lines):
4977         Use the _readonly version of pango_layout_iter_get_line(),
4978         pango_layout_iter_get_run(), pango_layout_get_line(), and
4979         pango_layout_get_lines().
4980
4981         * gtk/gtkmain.c (gtk_get_default_language): Use
4982         pango_get_default_language().
4983
4984 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
4985
4986         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
4987         and notify:text only once. The same fix was applied
4988         for replacing the selection via DND or copy-and-paste.
4989         (#64998, Damon Chaplin, Sven Herzberg)
4990
4991 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
4992
4993         * gtk/gtkimmulticontext.c: Be careful to not override
4994         GTK+ translations with the translations of the input
4995         method.  (#317080, Tor Lillqvist)
4996
4997         * modules/input/imcedilla.c: Use standard macros
4998         for translation domain and locale dir.
4999
5000         * gtk/gtkimcontextsimple.c: Allow composing l with 
5001         stroke.  (#349638, Daniel Lublin)
5002
5003         * gtk/gen-paper-names.c: Fix a thinko in the suffix
5004         calculation.  (#382369, Christian Persch)
5005
5006         * gtk/paper_names_offsets.c: Regenerated.
5007
5008 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
5009
5010         * modules/engines/pixbuf/pixbuf.h:
5011         * modules/engines/pixbuf/pixbuf-rc-style.h:
5012         * modules/engines/pixbuf/pixbuf-style.h: Move 
5013         G_GNUC_INTERNAL before function declarations.  (#352276,
5014         Damien Carbery)
5015
5016 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
5017
5018         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
5019         Wilson)
5020
5021 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
5022
5023         * *.c: Replace a lot of idle and timeout calls by
5024         the new gdk_threads api. 
5025
5026         * gdk/gdk.symbols:
5027         * gdk/gdk.h:
5028         * gdk/gdk.c: Add functions to allow threadsafe handling
5029         of idles and timeouts wrt. to the GDK lock.  (#321886,
5030         Chris Wilson)
5031         
5032 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
5033         
5034         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
5035         (#340141, Behdad Esfahbod)
5036
5037         * configure.in: Check for getc_unlocked.
5038
5039         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
5040         unavailable.   (#381499)
5041
5042         * tests/teststatusicon.c: Fix a typo
5043
5044 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
5045
5046         Make it possible to track the embeddedness of
5047         statusicon (#387215, Martyn Russell, patch by Christian
5048         Persch)
5049
5050         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
5051         * gtk/gtkplug.c: 
5052         * gtk/gtkplug-x11.c: Add an embedded property.
5053         * tests/teststatusicon.c: Test the new properties.
5054
5055         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
5056         leak draw_border.  (#387170, Kjartan Maraas)
5057
5058 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
5059
5060          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
5061         Typo fix.  (#388123, Murray Cumming)
5062         
5063         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
5064         Generate double-click events.  (#380421, Tommi Komulainen)
5065
5066         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
5067         (_gdk_input_enter_event): Correct return_if_fail checks.
5068         (#379803, Tommi Komulainen)
5069
5070         * gdk/gdkdisplay.c: Improve the docs of some functions operating
5071         on the default display.  (##353438, Mariano Suárez-Alvarez)
5072
5073 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
5074
5075         * docs/reference/gdk/gdk-sections.txt:
5076         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
5077         converting a GdkColor to a string (#373856).
5078
5079         * configure.in: Bump pango requirement to 1.15.2.
5080
5081 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
5082         
5083         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
5084         Bastian Nocera)
5085
5086         * gdk/keyname-table.h: Regenerated
5087
5088         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
5089         Søren Wedel Nielsen)
5090
5091         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
5092         Silently return if a drag is already in progress, rather
5093         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
5094
5095         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
5096         Allow any GtkDialog that implements GtkFileChooser as
5097         dialog.  (#335473, Tommi Komulainen)
5098
5099 2006-12-20  Mikael Hallendal  <micke@imendio.com>
5100
5101         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
5102         change in the quartz backend.
5103
5104 2006-12-20  Mikael Hallendal  <micke@imendio.com>
5105
5106         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
5107         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
5108         status icon.
5109         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
5110
5111 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
5112
5113         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
5114         format of page ranges, and improve the page sequence icon
5115         for the case of n_copies == 1.
5116  
5117 2006-12-19  Mikael Hallendal  <micke@imendio.com>
5118
5119         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
5120         routine so that it can be used from libgtk as well (needed for
5121         upcoming GtkStatusIcon support in the Quartz port).
5122         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
5123         created from GDK, this is not true for the status icon.
5124         * gdk/quartz/gdkprivate-quartz.h:
5125         * gdk/quartz/gdkquartz.h: Added 
5126         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
5127         the status icon code.
5128
5129 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
5130
5131         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
5132         gtk_message_dialog_set_image ()
5133
5134         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
5135         (setting "window-placement-set" could result in a crash because
5136         of boolean/enum mixup)
5137
5138 2006-12-15  Federico Mena Quintero  <federico@novell.com>
5139
5140         Merged from gtk-2-10:
5141
5142         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
5143         the case where the new title is the same as the old title, to
5144         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
5145         equivalent).  Handle the case where title == priv->title.  This
5146         was found by the LSB compatibility tests:
5147         https://bugzilla.novell.com/show_bug.cgi?id=223882
5148
5149 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
5150
5151         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
5152         more closely resemble its Win32 counterpart. Bug #340204.
5153
5154 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
5155
5156         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
5157         placed inside their GdkWindow. Bug #385672.
5158
5159 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
5160
5161         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
5162
5163 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
5164
5165         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
5166         drawn with extra line below tab in MS-Windows theme. Patch by 
5167         Cody Russell
5168         
5169 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
5170
5171         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
5172         for print preview.  (#370041, Ghee Teo)
5173
5174 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
5175
5176         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
5177         careful when overdrawing antialiased text.  (#352435, Alex Jones,
5178         patch by Benjamin Otte)
5179
5180         * gtk/gtksettings.c: Change the way in which color scheme information
5181         is merged to correctly handle vanishing colors.  (#374420, 
5182         Benjamin Berg, patch by Callum McKenzie) 
5183         Also allow to separate entries in color schemes by ';' 
5184         instead of newline.  
5185
5186 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
5187
5188         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
5189         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
5190
5191 2006-12-10  Kristian Rietveld  <kris@gtk.org>
5192
5193         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
5194         cancel editing (ie. don't accept changes) when the entry loses
5195         focus. (Fixes #164494, reported by Chris Rouch).
5196
5197 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
5198
5199         * configure.in: Correct a misapplied patch. 
5200
5201 2006-12-10  Tor Lillqvist  <tml@novell.com>
5202
5203         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
5204         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
5205         developer zipfile. Users might add pixbuf loaders or immodules
5206         even if they are not interested in developing gtk+-using software.
5207
5208 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
5209
5210         * configure.in: Check for crt_extern.h and _NSGetEnviron.
5211         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
5212         environ is not available.  (#384168, Min Sik Kim)
5213
5214 2006-12-07  Paolo Maggi  <paolo@gnome.org>
5215
5216         Fixes bug #383407
5217         
5218         * gtk/gtkentry.c (gtk_entry_set_text): check for
5219         completion->priv->changed_id > 0 before calling 
5220         g_signal_handler_[un]block.
5221         (gtk_entry_completion_key_press): does not block/unblock the "changed"
5222         signal before calling gtk_entry_set_text.
5223         
5224 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
5225
5226         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
5227         xthickness/ythickness, they aren't used any longer for drawing.
5228
5229 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
5230
5231         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
5232         underlines by giving labels a small draw-border.
5233
5234 2006-12-06  Kristian Rietveld  <kris@gtk.org>
5235
5236         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
5237         draw progress bar through theme engine instead of using our own
5238         custom cairo drawing code (#377244, patch from Carlos Garnacho).
5239
5240 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
5241
5242         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
5243         Update the sensitivity of the collate checkbutton more frequently,
5244         proposed by Tim Waugh.
5245
5246 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
5247
5248         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
5249         since we no longer set window titles.
5250
5251 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
5252
5253         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
5254         (gtk_page_setup_set_paper_size): Don't leak the old page size when
5255         setting a new one. Bug #382314.
5256
5257 2006-12-03  Michael Natterer  <mitch@gimp.org>
5258
5259         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
5260
5261 2006-12-03  Kristian Rietveld  <kris@gtk.org>
5262
5263         Make sure [xy]_offset are always being initialized, fix pixbuf
5264         renderer padding.  (#108235, Sven Neumann).
5265
5266         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
5267         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
5268         of _get_size.
5269
5270         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
5271         always initialize [xy]_offset.
5272         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
5273         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
5274         ditto.
5275
5276 2006-12-03  Kristian Rietveld  <kris@gtk.org>
5277
5278         * gtk/gtktreeview.c (validate_visible_area): when not using an
5279         explicit alignment, use the full area of the row (not just dy)
5280         to determine how to implicitly align it.  (Fixes #363191, reported
5281         by Federico Mena Quintero).
5282
5283 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
5284
5285         * gtk/gtkicontheme.c (insert_theme): Properly clean up
5286         if an icon theme index file has no directories.  (#381236)
5287
5288 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
5289
5290         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
5291         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
5292         
5293 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
5294
5295         Remove the broken Thai input method and add a functional Thai and Lao
5296         input method by Theppitak Karoonboonyanan. (#81031)
5297
5298         * modules/input/imthai.c:
5299         * modules/input/gtkimcontextthai.c:
5300         * modules/input/gtkimcontextthai.h:
5301         * modules/input/thai-charprop.c:
5302         * modules/input/thai-charprop.h:
5303         Added.
5304
5305         * modules/input/imthai-broken.c:
5306         Removed.
5307         
5308         * modules/input/Makefile.am:
5309         Updated.
5310
5311 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
5312
5313         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
5314
5315 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
5316
5317         * gtk/gtktextview.c: applied patch by  Colin Leroy for
5318         Control+GDK_KP_Left to move one word to the left, #356255.
5319
5320 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
5321
5322         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
5323           widget. (#379503)
5324
5325 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
5326
5327         * modules/printbackends/cups/gtkprintbackendcups.c: Make
5328         print dialog work when 'BrowseShortNames Off' is specified
5329         in cups configuration. Patch by Tim Waugh.
5330
5331 2006-11-24  Michael Natterer  <mitch@imendio.com>
5332
5333         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
5334         can't go up/down, consult gtk_widget_keynav_failed() and leave the
5335         widget if it returns FALSE (bug #322640).
5336
5337 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
5338
5339         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
5340
5341 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
5342
5343         * gtk/gtkrecentmanager.c:
5344         (get_uri_shortname_for_display): g_filename_from_uri() might
5345         fail; catch the failure and fall back to the non-local URI
5346         case. (#363437)
5347
5348 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
5349
5350         Fixes bug #376502 - multi-screen support for GtkStatusIcon
5351
5352         * gtk/gtkstatusicon.[ch]:
5353         (gtk_status_icon_set_screen),
5354         (gtk_status_icon_get_screen): add multi-screen API. Allows
5355         an app to display an icon on a non-default screen
5356         (gtk_status_icon_class_init),
5357         (gtk_status_icon_set_property),
5358         (gtk_status_icon_get_property): add a "screen" property
5359         
5360         * tests/teststatusicon.c: update to test on multiple screens
5361
5362 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
5363
5364         Fix problems with drag cancellation. (#376535, Michael Natterer)
5365         
5366         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
5367         handlers before emitting drag-end.
5368         (gtk_drag_end): Disconnect signal handlers before removing
5369         the grab.  
5370
5371 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
5372
5373         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
5374         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
5375
5376 2006-11-16  Michael Natterer  <mitch@imendio.com>
5377
5378         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
5379         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
5380         and gtk-keynav-wrap-around and wrap around, beep or continue outside
5381         the group manually (bug #322640).
5382
5383 2006-11-16  Michael Natterer  <mitch@imendio.com>
5384
5385         Add new infrastructure for notifications of failed keyboard
5386         navigation and navigation with restricted set of keys.
5387
5388         The patch handles configurable beeping, navigating the GUI with
5389         cursor keys only (as in phone environments), and configurable
5390         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
5391         and #309291.
5392
5393         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
5394         gtk-keynav-wrap-around and gtk-error-bell.
5395
5396         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
5397         API to emit it. Added New function gtk_widget_error_bell() which
5398         looks at the gtk-error-bell setting and calls gdk_window_beep()
5399         accordingly.
5400
5401         * gtk/gtk.symbols: add the new widget symbols.
5402
5403         * gtk/gtkcellrendereraccel.c
5404         * gtk/gtkimcontextsimple.c
5405         * gtk/gtkmenu.c
5406         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
5407         gtk-error-bell setting instead of calling gdk_display_beep()
5408         unconditionally.
5409
5410         * gtk/gtkcombobox.c
5411         * gtk/gtkentry.c
5412         * gtk/gtkiconview.c
5413         * gtk/gtklabel.c
5414         * gtk/gtkmenushell.c
5415         * gtk/gtkspinbutton.c
5416         * gtk/gtktextview.c
5417         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
5418
5419         * gtk/gtkentry.c
5420         * gtk/gtklabel.c
5421         * gtk/gtkrange.c
5422         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
5423         cursor navigation and leave the widget if it returns FALSE.
5424
5425         * gtk/gtkmenushell.c
5426         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
5427         is TRUE.
5428
5429         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
5430         whether to to wrap-around, and don't select active items on cursor
5431         navigation if gtk-keynav-cursor-only is TRUE. Should look at
5432         gtk-keynav-wrap-around too, will look into that.
5433
5434 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
5435
5436         * gtk/gtkrecentmanager.c:
5437         (gtk_recent_info_get_uri_display): Return the URI
5438         of the GtkRecentInfo object (upgraded to UTF-8 if
5439         needed) in case of non-local file. (#351945)
5440
5441 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
5442         
5443         * gtk/gtkrecentchoosermenu.c:
5444         (gtk_recent_chooser_menu_add_tip): Apply the tip only
5445         if we have a displayable name for the item. (#365031,
5446         patch by padraig.obriain(at)sun.com)
5447
5448 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
5449
5450         * gtk/gtkrecentmanager.c: Provide a fast path returning
5451         NULL when the limit is set to 0.
5452
5453         * gtk/gtkrecentchooserdefault.c:
5454         * gtk/gtkrecentchoosermenu.c: Add the same fast path
5455         inside the RecentChooser implementation; add a check
5456         in the list clamping code. (#373466 and duplicates)
5457
5458 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
5459
5460         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
5461         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
5462
5463 2006-11-15  Michael Natterer  <mitch@imendio.com>
5464
5465         * gtk/gtkrange.[ch]: added properties "fill-level",
5466         "show-fill-level" and "restrict-to-fill-level" and getters/setters
5467         for them. The "fill level" is an additional marker on the range's
5468         trough than can be e.g. used to indicate the amount of
5469         pre-buffering in a range showing the play position of streamed
5470         media. See the embedded API docs for details. Made GtkRangeLayout
5471         a GTypeInstance private struct and removed finalize()
5472         implementation. Fixes bug #349808
5473
5474         * gtk/gtk.symbols: added the new symbols.
5475
5476 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
5477
5478         * configure.in: Make libtool magic robust. (#352795)
5479
5480 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
5481
5482         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
5483         leak (#370395)
5484
5485 2006-11-09  Kristian Rietveld  <kris@imendio.com>
5486
5487         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
5488         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
5489
5490 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
5491
5492         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
5493
5494 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
5495
5496         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
5497         timeout running if the slider buttons are hidden. (#372527)
5498
5499 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
5500
5501         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
5502         the "Location" label bold. Bug #372449.
5503
5504 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
5505
5506         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
5507         non-focused tabs xthickness/ythickness thinner. (#353962)
5508
5509 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
5510
5511         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
5512         corruption (#357050).
5513
5514 2006-11-06  Alexander Larsson  <alexl@redhat.com>
5515
5516         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
5517         (gtk_drag_source_info_destroy), (gtk_drag_end),
5518         (gtk_drag_grab_notify_cb):
5519         Cancel drag when the grab is shadowed. (#122688)
5520
5521 2006-11-01  Kristian Rietveld  <kris@imendio.com>
5522
5523         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
5524         (gtk_combo_box_size_request): add arrow-size property to control
5525         the minimum size of the arrow, have the arrow scale up with the
5526         font by default. (#357950).
5527
5528 2006-10-30  Kristian Rietveld  <kris@gtk.org>
5529
5530         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
5531         forget to queue a draw for the new cursor node. (Fixes #366548,
5532         reported by Sven Herzberg).
5533
5534 2006-10-30  Michael Natterer  <mitch@imendio.com>
5535
5536         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
5537         only if we actually cancel a drag. Fixes bug #58389.
5538
5539 2006-10-30  Kristian Rietveld  <kris@gtk.org>
5540
5541         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
5542         keybindings to collapse/expand rows instead of moving the focus
5543         cursor. (#105895, Brian Bober and others).
5544
5545 2006-10-29  Kristian Rietveld  <kris@gtk.org>
5546
5547         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
5548         child removal in row-expanded callback. (#366782, John Ellis).
5549
5550 2006-10-29  Tor Lillqvist  <tml@novell.com>
5551
5552         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
5553         of the small icon of the window class. (#152620, Kazuki Iwamoto)
5554
5555 2006-10-29  Tor Lillqvist  <tml@novell.com>
5556
5557         * gdk/win32/gdkcursor-win32.c
5558         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
5559         for instance the built-in GDK ones.
5560
5561 2006-10-27  Kristian Rietveld  <kris@gtk.org>
5562
5563         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
5564         case to not overwrite the variables in the lower scope (which are
5565         used later on ...), get the path correctly and bail out when there
5566         isn't a node above us. (#359231).
5567
5568 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
5569
5570         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
5571
5572 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
5573
5574         * gtk/gtk.symbols: Add missing symbols to so make check can pass
5575
5576 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
5577
5578         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
5579         to free GDI Pen resources, introduced by bug 340201.(#364514)
5580         
5581 2006-10-18  Kristian Rietveld  <kris@imendio.com>
5582
5583         * tests/testcombo.c (main): connect to notify::popup-shown instead of
5584         popup-show (the latter does not exist).
5585
5586 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
5587
5588         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
5589         Fixes bug #362439.
5590
5591 2006-10-12  Michael Natterer  <mitch@imendio.com>
5592
5593         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
5594         (committed the wrong patch).
5595
5596 2006-10-12  Michael Natterer  <mitch@imendio.com>
5597
5598         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
5599         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
5600         obsolete now. Fixes bug #358293.
5601
5602 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
5603
5604         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
5605
5606 2006-10-11  Tor Lillqvist  <tml@novell.com>
5607
5608         * configure.in: Enable having some gdk-pixbuf loaders built-in
5609         even if loading the others dynamically. Define Automake
5610         conditional INCLUDE_FOO for each loader as TRUE if that loader is
5611         built-in. See also gdk-pixbuf/ChangeLog.
5612
5613 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
5614
5615         * docs/reference/gtk/gtk-sections.txt:
5616         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
5617
5618 2006-10-11  Tor Lillqvist  <tml@novell.com>
5619
5620         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
5621         variable.
5622
5623 2006-10-11  Tor Lillqvist  <tml@novell.com>
5624
5625         Merge from 2.10 branch:
5626
5627         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
5628         environment variable LC_ALL or LANG is set, set the Win32 thread
5629         locale to the corresponding locale. Then call the C library
5630         setlocale() to set the C library locale accordingly. The
5631         inconsistency mentioned below is gone. (#339756) Do some special
5632         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
5633         scripts for Azeri, Uzbek and Serbian.
5634         (enum_locale_proc): Helper function for the above functionality.
5635
5636         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
5637         if the environment variables are set here, as they have already
5638         been taken into account and the Win32 thread locale has been
5639         set.
5640
5641 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
5642
5643         * gtk/tmpl/gtkbindings.sgml: 
5644         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
5645         inline docs. applied wording fixes suggested by Martyn Russell.
5646
5647 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
5648
5649         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
5650         Update the docs to state which out parameters may be NULL.
5651         (#360870, Attilio Fiandrotti)
5652
5653 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
5654
5655         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
5656         a typo.  (#359542, Ghee Teo)
5657
5658 2006-10-08 Matthias Clasen <mclasen@redhat.com>
5659
5660         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
5661         reorder tabs if the focus is in the tab.  (#350342, Carlos
5662         Garnacho Parro)
5663
5664 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
5665
5666         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
5667
5668 2006-10-08  Kristian Rietveld  <kris@gtk.org>
5669
5670         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
5671         (gtk_tree_view_set_show_expanders),
5672         (gtk_tree_view_get_show_expanders): add getter/setter for
5673         show-expanders property, queue a redraw when this property
5674         is toggled (#351167, Martin Ejdestig),
5675         (gtk_tree_view_set_level_indentation),
5676         (gtk_tree_view_get_level_indentation): also add getter/setter
5677         and docs for level-indentation property.
5678
5679 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
5680
5681         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
5682         leak a list.  (#360350, Benjamin Berg)
5683
5684         * Apply a cleanup patch by Kjartan Maraas  (#341812)
5685
5686 2006-10-07  Tor Lillqvist  <tml@novell.com>
5687
5688         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
5689         locale's first day of week setting on Win32. (#339752, Bogdan
5690         Nicula) Don't do this if one of the environment variables that
5691         affect gettext is set, though. In that case use the week start day
5692         from the corresponding message catalog.
5693
5694         Unfortunately the same logic isn't possible in the weekday and
5695         month name lookup; there even if you have set one of the
5696         aforementioned environment variables, you still get the weekday
5697         and month names from the Win32 thread locale. Yes, this is
5698         inconsistent.
5699
5700         Use only wide-character API in the Win32 code in this file, too.
5701
5702 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
5703
5704         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
5705         Fix the docs.  (#360112)
5706
5707         * gtk/gtkcellview.c: Don't set the background of the
5708         window in a no-window widget.  (#359581, Xan Lopez)
5709
5710
5711 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
5712
5713         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
5714         test correctly. (#359845)
5715
5716 2006-10-05  Michael Natterer  <mitch@imendio.com>
5717
5718         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
5719         rid of a key binding (in fact, it only lets it appear unbound).
5720
5721         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
5722         "guint marks_unbound : 1"
5723
5724         (gtk_binding_entry_skip): new API which marks the entry as unbound.
5725
5726         Changed code so it returns FALSE when "marks_unbound == TRUE" is
5727         encountered while activating bindings, effectively letting the
5728         binding appear unbound (regardless of still existing bindings in
5729         lower binding priority levels). Fixes bug #358329.
5730
5731         (gtk_binding_entry_add)
5732         (gtk_binding_entry_clear)
5733         (gtk_binding_entry_add_signall)
5734         (gtk_binding_parse_binding): deprected these functions.
5735
5736         (_gtk_binding_parse_binding)
5737         (_gtk_binding_entry_add_signall): new internal API.
5738
5739         * gtk/gtk.symbols: changed accordingly.
5740
5741 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
5742
5743         Fix interaction of GtkEntryCompletion with input
5744         methods.  (#354495, Diego Escalante Urrelo)
5745
5746         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
5747         the im context if we actually handle the key event.
5748
5749         * gtk/gtkentrycompletion.c: Also propagate key release events
5750         to the entry.
5751
5752 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
5753
5754         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
5755         Fix a typo.  (#359052, Ghee Teo)
5756
5757         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
5758         reduce relocations. (#359053)
5759
5760 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
5761
5762         * modules/printbackends/cups/gtkcupsutils.c:
5763         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
5764         the fix for bug 357280.
5765
5766 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
5767
5768         * gdk-pixbuf/Makefile.am:
5769         * gdk/Makefile.am:
5770         * gtk/Makefile.am:
5771         Include pltcheck.sh in EXTRA_DIST.
5772
5773 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
5774
5775         * gdk/x11/gdkevents-x11.c: Move all includes before including
5776         gdkalias.h.
5777
5778 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
5779
5780         * gtk/Makefile.am: Fix typo in file name.  (#358931)
5781
5782 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
5783
5784         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
5785         Only use the group name field if cups is new enough.  (#357280)
5786
5787         * gtk/gtksizegroup.c: Make sure that the quarks are 
5788         initialized before using them.  (#353736)
5789
5790         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
5791         replace existing links.  (#354849, James Evans)
5792
5793 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
5794
5795         * gtk/gtkexpander.c (gtk_expander_realize) 
5796         (gtk_expander_size_allocate): Make the event_window large
5797         enough to cover the full height of the label_widget.  (#358351,
5798         Scott Horowitz)
5799
5800 2006-10-01  Tor Lillqvist  <tml@novell.com>
5801
5802         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
5803
5804 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
5805
5806         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
5807         against base_path being NULL.  (#358405, many reporters)
5808
5809 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
5810
5811         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
5812         to avoid a deadlock.
5813
5814 2006-09-27  Kristian Rietveld  <kris@imendio.com>
5815
5816         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
5817         (gtk_tree_model_filter_ref_node),
5818         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
5819         in sync with each other and the sort model.
5820
5821 2006-09-27  Kristian Rietveld  <kris@imendio.com>
5822
5823         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
5824         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
5825         (gtk_tree_model_filter_new): unref the virtual root path once that
5826         node (or one if its ancestors) is deleted, set virtual_root_deleted
5827         so we only unref it once.
5828
5829 2006-09-27  Kristian Rietveld  <kris@imendio.com>
5830
5831         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
5832         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
5833         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
5834         (gtk_tree_model_sort_free_level): bring zero ref count loops in
5835         sync,
5836         (gtk_tree_model_sort_free_level): free child levels before
5837         decreasing the zero ref count of the current level,
5838         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
5839         is > 0.
5840
5841 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
5842
5843         * demos/gtk-demo/*.c:
5844         * gtk/gtkeventbox.c:
5845         * gtk/gtkprintoperation.c: Fix typos. String change.
5846
5847 2006-09-25  Kristian Rietveld  <kris@gtk.org>
5848
5849         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
5850         has already been realized; scroll to background area instead of
5851         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
5852
5853 2006-09-25  Kristian Rietveld  <kris@gtk.org>
5854
5855         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
5856         to create the GCs if the widget is realized. (Fixes #357578).
5857
5858 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
5859
5860         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
5861         the list of children (#357454, Paolo Borelli)
5862
5863 2006-09-25  Michael Natterer  <mitch@imendio.com>
5864
5865         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
5866         display->input_windows with g_free(), not g_object_unref()
5867         (#357566, Tommi Komulainen).
5868
5869 2006-09-24  Kristian Rietveld  <kris@gtk.org>
5870
5871         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
5872         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
5873         property to the API (left-over patch from #157439).
5874
5875 2006-09-24  Kristian Rietveld  <kris@gtk.org>
5876
5877         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
5878         the indicator if the column has a sort column id (and the model is
5879         sortable) or if the user explicitly requested the indicator
5880         to be shown.  (Fixes #352738, Chris Vine).
5881
5882 2006-09-23  Tor Lillqvist  <tml@novell.com>
5883
5884         * gtk/Makefile.am: Use EXEEXT.
5885
5886 2006-09-22  Michael Natterer  <mitch@imendio.com>
5887
5888         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
5889         and color hashes. Fixes bug #357132.
5890
5891 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
5892
5893         Make remote bookmarks work better (#354887)
5894         
5895         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
5896         (shortcuts_insert_path): 
5897         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
5898         (model_add_bookmarks): 
5899         (model_update_current_folder): 
5900         (update_label_and_image): 
5901         If the bookmark points to a remote file, don't call get_info(), 
5902         since that may a) take a long time and b) pop up an auth dialog.
5903         Instead, just use a folder icon and create a display name
5904         from the uri.
5905
5906         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
5907         New function to create a suitable display name for a remote
5908         uri. This should really be done in GtkFileSystem.
5909         
5910 2006-09-21  Michael Natterer  <mitch@imendio.com>
5911
5912        Implement lots of value setters for GdkGC, based on a heavily
5913        modified patch from Thomas Broyer (bug #328853):
5914
5915         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
5916         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
5917         which simply returns RGBA values from a GdkColor's pixel value.
5918         See gdk_quartz_update_context_from_gc() below.
5919
5920         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
5921         of members for the newly suppored GC values. Added enum
5922         GdkQuartzContextValuesMask which is used for setting up the
5923         CGContext for filling and/or stroking.
5924
5925         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
5926         (gdk_quartz_gc_set_values)
5927         (_gdk_windowing_gc_copy): support a lot more GC values.
5928
5929         (gdk_quartz_update_context_from_gc): added
5930         GdkQuartzContextValuesMask parameter and set filling/stroking
5931         parameters accordingly. This function also gained full control
5932         over the FG and BG colors (they can't be set separately any more).
5933
5934         The stipple mask part of the patch doesn't work but seems to take
5935         the right approach and doesn't make things worse, so I applied it.
5936
5937         Did *not* apply the clipping part of the patch since I don't
5938         understand it (I don't understand the version in CVS either, but
5939         it at least works :-)
5940
5941         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
5942         gdk_quartz_update_context_from_gc() and removed separate color
5943         setting calls. Some minor fixes.
5944
5945         * gdk/quartz/gdkwindow-quartz.c
5946         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
5947         fill color manually. We don't have/need a GC here.
5948
5949 2006-09-21  Michael Natterer  <mitch@imendio.com>
5950
5951         * gdk/quartz/gdkwindow-quartz.c
5952         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
5953         drawable_impl->wrapper that is the GdkWindow, not the
5954         drawable_impl itself.
5955
5956 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
5957
5958         * gdk/x11/gdkkeys-x11.c:
5959           (get_direction): just check the first shift-level of keyboard
5960         layout for RTL and LTR keysyms() (compliment to #116626)
5961
5962 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
5963
5964         * gtk/gtkviewport.c: always update the bin_window position and size
5965         in size_allocate, even if we don't have a visible child. this fixes
5966         expose artefacts as described in #313508.
5967
5968         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
5969         have no visible child explicit.
5970
5971 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
5972
5973         * docs/reference/gdk/gdk-sections.txt:
5974         * gdk/gdk.symbols:
5975         * gdk/gdkpango.h:
5976         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
5977           (gdk_pango_layout_get_clip_region): Remove an unused variable.
5978           (gdk_pango_attr_embossed_new): Fix documentation.
5979
5980 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
5981
5982         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
5983         control the arrow/border ratio within the allocation.
5984
5985         * tests/testgtk.c: added a GtkArrow to handle box test.
5986
5987         * tests/testgtkrc: test ::arrow-scaling property.
5988
5989 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
5990
5991         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5992         Display an error when we come to the root.  
5993
5994 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
5995
5996         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
5997         the combobox. 
5998
5999         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
6000         bookmarks to the model in local-only mode, to avoid 
6001         authentication dialogs pop up for invisible bookmarks, and
6002         to fix issues with separators not being hidden when
6003         they should.  (#354887, Dennis Cranston)
6004
6005 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
6006
6007         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
6008         treeview use in list mode.  (#355732, Richard Hult)
6009
6010         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
6011         change notification for the right property.  (#355308,
6012         Torsten Schoenfeld)
6013
6014 2006-09-15  Michael Natterer  <mitch@imendio.com>
6015
6016         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
6017         header navigation/resizing/reordering to be more readable and lose
6018         one level of nesting.
6019
6020 2006-09-15  Kristian Rietveld  <kris@imendio.com>
6021
6022         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
6023         return after handling column button focus; we disable wrap around
6024         with this (which actually happened via a really weird code path).
6025         (Michael Natterer)
6026
6027 2006-09-15  Kristian Rietveld  <kris@imendio.com>
6028
6029         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
6030         code RTL aware, also break from the loops after we have seen the
6031         focussed column button (Michael Natterer).
6032
6033 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
6034
6035         * tests/testrichtext.c (main): intialize random number generator state
6036         upon program start, to enable truely random testing.
6037
6038 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
6039
6040         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
6041         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
6042         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
6043                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
6044         * gdk/quartz/Makefile.am same change as directfb Makefile
6045         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
6046
6047 2006-09-13 Matthias Clasen <mclasen@redhat.com>
6048
6049         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
6050         for the grab widget, to make the color picker work with window
6051         groups.  
6052
6053 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
6054
6055         signed off by: Dom Lachowicz
6056         
6057         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
6058         a large number of improvements to the Microsoft Windows theme engine
6059         which are fully described in the bug report.
6060         
6061 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
6062
6063         * tests/testgtk.c: fixed compiler warnings.
6064
6065 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
6066
6067         * gtk/gtkfilechooserbutton.c (model_add_special): Request
6068         the display name too, otherwise "Desktop" does not appear
6069         in the file chooser button. 
6070
6071 2006-09-10  Tor Lillqvist  <tml@novell.com>
6072
6073         * gdk/win32/gdkprivate-win32.h
6074         * gdk/win32/gdkmain-win32.c
6075         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
6076         0x0500 in gdkprivate-win32.h instead of doing it in two source
6077         files. (#355212, Mike Edenfield)
6078
6079         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
6080         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
6081
6082 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
6083
6084         * Commit a patch by Behdad to fix typos, omissions and other
6085         errors in the symbol aliasing, and add checks for local PLT
6086         entries.  (#354687, Behdad Esfahbod)
6087
6088         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
6089         the flush timeout.  (#354043, Nelson Benitez)
6090         
6091         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
6092         Improve wording. String change!  (#355126, David Lodge)
6093
6094         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
6095         David Lodge)
6096
6097         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
6098         David Lodge)
6099
6100 2006-09-09  Matthias Clasen <mclasen@redhat.com>
6101
6102         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
6103         (#353916, Chris Wilson)
6104
6105         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
6106         Don't leak the to_reset list.  (#353914, Chris Wilson)
6107
6108         * gtk/gtkwidget.c: Add docs for the parent-set signal.
6109         (#353772, Mariano Suárez-Alvarez)
6110
6111 2006-09-08  Matthias Clasen <mclasen@redhat.com>
6112
6113         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
6114         Don't clear clipboards here, since we are called from finalize
6115         and can't emit signals.
6116
6117         * configure.in: Set version to 2.11.0
6118
6119 2006-09-06  Richard Hult  <richard@imendio.com>
6120
6121         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
6122         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
6123
6124 2006-09-04  Kristian Rietveld  <kris@imendio.com>
6125
6126         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
6127         if setting the given folder failed, try setting the parent folder
6128         until we succeed; display an error box at the end.
6129
6130 2006-09-04  Kristian Rietveld  <kris@imendio.com>
6131
6132         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
6133         operations spawned by buttons here,
6134         (set_button_image_get_info_cb): bail out if button is NULL, but
6135         do free button_data,
6136         (button_data_free): only free the data if non NULL (since this
6137         function can be called multiple times for the same data), cancel
6138         handle if pending but don't free button_data in this case (will
6139         happen in the callback).
6140
6141 2006-09-04  Michael Natterer  <mitch@imendio.com>
6142
6143         * gtk/gtkrc.c (rc_parse_token_or_compound)
6144         (gtk_rc_parse_assignment): serialize floating point values using
6145         locale-independent functions. (#346751, Frederic Crozat)
6146
6147 2006-09-04  Tor Lillqvist  <tml@novell.com>
6148
6149         * gdk/win32/gdkevents-win32.c
6150         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
6151         window handling (PeekMessage, PostMessage, SendMessage,
6152         DispatchMessage, DefWindowProc, RegisterClassEx,
6153         CreateWindowEx). (#321597)
6154
6155 2006-09-03  Kristian Rietveld  <kris@imendio.com>
6156
6157         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
6158         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
6159         change file_exists_and_is_not_folder checks to get the file info
6160         for the path directly instead of querying the current file folder
6161         of the save entry.
6162
6163         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
6164         new field.
6165
6166         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
6167         (test_reload_sequence), (test_button_folder_states_for_action): wait
6168         for idle after setting a folder to ensure the async operations to load
6169         the folder are finished,
6170         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
6171         factor out test_confirm_overwrite code so we can add tests for more
6172         paths more easily.
6173
6174 2006-09-03  Richard Hult  <richard@imendio.com>
6175
6176         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
6177         exposure isn't in the event mask, plug a leak, and check that the
6178         window isn't destroyed.
6179         (isOpaque): Check that the window isn't destroyed, fixes bug 
6180         #353028.
6181
6182 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
6183
6184         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
6185         (#354035, Mariano Suárez-Alvarez)
6186
6187         * gtk/gtkmain.c (post_parse_hook): 
6188         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
6189         (#354004, Chris Wilson)
6190
6191 2006-09-03  Tor Lillqvist  <tml@novell.com>
6192
6193         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
6194         GDK_WINDOW_DISPLAY in the Win32 backend.
6195
6196         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
6197         gtkfilesystemunix.c
6198
6199 2006-09-02  Kristian Rietveld  <kris@imendio.com>
6200
6201         First part of file chooser fixes.
6202
6203         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
6204         handle in the model for the desktopdir case.
6205
6206         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
6207         volume in case we retrieved it but don't pass it on to insert_path,
6208         (shortcuts_model_create): change the column type for the handles
6209         to pointer instead of GObject so our handle ref counting is not
6210         disturbed,
6211         (show_and_select_paths_finished_loading): don't forget to unref
6212         the dialog.
6213
6214         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
6215         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
6216         remove pending execute_callbacks_idle during dispose, also
6217         execute all callbacks waiting to be run in the next idle,
6218         (queue_*callback), (execute_callbacks_idle): refactor to maintain
6219         a list of callbacks to call per file system instead of globally,
6220         guard the file system during callback invocation,
6221         (gtk_file_system_unix_get_folder): only add load folder idle if
6222         none has been added yet.
6223
6224 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
6225
6226         * gtk/gtkentry.c: Don't unnecessarily reset the im context
6227         when deleting the selection.  (#353803, Alex Larsson)
6228
6229 2006-09-01  Abel Cheung  <abel@oaka.org>
6230
6231         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
6232
6233 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
6234
6235         Stop cursor blinking after a configurable timeout.
6236         (#353670, #352442, Arjan van de Ven, Manu Cornet)
6237         
6238         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
6239         gtk-cursor-blink-timeout setting, which specifies the number
6240         of seconds that the cursor should blink after a user interaction.
6241         The default value is G_MAXINT to preserve the current behaviour.
6242
6243         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
6244         seconds.
6245
6246         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
6247         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
6248         blink timer.
6249
6250         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
6251         seconds. 
6252
6253         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
6254         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
6255         Reset the blink timer.
6256         
6257 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
6258
6259         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
6260         explicit format capabilities.  (#346505, Christian Persch)
6261
6262         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
6263
6264 2006-08-31  Michael Natterer  <mitch@imendio.com>
6265
6266         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
6267
6268 2006-08-30  Richard Hult  <richard@imendio.com>
6269
6270         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
6271
6272 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
6273
6274         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
6275         for beeping if we are using XKB.  
6276
6277 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
6278
6279         * gdk/gdkwindow.h: 
6280         * gdk/gdk.symbols: 
6281         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
6282         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
6283         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
6284         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
6285         to beep on a window. For X11, implement this with
6286         XkbBell.  (#353455, Mariano Suárez-Alvarez)
6287         
6288 2006-08-29  Tor Lillqvist  <tml@novell.com>
6289
6290         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
6291         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
6292         it isn't being maintained anyway. If somebody is interested, it
6293         can always be found in older GTK+ versions, and in CVS.
6294
6295         * configure.in
6296         * acconfig.h
6297         * gdk/Makefile.am
6298         * gdk/win32/Makefile.am
6299         * gdk/win32/libie55uid.la
6300         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
6301         switch and associated stuff. Active IMM and the <dimm.h> header
6302         was used for IM support on NT4 and Win9x. Win2k and later have IM
6303         support built-in.
6304
6305         * gdk/win32/gdkcursor-win32.c
6306         * gdk/win32/gdkdnd-win32.c
6307         * gdk/win32/gdkdrawable-win32.c
6308         * gdk/win32/gdkevents-win32.c
6309         * gdk/win32/gdkgc-win32.c
6310         * gdk/win32/gdkglobals-win32.c
6311         * gdk/win32/gdkkeys-win32.c
6312         * gdk/win32/gdkmain-win32.c
6313         * gdk/win32/gdkproperty-win32.c
6314         * gdk/win32/gdkselection-win32.c
6315         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
6316         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
6317         branches, and any variables or static functions used only by the
6318         Win9x branches.
6319
6320         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
6321         constants that aren't missing from current mingw and MSVC6
6322         headers.
6323
6324         * gdk/win32/gdkmain-win32.c
6325         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
6326         function. On NT-based Windows GetLastError() returns error codes
6327         also for failed GDI calls, so we can use _gdk_win32_api_failed()
6328         always.
6329
6330 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
6331
6332         * gtk/gtkrecentchoosermenu.c
6333         (gtk_recent_chooser_menu_set_current_uri): Break when an item
6334         is found and activated. (#353449, based on a patch by Jan Arne
6335         Petersen)
6336
6337 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
6338
6339         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
6340         properties which make all hardcoded padding and spacing values
6341         configurable. properly swap ::text-xalign treatment for RTL widgets.
6342
6343         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
6344         proeprty more consistent with GtkMisc alignment blurbs. mention
6345         RTL treatment for text-xalign.
6346
6347 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
6348
6349         * tests/testgtk.c: allow (most) windows to be resizable.
6350         added ellipsization settings to progress bars. 
6351
6352 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
6353
6354         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
6355         resonable timeout of 3 seconds when polling for printer
6356         list updates, instead of 300000 seconds...
6357
6358 2006-08-28  Michael Natterer  <mitch@imendio.com>
6359
6360         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
6361         </apply_tag> for tags that have already been closed by the logic
6362         which turns overlapping spans into XML-able trees. Fixes broken
6363         XML when there are overlapping tags in the buffer. Also free two
6364         leaked GLists and did some cleanup.
6365
6366         * tests/Makefile.am
6367         * tests/testrichtext.c: new test which creates randomly tagged
6368         GtkTextBuffers and serializes/deserializes them.
6369
6370 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
6371
6372         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
6373         Don't leak pixbufs.  (#352264, Ross Burton)
6374
6375         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
6376         PangoAttributes.  (#352391, Paolo Borelli)
6377
6378 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
6379
6380         * demos/gtk-demo/Makefile.am:
6381         * demos/gtk-demo/textscroll.c: Add an example of automatic
6382         scrolling, thanks to Yevgen Muntyan.  (#351206)
6383         
6384         * gtk/gtkmodules.c (find_module): Use local binding when
6385         loading modules.  (#351868)
6386
6387 2006-08-24  Michael Natterer  <mitch@imendio.com>
6388
6389         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
6390         the hostname instead of NULL.
6391
6392 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
6393
6394         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
6395         names and values in comboboxes, and clean up some
6396         coding style issues.
6397
6398 2006-08-23  Tor Lillqvist  <tml@novell.com>
6399
6400         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
6401         Revert unintended translatable string addition. Use same string
6402         in GError as in gtkfilesystemunix.c.
6403
6404         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
6405         Fix logic at the end of strings. 
6406
6407         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
6408         handles and check that we have no outstanding handles at
6409         finalization time. (Copying what Matthias did for
6410         gtkfilesystemunix.c)
6411
6412 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
6413
6414         * gtk/gtkfilesystemunix.c: Maintain a hash table
6415         of live handles and check that we have no outstanding
6416         handles at finalization time. (Copying what
6417         Federico did for gtkfilesystemgnomevfs.c)
6418
6419 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
6420
6421         * Branch for 2.10
6422