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