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