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