]> Pileus Git - ~andy/gtk/blob - ChangeLog
add _gtk_tree_view_column_get_focus_area().
[~andy/gtk] / ChangeLog
1 2007-03-20  Kristian Rietveld  <kris@gtk.org>
2
3         * gtk/gtktreeviewcolumn.c:
4         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
5
6         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
7         focus_to_cell parameter, rework to handle clamping columns which
8         are bigger than the available page size better,
9         (gtk_tree_view_key_press): remove code handling moving the focus
10         to other column headers,
11         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
12         fix RTL support, don't wrap around when moving focus to other
13         column headers, call gtk_tree_view_clamp_column_visible() instead
14         of duplicating code,
15         (gtk_tree_view_focus): only clamp the column visible when we are
16         explicitly moving to another column header (fixes #399555, Charles
17         Kerr),
18         (gtk_tree_view_move_cursor_left_right): update call to
19         gtk_tree_view_clamp_column_visible().
20
21 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
22
23         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
24         about dialog.
25
26 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
27
28         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
29         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
30
31 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
32
33         * modules/input/gtkimcontextmultipress.[hc]:
34         * modules/input/im-multipress.conf:
35         * modules/input/immultipress.c:
36         * modules/input/README.multipress: Add the multipress input
37         method.  (#417446, Johannes Schmid, Murray Cumming)
38
39         * modules/input/Makefile.am: Glue
40
41 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
42
43         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
44         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
45         failures gracefully. (#419171)
46
47 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
48
49         * gtk/gtkrecentaction.c (recent_chooser_set_property),
50         (gtk_recent_action_set_property): Remove useless inlined
51         function and propagate the properties to the GtkRecentChooser
52         objects we create, instead of all the proxies.
53
54         (set_current_filter): Remove 'inline' marker.
55
56 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
57
58         Apply changes suggested by Michael Natterer. (#338843)
59
60         * gtk/gtkaction.h:
61         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
62         rename gtk_action_get_submenu() to gtk_action_create_menu().
63
64         * gtk/gtkrecentaction.c: Update for GtkAction change.
65
66         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
67         also, use the menu from the GtkAction for both menuitem and
68         toolitem nodes.
69
70 2007-03-16  Xan Lopez  <xan@gnome.org>
71
72         * gtk/gtkwidget.c: Fix documentation error in
73         gtk_widget_set_redraw_on_allocate.
74
75 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
76
77         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
78         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
79         patch by Christian Persch)
80
81 2007-03-15  Federico Mena Quintero  <federico@novell.com>
82
83         Merged from gtk-2-10:
84
85         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
86         PANGO_PIXELS() gives us device units, which are *points* in
87         pangocairo's parlance, but we want actual pixels.  So, get the
88         screen's resolution to compute the actual number of pixels.
89         Fixes bug #418585.
90
91 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
92
93         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
94         unused GError; do not allocate GtkRecentData and use a variable
95         on the stack. (#418673, Morten Welinder)
96
97 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
98
99         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
100         actions providing a menu item or a menu tool button with already
101         a submenu should return the GtkMenu widget.
102
103         * gtk/gtkuimanager.c (update_node): If an action provides its
104         own submenu, use it instead of adding an empty one
105
106         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
107         implementing the GtkRecentChooser interface for displaying the
108         list of recently used files into menus and toolbars generated
109         using GtkUIManager. (#338843)
110
111         * gtk/Makefile.am:
112         * gtk/gtk.h:
113         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
114
115         * tests/testactions.c: Exercise the GtkRecentAction API.
116
117 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
118
119         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
120         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
121         from recursion, which can happen for example if the app tries to
122         reload an icon from within a theme-changed handler. (#418531)
123
124 2007-03-15  Richard Hult  <richard@imendio.com>
125
126         * gdk/quartz/gdkmain-quartz.c: Add stubs for
127         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
128         here too.
129
130 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
131
132         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
133         Welinder)
134
135 2007-03-15  Tor Lillqvist  <tml@novell.com>
136
137         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
138         gdk_window_set_startup_id.
139
140         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
141
142 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
143
144         * gtk/gtkrecentchooserprivate.h:
145         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
146         files list into the shared implementation; do the filtering
147         before the sorting, so that we always clamp on the desired
148         size. (#418219)
149
150         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
151         list, as it's already been done.
152
153         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
154         GtkTreeModelFilter: just reload the view if the sorting and
155         filtering properties change.
156
157         * gtk/testrecentchoosermenu.c: Exercise the limit property.
158
159 2007-03-14  Michael Natterer  <mitch@imendio.com>
160
161         Make gtk_widget_set_extension_events() work on already realized
162         widgets (bug #379550, Tommi Komulainen)
163
164         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
165         called multiple times without leaking and work correctly when
166         already realized (don't rely on a configure event following).
167
168         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
169         internal function which walks the GdkWindow tree and sets the
170         extension events on all windows that belong to the widget.
171
172         (gtk_widget_realize)
173         (gtk_widget_set_extension_events): use the new function.
174
175 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
176
177         Various clean ups in the GtkRecent code. (see #338843)
178
179         * gtk/gtkrecentchooserdefault.c:
180         * gtk/gtkrecentchoosermenu.c:
181         * gtk/gtkrecentchooserprivate.h:
182         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
183         for getting the sorted and clamped list of recent files from the
184         manager outside the implementations.
185
186         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
187         the list when the sorting order changes.
188
189         (gtk_recent_chooser_default_dispose),
190         (gtk_recent_chooser_default_finalize): Move object unref and
191         source removal from finalize to dispose.
192
193         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
194         prerequisite for the GtkRecentChooser interface implementations,
195         from GtkObject to GObject.
196
197         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
198         G_PARAM_*
199
200 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
201
202         Apply patch by Vytautas Liuolia for changing the startup
203         notification id on a window in the X11 backend. (#347375)
204
205         * gdk/gdk.h:
206         * gdk/gdkx.h:
207         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
208         and gdk_x11_display_get_startup_notification_id().
209
210         * gdk/gdkwindow.h:
211         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
212
213         * gtk/gtkwindow.h:
214         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
215         change the startup notification id.
216         
217         (gtk_window_class_init), (gtk_window_init),
218         (gtk_window_set_property): Add write-only "startup-id" property
219         to GtkWindow.
220
221         (gtk_window_realize): Set the startup notification id
222         on a GtkWindow if it's valid.
223
224         (gtk_window_map): If we have another valid startup notification
225         id then finish the notification process.
226
227 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
228
229         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
230         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
231
232 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
233
234         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
235         docs.  (#345844, Torsten Schoenfeld)
236
237         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
238         * gdk/gdkwindow.c (gdk_window_add_filter): Add
239         cross-references.  (#351252, Vincent Untz)
240
241         * gtk/gtkprintoperation.c: Fix an oversight in an
242         example.  (#381083, Ian Puleston)
243
244         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
245
246 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
247
248         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
249         the background of the panel window on style changes. (#402144,
250         Benjamin Berg)
251
252 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
253
254         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
255         an obsolete comment.  (#402169, Xan Lopez)
256
257 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
258
259         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
260         Don't copy PangoLanguage.  (#340031, Morten Welinder)
261
262 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
263
264         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
265         Handle the row reference path being NULL.  (#410565, Joe Markus
266         Clarke, patch by Chris Wilson)
267
268 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
269
270         * tests/testiconview.c: Handle Menu key presses without
271         crash.  (#385637, Christian Persch)
272
273 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
274
275         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
276         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
277
278 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
279
280         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
281         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
282         
283 2007-03-12  Kristian Rietveld  <kris@gtk.org>
284
285         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
286         bail out if current_folder is NULL. (#350988, lots of reporters,
287         modified patch by Jan Darmochwal).
288
289 2007-03-10  Kristian Rietveld  <kris@gtk.org>
290
291         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
292         hide the search dialog and send focus events if the search dialog
293         is currently visible.
294
295 2007-03-10  Richard Hult  <richard@imendio.com>
296
297         * gdk/quartz/gdkdrawable-quartz.c:
298         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
299         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
300         surface API (#410442). Don't lock focus unless called outside of an 
301         expose event.
302         (gdk_quartz_drawable_release_context): Only flush the CG context and 
303         unlock focus if called outside of expose.
304         (_gdk_quartz_drawable_finish): New function, used to free the cached
305         cairo surface.
306
307         * gdk/quartz/gdkwindow-quartz.c:
308         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
309         (_gdk_window_impl_quartz_get_type): No need to make the type info
310         static.
311         (gdk_window_quartz_process_all_updates): Move the autorelease pool
312         allocation and freeing outside the loop.
313         (_gdk_windowing_window_destroy): Finish the drawable.
314         (move_resize_window_internal): Small cleanup and remove comment.
315
316         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
317
318 2007-03-10  Richard Hult  <richard@imendio.com>
319
320         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
321         a build warning.
322
323 2007-03-10  Richard Hult  <richard@imendio.com>
324
325         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
326
327 2007-03-10  Richard Hult  <richard@imendio.com>
328
329         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
330
331 2007-03-10  Richard Hult  <richard@imendio.com>
332
333         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
334         the font name here, leave that to themes, fixes #387508.
335
336 2007-03-10  Kristian Rietveld  <kris@gtk.org>
337
338         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
339         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
340         element, also (un)ref its parent elements. (Fixes #364946,
341         reported by many, testcase by Andreas Koehler).
342
343 2007-03-10  Matthias Clasen <mclasen@redhat.com>
344
345         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
346         field of PrintResponseData.  (#396703, Christian Persch)
347
348         * tests/print-editor.c: Plug some leaks.
349
350 2007-03-09  Matthias Clasen <mclasen@redhat.com>
351
352         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
353         Get rid of the unused event argument. Update all callers.
354
355         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
356         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
357
358 2007-03-09  Matthias Clasen <mclasen@redhat.com>
359
360         * modules/input/gtkimcontextxim.c 
361         (gtk_im_context_xim_filter_keypress): Don't commit
362         modifier-adorned characters.  (#331369, #335796, Lin Ma
363         and others)
364
365 2007-03-09  Matthias Clasen <mclasen@redhat.com>
366
367         * Everywhere: Remove unnecessary NULL checks before
368         g_free().  (#369666, Morten Welinder, Djihed Afifi)
369
370         * configure.in: Check for ftw.h
371
372 2007-03-09  Matthias Clasen <mclasen@redhat.com>
373
374         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
375         C99isms.  (#416525, Kazuki Iwamoto)
376
377 2007-03-09  Tor Lillqvist  <tml@novell.com>
378
379         * README.win32: Update.
380
381 2007-03-08  Matthias Clasen <mclasen@redhat.com>
382
383         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
384         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
385         Sebastian Dröge)
386
387 2007-03-08  Matthias Clasen <mclasen@redhat.com>
388
389         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
390         Set child visibility to FALSE here; it will be turned
391         back on in switch_page.  (#413664, Carlos Garnacho)
392         
393 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
394
395         * modules/engines/ms-windows/msw_style.c: Use proper border style
396         when drawing shadow of scrolled windows on Windows XP (#168326)
397         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
398         element_part_map array to ensure it always is large enough.
399         
400 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
401
402         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
403         property of GtkEntry accordingly, unify size-allocation of toggle
404         button (#411123, patch from Mathias Hasselmann).
405         * gtk/gtkentry.c: Add shadow-type property. Query style properties
406         on style changes only (#411123, patch from Mathias Hasselmann).
407         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
408         hack as GtkComboBox emits drawing requests now (#411123, patch 
409         from Mathias Hasselmann).
410         
411 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
412
413         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
414         by implementing a scrollbars-within-bevel style property. (#168326)
415         
416 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
417
418         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
419         stored in the current theme with the name
420         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
421         icons as reported by SHGetFileInfoW. (#412221)
422
423 2007-03-07  Matthias Clasen <mclasen@redhat.com>
424
425         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
426         focus around the arrow if there is no label widget.  
427         (#124045, Cody Russell)
428
429 2007-03-07  Matthias Clasen <mclasen@redhat.com>
430
431         * gtk/gtkcombo.c: (gtk_combo_init):
432         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
433         (gtk_combo_box_menu_setup):
434         Set names on the popup widgets to make them themable. (#414975, 
435         Benjamin Berg)
436
437 2007-03-07  Michael Natterer  <mitch@imendio.com>
438
439         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
440         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
441         empty finalize() implementation, some cosmetic cleanup
442         (bug #415645).
443
444 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
445
446         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
447         (do_theme_change), (gtk_icon_theme_set_custom_theme),
448         (load_themes):
449         Be careful not to trigger a style reset before we have loaded
450         the icon theme. (#414875).
451
452 2007-03-06  Tor Lillqvist  <tml@novell.com>
453
454         * gdk/Makefile.am
455         * gtk/Makefile.am: Further fixes for building on Win32 outside
456         srcdir. (#413492, Mathias Hasselmann)
457
458 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
459
460         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
461         fixed.
462
463 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
464
465         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
466         breaking the build.
467
468 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
469
470         * configure.in: Added be@latin to ALL_LINGUAS
471
472 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
473
474         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
475
476 2007-03-01  Matthias Clasen <mclasen@redhat.com>
477
478         * gtk/gtksettings.c: Always store gtk-color-scheme
479         values from all sources in the ColorSchemeData struct
480         and ignore the property_value for gtk-color-scheme.
481         This fixes #412596, reported by Thomas Wood.
482
483 2007-02-28  Matthias Clasen <mclasen@redhat.com>
484
485         * gtk/gtksettings.c: Make color scheme update properly
486         when changing themes.  (#402131, Benjamin Berg)
487
488 2007-02-28  Matthias Clasen <mclasen@redhat.com>
489
490         * gtk/gtkrc.c: Don't leak references to the color-hash 
491         gotten from GtkSettings.  (#409357, Benjamin Berg)
492
493 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
494
495         * gtk/gtkradiobutton.c: Fixed a warning from
496         g_object_set (radiobutton, "group", NULL, NULL).
497
498 2007-02-26  Matthias Clasen <mclasen@redhat.com>
499
500         Apply a patch by Carlos Garnacho to fix several problems
501         with filechooser size handling (#325477, #151169, 143213,
502         #153785)
503
504         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
505         (browse_widgets_create): Don't force the paned position to 200.
506         (find_good_size_from_style): Take the size of the extra widget
507         into account.
508
509         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
510         Accept a minimal width parameter. Update all callers.
511
512 2007-02-26  Matthias Clasen <mclasen@redhat.com>
513
514         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
515         which is more accurate, suggested by Tim Waugh. String change! 
516
517 2007-02-26  Matthias Clasen <mclasen@redhat.com>
518
519         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
520         print-to-file work. Reported by Ian Collier.
521
522 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
523
524         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
525
526         * gtk/gtkicontheme.c: (scan_directory):
527                 Reorder the replacement of the shared base_name key, so that we
528                 avoid dereferencing the string in the icon_theme->all_icon
529                 hash table after freeing it from the dir->icons hash table.
530
531 2007-02-26  Tor Lillqvist  <tml@novell.com>
532
533         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
534         comment clarifying that "icon name" here is not related to the
535         freedesktop.org icon naming stuff.
536
537 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
538
539         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
540         progress bar on windows classic. Match from Mathias Hasselmann.
541         
542 2007-02-19  Tor Lillqvist  <tml@novell.com>
543
544         * gdk/win32/gdkinput.c
545         (gdk_device_finalize, gdk_device_class_init): Remove.
546         (gdk_device_get_type): Drop class init function. The X11 version
547         doesn't have one either.
548         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
549         (gdk_display_list_devices): Check that the argument is
550         _gdk_display.
551
552         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
553         Cleanup: remove unused fields.
554         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
555         names in a few debugging printouts.
556
557 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
558
559         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
560         Ignore invisible text when going to end of the previous line.
561         (#382565)
562
563 2007-02-18  Richard Hult  <richard@imendio.com>
564
565         * gdk/quartz/gdkwindow-quartz.c:
566         (gdk_window_quartz_process_all_updates),
567         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
568         patch from Erik van Pienbroek, fixes bug #396649.
569
570 2007-02-18  Richard Hult  <richard@imendio.com>
571
572         * gdk/quartz/gdkevents-quartz.c: Add stub for 
573         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
574         bug #405870.
575
576         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
577
578 2007-02-18  Richard Hult  <richard@imendio.com>
579
580         * gdk/quartz/GdkQuartzView.h:
581         * gdk/quartz/GdkQuartzWindow.h:
582         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
583         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
584         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
585         on panther, patch from Mathias Hasselmann.
586         
587         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
588
589 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
590
591         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
592         instead of division. (#334617)
593
594 2007-02-16  Kristian Rietveld  <kris@gtk.org>
595
596         * gtk/gtktreeprivate.h: add cursor_offset field.
597
598         * gtk/gtktreeview.c (gtk_tree_view_init),
599         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
600         in page up/down handling by memorizing the offset into the cursor
601         row.  (Fixes #399809, reported by Bruce Bowler).
602
603 2007-02-16  Kristian Rietveld  <kris@gtk.org>
604
605         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
606         a focus-in event to the tree view after hiding the search dialog.
607         (#356515, Rich Burridge, Peter Parente).
608
609 2007-02-16  Kristian Rietveld  <kris@imendio.com>
610
611         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
612         keyboard tooltips. (#408325, Matthias Clasen).
613
614 2007-02-16  Xan Lopez  <xan@gnome.org>
615
616         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
617         in expose event handler. Reviewed by Matthias Clasen, #406112
618
619 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
620
621         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
622         Maraas)
623
624 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
625
626         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
627         careful when checking for ButtonRelease events that end implicit
628         grabs.  (#386618, Christof Krüger)
629
630 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
631
632         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
633         even if there are no views.  (#408018, Albert Huang)
634
635 2007-02-15  Cody Russell  <bratsche@gnome.org>
636
637         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
638         iterations while we're resizing so that the window contents are resized 
639         more smoothly (#389765).
640
641         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
642         are resized (#310522).
643
644 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
645
646         * gtk/updateiconcache.c: Handle symlinked .icon files 
647         intelligently; also avoid storing duplicate strings.
648
649 2007-02-15  Michael Natterer  <mitch@imendio.com>
650
651         * gtk/gtkmenushell.c: remove two antique function typedefs that
652         are probably obsolete for ages.
653
654 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
655
656         reviewed by: Matthias Clasen  <mclasen@redhat.com>
657
658         * configure.in: determine installation prefixes of dependent libs to
659         crossreference docs (#407146).
660
661 2007-02-14  Kristian Rietveld  <kris@imendio.com>
662
663         * gtk/gtktooltip.c (child_location_foreach): check return value
664         of gtk_widget_translate_coordinates() so we cannot end up
665         using uninitialized x, y values.  (#407863, patch from Carlos
666         Garnacho).
667
668 2007-02-14  Kristian Rietveld  <kris@imendio.com>
669
670         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
671         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
672         position instead of a hardcoded value.  (Taken from maemo-gtk).
673
674 2007-02-14  Michael Natterer  <mitch@imendio.com>
675
676         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
677         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
678         maemo-gtk.
679
680 2007-02-13  Kristian Rietveld  <kris@imendio.com>
681
682         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
683         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
684
685 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
686
687         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
688         remove some type checking; use better variable naming for the
689         internal menu item markers.
690
691 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
692
693         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
694         and appending custom menu items.
695
696         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
697         item for the empty menu case, and for giving us a starting
698         point for the recent items populating process.
699
700         (gtk_recent_chooser_menu_insert_item),
701         (gtk_recent_chooser_menu_dispose_items): Insert an item at
702         the position following the placeholder (and find that position
703         if needed).
704
705         (idle_populate_func), (idle_populate_clean_up): Show the
706         placeholder menu item, instead of creating one each time.
707
708         (gtk_recent_chooser_menu_populate): Kill some indirections
709         and hide the placeholder before populating the menu.
710
711         (set_recent_manager): Remember to remove the idle population
712         source if the manager changes.
713
714         * tests/testrecentchoosermenu.c: Test the appending and
715         prepending of the menu items to the recent chooser menu
716         widget.
717
718 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
719
720         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
721         of the displayed items to build the menu items mnemonic instead
722         of the overall item count. (#377164)
723
724         (idle_populate_clean_up): Append a menu item if all the items
725         got filtered in the idle populate function. (#405696)
726
727         * tests/Makefile.am:
728         * tests/testrecentchoosermenu.c: Add a test for the
729         GtkRecentChooserMenu widget.
730
731 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
732
733         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
734         GtkButtonBox (bug #336159).
735
736         * gtk/gtkenums.h:
737         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
738         support GTK_BUTTONBOX_CENTER.
739
740         * tests/testbbox.c: new button box test, which allows testing of 
741         the various button box properties.
742
743         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
744
745 2007-02-07  Cody Russell  <bratsche@gnome.org>
746
747         * gdk/gdk.symbols: Add gdk_event_request_motions
748
749 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
750
751         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
752         condition which was wrongly ported with my last commit.
753
754 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
755
756         * gtk/gtktextview.c (gtk_text_view_motion_event):
757         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
758         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
759         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
760         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
761         * gtk/gtkentry.c (gtk_entry_motion_notify):
762         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
763         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
764         for new motion events after receiving motion hints.
765
766         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
767
768 2007-02-06  Kristian Rietveld  <kris@imendio.com>
769
770         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
771         remove unused get of has_tooltip.
772
773         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
774         portable g_snprintf instead of snprintf.
775
776 2007-02-06  Michael Natterer  <mitch@imendio.com>
777
778         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
779
780         (gtk_tooltip_show_tooltip): move variables and code to local
781         scope. Fixes warnings about maybe uninitialized variables.
782
783 2007-02-06  Kristian Rietveld  <kris@imendio.com>
784
785         New tooltips API.
786
787         * gtk/Makefile.am
788         * gtk/gtk.h
789         * gtk/gtk.symbols: build system foo.
790
791         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
792         hook for appropriate events.
793
794         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
795
796         * gtk/gtkrc.c: add style for gtk-tooltip.
797
798         * gtk/gtksettings.c (gtk_settings_class_init): make the
799         different tooltip timeouts configurable.
800
801         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
802         tooltips are hidden on unmap, destroy, update window event
803         mask on realize, hook into focus change and show help
804         handlers.
805
806         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
807
808         * gtk/gtktooltip.[ch]: new files.
809
810         * tests/Makefile.am
811         * tests/testtooltips.c: add test application.
812
813 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
814
815         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
816         by prematurely releasing a DC. By Hiroyuki Yamamoto
817         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
818         pixbufs when drawing rotated tabs. By Daniel Atallah
819         
820 2007-02-05  Michael Natterer  <mitch@imendio.com>
821
822         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
823         and gtk-enable-mnemonics which enable/disable accelerators and
824         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
825
826         * gtk/gtkwindow.c (gtk_window_activate_key)
827         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
828         if the resp. setting is FALSE.
829
830         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
831         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
832         them if the setting is FALSE.
833
834         * gtk/gtklabel.c: added signal connection to the screen's settings
835         object and traverse all widgets on the screen when the setting
836         changes. It's slightly ugly to also update GtkAccelLabels here,
837         but less ugly than connecting and traversing all widgets twice.
838
839 2007-02-05  Michael Natterer  <mitch@imendio.com>
840
841         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
842         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
843         ansi C enum value limits. Fixes bug #46757.
844
845 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
846
847         * gtk/gtksequence.[ch]: Remove these files since GSequence has
848         been moved into GLib.
849
850         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
851
852         * configure.in: Require glib-2.13.0
853         
854 2007-02-04  Tor Lillqvist  <tml@novell.com>
855
856         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
857         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
858
859 2007-02-02  Kristian Rietveld  <kris@gtk.org>
860
861         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
862         style_get of vertical-separator. (#403165, Chris Wilson).
863
864 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
865
866         * gtk/gtkfilechoosersettings.c: (get_config_filename),
867         (ensure_settings_read), (_gtk_file_chooser_settings_init),
868         (_gtk_file_chooser_settings_set_show_hidden),
869         (_gtk_file_chooser_settings_set_expand_folders),
870         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
871         markup file. Bug #399592.
872
873 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
874
875         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
876         be a little more helpful with the docs on GtkCellRendererText:alignment.
877         Bug #403409.
878
879 2007-02-01  Michael Natterer  <mitch@imendio.com>
880
881         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
882         gtk_paint_box() calls.
883
884 2007-02-01  Michael Natterer  <mitch@imendio.com>
885
886         * gtk/gtkmenu.c (gtk_menu_button_press)
887         (gtk_menu_button_release)
888         (gtk_menu_button_scroll): remove redundant and confusing
889         if (GTK_IS_MENU (widget)) checks because "widget" is always a
890         GtkMenu here.
891
892 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
893
894         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
895         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
896
897 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
898
899         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
900         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
901         (gtk_about_dialog_set_artists),
902         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
903         there are no credits to show. Bug #402806.
904
905 2007-01-31  Tor Lillqvist  <tml@novell.com>
906
907         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
908         function.
909         (_gdk_input_wintab_init_check): Call it when debugging output is
910         requested.
911         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
912         tablets. The Wacom driver reports duplicated cursors with
913         physid==0. Fix verified by Robert Ögren.
914
915 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
916
917         * modules/printbackends/file/gtkprintbackendfile.c:
918         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
919
920 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
921
922         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
923         (gdk_x11_window_set_user_time): Be more careful about toplevel
924         possibly being NULL.  (#402453, Sebastian Bacher)
925
926 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
927
928         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
929         class_n_properties and leave an uninitialized value array behind.
930
931 2007-01-29  Michael Natterer  <mitch@imendio.com>
932
933         * gtk/gtkmenuitem.c (gtk_menu_item_select)
934         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
935         this menu item's menu, to enable themeing menu items depending on
936         whether something is selected in their submenu (patch taken from
937         maemo-gtk).
938
939 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
940
941         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
942         that was mistakenly "cleaned up" a while ago. Also
943         revert a problematic change to the screen_changed
944         handler.  (#401598, Søren Sandmann)
945
946 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
947
948         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
949         problem with large y thickness.  (#136592, Xan Lopez)
950
951 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
952
953         * gtk/gtkaction.c (gtk_action_new): Use canonical
954         property names.  
955
956 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
957
958         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
959         (gtk_notebook_draw_focus): Avoid some unnecessary 
960         gtk_widget_get_style() calls.
961
962 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
963
964         * gtk/gtktoolbar.c:
965         * gtk/gtktoolitem.c:
966         * gtk/gtktoolbutton.c: Rearrange things so that setting
967         multiple properties causes not more than a single 
968         reconstruction of the contents.
969
970         * gtk/gtkaction.c (connect_proxy): Set all tool button 
971         properties in one go.
972
973 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
974
975         * gtk/gtkstatusicon.c:
976         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
977         take up space on the panel if it is invisible.  (340110, Christian
978         Persch)
979
980         * tests/teststatusicon.c:
981         * tests/Makefile.am: Updates
982
983 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
984
985         * gtk/gtkfilesel.h:
986         * gtk/gtkrc.h:
987         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
988         and the old file selector.  (#348256)
989
990 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
991
992         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
993
994 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
995
996         * gtk/updateiconcache.c: Check the mtime of all directories,
997         not just the toplevel, if ftw() is available.  (#331671, Behdad
998         Esfahbod)
999
1000         * configure.in: Check for ftw.h.
1001
1002 2007-01-26  Michael Natterer  <mitch@imendio.com>
1003
1004         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1005         destroy the XIM only if it exists. While the code does look safe
1006         in general, there can be corner cases where the "reconnecting"
1007         boolean being FALSE does not correspond to the XIM being
1008         allocated (fixes #329450, fix taken from maemo-gtk).
1009
1010 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
1011
1012         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1013         window bounds (fix from Maemo Gtk).
1014
1015 2007-01-26  Michael Natterer  <mitch@imendio.com>
1016
1017         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1018         only block/unblock completion->priv->insert_text_id if it is
1019         actually connected. While this can't happen the way GtkEntry
1020         itself uses the completion, it's still public API and should not
1021         blindly call functions that will spit warnings (fix taken from
1022         maemo-gtk).
1023
1024 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
1025
1026         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1027         the paintable iface.  
1028
1029 2007-01-24  Michael Natterer  <mitch@imendio.com>
1030
1031         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1032         of PRELIGHT state for the reasons given in bug #135666. Widget
1033         states are sometimes abused or otherwise used wrongly for historic
1034         reasons, causing this part of the patch to break e.g. menu items.
1035
1036 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
1037
1038         * README: Remove mention of no-longer-existing PATCH
1039         keyword in bugzilla. (#396899)
1040
1041 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
1042
1043         * gtk/gtkpagesetup.c
1044         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1045         Fixes bug #399907. 
1046
1047 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
1048
1049         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1050
1051         * gtk/gtkstyle.h:
1052                 Cause gcc to issue a warning if the style returned from
1053                 gtk_style_attach is not used. Failure to update
1054                 widget->style causes some very difficult to reproduce bugs,
1055                 eg Bug 353498 – crash in Terminal: changing icon theme.
1056
1057 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
1058
1059         * gdk/directfb/gdkevents-directfb.c: added fixes for window
1060         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1061
1062 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
1063
1064         * gtk/gtkcalendar.c: Fix build breakage.
1065
1066 2007-01-19  Kristian Rietveld  <kris@imendio.com>
1067
1068         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1069         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1070         add_scroll_timeout().  (taken from maemo-gtk).
1071
1072 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
1073
1074         * gtk/gtkcalendar.c: Fix problems with the initial
1075         focus in GtkCalendar.  (#397783, Vincent Untz)
1076
1077 2007-01-19  Robert Ögren  <gtk@roboros.com>
1078
1079         Fix for bug #143460 - missed tablet clicks on Windows
1080
1081         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1082         Request absolute reporting of tablet button state, and cut down
1083         the packet queue size a bit.
1084         (_gdk_input_other_event): Change button state handling
1085         accordingly. Also drop the no longer necessary code that detects
1086         missed clicks/releases for button 1. The switch to absolute button
1087         state should prevent missed events for all buttons. Additionally,
1088         swap button 2 and 3.
1089         (_gdk_input_grab_pointer): Don't reset button_state, that will only
1090         cause a new press event as soon as the next tablet packet arrives.
1091
1092 2007-01-19  Tor Lillqvist  <tml@novell.com>
1093
1094         Build Wintab support always on Windows. Don't require the Wintab
1095         SDK.
1096
1097         * configure.in: Drop the --with-wintab option. Drop the
1098         HAVE_WINTAB feature test macro and Automake variable.
1099
1100         * acconfig.h
1101         * config.h.win32.in: Drop HAVE_WINTAB.
1102
1103         * gdk/win32/gdkevents-win32.c
1104         * gdk/win32/gdkinput.c
1105         * gdk/win32/gdkinput-win32.h
1106         * gdk/win32/gdkinput-win32.c
1107         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1108         unconditional.
1109
1110         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1111         to load wintab32.dll dynamically here. If it is found look up the
1112         handful Wintab functions we use.
1113         (rest of file): Use these function pointers instead of calling the
1114         functions from wntab32x.lib. The code in wntab32x.lib did the same
1115         thing anyway: tried to load wintab32.dll, and looked up the
1116         addresses of the actual functions from it.
1117
1118         * gdk/Makefile.am
1119         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1120
1121         * gdk/win32/wintab.h
1122         * gdk/win32/pktdef.h: New files. Copied from the Wintab
1123         SDK. Copyright blurb says: "The text and information contained in
1124         this file may be freely used, copied, or distributed without
1125         compensation or licensing restrictions."
1126
1127         * README.win32: Update a bit. Remove the text about the Wintab
1128         SDK.
1129
1130 2007-01-18  Tor Lillqvist  <tml@novell.com>
1131
1132         * gdk-pixbuf/Makefile.am
1133         * gdk/Makefile.am
1134         * gdk/win32/Makefile.am
1135         * gtk/Makefile.am: Fixes for building outside srcdir on
1136         Win32. (#336819, #340013) Drop distributing the handmade .la
1137         libtool wrapper for the wntab32x library. It's too much trouble
1138         making it work when building outside srcdir. Just link to the
1139         library direcly using -Wl,win32/libwntab32x.a.
1140
1141 2007-01-18  Michael Natterer  <mitch@imendio.com>
1142
1143         * gtk/gtkcheckbutton.c
1144         * gtk/gtkdnd.c
1145         * gtk/gtkentry.c
1146         * gtk/gtkmenu.c
1147         * gtk/gtktreeview.c
1148         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1149         functions. Based on a patch from maemo-gtk (bug #398023).
1150
1151 2007-01-17  Tor Lillqvist  <tml@novell.com>
1152
1153         * gtk-zip.sh.in: Include also the COPYING file.
1154
1155 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
1156
1157         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1158         httpGetFd() when building against cups 1.1
1159
1160 2007-01-17  Tor Lillqvist  <tml@novell.com>
1161
1162         Proper fix for #396175:
1163
1164         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1165         include gtkprivate.h. On Win32 we do want to use the redefinition
1166         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1167
1168         * gtk/gtkimmodule.c: Instead, correct the prefix also on
1169         simple_context_info.domain_dirname. Do the prefix corrections
1170         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1171         now they were done only in the autoconfiscated gcc builds. Hans
1172         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1173         in MSVC builds now.
1174         (correct_localedir_prefix): New function, like
1175         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1176         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1177         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1178         on the domain_dirname instead of correct_libdir_prefix().
1179         (_gtk_im_module_list): Call correct_localedir_prefix() on
1180         simple_context_info.domain_dirname.
1181
1182 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
1183
1184         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1185         grab changes.  (#396470, Benjamin Berg)
1186
1187 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
1188
1189         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1190         if they grow too much. (#357303)
1191
1192 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
1193
1194         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1195         non-scalable dir, keep going and look for a closer match.
1196         (#395830, Luca Ferretti)
1197
1198 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
1199
1200         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1201         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1202         gtk_target_table_free instead of duplicating the code. Bug #396493.
1203
1204 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1205
1206         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1207         positions can't be found.  (#396161, Hans Breuer)
1208
1209 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1210
1211         * gtk/gtkselection.c (_gtk_selection_request): Plug 
1212         memory leaks.  (#396160, Carlos Garcia Campos)
1213
1214 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1215
1216         * configure.in: Link libgtk against Xfixes.  (#396074,
1217         Tommi Komulainen)
1218
1219 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1220
1221         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1222         a compiler warning.  (#395045, Chris Wilson)
1223
1224 2007-01-13  Hans Breuer <hans@breuer.org>
1225
1226         * gtk/gtkprintoperation-win32.c : take the custom tab label from
1227         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1228
1229         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1230         differing definitions of GTK_LOCALEDIR (bug #396175).
1231
1232         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1233         not available everywhere
1234
1235         * gtk/makefile.msc.in : updated
1236
1237 2007-01-12  Michael Natterer  <mitch@imendio.com>
1238
1239         * gtk/gtkentry.c (gtk_entry_button_press): don't add
1240         entry->scroll_offset to entry->drag_start_y. Fixes the entry
1241         starting drags after ridiculously small mouse movements.
1242
1243 2007-01-11  Richard Hult  <richard@imendio.com>
1244
1245         * demos/gtk-demo/main.c: (load_file): Close the file after it's
1246         loaded (bug #395316).
1247
1248 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
1249
1250         * gtk/gtkfilesystemunix.c: (expand_tilde):
1251         Make a single tilde go to $HOME in the location entry.
1252         Patch from Yevgen Muntyan. Closes the gtk+ part of
1253         bug #334168.
1254
1255 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
1256
1257         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1258         * gtk/gtklabel.c (gtk_label_size_request):
1259         Use pango_matrix_transform_rectangle(). (#340141)
1260
1261         * configure.in: Bump pango requirement to 1.15.3.
1262
1263 2007-01-10  Kristian Rietveld  <kris@imendio.com>
1264
1265         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1266         refactor to initialize indicator_size to TOGGLE_WIDTH instead
1267         of the hardcoded value of 12.
1268
1269 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
1270
1271         * configure.in: Fix the directfb cairo test. (#394855, 
1272         Josselin Mouette)
1273
1274 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
1275
1276         * configure.in: Fix comment for --with-included-loaders.  That option
1277         affects builds with module loading enabled too.
1278
1279 2006-01-08  Peter Teichman  <peter@novell.com>
1280
1281         * gtk/gtkfilechooserdefault.c:
1282         * gtk/gtkfilechooserprivate.h:
1283         * gtk/gtkfilechoosersettings.c:
1284         * gtk/gtkfilechoosersettings.h:
1285         Save the expanded state of the folder browser with the file
1286         chooser settings.  Resolves the expander portions of (#153828,
1287         Lemmit Kaplinski)
1288
1289 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
1290
1291         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1292         Don't leak the icon pixbuf after setting it to the image menu
1293         item.  Found by Paolo Borelli.
1294
1295 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
1296
1297         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
1298         corrupt memory when faced with paths with ridiculously
1299         large indices. Found by the GTKVTS test suite.  
1300
1301 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
1302
1303         * gtk/gtkmodules.c (_gtk_modules_init): Set 
1304         default_display_opened before loading modules.  (#393102,
1305         Brian Cameron)
1306  
1307 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
1308
1309         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1310         Call text_window_realize() with the correct parameters.
1311         (#393813, Yevgen Muntyan)
1312
1313 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
1314
1315         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
1316         a bit.
1317
1318 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
1319
1320         * gtk/gtklabel.c: Make line wrapping work with width-chars
1321         and max-width-chars, and simplify the storage of wrap-width.
1322         (#322580, Itai Bar-Haim)
1323
1324 2007-01-06  Tor Lillqvist  <tml@novell.com>
1325
1326         * gdk/win32/cursor.bdf: New file. Downloaded from
1327         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1328         "diamond_cross", "draft_large", "gobbler" and "target" to fix
1329         #392504. It is possible that the same end result could have been
1330         achieved by tweaking bdfcursor.c instead.
1331         
1332         * gdk/win32/bdfcursor.c: Add optional debugging output.
1333
1334         * gdk/win32/xcursors.h: Regenerated.
1335
1336 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
1337
1338         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1339         menu labels.  (#393255, Michail Crayson)
1340
1341 2007-01-05  Kristian Rietveld  <kris@gtk.org>
1342
1343         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1344         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
1345
1346 2007-01-05  Kristian Rietveld  <kris@gtk.org>
1347
1348         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1349         invalidate nodes if the tree view is not realized. (#363147,
1350         Carlos Garnacho, Miguel Cabrera).
1351
1352 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
1353
1354         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1355         account when drawing the background.  (#393166, Benjamin Berg)
1356
1357 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
1358
1359         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1360         again.
1361
1362 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
1363
1364         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1365         both scroll arrows when calculating size request in GTK_POS_LEFT or
1366         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1367
1368 2007-01-05  Michael Natterer  <mitch@imendio.com>
1369
1370         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1371         the right function (fix taken from maemo-gtk).
1372
1373 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
1374
1375         * gdk/gdkprivate.h:
1376         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1377         (gdk_draw_layout_with_colors):
1378         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1379         Avoid overflow when converting coordinates to Pango units. (#332266,
1380         Jody Goldberg)
1381
1382 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1383
1384         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1385         after realization of the popup window, so clamp node doesn't fail.
1386         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1387
1388 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
1389
1390         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1391         variable.
1392
1393 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1394
1395         * gtk/Makefile.am:
1396         * gdk-pixbuf/Makefile.am:
1397         * configure.in:
1398         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1399         (#392646, Yevgen Muntyan)
1400
1401 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1402
1403         * demos/gtk-demo/textscroll.c:
1404         * gtk/gtkhandlebox.c:
1405         * gtk/gtkcolorsel.c: Fix some compiler warnings.
1406
1407 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1408
1409         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1410         by calling the input method regardless of editability,
1411         and beeping from the commit/preedit-changed handlers.
1412         (#390514, Yevgen Muntyan)
1413
1414 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1415
1416         Fix #332604, reported by Joe Wreschnig, patch
1417         by Jan Arne Petersen and Behdad Esfahbod.
1418
1419         * gtk/gtklabel.c (gtk_label_size_allocate): Only
1420         set the width of the layout when necessary.
1421         (get_layout_location): Use pango_layout_get_pixel_extents()
1422         instead of pango_layout_get_width().
1423
1424 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1425
1426         * modules/printbackends/cups/gtkprintbackendcups.c 
1427         (available_choices): Don't leak conflicts.
1428
1429         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1430         Don't leak the status string.
1431
1432 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1433
1434         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1435         Exit early if we can't get file info - this happens
1436         if the iter points to the row where we are editing
1437         the name for a newly created folder.  (#392191, Michael
1438         Partridge, patch by Kristian Rietveld)
1439
1440 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1441
1442         * gtk/*.c:
1443         * gdk/x11/*.c: Apply a patch by Chris Wilson to
1444         avoid spurious valgrind warnings from XSendEvent() 
1445         calls.  (#392532)
1446
1447         * modules/printbackends/cups/gtkprintbackendcups.c: Close
1448         the http connection after getting the PPD.
1449
1450         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1451         Fix memory leaks.  
1452
1453 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1454
1455         * gtk/gtkassistant.c (remove_page): If the current page
1456         is removed, always pick a different one.  (#392457, 
1457         Colin Watson)
1458
1459 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1460
1461         * modules/printbackend/cups/*.c: Coding style cleanups.
1462
1463 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1464
1465         * configure.in: Export SED to make sourcing of
1466         libtool work. Tighten up the directfb pkgconfig check.
1467
1468 2007-01-03  Michael Natterer  <mitch@imendio.com>
1469
1470         * gtk/gtkstyle.c (option_menu_get_props)
1471         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
1472         gtk_border_free when freeing borders.
1473
1474 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1475
1476         * gtk/gtkentry.c (get_text_area_size): Work when the
1477         entry is not realized.  (#392315, Yevgen Muntyan)
1478
1479         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
1480         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
1481
1482         * gtk/gtkentry.c (cursor_blinks): Don't get settings
1483         unnecessarily.  (#392227)
1484
1485 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1486
1487         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1488         updates on the window at hand, not on all windows, to
1489         avoid violating resize/redraw ordering constraints.
1490         (#362406, Owen Taylor)
1491         
1492 2007-01-03  Kristian Rietveld  <kris@gtk.org>
1493
1494         * gtk/gtkcellrendererprogress.c
1495         (gtk_cell_renderer_progress_class_init): fix docs.
1496
1497 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1498         
1499         * gtk/updateiconcache.c: Include locale.h
1500
1501 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1502
1503         * gtk/updateiconcache.c (main): Call setlocale().
1504
1505         * gtk/gtkfilesel.c:
1506         * gtk/gtkfilesystemunix.c:
1507         * gtk/gtkfilesystemwin32.c:
1508         * gtk/gtkfilechoosersettings.c:
1509         * gtk/updateiconcache.c: Consistently use folder instead of
1510         directory in translated messages.  (#344584, Javier F. Serrador)
1511
1512 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1513
1514         Try to fix #315732, reported by Luke Hutchinson:
1515
1516         * gdk/x11/xsettings-client.[hc]:
1517         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
1518         will guarantee that it can be looked up in the xid hash later.
1519         Also, use the nesting server grab function during the xsettings
1520         client initialization. Finally, make xsettings client not
1521         eat DestroyNotifys so that GDK can do its regular cleanup. 
1522
1523 2007-01-02  Michael Natterer  <mitch@imendio.com>
1524
1525         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
1526         when a keybinding didn't change adjustment->value.
1527
1528 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1529
1530         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
1531         Try harder not to beep on events which are not meant to
1532         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
1533
1534 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1535
1536         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
1537
1538 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1539
1540         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
1541         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
1542
1543 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
1544
1545         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
1546
1547 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1548
1549         * gtk/gtkscrolledwindow.h:
1550         * gtk/gtkscrolledwindow.c: Only handle key bindings
1551         for scrolling if the scrollbars are visible.
1552         (#340135, Christian Persch)
1553
1554 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1555
1556         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
1557         Don't segfault on horizontal scrolling.  
1558
1559 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1560
1561         * gtk/gtknotebook.h:
1562         * gtk/gtknotebook.c: Only handle key bindings for
1563         tab reordering if the tabs are shown and reorderable. 
1564         (#390468, Yevgen Muntyan)
1565
1566         * gtk/gtkmarshalers.list: Add required marshaler
1567
1568 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1569
1570         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1571         Mention in the docs that the return value is
1572         NULL-terminated.  (#383373, Christian Neumair)
1573
1574 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1575
1576         * gtk/gtkicontheme.c (load_themes): Waste less time
1577         with non-directories.  (#391725, Chris Wilson)
1578
1579 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1580
1581         * gtk/gtkcellrendererprogress.c: Implement activity mode
1582         for GtkCellRendererProgress.  (#377851, Brad Taylor)
1583
1584 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1585
1586         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
1587
1588         * modules/printbackends/cups/gtkcupsutils.c
1589         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
1590         IPP_TAG_OPERATION.
1591         * modules/printbackends/cups/gtkprintbackendcups.c
1592         (gtk_print_backend_cups_print_stream): Don't add the
1593         requesting-user-name attribute a second time. 
1594
1595 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1596
1597         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
1598
1599 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
1600
1601         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
1602         right object when disconnecting from the GtkRecentManager::changed
1603         signal; save us a few indirections using a variable.
1604
1605 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
1606
1607         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
1608         disconnections into the dispose function, as well as the
1609         object unrefs; reset every handler id and the
1610         pointers. (suggested by Paolo Borelli, #390873)
1611
1612 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
1613
1614         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
1615         Kazuki Iwamoto)
1616
1617 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1618
1619         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
1620         scroll timeout.  (#390872, Yevgen Muntyan)
1621
1622 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1623
1624         * gtk/gtkprintoperation-unix.c:
1625         * gtk/gtkprintbackend.c:
1626         * gtk/gtkfilechooserdefault.c:
1627         * gtk/gtksettings.c: Move a few settings to gtksettings.c
1628         to make sure they show up in the docs.  (#365364, Christian
1629         Persch)
1630
1631 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1632
1633         * gtk/gtkassistant.c: Redraw assistant on reallocate
1634         to avoid rendering glitches.  (#343956, Christian
1635         Persch, Carlos Garnacho)
1636
1637 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1638
1639         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
1640
1641 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1642
1643         * gtk/gtkaction.c: Improve the docs of the "label" 
1644         property.  (#341730, Kristof Vansant)
1645
1646 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1647
1648         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
1649         Correctly handle min size. (#320465, Philipp Langdale)
1650
1651 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1652
1653         * gtk/prop-editor.c: Implement editing of flags.
1654
1655 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1656
1657         * gtk/gtkentry.c:
1658         * gtk/gtklabel.c:
1659         * gtk/gtkpaned.c:
1660         * gtk/gtkstatusbar.c:
1661         * gtk/gtktextview.c: Don't install cursors on insensitive
1662         widgets.  (#358864, Jan Schampera)
1663
1664 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
1665
1666         * gtk/gtkrecentmanager.h:
1667         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
1668         Shiino Yuki)
1669
1670         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
1671         Christian Persch)
1672
1673         * gtk/gtkentry.c (blink_cb):
1674         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
1675         if focus went missing. Just warn, clean up and continue.
1676         (#374378)
1677
1678 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
1679
1680         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
1681         originally received the event is a notebook page. (#315440, reported
1682         by Mateusz Stefek)
1683
1684 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
1685
1686         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
1687         Paolo Borelli)
1688
1689 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
1690
1691         * tests/prop-editor.c: Display children of containers
1692         and cell renderers of cell layouts.
1693
1694         * gtk/gtk.symbols:
1695         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
1696         New function to get the cell renderers of a cell layout.
1697
1698         * gtk/gtktreeviewcolumn.c:
1699         * gtk/gtkcellview.c:
1700         * gtk/gtkiconview.c: Implement get_cells.
1701
1702 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
1703
1704         * gtk/gtkiconview.c: Use word wrapping by default, and
1705         center multiline labels.  (#318763, Ross Burton)
1706
1707         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
1708         case for single-line layouts.
1709
1710 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
1711
1712         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
1713         David Lodge)
1714
1715         * gtk/gtkuimanager.c (update_node): Only use the results
1716         of find_menu/toolbar_position() if they succeed. May fix
1717         bug #388041.
1718
1719 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
1720
1721         * gdk/gdk.c: Fix some formatting errors in docs.  
1722
1723 2006-12-28  Tor Lillqvist  <tml@novell.com>
1724
1725         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
1726         (gtk_status_icon_update_image): Don't leak HICONs on
1727         Win32. (#364868, Hiroyuki Yamamoto)
1728
1729 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
1730
1731         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
1732
1733         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
1734         * gtk/gtkmarshalers.list: add new marshaler definition.
1735         * gtk/gtkenums.h: add GtkDragResult enum.
1736
1737         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
1738         operation wasn't successful.
1739         (_gtk_drag_source_handle_event) (gtk_drag_drop)
1740         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
1741         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
1742         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
1743         gtk_drag_drop_finished() the operation result.
1744
1745         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
1746         (gtk_notebook_drag_data_get): do not call window creation hook here.
1747         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
1748         target, instead connect to "drag-failed".
1749         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
1750
1751 2006-12-28  Mikael Hallendal  <micke@imendio.com>
1752
1753         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
1754         integration into gdkeventloop-quartz.c.
1755
1756         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
1757
1758         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
1759         integration.
1760
1761 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1762
1763         * modules/printbackends/lpr/gtkprintbackendlpr.c 
1764         (gtk_print_backend_lpr_print_stream): Close the io channel
1765         on unref.  (#390159, Joe Markus Clarke)
1766
1767 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1768
1769         * gdk/gdk.h: Remove redundant declarations (#390097,
1770         Christian Persch)
1771
1772 2006-12-27  Kristian Rietveld  <kris@gtk.org>
1773
1774         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
1775
1776         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
1777         gtk-alternative-sort-arrows.
1778
1779         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
1780         new setting.
1781
1782         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
1783         gtk-alternative-sort-arrows setting to true.
1784
1785         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1786         invert direction if gtk-alternative-sort-arrows is TRUE.
1787
1788 2006-12-27  Tor Lillqvist  <tml@novell.com>
1789
1790         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
1791         gtk_status_icon_set_screen.
1792
1793         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
1794         on Windows. Keep track of where the last button click on the
1795         taskbar icon took place, and return that. Obviously not correct if
1796         no button has ever been clicked on the icon, or if the geometry of
1797         the taskbar has changed since. But for most use cases where a menu
1798         is going to be displayed as a direct result of a button click on
1799         the status icon, works fine. (#377349)
1800
1801         Implement getting the orientation property on Windows.
1802
1803         (gtk_status_icon_embedded_changed)
1804         (gtk_status_icon_orientation_changed): Ifdefify these functions
1805         that are used only on X11.
1806
1807 2006-12-27  Tor Lillqvist  <tml@novell.com>
1808
1809         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
1810         typo. (#390035, Kazuki Iwamoto)
1811
1812 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1813
1814         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
1815
1816         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
1817         (gtk_combo_box_unset_model): Handle repeated unsetting
1818         of models without warnings.  (#367529, Robert Ancell)
1819
1820 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1821
1822         * modules/printbackends/cups/gtkcupsutils.c: 
1823         * modules/printbackends/cups/gtkprintbackendcups.c: Use
1824         getters for http fields where available.  (#364866, 
1825         Björn Lindqvist)
1826
1827 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1828
1829         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
1830         (#362614, Xan Lopez)
1831
1832 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1833
1834         * gtk/gtkuimanager.c (update_node): If a required action
1835         is missing, don't recurse over the children.  (#349119,
1836         Chris Moller)
1837
1838 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1839
1840         Fix a few problems with nested menus in comboboxes
1841         (#386694, Yevgen Muntyan)
1842
1843         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
1844         connect the activate callback.
1845         (gtk_combo_box_menu_item_activate): Do nothing if called on
1846         an item with a submenu.
1847         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
1848         is empty.
1849
1850 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
1851
1852         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
1853         filechooser button. Bug 353196.
1854
1855 2006-12-26  Kristian Rietveld  <kris@gtk.org>
1856
1857         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
1858         the search dialog timeout never to be refreshed. (#389581,
1859         Andrzej Szombierski).
1860
1861 2006-12-26  Kristian Rietveld  <kris@gtk.org>
1862
1863         Lots of scrolling fixes.  Made scrolling work properly in not fully
1864         validated tree views; fixed a bunch of corner cases.
1865
1866         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
1867         upper - page_size, we know it is located at the end so the test for
1868         dy + height has been dropped.
1869         In the same case if area_below < 0, we know this is the last node
1870         in the tree view so area_above is page_size - height of this row.
1871         (validate_visible_area): got rid of subtracting new_height -
1872         old_height from area_{below,above}, it didn't make any sense at
1873         all and the full height of the row should be subtracted instead.
1874         (validate_visible_area): when scrolling to a given path, set the
1875         top row directly together with the dy offset, then sync that top_row
1876         to the dy.
1877         (gtk_tree_view_set_top_row): new function to directly set a top_row.
1878         (gtk_tree_view_dy_to_top_row): refactored to use
1879         gtk_tree_view_set_top_row().
1880         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
1881         (gtk_tree_view_adjustment_changed): only update our dy and
1882         top_row if the adjustment's dy actually changed.
1883
1884 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
1885
1886         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
1887         Return the correct value from gtk_notebook_insert_page if the
1888         page-added handler reorders the tabs. Bug #345094.
1889
1890 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
1891
1892         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
1893
1894         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
1895         scrolling when hovering with a detached tab.
1896         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
1897         focus tab has changed during a tab DND operation.
1898         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
1899         (gtk_notebook_paint): do not take cur_page as a reference to paint the
1900         box if it's detached.
1901         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
1902         to the detached tab if we hover the arrows during a tabs detaching 
1903         operation, do not allocate it unconditionally in 0,0.
1904
1905 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
1906
1907         Expose improvements for GtkNotebook. Bug #383435
1908
1909         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
1910         labels.
1911         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
1912         (gtk_notebook_draw_tab): do not send handmade expose events to tab
1913         labels.
1914
1915 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
1916
1917         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
1918         FALSE.  (#389623, Carlos Garnacho Parro)
1919
1920         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
1921         redraws.
1922
1923 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1924
1925         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
1926         (gtk_plug_unrealize): Notify the "embedded" property also on
1927         normal construction and when destroying the socket window.
1928         Bug #388738.
1929
1930 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1931
1932         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
1933         (gtk_about_dialog_init), (display_credits_dialog),
1934         (display_license_dialog):
1935         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
1936         (gtk_file_chooser_dialog_init),
1937         (gtk_file_chooser_dialog_constructor),
1938         (gtk_file_chooser_dialog_unmap):
1939         * gtk/gtkrecentchooserdefault.c:
1940         (_gtk_recent_chooser_default_init):
1941         * gtk/gtkrecentchooserdialog.c:
1942         (gtk_recent_chooser_dialog_class_init),
1943         (gtk_recent_chooser_dialog_init),
1944         (gtk_recent_chooser_dialog_constructor),
1945         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
1946         instead of using style-set handlers. Fix the filechooser's spacing
1947         between content and action area to 12px. Bug #372447.
1948
1949 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1950
1951         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
1952         Don't assume statusbar->label is the statusbar's frame's child when
1953         shrinking the size allocation when the grip is shown. Bug #372452.
1954
1955 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1956
1957         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
1958         (add_custom_paper): Fix mem leaks. Bug #389194.
1959
1960 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
1961
1962         * gtk/gtktextutil.c: Remove debug output.
1963
1964         * gtk/gtktextview.c: Improve the DND scrolling
1965         behaviour.  (#92387, Carlos Garnacho Parro)
1966
1967         * gtk/gtkaccellabel.c: Improve translators comments.  
1968         (#389298, Christian Persch)
1969
1970 2006-12-24  Bastien Nocera  <hadess@hadess.net>
1971
1972         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
1973         (#389183)
1974
1975 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
1976
1977         * docs/reference/gtk/gtk-sections.txt:
1978         * gtk/gtk.symbols:
1979         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
1980         * gtk/gtkprinter-private.h:
1981         * gtk/gtkprinter.c: (gtk_printer_list_papers):
1982         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
1983
1984 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
1985
1986         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
1987         when is selected in page setup dialog. Fixes bug #365047.
1988
1989 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
1990
1991         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
1992         Use gtk_border_free when freeing border.
1993
1994 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
1995
1996         * gtk/gtkentry.c (gtk_entry_button_press): When
1997         shift-clicking, keep the larger part of the selection
1998         selected.  (#353709, Benjamin Otte)
1999
2000         * gtk/gtkbutton.c (gtk_button_get_props): Use 
2001         gtk_border_free when freeing borders.
2002
2003         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2004         careful when faking a button release.  (#323146,
2005         Travis Abbott)
2006
2007         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2008         handle with the right orientation, depending on the
2009         position of the handlebox.  (#159764, Benjamin Berg)
2010
2011 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2012
2013         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2014         GtkBorder (#383557).
2015
2016 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2017
2018         Bug 340141 – Update to Pango 1.16 API
2019
2020         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2021         (gdk_pango_layout_line_get_clip_region):
2022         * gtk/gtkcalendar.c (gtk_calendar_size_request):
2023         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2024         (get_layout_position), (gtk_entry_find_position),
2025         (gtk_entry_adjust_scroll):
2026         * gtk/gtkiconview.c (get_pango_text_offsets):
2027         * gtk/gtklabel.c (get_cursor_direction):
2028         * gtk/gtkstyle.c (get_insensitive_layout):
2029         * gtk/gtktextdisplay.c (render_para):
2030         * gtk/gtktextlayout.c (allocate_child_widgets),
2031         (find_display_line_below), (find_display_line_above),
2032         (gtk_text_layout_move_iter_to_previous_line),
2033         (gtk_text_layout_move_iter_to_next_line),
2034         (gtk_text_layout_move_iter_to_line_end),
2035         (gtk_text_layout_iter_starts_line),
2036         (gtk_text_layout_move_iter_to_x):
2037         * gtk/gtktextutil.c (limit_layout_lines):
2038         Use the _readonly version of pango_layout_iter_get_line(),
2039         pango_layout_iter_get_run(), pango_layout_get_line(), and
2040         pango_layout_get_lines().
2041
2042         * gtk/gtkmain.c (gtk_get_default_language): Use
2043         pango_get_default_language().
2044
2045 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2046
2047         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2048         and notify:text only once. The same fix was applied
2049         for replacing the selection via DND or copy-and-paste.
2050         (#64998, Damon Chaplin, Sven Herzberg)
2051
2052 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
2053
2054         * gtk/gtkimmulticontext.c: Be careful to not override
2055         GTK+ translations with the translations of the input
2056         method.  (#317080, Tor Lillqvist)
2057
2058         * modules/input/imcedilla.c: Use standard macros
2059         for translation domain and locale dir.
2060
2061         * gtk/gtkimcontextsimple.c: Allow composing l with 
2062         stroke.  (#349638, Daniel Lublin)
2063
2064         * gtk/gen-paper-names.c: Fix a thinko in the suffix
2065         calculation.  (#382369, Christian Persch)
2066
2067         * gtk/paper_names_offsets.c: Regenerated.
2068
2069 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2070
2071         * modules/engines/pixbuf/pixbuf.h:
2072         * modules/engines/pixbuf/pixbuf-rc-style.h:
2073         * modules/engines/pixbuf/pixbuf-style.h: Move 
2074         G_GNUC_INTERNAL before function declarations.  (#352276,
2075         Damien Carbery)
2076
2077 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2078
2079         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
2080         Wilson)
2081
2082 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2083
2084         * *.c: Replace a lot of idle and timeout calls by
2085         the new gdk_threads api. 
2086
2087         * gdk/gdk.symbols:
2088         * gdk/gdk.h:
2089         * gdk/gdk.c: Add functions to allow threadsafe handling
2090         of idles and timeouts wrt. to the GDK lock.  (#321886,
2091         Chris Wilson)
2092         
2093 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2094         
2095         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
2096         (#340141, Behdad Esfahbod)
2097
2098         * configure.in: Check for getc_unlocked.
2099
2100         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2101         unavailable.   (#381499)
2102
2103         * tests/teststatusicon.c: Fix a typo
2104
2105 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2106
2107         Make it possible to track the embeddedness of
2108         statusicon (#387215, Martyn Russell, patch by Christian
2109         Persch)
2110
2111         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2112         * gtk/gtkplug.c: 
2113         * gtk/gtkplug-x11.c: Add an embedded property.
2114         * tests/teststatusicon.c: Test the new properties.
2115
2116         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2117         leak draw_border.  (#387170, Kjartan Maraas)
2118
2119 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
2120
2121          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2122         Typo fix.  (#388123, Murray Cumming)
2123         
2124         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2125         Generate double-click events.  (#380421, Tommi Komulainen)
2126
2127         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2128         (_gdk_input_enter_event): Correct return_if_fail checks.
2129         (#379803, Tommi Komulainen)
2130
2131         * gdk/gdkdisplay.c: Improve the docs of some functions operating
2132         on the default display.  (##353438, Mariano Suárez-Alvarez)
2133
2134 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
2135
2136         * docs/reference/gdk/gdk-sections.txt:
2137         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2138         converting a GdkColor to a string (#373856).
2139
2140         * configure.in: Bump pango requirement to 1.15.2.
2141
2142 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
2143         
2144         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
2145         Bastian Nocera)
2146
2147         * gdk/keyname-table.h: Regenerated
2148
2149         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
2150         Søren Wedel Nielsen)
2151
2152         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2153         Silently return if a drag is already in progress, rather
2154         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
2155
2156         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2157         Allow any GtkDialog that implements GtkFileChooser as
2158         dialog.  (#335473, Tommi Komulainen)
2159
2160 2006-12-20  Mikael Hallendal  <micke@imendio.com>
2161
2162         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2163         change in the quartz backend.
2164
2165 2006-12-20  Mikael Hallendal  <micke@imendio.com>
2166
2167         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2168         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2169         status icon.
2170         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2171
2172 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
2173
2174         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2175         format of page ranges, and improve the page sequence icon
2176         for the case of n_copies == 1.
2177  
2178 2006-12-19  Mikael Hallendal  <micke@imendio.com>
2179
2180         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2181         routine so that it can be used from libgtk as well (needed for
2182         upcoming GtkStatusIcon support in the Quartz port).
2183         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2184         created from GDK, this is not true for the status icon.
2185         * gdk/quartz/gdkprivate-quartz.h:
2186         * gdk/quartz/gdkquartz.h: Added 
2187         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
2188         the status icon code.
2189
2190 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
2191
2192         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2193         gtk_message_dialog_set_image ()
2194
2195         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2196         (setting "window-placement-set" could result in a crash because
2197         of boolean/enum mixup)
2198
2199 2006-12-15  Federico Mena Quintero  <federico@novell.com>
2200
2201         Merged from gtk-2-10:
2202
2203         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2204         the case where the new title is the same as the old title, to
2205         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2206         equivalent).  Handle the case where title == priv->title.  This
2207         was found by the LSB compatibility tests:
2208         https://bugzilla.novell.com/show_bug.cgi?id=223882
2209
2210 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
2211
2212         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2213         more closely resemble its Win32 counterpart. Bug #340204.
2214
2215 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
2216
2217         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2218         placed inside their GdkWindow. Bug #385672.
2219
2220 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
2221
2222         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2223
2224 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
2225
2226         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
2227         drawn with extra line below tab in MS-Windows theme. Patch by 
2228         Cody Russell
2229         
2230 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
2231
2232         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2233         for print preview.  (#370041, Ghee Teo)
2234
2235 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
2236
2237         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2238         careful when overdrawing antialiased text.  (#352435, Alex Jones,
2239         patch by Benjamin Otte)
2240
2241         * gtk/gtksettings.c: Change the way in which color scheme information
2242         is merged to correctly handle vanishing colors.  (#374420, 
2243         Benjamin Berg, patch by Callum McKenzie) 
2244         Also allow to separate entries in color schemes by ';' 
2245         instead of newline.  
2246
2247 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2248
2249         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
2250         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
2251
2252 2006-12-10  Kristian Rietveld  <kris@gtk.org>
2253
2254         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2255         cancel editing (ie. don't accept changes) when the entry loses
2256         focus. (Fixes #164494, reported by Chris Rouch).
2257
2258 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2259
2260         * configure.in: Correct a misapplied patch. 
2261
2262 2006-12-10  Tor Lillqvist  <tml@novell.com>
2263
2264         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2265         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2266         developer zipfile. Users might add pixbuf loaders or immodules
2267         even if they are not interested in developing gtk+-using software.
2268
2269 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2270
2271         * configure.in: Check for crt_extern.h and _NSGetEnviron.
2272         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2273         environ is not available.  (#384168, Min Sik Kim)
2274
2275 2006-12-07  Paolo Maggi  <paolo@gnome.org>
2276
2277         Fixes bug #383407
2278         
2279         * gtk/gtkentry.c (gtk_entry_set_text): check for
2280         completion->priv->changed_id > 0 before calling 
2281         g_signal_handler_[un]block.
2282         (gtk_entry_completion_key_press): does not block/unblock the "changed"
2283         signal before calling gtk_entry_set_text.
2284         
2285 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
2286
2287         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2288         xthickness/ythickness, they aren't used any longer for drawing.
2289
2290 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
2291
2292         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2293         underlines by giving labels a small draw-border.
2294
2295 2006-12-06  Kristian Rietveld  <kris@gtk.org>
2296
2297         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2298         draw progress bar through theme engine instead of using our own
2299         custom cairo drawing code (#377244, patch from Carlos Garnacho).
2300
2301 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
2302
2303         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2304         Update the sensitivity of the collate checkbutton more frequently,
2305         proposed by Tim Waugh.
2306
2307 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
2308
2309         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2310         since we no longer set window titles.
2311
2312 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
2313
2314         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2315         (gtk_page_setup_set_paper_size): Don't leak the old page size when
2316         setting a new one. Bug #382314.
2317
2318 2006-12-03  Michael Natterer  <mitch@gimp.org>
2319
2320         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2321
2322 2006-12-03  Kristian Rietveld  <kris@gtk.org>
2323
2324         Make sure [xy]_offset are always being initialized, fix pixbuf
2325         renderer padding.  (#108235, Sven Neumann).
2326
2327         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2328         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2329         of _get_size.
2330
2331         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2332         always initialize [xy]_offset.
2333         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2334         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2335         ditto.
2336
2337 2006-12-03  Kristian Rietveld  <kris@gtk.org>
2338
2339         * gtk/gtktreeview.c (validate_visible_area): when not using an
2340         explicit alignment, use the full area of the row (not just dy)
2341         to determine how to implicitly align it.  (Fixes #363191, reported
2342         by Federico Mena Quintero).
2343
2344 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
2345
2346         * gtk/gtkicontheme.c (insert_theme): Properly clean up
2347         if an icon theme index file has no directories.  (#381236)
2348
2349 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
2350
2351         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
2352         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2353         
2354 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
2355
2356         Remove the broken Thai input method and add a functional Thai and Lao
2357         input method by Theppitak Karoonboonyanan. (#81031)
2358
2359         * modules/input/imthai.c:
2360         * modules/input/gtkimcontextthai.c:
2361         * modules/input/gtkimcontextthai.h:
2362         * modules/input/thai-charprop.c:
2363         * modules/input/thai-charprop.h:
2364         Added.
2365
2366         * modules/input/imthai-broken.c:
2367         Removed.
2368         
2369         * modules/input/Makefile.am:
2370         Updated.
2371
2372 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
2373
2374         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2375
2376 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
2377
2378         * gtk/gtktextview.c: applied patch by  Colin Leroy for
2379         Control+GDK_KP_Left to move one word to the left, #356255.
2380
2381 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
2382
2383         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2384           widget. (#379503)
2385
2386 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
2387
2388         * modules/printbackends/cups/gtkprintbackendcups.c: Make
2389         print dialog work when 'BrowseShortNames Off' is specified
2390         in cups configuration. Patch by Tim Waugh.
2391
2392 2006-11-24  Michael Natterer  <mitch@imendio.com>
2393
2394         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2395         can't go up/down, consult gtk_widget_keynav_failed() and leave the
2396         widget if it returns FALSE (bug #322640).
2397
2398 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
2399
2400         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2401
2402 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
2403
2404         * gtk/gtkrecentmanager.c:
2405         (get_uri_shortname_for_display): g_filename_from_uri() might
2406         fail; catch the failure and fall back to the non-local URI
2407         case. (#363437)
2408
2409 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
2410
2411         Fixes bug #376502 - multi-screen support for GtkStatusIcon
2412
2413         * gtk/gtkstatusicon.[ch]:
2414         (gtk_status_icon_set_screen),
2415         (gtk_status_icon_get_screen): add multi-screen API. Allows
2416         an app to display an icon on a non-default screen
2417         (gtk_status_icon_class_init),
2418         (gtk_status_icon_set_property),
2419         (gtk_status_icon_get_property): add a "screen" property
2420         
2421         * tests/teststatusicon.c: update to test on multiple screens
2422
2423 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
2424
2425         Fix problems with drag cancellation. (#376535, Michael Natterer)
2426         
2427         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2428         handlers before emitting drag-end.
2429         (gtk_drag_end): Disconnect signal handlers before removing
2430         the grab.  
2431
2432 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
2433
2434         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2435         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2436
2437 2006-11-16  Michael Natterer  <mitch@imendio.com>
2438
2439         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2440         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2441         and gtk-keynav-wrap-around and wrap around, beep or continue outside
2442         the group manually (bug #322640).
2443
2444 2006-11-16  Michael Natterer  <mitch@imendio.com>
2445
2446         Add new infrastructure for notifications of failed keyboard
2447         navigation and navigation with restricted set of keys.
2448
2449         The patch handles configurable beeping, navigating the GUI with
2450         cursor keys only (as in phone environments), and configurable
2451         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2452         and #309291.
2453
2454         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2455         gtk-keynav-wrap-around and gtk-error-bell.
2456
2457         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2458         API to emit it. Added New function gtk_widget_error_bell() which
2459         looks at the gtk-error-bell setting and calls gdk_window_beep()
2460         accordingly.
2461
2462         * gtk/gtk.symbols: add the new widget symbols.
2463
2464         * gtk/gtkcellrendereraccel.c
2465         * gtk/gtkimcontextsimple.c
2466         * gtk/gtkmenu.c
2467         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2468         gtk-error-bell setting instead of calling gdk_display_beep()
2469         unconditionally.
2470
2471         * gtk/gtkcombobox.c
2472         * gtk/gtkentry.c
2473         * gtk/gtkiconview.c
2474         * gtk/gtklabel.c
2475         * gtk/gtkmenushell.c
2476         * gtk/gtkspinbutton.c
2477         * gtk/gtktextview.c
2478         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2479
2480         * gtk/gtkentry.c
2481         * gtk/gtklabel.c
2482         * gtk/gtkrange.c
2483         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2484         cursor navigation and leave the widget if it returns FALSE.
2485
2486         * gtk/gtkmenushell.c
2487         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2488         is TRUE.
2489
2490         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2491         whether to to wrap-around, and don't select active items on cursor
2492         navigation if gtk-keynav-cursor-only is TRUE. Should look at
2493         gtk-keynav-wrap-around too, will look into that.
2494
2495 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2496
2497         * gtk/gtkrecentmanager.c:
2498         (gtk_recent_info_get_uri_display): Return the URI
2499         of the GtkRecentInfo object (upgraded to UTF-8 if
2500         needed) in case of non-local file. (#351945)
2501
2502 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2503         
2504         * gtk/gtkrecentchoosermenu.c:
2505         (gtk_recent_chooser_menu_add_tip): Apply the tip only
2506         if we have a displayable name for the item. (#365031,
2507         patch by padraig.obriain(at)sun.com)
2508
2509 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2510
2511         * gtk/gtkrecentmanager.c: Provide a fast path returning
2512         NULL when the limit is set to 0.
2513
2514         * gtk/gtkrecentchooserdefault.c:
2515         * gtk/gtkrecentchoosermenu.c: Add the same fast path
2516         inside the RecentChooser implementation; add a check
2517         in the list clamping code. (#373466 and duplicates)
2518
2519 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
2520
2521         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
2522         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
2523
2524 2006-11-15  Michael Natterer  <mitch@imendio.com>
2525
2526         * gtk/gtkrange.[ch]: added properties "fill-level",
2527         "show-fill-level" and "restrict-to-fill-level" and getters/setters
2528         for them. The "fill level" is an additional marker on the range's
2529         trough than can be e.g. used to indicate the amount of
2530         pre-buffering in a range showing the play position of streamed
2531         media. See the embedded API docs for details. Made GtkRangeLayout
2532         a GTypeInstance private struct and removed finalize()
2533         implementation. Fixes bug #349808
2534
2535         * gtk/gtk.symbols: added the new symbols.
2536
2537 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
2538
2539         * configure.in: Make libtool magic robust. (#352795)
2540
2541 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
2542
2543         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
2544         leak (#370395)
2545
2546 2006-11-09  Kristian Rietveld  <kris@imendio.com>
2547
2548         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
2549         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
2550
2551 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
2552
2553         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2554
2555 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
2556
2557         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
2558         timeout running if the slider buttons are hidden. (#372527)
2559
2560 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
2561
2562         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
2563         the "Location" label bold. Bug #372449.
2564
2565 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
2566
2567         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
2568         non-focused tabs xthickness/ythickness thinner. (#353962)
2569
2570 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
2571
2572         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
2573         corruption (#357050).
2574
2575 2006-11-06  Alexander Larsson  <alexl@redhat.com>
2576
2577         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
2578         (gtk_drag_source_info_destroy), (gtk_drag_end),
2579         (gtk_drag_grab_notify_cb):
2580         Cancel drag when the grab is shadowed. (#122688)
2581
2582 2006-11-01  Kristian Rietveld  <kris@imendio.com>
2583
2584         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
2585         (gtk_combo_box_size_request): add arrow-size property to control
2586         the minimum size of the arrow, have the arrow scale up with the
2587         font by default. (#357950).
2588
2589 2006-10-30  Kristian Rietveld  <kris@gtk.org>
2590
2591         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
2592         forget to queue a draw for the new cursor node. (Fixes #366548,
2593         reported by Sven Herzberg).
2594
2595 2006-10-30  Michael Natterer  <mitch@imendio.com>
2596
2597         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
2598         only if we actually cancel a drag. Fixes bug #58389.
2599
2600 2006-10-30  Kristian Rietveld  <kris@gtk.org>
2601
2602         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
2603         keybindings to collapse/expand rows instead of moving the focus
2604         cursor. (#105895, Brian Bober and others).
2605
2606 2006-10-29  Kristian Rietveld  <kris@gtk.org>
2607
2608         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
2609         child removal in row-expanded callback. (#366782, John Ellis).
2610
2611 2006-10-29  Tor Lillqvist  <tml@novell.com>
2612
2613         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
2614         of the small icon of the window class. (#152620, Kazuki Iwamoto)
2615
2616 2006-10-29  Tor Lillqvist  <tml@novell.com>
2617
2618         * gdk/win32/gdkcursor-win32.c
2619         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
2620         for instance the built-in GDK ones.
2621
2622 2006-10-27  Kristian Rietveld  <kris@gtk.org>
2623
2624         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
2625         case to not overwrite the variables in the lower scope (which are
2626         used later on ...), get the path correctly and bail out when there
2627         isn't a node above us. (#359231).
2628
2629 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
2630
2631         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
2632
2633 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
2634
2635         * gtk/gtk.symbols: Add missing symbols to so make check can pass
2636
2637 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
2638
2639         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
2640         to free GDI Pen resources, introduced by bug 340201.(#364514)
2641         
2642 2006-10-18  Kristian Rietveld  <kris@imendio.com>
2643
2644         * tests/testcombo.c (main): connect to notify::popup-shown instead of
2645         popup-show (the latter does not exist).
2646
2647 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
2648
2649         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
2650         Fixes bug #362439.
2651
2652 2006-10-12  Michael Natterer  <mitch@imendio.com>
2653
2654         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
2655         (committed the wrong patch).
2656
2657 2006-10-12  Michael Natterer  <mitch@imendio.com>
2658
2659         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
2660         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
2661         obsolete now. Fixes bug #358293.
2662
2663 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
2664
2665         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
2666
2667 2006-10-11  Tor Lillqvist  <tml@novell.com>
2668
2669         * configure.in: Enable having some gdk-pixbuf loaders built-in
2670         even if loading the others dynamically. Define Automake
2671         conditional INCLUDE_FOO for each loader as TRUE if that loader is
2672         built-in. See also gdk-pixbuf/ChangeLog.
2673
2674 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
2675
2676         * docs/reference/gtk/gtk-sections.txt:
2677         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
2678
2679 2006-10-11  Tor Lillqvist  <tml@novell.com>
2680
2681         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
2682         variable.
2683
2684 2006-10-11  Tor Lillqvist  <tml@novell.com>
2685
2686         Merge from 2.10 branch:
2687
2688         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
2689         environment variable LC_ALL or LANG is set, set the Win32 thread
2690         locale to the corresponding locale. Then call the C library
2691         setlocale() to set the C library locale accordingly. The
2692         inconsistency mentioned below is gone. (#339756) Do some special
2693         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
2694         scripts for Azeri, Uzbek and Serbian.
2695         (enum_locale_proc): Helper function for the above functionality.
2696
2697         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
2698         if the environment variables are set here, as they have already
2699         been taken into account and the Win32 thread locale has been
2700         set.
2701
2702 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
2703
2704         * gtk/tmpl/gtkbindings.sgml: 
2705         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
2706         inline docs. applied wording fixes suggested by Martyn Russell.
2707
2708 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
2709
2710         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
2711         Update the docs to state which out parameters may be NULL.
2712         (#360870, Attilio Fiandrotti)
2713
2714 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
2715
2716         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
2717         a typo.  (#359542, Ghee Teo)
2718
2719 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2720
2721         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
2722         reorder tabs if the focus is in the tab.  (#350342, Carlos
2723         Garnacho Parro)
2724
2725 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
2726
2727         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
2728
2729 2006-10-08  Kristian Rietveld  <kris@gtk.org>
2730
2731         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
2732         (gtk_tree_view_set_show_expanders),
2733         (gtk_tree_view_get_show_expanders): add getter/setter for
2734         show-expanders property, queue a redraw when this property
2735         is toggled (#351167, Martin Ejdestig),
2736         (gtk_tree_view_set_level_indentation),
2737         (gtk_tree_view_get_level_indentation): also add getter/setter
2738         and docs for level-indentation property.
2739
2740 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
2741
2742         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
2743         leak a list.  (#360350, Benjamin Berg)
2744
2745         * Apply a cleanup patch by Kjartan Maraas  (#341812)
2746
2747 2006-10-07  Tor Lillqvist  <tml@novell.com>
2748
2749         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
2750         locale's first day of week setting on Win32. (#339752, Bogdan
2751         Nicula) Don't do this if one of the environment variables that
2752         affect gettext is set, though. In that case use the week start day
2753         from the corresponding message catalog.
2754
2755         Unfortunately the same logic isn't possible in the weekday and
2756         month name lookup; there even if you have set one of the
2757         aforementioned environment variables, you still get the weekday
2758         and month names from the Win32 thread locale. Yes, this is
2759         inconsistent.
2760
2761         Use only wide-character API in the Win32 code in this file, too.
2762
2763 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
2764
2765         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
2766         Fix the docs.  (#360112)
2767
2768         * gtk/gtkcellview.c: Don't set the background of the
2769         window in a no-window widget.  (#359581, Xan Lopez)
2770
2771
2772 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
2773
2774         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
2775         test correctly. (#359845)
2776
2777 2006-10-05  Michael Natterer  <mitch@imendio.com>
2778
2779         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
2780         rid of a key binding (in fact, it only lets it appear unbound).
2781
2782         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
2783         "guint marks_unbound : 1"
2784
2785         (gtk_binding_entry_skip): new API which marks the entry as unbound.
2786
2787         Changed code so it returns FALSE when "marks_unbound == TRUE" is
2788         encountered while activating bindings, effectively letting the
2789         binding appear unbound (regardless of still existing bindings in
2790         lower binding priority levels). Fixes bug #358329.
2791
2792         (gtk_binding_entry_add)
2793         (gtk_binding_entry_clear)
2794         (gtk_binding_entry_add_signall)
2795         (gtk_binding_parse_binding): deprected these functions.
2796
2797         (_gtk_binding_parse_binding)
2798         (_gtk_binding_entry_add_signall): new internal API.
2799
2800         * gtk/gtk.symbols: changed accordingly.
2801
2802 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
2803
2804         Fix interaction of GtkEntryCompletion with input
2805         methods.  (#354495, Diego Escalante Urrelo)
2806
2807         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
2808         the im context if we actually handle the key event.
2809
2810         * gtk/gtkentrycompletion.c: Also propagate key release events
2811         to the entry.
2812
2813 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
2814
2815         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
2816         Fix a typo.  (#359052, Ghee Teo)
2817
2818         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
2819         reduce relocations. (#359053)
2820
2821 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
2822
2823         * modules/printbackends/cups/gtkcupsutils.c:
2824         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
2825         the fix for bug 357280.
2826
2827 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
2828
2829         * gdk-pixbuf/Makefile.am:
2830         * gdk/Makefile.am:
2831         * gtk/Makefile.am:
2832         Include pltcheck.sh in EXTRA_DIST.
2833
2834 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
2835
2836         * gdk/x11/gdkevents-x11.c: Move all includes before including
2837         gdkalias.h.
2838
2839 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
2840
2841         * gtk/Makefile.am: Fix typo in file name.  (#358931)
2842
2843 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
2844
2845         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
2846         Only use the group name field if cups is new enough.  (#357280)
2847
2848         * gtk/gtksizegroup.c: Make sure that the quarks are 
2849         initialized before using them.  (#353736)
2850
2851         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
2852         replace existing links.  (#354849, James Evans)
2853
2854 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
2855
2856         * gtk/gtkexpander.c (gtk_expander_realize) 
2857         (gtk_expander_size_allocate): Make the event_window large
2858         enough to cover the full height of the label_widget.  (#358351,
2859         Scott Horowitz)
2860
2861 2006-10-01  Tor Lillqvist  <tml@novell.com>
2862
2863         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
2864
2865 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
2866
2867         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
2868         against base_path being NULL.  (#358405, many reporters)
2869
2870 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
2871
2872         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
2873         to avoid a deadlock.
2874
2875 2006-09-27  Kristian Rietveld  <kris@imendio.com>
2876
2877         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
2878         (gtk_tree_model_filter_ref_node),
2879         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
2880         in sync with each other and the sort model.
2881
2882 2006-09-27  Kristian Rietveld  <kris@imendio.com>
2883
2884         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
2885         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
2886         (gtk_tree_model_filter_new): unref the virtual root path once that
2887         node (or one if its ancestors) is deleted, set virtual_root_deleted
2888         so we only unref it once.
2889
2890 2006-09-27  Kristian Rietveld  <kris@imendio.com>
2891
2892         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
2893         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
2894         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
2895         (gtk_tree_model_sort_free_level): bring zero ref count loops in
2896         sync,
2897         (gtk_tree_model_sort_free_level): free child levels before
2898         decreasing the zero ref count of the current level,
2899         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
2900         is > 0.
2901
2902 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
2903
2904         * demos/gtk-demo/*.c:
2905         * gtk/gtkeventbox.c:
2906         * gtk/gtkprintoperation.c: Fix typos. String change.
2907
2908 2006-09-25  Kristian Rietveld  <kris@gtk.org>
2909
2910         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
2911         has already been realized; scroll to background area instead of
2912         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
2913
2914 2006-09-25  Kristian Rietveld  <kris@gtk.org>
2915
2916         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
2917         to create the GCs if the widget is realized. (Fixes #357578).
2918
2919 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
2920
2921         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
2922         the list of children (#357454, Paolo Borelli)
2923
2924 2006-09-25  Michael Natterer  <mitch@imendio.com>
2925
2926         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
2927         display->input_windows with g_free(), not g_object_unref()
2928         (#357566, Tommi Komulainen).
2929
2930 2006-09-24  Kristian Rietveld  <kris@gtk.org>
2931
2932         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
2933         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
2934         property to the API (left-over patch from #157439).
2935
2936 2006-09-24  Kristian Rietveld  <kris@gtk.org>
2937
2938         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
2939         the indicator if the column has a sort column id (and the model is
2940         sortable) or if the user explicitly requested the indicator
2941         to be shown.  (Fixes #352738, Chris Vine).
2942
2943 2006-09-23  Tor Lillqvist  <tml@novell.com>
2944
2945         * gtk/Makefile.am: Use EXEEXT.
2946
2947 2006-09-22  Michael Natterer  <mitch@imendio.com>
2948
2949         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
2950         and color hashes. Fixes bug #357132.
2951
2952 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
2953
2954         Make remote bookmarks work better (#354887)
2955         
2956         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
2957         (shortcuts_insert_path): 
2958         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
2959         (model_add_bookmarks): 
2960         (model_update_current_folder): 
2961         (update_label_and_image): 
2962         If the bookmark points to a remote file, don't call get_info(), 
2963         since that may a) take a long time and b) pop up an auth dialog.
2964         Instead, just use a folder icon and create a display name
2965         from the uri.
2966
2967         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
2968         New function to create a suitable display name for a remote
2969         uri. This should really be done in GtkFileSystem.
2970         
2971 2006-09-21  Michael Natterer  <mitch@imendio.com>
2972
2973        Implement lots of value setters for GdkGC, based on a heavily
2974        modified patch from Thomas Broyer (bug #328853):
2975
2976         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
2977         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
2978         which simply returns RGBA values from a GdkColor's pixel value.
2979         See gdk_quartz_update_context_from_gc() below.
2980
2981         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
2982         of members for the newly suppored GC values. Added enum
2983         GdkQuartzContextValuesMask which is used for setting up the
2984         CGContext for filling and/or stroking.
2985
2986         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
2987         (gdk_quartz_gc_set_values)
2988         (_gdk_windowing_gc_copy): support a lot more GC values.
2989
2990         (gdk_quartz_update_context_from_gc): added
2991         GdkQuartzContextValuesMask parameter and set filling/stroking
2992         parameters accordingly. This function also gained full control
2993         over the FG and BG colors (they can't be set separately any more).
2994
2995         The stipple mask part of the patch doesn't work but seems to take
2996         the right approach and doesn't make things worse, so I applied it.
2997
2998         Did *not* apply the clipping part of the patch since I don't
2999         understand it (I don't understand the version in CVS either, but
3000         it at least works :-)
3001
3002         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3003         gdk_quartz_update_context_from_gc() and removed separate color
3004         setting calls. Some minor fixes.
3005
3006         * gdk/quartz/gdkwindow-quartz.c
3007         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3008         fill color manually. We don't have/need a GC here.
3009
3010 2006-09-21  Michael Natterer  <mitch@imendio.com>
3011
3012         * gdk/quartz/gdkwindow-quartz.c
3013         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3014         drawable_impl->wrapper that is the GdkWindow, not the
3015         drawable_impl itself.
3016
3017 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
3018
3019         * gdk/x11/gdkkeys-x11.c:
3020           (get_direction): just check the first shift-level of keyboard
3021         layout for RTL and LTR keysyms() (compliment to #116626)
3022
3023 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
3024
3025         * gtk/gtkviewport.c: always update the bin_window position and size
3026         in size_allocate, even if we don't have a visible child. this fixes
3027         expose artefacts as described in #313508.
3028
3029         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3030         have no visible child explicit.
3031
3032 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
3033
3034         * docs/reference/gdk/gdk-sections.txt:
3035         * gdk/gdk.symbols:
3036         * gdk/gdkpango.h:
3037         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
3038           (gdk_pango_layout_get_clip_region): Remove an unused variable.
3039           (gdk_pango_attr_embossed_new): Fix documentation.
3040
3041 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
3042
3043         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
3044         control the arrow/border ratio within the allocation.
3045
3046         * tests/testgtk.c: added a GtkArrow to handle box test.
3047
3048         * tests/testgtkrc: test ::arrow-scaling property.
3049
3050 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
3051
3052         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3053         Display an error when we come to the root.  
3054
3055 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
3056
3057         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
3058         the combobox. 
3059
3060         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
3061         bookmarks to the model in local-only mode, to avoid 
3062         authentication dialogs pop up for invisible bookmarks, and
3063         to fix issues with separators not being hidden when
3064         they should.  (#354887, Dennis Cranston)
3065
3066 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
3067
3068         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3069         treeview use in list mode.  (#355732, Richard Hult)
3070
3071         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3072         change notification for the right property.  (#355308,
3073         Torsten Schoenfeld)
3074
3075 2006-09-15  Michael Natterer  <mitch@imendio.com>
3076
3077         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3078         header navigation/resizing/reordering to be more readable and lose
3079         one level of nesting.
3080
3081 2006-09-15  Kristian Rietveld  <kris@imendio.com>
3082
3083         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3084         return after handling column button focus; we disable wrap around
3085         with this (which actually happened via a really weird code path).
3086         (Michael Natterer)
3087
3088 2006-09-15  Kristian Rietveld  <kris@imendio.com>
3089
3090         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3091         code RTL aware, also break from the loops after we have seen the
3092         focussed column button (Michael Natterer).
3093
3094 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
3095
3096         * tests/testrichtext.c (main): intialize random number generator state
3097         upon program start, to enable truely random testing.
3098
3099 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3100
3101         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3102         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3103         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3104                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3105         * gdk/quartz/Makefile.am same change as directfb Makefile
3106         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3107
3108 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3109
3110         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3111         for the grab widget, to make the color picker work with window
3112         groups.  
3113
3114 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3115
3116         signed off by: Dom Lachowicz
3117         
3118         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3119         a large number of improvements to the Microsoft Windows theme engine
3120         which are fully described in the bug report.
3121         
3122 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
3123
3124         * tests/testgtk.c: fixed compiler warnings.
3125
3126 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
3127
3128         * gtk/gtkfilechooserbutton.c (model_add_special): Request
3129         the display name too, otherwise "Desktop" does not appear
3130         in the file chooser button. 
3131
3132 2006-09-10  Tor Lillqvist  <tml@novell.com>
3133
3134         * gdk/win32/gdkprivate-win32.h
3135         * gdk/win32/gdkmain-win32.c
3136         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3137         0x0500 in gdkprivate-win32.h instead of doing it in two source
3138         files. (#355212, Mike Edenfield)
3139
3140         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3141         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3142
3143 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
3144
3145         * Commit a patch by Behdad to fix typos, omissions and other
3146         errors in the symbol aliasing, and add checks for local PLT
3147         entries.  (#354687, Behdad Esfahbod)
3148
3149         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3150         the flush timeout.  (#354043, Nelson Benitez)
3151         
3152         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
3153         Improve wording. String change!  (#355126, David Lodge)
3154
3155         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
3156         David Lodge)
3157
3158         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
3159         David Lodge)
3160
3161 2006-09-09  Matthias Clasen <mclasen@redhat.com>
3162
3163         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3164         (#353916, Chris Wilson)
3165
3166         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3167         Don't leak the to_reset list.  (#353914, Chris Wilson)
3168
3169         * gtk/gtkwidget.c: Add docs for the parent-set signal.
3170         (#353772, Mariano Suárez-Alvarez)
3171
3172 2006-09-08  Matthias Clasen <mclasen@redhat.com>
3173
3174         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3175         Don't clear clipboards here, since we are called from finalize
3176         and can't emit signals.
3177
3178         * configure.in: Set version to 2.11.0
3179
3180 2006-09-06  Richard Hult  <richard@imendio.com>
3181
3182         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
3183         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3184
3185 2006-09-04  Kristian Rietveld  <kris@imendio.com>
3186
3187         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3188         if setting the given folder failed, try setting the parent folder
3189         until we succeed; display an error box at the end.
3190
3191 2006-09-04  Kristian Rietveld  <kris@imendio.com>
3192
3193         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3194         operations spawned by buttons here,
3195         (set_button_image_get_info_cb): bail out if button is NULL, but
3196         do free button_data,
3197         (button_data_free): only free the data if non NULL (since this
3198         function can be called multiple times for the same data), cancel
3199         handle if pending but don't free button_data in this case (will
3200         happen in the callback).
3201
3202 2006-09-04  Michael Natterer  <mitch@imendio.com>
3203
3204         * gtk/gtkrc.c (rc_parse_token_or_compound)
3205         (gtk_rc_parse_assignment): serialize floating point values using
3206         locale-independent functions. (#346751, Frederic Crozat)
3207
3208 2006-09-04  Tor Lillqvist  <tml@novell.com>
3209
3210         * gdk/win32/gdkevents-win32.c
3211         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3212         window handling (PeekMessage, PostMessage, SendMessage,
3213         DispatchMessage, DefWindowProc, RegisterClassEx,
3214         CreateWindowEx). (#321597)
3215
3216 2006-09-03  Kristian Rietveld  <kris@imendio.com>
3217
3218         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3219         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3220         change file_exists_and_is_not_folder checks to get the file info
3221         for the path directly instead of querying the current file folder
3222         of the save entry.
3223
3224         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3225         new field.
3226
3227         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3228         (test_reload_sequence), (test_button_folder_states_for_action): wait
3229         for idle after setting a folder to ensure the async operations to load
3230         the folder are finished,
3231         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3232         factor out test_confirm_overwrite code so we can add tests for more
3233         paths more easily.
3234
3235 2006-09-03  Richard Hult  <richard@imendio.com>
3236
3237         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3238         exposure isn't in the event mask, plug a leak, and check that the
3239         window isn't destroyed.
3240         (isOpaque): Check that the window isn't destroyed, fixes bug 
3241         #353028.
3242
3243 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
3244
3245         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
3246         (#354035, Mariano Suárez-Alvarez)
3247
3248         * gtk/gtkmain.c (post_parse_hook): 
3249         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3250         (#354004, Chris Wilson)
3251
3252 2006-09-03  Tor Lillqvist  <tml@novell.com>
3253
3254         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3255         GDK_WINDOW_DISPLAY in the Win32 backend.
3256
3257         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3258         gtkfilesystemunix.c
3259
3260 2006-09-02  Kristian Rietveld  <kris@imendio.com>
3261
3262         First part of file chooser fixes.
3263
3264         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3265         handle in the model for the desktopdir case.
3266
3267         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3268         volume in case we retrieved it but don't pass it on to insert_path,
3269         (shortcuts_model_create): change the column type for the handles
3270         to pointer instead of GObject so our handle ref counting is not
3271         disturbed,
3272         (show_and_select_paths_finished_loading): don't forget to unref
3273         the dialog.
3274
3275         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3276         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3277         remove pending execute_callbacks_idle during dispose, also
3278         execute all callbacks waiting to be run in the next idle,
3279         (queue_*callback), (execute_callbacks_idle): refactor to maintain
3280         a list of callbacks to call per file system instead of globally,
3281         guard the file system during callback invocation,
3282         (gtk_file_system_unix_get_folder): only add load folder idle if
3283         none has been added yet.
3284
3285 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
3286
3287         * gtk/gtkentry.c: Don't unnecessarily reset the im context
3288         when deleting the selection.  (#353803, Alex Larsson)
3289
3290 2006-09-01  Abel Cheung  <abel@oaka.org>
3291
3292         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3293
3294 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
3295
3296         Stop cursor blinking after a configurable timeout.
3297         (#353670, #352442, Arjan van de Ven, Manu Cornet)
3298         
3299         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
3300         gtk-cursor-blink-timeout setting, which specifies the number
3301         of seconds that the cursor should blink after a user interaction.
3302         The default value is G_MAXINT to preserve the current behaviour.
3303
3304         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3305         seconds.
3306
3307         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
3308         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3309         blink timer.
3310
3311         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3312         seconds. 
3313
3314         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
3315         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
3316         Reset the blink timer.
3317         
3318 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
3319
3320         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3321         explicit format capabilities.  (#346505, Christian Persch)
3322
3323         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
3324
3325 2006-08-31  Michael Natterer  <mitch@imendio.com>
3326
3327         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3328
3329 2006-08-30  Richard Hult  <richard@imendio.com>
3330
3331         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3332
3333 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
3334
3335         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3336         for beeping if we are using XKB.  
3337
3338 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
3339
3340         * gdk/gdkwindow.h: 
3341         * gdk/gdk.symbols: 
3342         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
3343         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
3344         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
3345         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3346         to beep on a window. For X11, implement this with
3347         XkbBell.  (#353455, Mariano Suárez-Alvarez)
3348         
3349 2006-08-29  Tor Lillqvist  <tml@novell.com>
3350
3351         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3352         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3353         it isn't being maintained anyway. If somebody is interested, it
3354         can always be found in older GTK+ versions, and in CVS.
3355
3356         * configure.in
3357         * acconfig.h
3358         * gdk/Makefile.am
3359         * gdk/win32/Makefile.am
3360         * gdk/win32/libie55uid.la
3361         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3362         switch and associated stuff. Active IMM and the <dimm.h> header
3363         was used for IM support on NT4 and Win9x. Win2k and later have IM
3364         support built-in.
3365
3366         * gdk/win32/gdkcursor-win32.c
3367         * gdk/win32/gdkdnd-win32.c
3368         * gdk/win32/gdkdrawable-win32.c
3369         * gdk/win32/gdkevents-win32.c
3370         * gdk/win32/gdkgc-win32.c
3371         * gdk/win32/gdkglobals-win32.c
3372         * gdk/win32/gdkkeys-win32.c
3373         * gdk/win32/gdkmain-win32.c
3374         * gdk/win32/gdkproperty-win32.c
3375         * gdk/win32/gdkselection-win32.c
3376         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3377         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3378         branches, and any variables or static functions used only by the
3379         Win9x branches.
3380
3381         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3382         constants that aren't missing from current mingw and MSVC6
3383         headers.
3384
3385         * gdk/win32/gdkmain-win32.c
3386         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3387         function. On NT-based Windows GetLastError() returns error codes
3388         also for failed GDI calls, so we can use _gdk_win32_api_failed()
3389         always.
3390
3391 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
3392
3393         * gtk/gtkrecentchoosermenu.c
3394         (gtk_recent_chooser_menu_set_current_uri): Break when an item
3395         is found and activated. (#353449, based on a patch by Jan Arne
3396         Petersen)
3397
3398 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
3399
3400         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
3401         properties which make all hardcoded padding and spacing values
3402         configurable. properly swap ::text-xalign treatment for RTL widgets.
3403
3404         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
3405         proeprty more consistent with GtkMisc alignment blurbs. mention
3406         RTL treatment for text-xalign.
3407
3408 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
3409
3410         * tests/testgtk.c: allow (most) windows to be resizable.
3411         added ellipsization settings to progress bars. 
3412
3413 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
3414
3415         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3416         resonable timeout of 3 seconds when polling for printer
3417         list updates, instead of 300000 seconds...
3418
3419 2006-08-28  Michael Natterer  <mitch@imendio.com>
3420
3421         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3422         </apply_tag> for tags that have already been closed by the logic
3423         which turns overlapping spans into XML-able trees. Fixes broken
3424         XML when there are overlapping tags in the buffer. Also free two
3425         leaked GLists and did some cleanup.
3426
3427         * tests/Makefile.am
3428         * tests/testrichtext.c: new test which creates randomly tagged
3429         GtkTextBuffers and serializes/deserializes them.
3430
3431 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
3432
3433         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
3434         Don't leak pixbufs.  (#352264, Ross Burton)
3435
3436         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3437         PangoAttributes.  (#352391, Paolo Borelli)
3438
3439 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
3440
3441         * demos/gtk-demo/Makefile.am:
3442         * demos/gtk-demo/textscroll.c: Add an example of automatic
3443         scrolling, thanks to Yevgen Muntyan.  (#351206)
3444         
3445         * gtk/gtkmodules.c (find_module): Use local binding when
3446         loading modules.  (#351868)
3447
3448 2006-08-24  Michael Natterer  <mitch@imendio.com>
3449
3450         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3451         the hostname instead of NULL.
3452
3453 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
3454
3455         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3456         names and values in comboboxes, and clean up some
3457         coding style issues.
3458
3459 2006-08-23  Tor Lillqvist  <tml@novell.com>
3460
3461         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3462         Revert unintended translatable string addition. Use same string
3463         in GError as in gtkfilesystemunix.c.
3464
3465         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3466         Fix logic at the end of strings. 
3467
3468         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3469         handles and check that we have no outstanding handles at
3470         finalization time. (Copying what Matthias did for
3471         gtkfilesystemunix.c)
3472
3473 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
3474
3475         * gtk/gtkfilesystemunix.c: Maintain a hash table
3476         of live handles and check that we have no outstanding
3477         handles at finalization time. (Copying what
3478         Federico did for gtkfilesystemgnomevfs.c)
3479
3480 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
3481
3482         * Branch for 2.10
3483