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