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