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