]> Pileus Git - ~andy/gtk/blob - ChangeLog
Generate double-click events. (#380421, Tommi Komulainen)
[~andy/gtk] / ChangeLog
1 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
2
3         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
4         Generate double-click events.  (#380421, Tommi Komulainen)
5
6         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
7         (_gdk_input_enter_event): Correct return_if_fail checks.
8         (#379803, Tommi Komulainen)
9
10         * gdk/gdkdisplay.c: Improve the docs of some functions operating
11         on the default display.  (##353438, Mariano Suárez-Alvarez)
12
13 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
14
15         * docs/reference/gdk/gdk-sections.txt:
16         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
17         converting a GdkColor to a string (#373856).
18
19         * configure.in: Bump pango requirement to 1.15.2.
20
21 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
22         
23         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
24         Bastian Nocera)
25
26         * gdk/keyname-table.h: Regenerated
27
28         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
29         Søren Wedel Nielsen)
30
31         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
32         Silently return if a drag is already in progress, rather
33         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
34
35         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
36         Allow any GtkDialog that implements GtkFileChooser as
37         dialog.  (#335473, Tommi Komulainen)
38
39 2006-12-20  Mikael Hallendal  <micke@imendio.com>
40
41         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
42         change in the quartz backend.
43
44 2006-12-20  Mikael Hallendal  <micke@imendio.com>
45
46         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
47         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
48         status icon.
49         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
50
51 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
52
53         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
54         format of page ranges, and improve the page sequence icon
55         for the case of n_copies == 1.
56  
57 2006-12-19  Mikael Hallendal  <micke@imendio.com>
58
59         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
60         routine so that it can be used from libgtk as well (needed for
61         upcoming GtkStatusIcon support in the Quartz port).
62         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
63         created from GDK, this is not true for the status icon.
64         * gdk/quartz/gdkprivate-quartz.h:
65         * gdk/quartz/gdkquartz.h: Added 
66         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
67         the status icon code.
68
69 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
70
71         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
72         gtk_message_dialog_set_image ()
73
74         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
75         (setting "window-placement-set" could result in a crash because
76         of boolean/enum mixup)
77
78 2006-12-15  Federico Mena Quintero  <federico@novell.com>
79
80         Merged from gtk-2-10:
81
82         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
83         the case where the new title is the same as the old title, to
84         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
85         equivalent).  Handle the case where title == priv->title.  This
86         was found by the LSB compatibility tests:
87         https://bugzilla.novell.com/show_bug.cgi?id=223882
88
89 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
90
91         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
92         more closely resemble its Win32 counterpart. Bug #340204.
93
94 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
95
96         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
97         placed inside their GdkWindow. Bug #385672.
98
99 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
100
101         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
102
103 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
104
105         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
106         drawn with extra line below tab in MS-Windows theme. Patch by 
107         Cody Russell
108         
109 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
110
111         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
112         for print preview.  (#370041, Ghee Teo)
113
114 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
115
116         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
117         careful when overdrawing antialiased text.  (#352435, Alex Jones,
118         patch by Benjamin Otte)
119
120         * gtk/gtksettings.c: Change the way in which color scheme information
121         is merged to correctly handle vanishing colors.  (#374420, 
122         Benjamin Berg, patch by Callum McKenzie) 
123         Also allow to separate entries in color schemes by ';' 
124         instead of newline.  
125
126 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
127
128         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
129         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
130
131 2006-12-10  Kristian Rietveld  <kris@gtk.org>
132
133         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
134         cancel editing (ie. don't accept changes) when the entry loses
135         focus. (Fixes #164494, reported by Chris Rouch).
136
137 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
138
139         * configure.in: Correct a misapplied patch. 
140
141 2006-12-10  Tor Lillqvist  <tml@novell.com>
142
143         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
144         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
145         developer zipfile. Users might add pixbuf loaders or immodules
146         even if they are not interested in developing gtk+-using software.
147
148 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
149
150         * configure.in: Check for crt_extern.h and _NSGetEnviron.
151         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
152         environ is not available.  (#384168, Min Sik Kim)
153
154 2006-12-07  Paolo Maggi  <paolo@gnome.org>
155
156         Fixes bug #383407
157         
158         * gtk/gtkentry.c (gtk_entry_set_text): check for
159         completion->priv->changed_id > 0 before calling 
160         g_signal_handler_[un]block.
161         (gtk_entry_completion_key_press): does not block/unblock the "changed"
162         signal before calling gtk_entry_set_text.
163         
164 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
165
166         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
167         xthickness/ythickness, they aren't used any longer for drawing.
168
169 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
170
171         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
172         underlines by giving labels a small draw-border.
173
174 2006-12-06  Kristian Rietveld  <kris@gtk.org>
175
176         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
177         draw progress bar through theme engine instead of using our own
178         custom cairo drawing code (#377244, patch from Carlos Garnacho).
179
180 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
181
182         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
183         Update the sensitivity of the collate checkbutton more frequently,
184         proposed by Tim Waugh.
185
186 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
187
188         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
189         since we no longer set window titles.
190
191 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
192
193         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
194         (gtk_page_setup_set_paper_size): Don't leak the old page size when
195         setting a new one. Bug #382314.
196
197 2006-12-03  Michael Natterer  <mitch@gimp.org>
198
199         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
200
201 2006-12-03  Kristian Rietveld  <kris@gtk.org>
202
203         Make sure [xy]_offset are always being initialized, fix pixbuf
204         renderer padding.  (#108235, Sven Neumann).
205
206         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
207         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
208         of _get_size.
209
210         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
211         always initialize [xy]_offset.
212         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
213         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
214         ditto.
215
216 2006-12-03  Kristian Rietveld  <kris@gtk.org>
217
218         * gtk/gtktreeview.c (validate_visible_area): when not using an
219         explicit alignment, use the full area of the row (not just dy)
220         to determine how to implicitly align it.  (Fixes #363191, reported
221         by Federico Mena Quintero).
222
223 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
224
225         * gtk/gtkicontheme.c (insert_theme): Properly clean up
226         if an icon theme index file has no directories.  (#381236)
227
228 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
229
230         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
231         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
232         
233 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
234
235         Remove the broken Thai input method and add a functional Thai and Lao
236         input method by Theppitak Karoonboonyanan. (#81031)
237
238         * modules/input/imthai.c:
239         * modules/input/gtkimcontextthai.c:
240         * modules/input/gtkimcontextthai.h:
241         * modules/input/thai-charprop.c:
242         * modules/input/thai-charprop.h:
243         Added.
244
245         * modules/input/imthai-broken.c:
246         Removed.
247         
248         * modules/input/Makefile.am:
249         Updated.
250
251 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
252
253         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
254
255 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
256
257         * gtk/gtktextview.c: applied patch by  Colin Leroy for
258         Control+GDK_KP_Left to move one word to the left, #356255.
259
260 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
261
262         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
263           widget. (#379503)
264
265 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
266
267         * modules/printbackends/cups/gtkprintbackendcups.c: Make
268         print dialog work when 'BrowseShortNames Off' is specified
269         in cups configuration. Patch by Tim Waugh.
270
271 2006-11-24  Michael Natterer  <mitch@imendio.com>
272
273         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
274         can't go up/down, consult gtk_widget_keynav_failed() and leave the
275         widget if it returns FALSE (bug #322640).
276
277 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
278
279         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
280
281 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
282
283         * gtk/gtkrecentmanager.c:
284         (get_uri_shortname_for_display): g_filename_from_uri() might
285         fail; catch the failure and fall back to the non-local URI
286         case. (#363437)
287
288 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
289
290         Fixes bug #376502 - multi-screen support for GtkStatusIcon
291
292         * gtk/gtkstatusicon.[ch]:
293         (gtk_status_icon_set_screen),
294         (gtk_status_icon_get_screen): add multi-screen API. Allows
295         an app to display an icon on a non-default screen
296         (gtk_status_icon_class_init),
297         (gtk_status_icon_set_property),
298         (gtk_status_icon_get_property): add a "screen" property
299         
300         * tests/teststatusicon.c: update to test on multiple screens
301
302 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
303
304         Fix problems with drag cancellation. (#376535, Michael Natterer)
305         
306         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
307         handlers before emitting drag-end.
308         (gtk_drag_end): Disconnect signal handlers before removing
309         the grab.  
310
311 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
312
313         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
314         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
315
316 2006-11-16  Michael Natterer  <mitch@imendio.com>
317
318         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
319         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
320         and gtk-keynav-wrap-around and wrap around, beep or continue outside
321         the group manually (bug #322640).
322
323 2006-11-16  Michael Natterer  <mitch@imendio.com>
324
325         Add new infrastructure for notifications of failed keyboard
326         navigation and navigation with restricted set of keys.
327
328         The patch handles configurable beeping, navigating the GUI with
329         cursor keys only (as in phone environments), and configurable
330         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
331         and #309291.
332
333         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
334         gtk-keynav-wrap-around and gtk-error-bell.
335
336         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
337         API to emit it. Added New function gtk_widget_error_bell() which
338         looks at the gtk-error-bell setting and calls gdk_window_beep()
339         accordingly.
340
341         * gtk/gtk.symbols: add the new widget symbols.
342
343         * gtk/gtkcellrendereraccel.c
344         * gtk/gtkimcontextsimple.c
345         * gtk/gtkmenu.c
346         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
347         gtk-error-bell setting instead of calling gdk_display_beep()
348         unconditionally.
349
350         * gtk/gtkcombobox.c
351         * gtk/gtkentry.c
352         * gtk/gtkiconview.c
353         * gtk/gtklabel.c
354         * gtk/gtkmenushell.c
355         * gtk/gtkspinbutton.c
356         * gtk/gtktextview.c
357         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
358
359         * gtk/gtkentry.c
360         * gtk/gtklabel.c
361         * gtk/gtkrange.c
362         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
363         cursor navigation and leave the widget if it returns FALSE.
364
365         * gtk/gtkmenushell.c
366         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
367         is TRUE.
368
369         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
370         whether to to wrap-around, and don't select active items on cursor
371         navigation if gtk-keynav-cursor-only is TRUE. Should look at
372         gtk-keynav-wrap-around too, will look into that.
373
374 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
375
376         * gtk/gtkrecentmanager.c:
377         (gtk_recent_info_get_uri_display): Return the URI
378         of the GtkRecentInfo object (upgraded to UTF-8 if
379         needed) in case of non-local file. (#351945)
380
381 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
382         
383         * gtk/gtkrecentchoosermenu.c:
384         (gtk_recent_chooser_menu_add_tip): Apply the tip only
385         if we have a displayable name for the item. (#365031,
386         patch by padraig.obriain(at)sun.com)
387
388 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
389
390         * gtk/gtkrecentmanager.c: Provide a fast path returning
391         NULL when the limit is set to 0.
392
393         * gtk/gtkrecentchooserdefault.c:
394         * gtk/gtkrecentchoosermenu.c: Add the same fast path
395         inside the RecentChooser implementation; add a check
396         in the list clamping code. (#373466 and duplicates)
397
398 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
399
400         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
401         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
402
403 2006-11-15  Michael Natterer  <mitch@imendio.com>
404
405         * gtk/gtkrange.[ch]: added properties "fill-level",
406         "show-fill-level" and "restrict-to-fill-level" and getters/setters
407         for them. The "fill level" is an additional marker on the range's
408         trough than can be e.g. used to indicate the amount of
409         pre-buffering in a range showing the play position of streamed
410         media. See the embedded API docs for details. Made GtkRangeLayout
411         a GTypeInstance private struct and removed finalize()
412         implementation. Fixes bug #349808
413
414         * gtk/gtk.symbols: added the new symbols.
415
416 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
417
418         * configure.in: Make libtool magic robust. (#352795)
419
420 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
421
422         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
423         leak (#370395)
424
425 2006-11-09  Kristian Rietveld  <kris@imendio.com>
426
427         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
428         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
429
430 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
431
432         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
433
434 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
435
436         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
437         timeout running if the slider buttons are hidden. (#372527)
438
439 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
440
441         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
442         the "Location" label bold. Bug #372449.
443
444 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
445
446         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
447         non-focused tabs xthickness/ythickness thinner. (#353962)
448
449 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
450
451         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
452         corruption (#357050).
453
454 2006-11-06  Alexander Larsson  <alexl@redhat.com>
455
456         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
457         (gtk_drag_source_info_destroy), (gtk_drag_end),
458         (gtk_drag_grab_notify_cb):
459         Cancel drag when the grab is shadowed. (#122688)
460
461 2006-11-01  Kristian Rietveld  <kris@imendio.com>
462
463         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
464         (gtk_combo_box_size_request): add arrow-size property to control
465         the minimum size of the arrow, have the arrow scale up with the
466         font by default. (#357950).
467
468 2006-10-30  Kristian Rietveld  <kris@gtk.org>
469
470         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
471         forget to queue a draw for the new cursor node. (Fixes #366548,
472         reported by Sven Herzberg).
473
474 2006-10-30  Michael Natterer  <mitch@imendio.com>
475
476         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
477         only if we actually cancel a drag. Fixes bug #58389.
478
479 2006-10-30  Kristian Rietveld  <kris@gtk.org>
480
481         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
482         keybindings to collapse/expand rows instead of moving the focus
483         cursor. (#105895, Brian Bober and others).
484
485 2006-10-29  Kristian Rietveld  <kris@gtk.org>
486
487         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
488         child removal in row-expanded callback. (#366782, John Ellis).
489
490 2006-10-29  Tor Lillqvist  <tml@novell.com>
491
492         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
493         of the small icon of the window class. (#152620, Kazuki Iwamoto)
494
495 2006-10-29  Tor Lillqvist  <tml@novell.com>
496
497         * gdk/win32/gdkcursor-win32.c
498         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
499         for instance the built-in GDK ones.
500
501 2006-10-27  Kristian Rietveld  <kris@gtk.org>
502
503         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
504         case to not overwrite the variables in the lower scope (which are
505         used later on ...), get the path correctly and bail out when there
506         isn't a node above us. (#359231).
507
508 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
509
510         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
511
512 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
513
514         * gtk/gtk.symbols: Add missing symbols to so make check can pass
515
516 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
517
518         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
519         to free GDI Pen resources, introduced by bug 340201.(#364514)
520         
521 2006-10-18  Kristian Rietveld  <kris@imendio.com>
522
523         * tests/testcombo.c (main): connect to notify::popup-shown instead of
524         popup-show (the latter does not exist).
525
526 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
527
528         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
529         Fixes bug #362439.
530
531 2006-10-12  Michael Natterer  <mitch@imendio.com>
532
533         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
534         (committed the wrong patch).
535
536 2006-10-12  Michael Natterer  <mitch@imendio.com>
537
538         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
539         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
540         obsolete now. Fixes bug #358293.
541
542 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
543
544         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
545
546 2006-10-11  Tor Lillqvist  <tml@novell.com>
547
548         * configure.in: Enable having some gdk-pixbuf loaders built-in
549         even if loading the others dynamically. Define Automake
550         conditional INCLUDE_FOO for each loader as TRUE if that loader is
551         built-in. See also gdk-pixbuf/ChangeLog.
552
553 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
554
555         * docs/reference/gtk/gtk-sections.txt:
556         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
557
558 2006-10-11  Tor Lillqvist  <tml@novell.com>
559
560         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
561         variable.
562
563 2006-10-11  Tor Lillqvist  <tml@novell.com>
564
565         Merge from 2.10 branch:
566
567         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
568         environment variable LC_ALL or LANG is set, set the Win32 thread
569         locale to the corresponding locale. Then call the C library
570         setlocale() to set the C library locale accordingly. The
571         inconsistency mentioned below is gone. (#339756) Do some special
572         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
573         scripts for Azeri, Uzbek and Serbian.
574         (enum_locale_proc): Helper function for the above functionality.
575
576         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
577         if the environment variables are set here, as they have already
578         been taken into account and the Win32 thread locale has been
579         set.
580
581 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
582
583         * gtk/tmpl/gtkbindings.sgml: 
584         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
585         inline docs. applied wording fixes suggested by Martyn Russell.
586
587 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
588
589         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
590         Update the docs to state which out parameters may be NULL.
591         (#360870, Attilio Fiandrotti)
592
593 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
594
595         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
596         a typo.  (#359542, Ghee Teo)
597
598 2006-10-08 Matthias Clasen <mclasen@redhat.com>
599
600         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
601         reorder tabs if the focus is in the tab.  (#350342, Carlos
602         Garnacho Parro)
603
604 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
605
606         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
607
608 2006-10-08  Kristian Rietveld  <kris@gtk.org>
609
610         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
611         (gtk_tree_view_set_show_expanders),
612         (gtk_tree_view_get_show_expanders): add getter/setter for
613         show-expanders property, queue a redraw when this property
614         is toggled (#351167, Martin Ejdestig),
615         (gtk_tree_view_set_level_indentation),
616         (gtk_tree_view_get_level_indentation): also add getter/setter
617         and docs for level-indentation property.
618
619 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
620
621         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
622         leak a list.  (#360350, Benjamin Berg)
623
624         * Apply a cleanup patch by Kjartan Maraas  (#341812)
625
626 2006-10-07  Tor Lillqvist  <tml@novell.com>
627
628         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
629         locale's first day of week setting on Win32. (#339752, Bogdan
630         Nicula) Don't do this if one of the environment variables that
631         affect gettext is set, though. In that case use the week start day
632         from the corresponding message catalog.
633
634         Unfortunately the same logic isn't possible in the weekday and
635         month name lookup; there even if you have set one of the
636         aforementioned environment variables, you still get the weekday
637         and month names from the Win32 thread locale. Yes, this is
638         inconsistent.
639
640         Use only wide-character API in the Win32 code in this file, too.
641
642 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
643
644         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
645         Fix the docs.  (#360112)
646
647         * gtk/gtkcellview.c: Don't set the background of the
648         window in a no-window widget.  (#359581, Xan Lopez)
649
650
651 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
652
653         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
654         test correctly. (#359845)
655
656 2006-10-05  Michael Natterer  <mitch@imendio.com>
657
658         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
659         rid of a key binding (in fact, it only lets it appear unbound).
660
661         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
662         "guint marks_unbound : 1"
663
664         (gtk_binding_entry_skip): new API which marks the entry as unbound.
665
666         Changed code so it returns FALSE when "marks_unbound == TRUE" is
667         encountered while activating bindings, effectively letting the
668         binding appear unbound (regardless of still existing bindings in
669         lower binding priority levels). Fixes bug #358329.
670
671         (gtk_binding_entry_add)
672         (gtk_binding_entry_clear)
673         (gtk_binding_entry_add_signall)
674         (gtk_binding_parse_binding): deprected these functions.
675
676         (_gtk_binding_parse_binding)
677         (_gtk_binding_entry_add_signall): new internal API.
678
679         * gtk/gtk.symbols: changed accordingly.
680
681 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
682
683         Fix interaction of GtkEntryCompletion with input
684         methods.  (#354495, Diego Escalante Urrelo)
685
686         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
687         the im context if we actually handle the key event.
688
689         * gtk/gtkentrycompletion.c: Also propagate key release events
690         to the entry.
691
692 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
693
694         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
695         Fix a typo.  (#359052, Ghee Teo)
696
697         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
698         reduce relocations. (#359053)
699
700 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
701
702         * modules/printbackends/cups/gtkcupsutils.c:
703         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
704         the fix for bug 357280.
705
706 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
707
708         * gdk-pixbuf/Makefile.am:
709         * gdk/Makefile.am:
710         * gtk/Makefile.am:
711         Include pltcheck.sh in EXTRA_DIST.
712
713 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
714
715         * gdk/x11/gdkevents-x11.c: Move all includes before including
716         gdkalias.h.
717
718 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
719
720         * gtk/Makefile.am: Fix typo in file name.  (#358931)
721
722 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
723
724         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
725         Only use the group name field if cups is new enough.  (#357280)
726
727         * gtk/gtksizegroup.c: Make sure that the quarks are 
728         initialized before using them.  (#353736)
729
730         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
731         replace existing links.  (#354849, James Evans)
732
733 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
734
735         * gtk/gtkexpander.c (gtk_expander_realize) 
736         (gtk_expander_size_allocate): Make the event_window large
737         enough to cover the full height of the label_widget.  (#358351,
738         Scott Horowitz)
739
740 2006-10-01  Tor Lillqvist  <tml@novell.com>
741
742         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
743
744 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
745
746         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
747         against base_path being NULL.  (#358405, many reporters)
748
749 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
750
751         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
752         to avoid a deadlock.
753
754 2006-09-27  Kristian Rietveld  <kris@imendio.com>
755
756         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
757         (gtk_tree_model_filter_ref_node),
758         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
759         in sync with each other and the sort model.
760
761 2006-09-27  Kristian Rietveld  <kris@imendio.com>
762
763         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
764         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
765         (gtk_tree_model_filter_new): unref the virtual root path once that
766         node (or one if its ancestors) is deleted, set virtual_root_deleted
767         so we only unref it once.
768
769 2006-09-27  Kristian Rietveld  <kris@imendio.com>
770
771         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
772         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
773         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
774         (gtk_tree_model_sort_free_level): bring zero ref count loops in
775         sync,
776         (gtk_tree_model_sort_free_level): free child levels before
777         decreasing the zero ref count of the current level,
778         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
779         is > 0.
780
781 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
782
783         * demos/gtk-demo/*.c:
784         * gtk/gtkeventbox.c:
785         * gtk/gtkprintoperation.c: Fix typos. String change.
786
787 2006-09-25  Kristian Rietveld  <kris@gtk.org>
788
789         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
790         has already been realized; scroll to background area instead of
791         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
792
793 2006-09-25  Kristian Rietveld  <kris@gtk.org>
794
795         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
796         to create the GCs if the widget is realized. (Fixes #357578).
797
798 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
799
800         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
801         the list of children (#357454, Paolo Borelli)
802
803 2006-09-25  Michael Natterer  <mitch@imendio.com>
804
805         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
806         display->input_windows with g_free(), not g_object_unref()
807         (#357566, Tommi Komulainen).
808
809 2006-09-24  Kristian Rietveld  <kris@gtk.org>
810
811         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
812         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
813         property to the API (left-over patch from #157439).
814
815 2006-09-24  Kristian Rietveld  <kris@gtk.org>
816
817         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
818         the indicator if the column has a sort column id (and the model is
819         sortable) or if the user explicitly requested the indicator
820         to be shown.  (Fixes #352738, Chris Vine).
821
822 2006-09-23  Tor Lillqvist  <tml@novell.com>
823
824         * gtk/Makefile.am: Use EXEEXT.
825
826 2006-09-22  Michael Natterer  <mitch@imendio.com>
827
828         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
829         and color hashes. Fixes bug #357132.
830
831 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
832
833         Make remote bookmarks work better (#354887)
834         
835         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
836         (shortcuts_insert_path): 
837         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
838         (model_add_bookmarks): 
839         (model_update_current_folder): 
840         (update_label_and_image): 
841         If the bookmark points to a remote file, don't call get_info(), 
842         since that may a) take a long time and b) pop up an auth dialog.
843         Instead, just use a folder icon and create a display name
844         from the uri.
845
846         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
847         New function to create a suitable display name for a remote
848         uri. This should really be done in GtkFileSystem.
849         
850 2006-09-21  Michael Natterer  <mitch@imendio.com>
851
852        Implement lots of value setters for GdkGC, based on a heavily
853        modified patch from Thomas Broyer (bug #328853):
854
855         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
856         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
857         which simply returns RGBA values from a GdkColor's pixel value.
858         See gdk_quartz_update_context_from_gc() below.
859
860         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
861         of members for the newly suppored GC values. Added enum
862         GdkQuartzContextValuesMask which is used for setting up the
863         CGContext for filling and/or stroking.
864
865         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
866         (gdk_quartz_gc_set_values)
867         (_gdk_windowing_gc_copy): support a lot more GC values.
868
869         (gdk_quartz_update_context_from_gc): added
870         GdkQuartzContextValuesMask parameter and set filling/stroking
871         parameters accordingly. This function also gained full control
872         over the FG and BG colors (they can't be set separately any more).
873
874         The stipple mask part of the patch doesn't work but seems to take
875         the right approach and doesn't make things worse, so I applied it.
876
877         Did *not* apply the clipping part of the patch since I don't
878         understand it (I don't understand the version in CVS either, but
879         it at least works :-)
880
881         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
882         gdk_quartz_update_context_from_gc() and removed separate color
883         setting calls. Some minor fixes.
884
885         * gdk/quartz/gdkwindow-quartz.c
886         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
887         fill color manually. We don't have/need a GC here.
888
889 2006-09-21  Michael Natterer  <mitch@imendio.com>
890
891         * gdk/quartz/gdkwindow-quartz.c
892         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
893         drawable_impl->wrapper that is the GdkWindow, not the
894         drawable_impl itself.
895
896 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
897
898         * gdk/x11/gdkkeys-x11.c:
899           (get_direction): just check the first shift-level of keyboard
900         layout for RTL and LTR keysyms() (compliment to #116626)
901
902 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
903
904         * gtk/gtkviewport.c: always update the bin_window position and size
905         in size_allocate, even if we don't have a visible child. this fixes
906         expose artefacts as described in #313508.
907
908         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
909         have no visible child explicit.
910
911 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
912
913         * docs/reference/gdk/gdk-sections.txt:
914         * gdk/gdk.symbols:
915         * gdk/gdkpango.h:
916         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
917           (gdk_pango_layout_get_clip_region): Remove an unused variable.
918           (gdk_pango_attr_embossed_new): Fix documentation.
919
920 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
921
922         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
923         control the arrow/border ratio within the allocation.
924
925         * tests/testgtk.c: added a GtkArrow to handle box test.
926
927         * tests/testgtkrc: test ::arrow-scaling property.
928
929 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
930
931         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
932         Display an error when we come to the root.  
933
934 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
935
936         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
937         the combobox. 
938
939         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
940         bookmarks to the model in local-only mode, to avoid 
941         authentication dialogs pop up for invisible bookmarks, and
942         to fix issues with separators not being hidden when
943         they should.  (#354887, Dennis Cranston)
944
945 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
946
947         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
948         treeview use in list mode.  (#355732, Richard Hult)
949
950         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
951         change notification for the right property.  (#355308,
952         Torsten Schoenfeld)
953
954 2006-09-15  Michael Natterer  <mitch@imendio.com>
955
956         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
957         header navigation/resizing/reordering to be more readable and lose
958         one level of nesting.
959
960 2006-09-15  Kristian Rietveld  <kris@imendio.com>
961
962         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
963         return after handling column button focus; we disable wrap around
964         with this (which actually happened via a really weird code path).
965         (Michael Natterer)
966
967 2006-09-15  Kristian Rietveld  <kris@imendio.com>
968
969         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
970         code RTL aware, also break from the loops after we have seen the
971         focussed column button (Michael Natterer).
972
973 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
974
975         * tests/testrichtext.c (main): intialize random number generator state
976         upon program start, to enable truely random testing.
977
978 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
979
980         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
981         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
982         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
983                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
984         * gdk/quartz/Makefile.am same change as directfb Makefile
985         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
986
987 2006-09-13 Matthias Clasen <mclasen@redhat.com>
988
989         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
990         for the grab widget, to make the color picker work with window
991         groups.  
992
993 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
994
995         signed off by: Dom Lachowicz
996         
997         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
998         a large number of improvements to the Microsoft Windows theme engine
999         which are fully described in the bug report.
1000         
1001 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
1002
1003         * tests/testgtk.c: fixed compiler warnings.
1004
1005 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1006
1007         * gtk/gtkfilechooserbutton.c (model_add_special): Request
1008         the display name too, otherwise "Desktop" does not appear
1009         in the file chooser button. 
1010
1011 2006-09-10  Tor Lillqvist  <tml@novell.com>
1012
1013         * gdk/win32/gdkprivate-win32.h
1014         * gdk/win32/gdkmain-win32.c
1015         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1016         0x0500 in gdkprivate-win32.h instead of doing it in two source
1017         files. (#355212, Mike Edenfield)
1018
1019         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1020         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1021
1022 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1023
1024         * Commit a patch by Behdad to fix typos, omissions and other
1025         errors in the symbol aliasing, and add checks for local PLT
1026         entries.  (#354687, Behdad Esfahbod)
1027
1028         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1029         the flush timeout.  (#354043, Nelson Benitez)
1030         
1031         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
1032         Improve wording. String change!  (#355126, David Lodge)
1033
1034         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
1035         David Lodge)
1036
1037         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
1038         David Lodge)
1039
1040 2006-09-09  Matthias Clasen <mclasen@redhat.com>
1041
1042         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1043         (#353916, Chris Wilson)
1044
1045         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1046         Don't leak the to_reset list.  (#353914, Chris Wilson)
1047
1048         * gtk/gtkwidget.c: Add docs for the parent-set signal.
1049         (#353772, Mariano Suárez-Alvarez)
1050
1051 2006-09-08  Matthias Clasen <mclasen@redhat.com>
1052
1053         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1054         Don't clear clipboards here, since we are called from finalize
1055         and can't emit signals.
1056
1057         * configure.in: Set version to 2.11.0
1058
1059 2006-09-06  Richard Hult  <richard@imendio.com>
1060
1061         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
1062         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1063
1064 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1065
1066         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1067         if setting the given folder failed, try setting the parent folder
1068         until we succeed; display an error box at the end.
1069
1070 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1071
1072         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1073         operations spawned by buttons here,
1074         (set_button_image_get_info_cb): bail out if button is NULL, but
1075         do free button_data,
1076         (button_data_free): only free the data if non NULL (since this
1077         function can be called multiple times for the same data), cancel
1078         handle if pending but don't free button_data in this case (will
1079         happen in the callback).
1080
1081 2006-09-04  Michael Natterer  <mitch@imendio.com>
1082
1083         * gtk/gtkrc.c (rc_parse_token_or_compound)
1084         (gtk_rc_parse_assignment): serialize floating point values using
1085         locale-independent functions. (#346751, Frederic Crozat)
1086
1087 2006-09-04  Tor Lillqvist  <tml@novell.com>
1088
1089         * gdk/win32/gdkevents-win32.c
1090         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1091         window handling (PeekMessage, PostMessage, SendMessage,
1092         DispatchMessage, DefWindowProc, RegisterClassEx,
1093         CreateWindowEx). (#321597)
1094
1095 2006-09-03  Kristian Rietveld  <kris@imendio.com>
1096
1097         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1098         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1099         change file_exists_and_is_not_folder checks to get the file info
1100         for the path directly instead of querying the current file folder
1101         of the save entry.
1102
1103         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1104         new field.
1105
1106         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1107         (test_reload_sequence), (test_button_folder_states_for_action): wait
1108         for idle after setting a folder to ensure the async operations to load
1109         the folder are finished,
1110         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1111         factor out test_confirm_overwrite code so we can add tests for more
1112         paths more easily.
1113
1114 2006-09-03  Richard Hult  <richard@imendio.com>
1115
1116         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1117         exposure isn't in the event mask, plug a leak, and check that the
1118         window isn't destroyed.
1119         (isOpaque): Check that the window isn't destroyed, fixes bug 
1120         #353028.
1121
1122 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
1123
1124         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
1125         (#354035, Mariano Suárez-Alvarez)
1126
1127         * gtk/gtkmain.c (post_parse_hook): 
1128         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1129         (#354004, Chris Wilson)
1130
1131 2006-09-03  Tor Lillqvist  <tml@novell.com>
1132
1133         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1134         GDK_WINDOW_DISPLAY in the Win32 backend.
1135
1136         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1137         gtkfilesystemunix.c
1138
1139 2006-09-02  Kristian Rietveld  <kris@imendio.com>
1140
1141         First part of file chooser fixes.
1142
1143         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1144         handle in the model for the desktopdir case.
1145
1146         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1147         volume in case we retrieved it but don't pass it on to insert_path,
1148         (shortcuts_model_create): change the column type for the handles
1149         to pointer instead of GObject so our handle ref counting is not
1150         disturbed,
1151         (show_and_select_paths_finished_loading): don't forget to unref
1152         the dialog.
1153
1154         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1155         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1156         remove pending execute_callbacks_idle during dispose, also
1157         execute all callbacks waiting to be run in the next idle,
1158         (queue_*callback), (execute_callbacks_idle): refactor to maintain
1159         a list of callbacks to call per file system instead of globally,
1160         guard the file system during callback invocation,
1161         (gtk_file_system_unix_get_folder): only add load folder idle if
1162         none has been added yet.
1163
1164 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
1165
1166         * gtk/gtkentry.c: Don't unnecessarily reset the im context
1167         when deleting the selection.  (#353803, Alex Larsson)
1168
1169 2006-09-01  Abel Cheung  <abel@oaka.org>
1170
1171         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1172
1173 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1174
1175         Stop cursor blinking after a configurable timeout.
1176         (#353670, #352442, Arjan van de Ven, Manu Cornet)
1177         
1178         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
1179         gtk-cursor-blink-timeout setting, which specifies the number
1180         of seconds that the cursor should blink after a user interaction.
1181         The default value is G_MAXINT to preserve the current behaviour.
1182
1183         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1184         seconds.
1185
1186         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
1187         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1188         blink timer.
1189
1190         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1191         seconds. 
1192
1193         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
1194         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
1195         Reset the blink timer.
1196         
1197 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1198
1199         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1200         explicit format capabilities.  (#346505, Christian Persch)
1201
1202         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
1203
1204 2006-08-31  Michael Natterer  <mitch@imendio.com>
1205
1206         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1207
1208 2006-08-30  Richard Hult  <richard@imendio.com>
1209
1210         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1211
1212 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
1213
1214         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1215         for beeping if we are using XKB.  
1216
1217 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
1218
1219         * gdk/gdkwindow.h: 
1220         * gdk/gdk.symbols: 
1221         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
1222         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
1223         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
1224         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1225         to beep on a window. For X11, implement this with
1226         XkbBell.  (#353455, Mariano Suárez-Alvarez)
1227         
1228 2006-08-29  Tor Lillqvist  <tml@novell.com>
1229
1230         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1231         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1232         it isn't being maintained anyway. If somebody is interested, it
1233         can always be found in older GTK+ versions, and in CVS.
1234
1235         * configure.in
1236         * acconfig.h
1237         * gdk/Makefile.am
1238         * gdk/win32/Makefile.am
1239         * gdk/win32/libie55uid.la
1240         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1241         switch and associated stuff. Active IMM and the <dimm.h> header
1242         was used for IM support on NT4 and Win9x. Win2k and later have IM
1243         support built-in.
1244
1245         * gdk/win32/gdkcursor-win32.c
1246         * gdk/win32/gdkdnd-win32.c
1247         * gdk/win32/gdkdrawable-win32.c
1248         * gdk/win32/gdkevents-win32.c
1249         * gdk/win32/gdkgc-win32.c
1250         * gdk/win32/gdkglobals-win32.c
1251         * gdk/win32/gdkkeys-win32.c
1252         * gdk/win32/gdkmain-win32.c
1253         * gdk/win32/gdkproperty-win32.c
1254         * gdk/win32/gdkselection-win32.c
1255         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1256         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1257         branches, and any variables or static functions used only by the
1258         Win9x branches.
1259
1260         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1261         constants that aren't missing from current mingw and MSVC6
1262         headers.
1263
1264         * gdk/win32/gdkmain-win32.c
1265         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1266         function. On NT-based Windows GetLastError() returns error codes
1267         also for failed GDI calls, so we can use _gdk_win32_api_failed()
1268         always.
1269
1270 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
1271
1272         * gtk/gtkrecentchoosermenu.c
1273         (gtk_recent_chooser_menu_set_current_uri): Break when an item
1274         is found and activated. (#353449, based on a patch by Jan Arne
1275         Petersen)
1276
1277 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
1278
1279         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
1280         properties which make all hardcoded padding and spacing values
1281         configurable. properly swap ::text-xalign treatment for RTL widgets.
1282
1283         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
1284         proeprty more consistent with GtkMisc alignment blurbs. mention
1285         RTL treatment for text-xalign.
1286
1287 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
1288
1289         * tests/testgtk.c: allow (most) windows to be resizable.
1290         added ellipsization settings to progress bars. 
1291
1292 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
1293
1294         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1295         resonable timeout of 3 seconds when polling for printer
1296         list updates, instead of 300000 seconds...
1297
1298 2006-08-28  Michael Natterer  <mitch@imendio.com>
1299
1300         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1301         </apply_tag> for tags that have already been closed by the logic
1302         which turns overlapping spans into XML-able trees. Fixes broken
1303         XML when there are overlapping tags in the buffer. Also free two
1304         leaked GLists and did some cleanup.
1305
1306         * tests/Makefile.am
1307         * tests/testrichtext.c: new test which creates randomly tagged
1308         GtkTextBuffers and serializes/deserializes them.
1309
1310 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
1311
1312         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
1313         Don't leak pixbufs.  (#352264, Ross Burton)
1314
1315         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1316         PangoAttributes.  (#352391, Paolo Borelli)
1317
1318 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
1319
1320         * demos/gtk-demo/Makefile.am:
1321         * demos/gtk-demo/textscroll.c: Add an example of automatic
1322         scrolling, thanks to Yevgen Muntyan.  (#351206)
1323         
1324         * gtk/gtkmodules.c (find_module): Use local binding when
1325         loading modules.  (#351868)
1326
1327 2006-08-24  Michael Natterer  <mitch@imendio.com>
1328
1329         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1330         the hostname instead of NULL.
1331
1332 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1333
1334         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1335         names and values in comboboxes, and clean up some
1336         coding style issues.
1337
1338 2006-08-23  Tor Lillqvist  <tml@novell.com>
1339
1340         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1341         Revert unintended translatable string addition. Use same string
1342         in GError as in gtkfilesystemunix.c.
1343
1344         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1345         Fix logic at the end of strings. 
1346
1347         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1348         handles and check that we have no outstanding handles at
1349         finalization time. (Copying what Matthias did for
1350         gtkfilesystemunix.c)
1351
1352 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1353
1354         * gtk/gtkfilesystemunix.c: Maintain a hash table
1355         of live handles and check that we have no outstanding
1356         handles at finalization time. (Copying what
1357         Federico did for gtkfilesystemgnomevfs.c)
1358
1359 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
1360
1361         * Branch for 2.10
1362