]> Pileus Git - ~andy/gtk/blob - ChangeLog
Only use the results of find_menu/toolbar_position() if they succeed. May
[~andy/gtk] / ChangeLog
1 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkuimanager.c (update_node): Only use the results
4         of find_menu/toolbar_position() if they succeed. May fix
5         bug #388041.
6
7 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
8
9         * gdk/gdk.c: Fix some formatting errors in docs.  
10
11 2006-12-28  Tor Lillqvist  <tml@novell.com>
12
13         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
14         (gtk_status_icon_update_image): Don't leak HICONs on
15         Win32. (#364868, Hiroyuki Yamamoto)
16
17 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
18
19         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
20
21         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
22         * gtk/gtkmarshalers.list: add new marshaler definition.
23         * gtk/gtkenums.h: add GtkDragResult enum.
24
25         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
26         operation wasn't successful.
27         (_gtk_drag_source_handle_event) (gtk_drag_drop)
28         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
29         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
30         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
31         gtk_drag_drop_finished() the operation result.
32
33         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
34         (gtk_notebook_drag_data_get): do not call window creation hook here.
35         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
36         target, instead connect to "drag-failed".
37         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
38
39 2006-12-28  Mikael Hallendal  <micke@imendio.com>
40
41         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
42         integration into gdkeventloop-quartz.c.
43
44         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
45
46         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
47         integration.
48
49 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
50
51         * modules/printbackends/lpr/gtkprintbackendlpr.c 
52         (gtk_print_backend_lpr_print_stream): Close the io channel
53         on unref.  (#390159, Joe Markus Clarke)
54
55 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
56
57         * gdk/gdk.h: Remove redundant declarations (#390097,
58         Christian Persch)
59
60 2006-12-27  Kristian Rietveld  <kris@gtk.org>
61
62         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
63
64         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
65         gtk-alternative-sort-arrows.
66
67         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
68         new setting.
69
70         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
71         gtk-alternative-sort-arrows setting to true.
72
73         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
74         invert direction if gtk-alternative-sort-arrows is TRUE.
75
76 2006-12-27  Tor Lillqvist  <tml@novell.com>
77
78         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
79         gtk_status_icon_set_screen.
80
81         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
82         on Windows. Keep track of where the last button click on the
83         taskbar icon took place, and return that. Obviously not correct if
84         no button has ever been clicked on the icon, or if the geometry of
85         the taskbar has changed since. But for most use cases where a menu
86         is going to be displayed as a direct result of a button click on
87         the status icon, works fine. (#377349)
88
89         Implement getting the orientation property on Windows.
90
91         (gtk_status_icon_embedded_changed)
92         (gtk_status_icon_orientation_changed): Ifdefify these functions
93         that are used only on X11.
94
95 2006-12-27  Tor Lillqvist  <tml@novell.com>
96
97         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
98         typo. (#390035, Kazuki Iwamoto)
99
100 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
101
102         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
103
104         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
105         (gtk_combo_box_unset_model): Handle repeated unsetting
106         of models without warnings.  (#367529, Robert Ancell)
107
108 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
109
110         * modules/printbackends/cups/gtkcupsutils.c: 
111         * modules/printbackends/cups/gtkprintbackendcups.c: Use
112         getters for http fields where available.  (#364866, 
113         Björn Lindqvist)
114
115 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
116
117         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
118         (#362614, Xan Lopez)
119
120 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
121
122         * gtk/gtkuimanager.c (update_node): If a required action
123         is missing, don't recurse over the children.  (#349119,
124         Chris Moller)
125
126 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
127
128         Fix a few problems with nested menus in comboboxes
129         (#386694, Yevgen Muntyan)
130
131         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
132         connect the activate callback.
133         (gtk_combo_box_menu_item_activate): Do nothing if called on
134         an item with a submenu.
135         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
136         is empty.
137
138 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
139
140         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
141         filechooser button. Bug 353196.
142
143 2006-12-26  Kristian Rietveld  <kris@gtk.org>
144
145         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
146         the search dialog timeout never to be refreshed. (#389581,
147         Andrzej Szombierski).
148
149 2006-12-26  Kristian Rietveld  <kris@gtk.org>
150
151         Lots of scrolling fixes.  Made scrolling work properly in not fully
152         validated tree views; fixed a bunch of corner cases.
153
154         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
155         upper - page_size, we know it is located at the end so the test for
156         dy + height has been dropped.
157         In the same case if area_below < 0, we know this is the last node
158         in the tree view so area_above is page_size - height of this row.
159         (validate_visible_area): got rid of subtracting new_height -
160         old_height from area_{below,above}, it didn't make any sense at
161         all and the full height of the row should be subtracted instead.
162         (validate_visible_area): when scrolling to a given path, set the
163         top row directly together with the dy offset, then sync that top_row
164         to the dy.
165         (gtk_tree_view_set_top_row): new function to directly set a top_row.
166         (gtk_tree_view_dy_to_top_row): refactored to use
167         gtk_tree_view_set_top_row().
168         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
169         (gtk_tree_view_adjustment_changed): only update our dy and
170         top_row if the adjustment's dy actually changed.
171
172 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
173
174         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
175         Return the correct value from gtk_notebook_insert_page if the
176         page-added handler reorders the tabs. Bug #345094.
177
178 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
179
180         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
181
182         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
183         scrolling when hovering with a detached tab.
184         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
185         focus tab has changed during a tab DND operation.
186         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
187         (gtk_notebook_paint): do not take cur_page as a reference to paint the
188         box if it's detached.
189         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
190         to the detached tab if we hover the arrows during a tabs detaching 
191         operation, do not allocate it unconditionally in 0,0.
192
193 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
194
195         Expose improvements for GtkNotebook. Bug #383435
196
197         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
198         labels.
199         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
200         (gtk_notebook_draw_tab): do not send handmade expose events to tab
201         labels.
202
203 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
204
205         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
206         FALSE.  (#389623, Carlos Garnacho Parro)
207
208         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
209         redraws.
210
211 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
212
213         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
214         (gtk_plug_unrealize): Notify the "embedded" property also on
215         normal construction and when destroying the socket window.
216         Bug #388738.
217
218 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
219
220         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
221         (gtk_about_dialog_init), (display_credits_dialog),
222         (display_license_dialog):
223         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
224         (gtk_file_chooser_dialog_init),
225         (gtk_file_chooser_dialog_constructor),
226         (gtk_file_chooser_dialog_unmap):
227         * gtk/gtkrecentchooserdefault.c:
228         (_gtk_recent_chooser_default_init):
229         * gtk/gtkrecentchooserdialog.c:
230         (gtk_recent_chooser_dialog_class_init),
231         (gtk_recent_chooser_dialog_init),
232         (gtk_recent_chooser_dialog_constructor),
233         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
234         instead of using style-set handlers. Fix the filechooser's spacing
235         between content and action area to 12px. Bug #372447.
236
237 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
238
239         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
240         Don't assume statusbar->label is the statusbar's frame's child when
241         shrinking the size allocation when the grip is shown. Bug #372452.
242
243 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
244
245         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
246         (add_custom_paper): Fix mem leaks. Bug #389194.
247
248 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
249
250         * gtk/gtktextutil.c: Remove debug output.
251
252         * gtk/gtktextview.c: Improve the DND scrolling
253         behaviour.  (#92387, Carlos Garnacho Parro)
254
255         * gtk/gtkaccellabel.c: Improve translators comments.  
256         (#389298, Christian Persch)
257
258 2006-12-24  Bastien Nocera  <hadess@hadess.net>
259
260         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
261         (#389183)
262
263 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
264
265         * docs/reference/gtk/gtk-sections.txt:
266         * gtk/gtk.symbols:
267         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
268         * gtk/gtkprinter-private.h:
269         * gtk/gtkprinter.c: (gtk_printer_list_papers):
270         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
271
272 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
273
274         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
275         when is selected in page setup dialog. Fixes bug #365047.
276
277 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
278
279         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
280         Use gtk_border_free when freeing border.
281
282 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
283
284         * gtk/gtkentry.c (gtk_entry_button_press): When
285         shift-clicking, keep the larger part of the selection
286         selected.  (#353709, Benjamin Otte)
287
288         * gtk/gtkbutton.c (gtk_button_get_props): Use 
289         gtk_border_free when freeing borders.
290
291         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
292         careful when faking a button release.  (#323146,
293         Travis Abbott)
294
295         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
296         handle with the right orientation, depending on the
297         position of the handlebox.  (#159764, Benjamin Berg)
298
299 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
300
301         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
302         GtkBorder (#383557).
303
304 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
305
306         Bug 340141 – Update to Pango 1.16 API
307
308         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
309         (gdk_pango_layout_line_get_clip_region):
310         * gtk/gtkcalendar.c (gtk_calendar_size_request):
311         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
312         (get_layout_position), (gtk_entry_find_position),
313         (gtk_entry_adjust_scroll):
314         * gtk/gtkiconview.c (get_pango_text_offsets):
315         * gtk/gtklabel.c (get_cursor_direction):
316         * gtk/gtkstyle.c (get_insensitive_layout):
317         * gtk/gtktextdisplay.c (render_para):
318         * gtk/gtktextlayout.c (allocate_child_widgets),
319         (find_display_line_below), (find_display_line_above),
320         (gtk_text_layout_move_iter_to_previous_line),
321         (gtk_text_layout_move_iter_to_next_line),
322         (gtk_text_layout_move_iter_to_line_end),
323         (gtk_text_layout_iter_starts_line),
324         (gtk_text_layout_move_iter_to_x):
325         * gtk/gtktextutil.c (limit_layout_lines):
326         Use the _readonly version of pango_layout_iter_get_line(),
327         pango_layout_iter_get_run(), pango_layout_get_line(), and
328         pango_layout_get_lines().
329
330         * gtk/gtkmain.c (gtk_get_default_language): Use
331         pango_get_default_language().
332
333 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
334
335         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
336         and notify:text only once. The same fix was applied
337         for replacing the selection via DND or copy-and-paste.
338         (#64998, Damon Chaplin, Sven Herzberg)
339
340 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
341
342         * gtk/gtkimmulticontext.c: Be careful to not override
343         GTK+ translations with the translations of the input
344         method.  (#317080, Tor Lillqvist)
345
346         * modules/input/imcedilla.c: Use standard macros
347         for translation domain and locale dir.
348
349         * gtk/gtkimcontextsimple.c: Allow composing l with 
350         stroke.  (#349638, Daniel Lublin)
351
352         * gtk/gen-paper-names.c: Fix a thinko in the suffix
353         calculation.  (#382369, Christian Persch)
354
355         * gtk/paper_names_offsets.c: Regenerated.
356
357 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
358
359         * modules/engines/pixbuf/pixbuf.h:
360         * modules/engines/pixbuf/pixbuf-rc-style.h:
361         * modules/engines/pixbuf/pixbuf-style.h: Move 
362         G_GNUC_INTERNAL before function declarations.  (#352276,
363         Damien Carbery)
364
365 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
366
367         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
368         Wilson)
369
370 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
371
372         * *.c: Replace a lot of idle and timeout calls by
373         the new gdk_threads api. 
374
375         * gdk/gdk.symbols:
376         * gdk/gdk.h:
377         * gdk/gdk.c: Add functions to allow threadsafe handling
378         of idles and timeouts wrt. to the GDK lock.  (#321886,
379         Chris Wilson)
380         
381 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
382         
383         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
384         (#340141, Behdad Esfahbod)
385
386         * configure.in: Check for getc_unlocked.
387
388         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
389         unavailable.   (#381499)
390
391         * tests/teststatusicon.c: Fix a typo
392
393 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
394
395         Make it possible to track the embeddedness of
396         statusicon (#387215, Martyn Russell, patch by Christian
397         Persch)
398
399         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
400         * gtk/gtkplug.c: 
401         * gtk/gtkplug-x11.c: Add an embedded property.
402         * tests/teststatusicon.c: Test the new properties.
403
404         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
405         leak draw_border.  (#387170, Kjartan Maraas)
406
407 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
408
409          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
410         Typo fix.  (#388123, Murray Cumming)
411         
412         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
413         Generate double-click events.  (#380421, Tommi Komulainen)
414
415         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
416         (_gdk_input_enter_event): Correct return_if_fail checks.
417         (#379803, Tommi Komulainen)
418
419         * gdk/gdkdisplay.c: Improve the docs of some functions operating
420         on the default display.  (##353438, Mariano Suárez-Alvarez)
421
422 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
423
424         * docs/reference/gdk/gdk-sections.txt:
425         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
426         converting a GdkColor to a string (#373856).
427
428         * configure.in: Bump pango requirement to 1.15.2.
429
430 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
431         
432         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
433         Bastian Nocera)
434
435         * gdk/keyname-table.h: Regenerated
436
437         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
438         Søren Wedel Nielsen)
439
440         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
441         Silently return if a drag is already in progress, rather
442         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
443
444         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
445         Allow any GtkDialog that implements GtkFileChooser as
446         dialog.  (#335473, Tommi Komulainen)
447
448 2006-12-20  Mikael Hallendal  <micke@imendio.com>
449
450         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
451         change in the quartz backend.
452
453 2006-12-20  Mikael Hallendal  <micke@imendio.com>
454
455         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
456         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
457         status icon.
458         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
459
460 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
461
462         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
463         format of page ranges, and improve the page sequence icon
464         for the case of n_copies == 1.
465  
466 2006-12-19  Mikael Hallendal  <micke@imendio.com>
467
468         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
469         routine so that it can be used from libgtk as well (needed for
470         upcoming GtkStatusIcon support in the Quartz port).
471         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
472         created from GDK, this is not true for the status icon.
473         * gdk/quartz/gdkprivate-quartz.h:
474         * gdk/quartz/gdkquartz.h: Added 
475         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
476         the status icon code.
477
478 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
479
480         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
481         gtk_message_dialog_set_image ()
482
483         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
484         (setting "window-placement-set" could result in a crash because
485         of boolean/enum mixup)
486
487 2006-12-15  Federico Mena Quintero  <federico@novell.com>
488
489         Merged from gtk-2-10:
490
491         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
492         the case where the new title is the same as the old title, to
493         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
494         equivalent).  Handle the case where title == priv->title.  This
495         was found by the LSB compatibility tests:
496         https://bugzilla.novell.com/show_bug.cgi?id=223882
497
498 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
499
500         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
501         more closely resemble its Win32 counterpart. Bug #340204.
502
503 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
504
505         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
506         placed inside their GdkWindow. Bug #385672.
507
508 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
509
510         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
511
512 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
513
514         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
515         drawn with extra line below tab in MS-Windows theme. Patch by 
516         Cody Russell
517         
518 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
519
520         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
521         for print preview.  (#370041, Ghee Teo)
522
523 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
524
525         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
526         careful when overdrawing antialiased text.  (#352435, Alex Jones,
527         patch by Benjamin Otte)
528
529         * gtk/gtksettings.c: Change the way in which color scheme information
530         is merged to correctly handle vanishing colors.  (#374420, 
531         Benjamin Berg, patch by Callum McKenzie) 
532         Also allow to separate entries in color schemes by ';' 
533         instead of newline.  
534
535 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
536
537         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
538         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
539
540 2006-12-10  Kristian Rietveld  <kris@gtk.org>
541
542         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
543         cancel editing (ie. don't accept changes) when the entry loses
544         focus. (Fixes #164494, reported by Chris Rouch).
545
546 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
547
548         * configure.in: Correct a misapplied patch. 
549
550 2006-12-10  Tor Lillqvist  <tml@novell.com>
551
552         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
553         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
554         developer zipfile. Users might add pixbuf loaders or immodules
555         even if they are not interested in developing gtk+-using software.
556
557 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
558
559         * configure.in: Check for crt_extern.h and _NSGetEnviron.
560         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
561         environ is not available.  (#384168, Min Sik Kim)
562
563 2006-12-07  Paolo Maggi  <paolo@gnome.org>
564
565         Fixes bug #383407
566         
567         * gtk/gtkentry.c (gtk_entry_set_text): check for
568         completion->priv->changed_id > 0 before calling 
569         g_signal_handler_[un]block.
570         (gtk_entry_completion_key_press): does not block/unblock the "changed"
571         signal before calling gtk_entry_set_text.
572         
573 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
574
575         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
576         xthickness/ythickness, they aren't used any longer for drawing.
577
578 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
579
580         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
581         underlines by giving labels a small draw-border.
582
583 2006-12-06  Kristian Rietveld  <kris@gtk.org>
584
585         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
586         draw progress bar through theme engine instead of using our own
587         custom cairo drawing code (#377244, patch from Carlos Garnacho).
588
589 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
590
591         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
592         Update the sensitivity of the collate checkbutton more frequently,
593         proposed by Tim Waugh.
594
595 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
596
597         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
598         since we no longer set window titles.
599
600 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
601
602         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
603         (gtk_page_setup_set_paper_size): Don't leak the old page size when
604         setting a new one. Bug #382314.
605
606 2006-12-03  Michael Natterer  <mitch@gimp.org>
607
608         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
609
610 2006-12-03  Kristian Rietveld  <kris@gtk.org>
611
612         Make sure [xy]_offset are always being initialized, fix pixbuf
613         renderer padding.  (#108235, Sven Neumann).
614
615         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
616         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
617         of _get_size.
618
619         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
620         always initialize [xy]_offset.
621         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
622         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
623         ditto.
624
625 2006-12-03  Kristian Rietveld  <kris@gtk.org>
626
627         * gtk/gtktreeview.c (validate_visible_area): when not using an
628         explicit alignment, use the full area of the row (not just dy)
629         to determine how to implicitly align it.  (Fixes #363191, reported
630         by Federico Mena Quintero).
631
632 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
633
634         * gtk/gtkicontheme.c (insert_theme): Properly clean up
635         if an icon theme index file has no directories.  (#381236)
636
637 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
638
639         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
640         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
641         
642 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
643
644         Remove the broken Thai input method and add a functional Thai and Lao
645         input method by Theppitak Karoonboonyanan. (#81031)
646
647         * modules/input/imthai.c:
648         * modules/input/gtkimcontextthai.c:
649         * modules/input/gtkimcontextthai.h:
650         * modules/input/thai-charprop.c:
651         * modules/input/thai-charprop.h:
652         Added.
653
654         * modules/input/imthai-broken.c:
655         Removed.
656         
657         * modules/input/Makefile.am:
658         Updated.
659
660 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
661
662         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
663
664 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
665
666         * gtk/gtktextview.c: applied patch by  Colin Leroy for
667         Control+GDK_KP_Left to move one word to the left, #356255.
668
669 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
670
671         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
672           widget. (#379503)
673
674 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
675
676         * modules/printbackends/cups/gtkprintbackendcups.c: Make
677         print dialog work when 'BrowseShortNames Off' is specified
678         in cups configuration. Patch by Tim Waugh.
679
680 2006-11-24  Michael Natterer  <mitch@imendio.com>
681
682         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
683         can't go up/down, consult gtk_widget_keynav_failed() and leave the
684         widget if it returns FALSE (bug #322640).
685
686 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
687
688         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
689
690 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
691
692         * gtk/gtkrecentmanager.c:
693         (get_uri_shortname_for_display): g_filename_from_uri() might
694         fail; catch the failure and fall back to the non-local URI
695         case. (#363437)
696
697 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
698
699         Fixes bug #376502 - multi-screen support for GtkStatusIcon
700
701         * gtk/gtkstatusicon.[ch]:
702         (gtk_status_icon_set_screen),
703         (gtk_status_icon_get_screen): add multi-screen API. Allows
704         an app to display an icon on a non-default screen
705         (gtk_status_icon_class_init),
706         (gtk_status_icon_set_property),
707         (gtk_status_icon_get_property): add a "screen" property
708         
709         * tests/teststatusicon.c: update to test on multiple screens
710
711 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
712
713         Fix problems with drag cancellation. (#376535, Michael Natterer)
714         
715         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
716         handlers before emitting drag-end.
717         (gtk_drag_end): Disconnect signal handlers before removing
718         the grab.  
719
720 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
721
722         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
723         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
724
725 2006-11-16  Michael Natterer  <mitch@imendio.com>
726
727         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
728         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
729         and gtk-keynav-wrap-around and wrap around, beep or continue outside
730         the group manually (bug #322640).
731
732 2006-11-16  Michael Natterer  <mitch@imendio.com>
733
734         Add new infrastructure for notifications of failed keyboard
735         navigation and navigation with restricted set of keys.
736
737         The patch handles configurable beeping, navigating the GUI with
738         cursor keys only (as in phone environments), and configurable
739         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
740         and #309291.
741
742         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
743         gtk-keynav-wrap-around and gtk-error-bell.
744
745         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
746         API to emit it. Added New function gtk_widget_error_bell() which
747         looks at the gtk-error-bell setting and calls gdk_window_beep()
748         accordingly.
749
750         * gtk/gtk.symbols: add the new widget symbols.
751
752         * gtk/gtkcellrendereraccel.c
753         * gtk/gtkimcontextsimple.c
754         * gtk/gtkmenu.c
755         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
756         gtk-error-bell setting instead of calling gdk_display_beep()
757         unconditionally.
758
759         * gtk/gtkcombobox.c
760         * gtk/gtkentry.c
761         * gtk/gtkiconview.c
762         * gtk/gtklabel.c
763         * gtk/gtkmenushell.c
764         * gtk/gtkspinbutton.c
765         * gtk/gtktextview.c
766         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
767
768         * gtk/gtkentry.c
769         * gtk/gtklabel.c
770         * gtk/gtkrange.c
771         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
772         cursor navigation and leave the widget if it returns FALSE.
773
774         * gtk/gtkmenushell.c
775         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
776         is TRUE.
777
778         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
779         whether to to wrap-around, and don't select active items on cursor
780         navigation if gtk-keynav-cursor-only is TRUE. Should look at
781         gtk-keynav-wrap-around too, will look into that.
782
783 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
784
785         * gtk/gtkrecentmanager.c:
786         (gtk_recent_info_get_uri_display): Return the URI
787         of the GtkRecentInfo object (upgraded to UTF-8 if
788         needed) in case of non-local file. (#351945)
789
790 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
791         
792         * gtk/gtkrecentchoosermenu.c:
793         (gtk_recent_chooser_menu_add_tip): Apply the tip only
794         if we have a displayable name for the item. (#365031,
795         patch by padraig.obriain(at)sun.com)
796
797 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
798
799         * gtk/gtkrecentmanager.c: Provide a fast path returning
800         NULL when the limit is set to 0.
801
802         * gtk/gtkrecentchooserdefault.c:
803         * gtk/gtkrecentchoosermenu.c: Add the same fast path
804         inside the RecentChooser implementation; add a check
805         in the list clamping code. (#373466 and duplicates)
806
807 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
808
809         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
810         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
811
812 2006-11-15  Michael Natterer  <mitch@imendio.com>
813
814         * gtk/gtkrange.[ch]: added properties "fill-level",
815         "show-fill-level" and "restrict-to-fill-level" and getters/setters
816         for them. The "fill level" is an additional marker on the range's
817         trough than can be e.g. used to indicate the amount of
818         pre-buffering in a range showing the play position of streamed
819         media. See the embedded API docs for details. Made GtkRangeLayout
820         a GTypeInstance private struct and removed finalize()
821         implementation. Fixes bug #349808
822
823         * gtk/gtk.symbols: added the new symbols.
824
825 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
826
827         * configure.in: Make libtool magic robust. (#352795)
828
829 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
830
831         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
832         leak (#370395)
833
834 2006-11-09  Kristian Rietveld  <kris@imendio.com>
835
836         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
837         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
838
839 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
840
841         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
842
843 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
844
845         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
846         timeout running if the slider buttons are hidden. (#372527)
847
848 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
849
850         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
851         the "Location" label bold. Bug #372449.
852
853 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
854
855         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
856         non-focused tabs xthickness/ythickness thinner. (#353962)
857
858 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
859
860         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
861         corruption (#357050).
862
863 2006-11-06  Alexander Larsson  <alexl@redhat.com>
864
865         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
866         (gtk_drag_source_info_destroy), (gtk_drag_end),
867         (gtk_drag_grab_notify_cb):
868         Cancel drag when the grab is shadowed. (#122688)
869
870 2006-11-01  Kristian Rietveld  <kris@imendio.com>
871
872         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
873         (gtk_combo_box_size_request): add arrow-size property to control
874         the minimum size of the arrow, have the arrow scale up with the
875         font by default. (#357950).
876
877 2006-10-30  Kristian Rietveld  <kris@gtk.org>
878
879         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
880         forget to queue a draw for the new cursor node. (Fixes #366548,
881         reported by Sven Herzberg).
882
883 2006-10-30  Michael Natterer  <mitch@imendio.com>
884
885         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
886         only if we actually cancel a drag. Fixes bug #58389.
887
888 2006-10-30  Kristian Rietveld  <kris@gtk.org>
889
890         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
891         keybindings to collapse/expand rows instead of moving the focus
892         cursor. (#105895, Brian Bober and others).
893
894 2006-10-29  Kristian Rietveld  <kris@gtk.org>
895
896         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
897         child removal in row-expanded callback. (#366782, John Ellis).
898
899 2006-10-29  Tor Lillqvist  <tml@novell.com>
900
901         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
902         of the small icon of the window class. (#152620, Kazuki Iwamoto)
903
904 2006-10-29  Tor Lillqvist  <tml@novell.com>
905
906         * gdk/win32/gdkcursor-win32.c
907         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
908         for instance the built-in GDK ones.
909
910 2006-10-27  Kristian Rietveld  <kris@gtk.org>
911
912         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
913         case to not overwrite the variables in the lower scope (which are
914         used later on ...), get the path correctly and bail out when there
915         isn't a node above us. (#359231).
916
917 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
918
919         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
920
921 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
922
923         * gtk/gtk.symbols: Add missing symbols to so make check can pass
924
925 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
926
927         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
928         to free GDI Pen resources, introduced by bug 340201.(#364514)
929         
930 2006-10-18  Kristian Rietveld  <kris@imendio.com>
931
932         * tests/testcombo.c (main): connect to notify::popup-shown instead of
933         popup-show (the latter does not exist).
934
935 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
936
937         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
938         Fixes bug #362439.
939
940 2006-10-12  Michael Natterer  <mitch@imendio.com>
941
942         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
943         (committed the wrong patch).
944
945 2006-10-12  Michael Natterer  <mitch@imendio.com>
946
947         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
948         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
949         obsolete now. Fixes bug #358293.
950
951 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
952
953         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
954
955 2006-10-11  Tor Lillqvist  <tml@novell.com>
956
957         * configure.in: Enable having some gdk-pixbuf loaders built-in
958         even if loading the others dynamically. Define Automake
959         conditional INCLUDE_FOO for each loader as TRUE if that loader is
960         built-in. See also gdk-pixbuf/ChangeLog.
961
962 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
963
964         * docs/reference/gtk/gtk-sections.txt:
965         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
966
967 2006-10-11  Tor Lillqvist  <tml@novell.com>
968
969         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
970         variable.
971
972 2006-10-11  Tor Lillqvist  <tml@novell.com>
973
974         Merge from 2.10 branch:
975
976         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
977         environment variable LC_ALL or LANG is set, set the Win32 thread
978         locale to the corresponding locale. Then call the C library
979         setlocale() to set the C library locale accordingly. The
980         inconsistency mentioned below is gone. (#339756) Do some special
981         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
982         scripts for Azeri, Uzbek and Serbian.
983         (enum_locale_proc): Helper function for the above functionality.
984
985         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
986         if the environment variables are set here, as they have already
987         been taken into account and the Win32 thread locale has been
988         set.
989
990 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
991
992         * gtk/tmpl/gtkbindings.sgml: 
993         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
994         inline docs. applied wording fixes suggested by Martyn Russell.
995
996 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
997
998         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
999         Update the docs to state which out parameters may be NULL.
1000         (#360870, Attilio Fiandrotti)
1001
1002 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1003
1004         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1005         a typo.  (#359542, Ghee Teo)
1006
1007 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1008
1009         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1010         reorder tabs if the focus is in the tab.  (#350342, Carlos
1011         Garnacho Parro)
1012
1013 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1014
1015         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
1016
1017 2006-10-08  Kristian Rietveld  <kris@gtk.org>
1018
1019         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1020         (gtk_tree_view_set_show_expanders),
1021         (gtk_tree_view_get_show_expanders): add getter/setter for
1022         show-expanders property, queue a redraw when this property
1023         is toggled (#351167, Martin Ejdestig),
1024         (gtk_tree_view_set_level_indentation),
1025         (gtk_tree_view_get_level_indentation): also add getter/setter
1026         and docs for level-indentation property.
1027
1028 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1029
1030         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
1031         leak a list.  (#360350, Benjamin Berg)
1032
1033         * Apply a cleanup patch by Kjartan Maraas  (#341812)
1034
1035 2006-10-07  Tor Lillqvist  <tml@novell.com>
1036
1037         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1038         locale's first day of week setting on Win32. (#339752, Bogdan
1039         Nicula) Don't do this if one of the environment variables that
1040         affect gettext is set, though. In that case use the week start day
1041         from the corresponding message catalog.
1042
1043         Unfortunately the same logic isn't possible in the weekday and
1044         month name lookup; there even if you have set one of the
1045         aforementioned environment variables, you still get the weekday
1046         and month names from the Win32 thread locale. Yes, this is
1047         inconsistent.
1048
1049         Use only wide-character API in the Win32 code in this file, too.
1050
1051 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
1052
1053         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1054         Fix the docs.  (#360112)
1055
1056         * gtk/gtkcellview.c: Don't set the background of the
1057         window in a no-window widget.  (#359581, Xan Lopez)
1058
1059
1060 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
1061
1062         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
1063         test correctly. (#359845)
1064
1065 2006-10-05  Michael Natterer  <mitch@imendio.com>
1066
1067         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1068         rid of a key binding (in fact, it only lets it appear unbound).
1069
1070         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1071         "guint marks_unbound : 1"
1072
1073         (gtk_binding_entry_skip): new API which marks the entry as unbound.
1074
1075         Changed code so it returns FALSE when "marks_unbound == TRUE" is
1076         encountered while activating bindings, effectively letting the
1077         binding appear unbound (regardless of still existing bindings in
1078         lower binding priority levels). Fixes bug #358329.
1079
1080         (gtk_binding_entry_add)
1081         (gtk_binding_entry_clear)
1082         (gtk_binding_entry_add_signall)
1083         (gtk_binding_parse_binding): deprected these functions.
1084
1085         (_gtk_binding_parse_binding)
1086         (_gtk_binding_entry_add_signall): new internal API.
1087
1088         * gtk/gtk.symbols: changed accordingly.
1089
1090 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1091
1092         Fix interaction of GtkEntryCompletion with input
1093         methods.  (#354495, Diego Escalante Urrelo)
1094
1095         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1096         the im context if we actually handle the key event.
1097
1098         * gtk/gtkentrycompletion.c: Also propagate key release events
1099         to the entry.
1100
1101 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1102
1103         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1104         Fix a typo.  (#359052, Ghee Teo)
1105
1106         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1107         reduce relocations. (#359053)
1108
1109 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1110
1111         * modules/printbackends/cups/gtkcupsutils.c:
1112         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1113         the fix for bug 357280.
1114
1115 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1116
1117         * gdk-pixbuf/Makefile.am:
1118         * gdk/Makefile.am:
1119         * gtk/Makefile.am:
1120         Include pltcheck.sh in EXTRA_DIST.
1121
1122 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1123
1124         * gdk/x11/gdkevents-x11.c: Move all includes before including
1125         gdkalias.h.
1126
1127 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1128
1129         * gtk/Makefile.am: Fix typo in file name.  (#358931)
1130
1131 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
1132
1133         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
1134         Only use the group name field if cups is new enough.  (#357280)
1135
1136         * gtk/gtksizegroup.c: Make sure that the quarks are 
1137         initialized before using them.  (#353736)
1138
1139         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1140         replace existing links.  (#354849, James Evans)
1141
1142 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
1143
1144         * gtk/gtkexpander.c (gtk_expander_realize) 
1145         (gtk_expander_size_allocate): Make the event_window large
1146         enough to cover the full height of the label_widget.  (#358351,
1147         Scott Horowitz)
1148
1149 2006-10-01  Tor Lillqvist  <tml@novell.com>
1150
1151         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1152
1153 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
1154
1155         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1156         against base_path being NULL.  (#358405, many reporters)
1157
1158 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
1159
1160         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1161         to avoid a deadlock.
1162
1163 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1164
1165         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1166         (gtk_tree_model_filter_ref_node),
1167         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1168         in sync with each other and the sort model.
1169
1170 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1171
1172         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1173         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1174         (gtk_tree_model_filter_new): unref the virtual root path once that
1175         node (or one if its ancestors) is deleted, set virtual_root_deleted
1176         so we only unref it once.
1177
1178 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1179
1180         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1181         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1182         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1183         (gtk_tree_model_sort_free_level): bring zero ref count loops in
1184         sync,
1185         (gtk_tree_model_sort_free_level): free child levels before
1186         decreasing the zero ref count of the current level,
1187         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1188         is > 0.
1189
1190 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
1191
1192         * demos/gtk-demo/*.c:
1193         * gtk/gtkeventbox.c:
1194         * gtk/gtkprintoperation.c: Fix typos. String change.
1195
1196 2006-09-25  Kristian Rietveld  <kris@gtk.org>
1197
1198         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1199         has already been realized; scroll to background area instead of
1200         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1201
1202 2006-09-25  Kristian Rietveld  <kris@gtk.org>
1203
1204         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1205         to create the GCs if the widget is realized. (Fixes #357578).
1206
1207 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
1208
1209         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1210         the list of children (#357454, Paolo Borelli)
1211
1212 2006-09-25  Michael Natterer  <mitch@imendio.com>
1213
1214         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1215         display->input_windows with g_free(), not g_object_unref()
1216         (#357566, Tommi Komulainen).
1217
1218 2006-09-24  Kristian Rietveld  <kris@gtk.org>
1219
1220         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1221         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1222         property to the API (left-over patch from #157439).
1223
1224 2006-09-24  Kristian Rietveld  <kris@gtk.org>
1225
1226         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1227         the indicator if the column has a sort column id (and the model is
1228         sortable) or if the user explicitly requested the indicator
1229         to be shown.  (Fixes #352738, Chris Vine).
1230
1231 2006-09-23  Tor Lillqvist  <tml@novell.com>
1232
1233         * gtk/Makefile.am: Use EXEEXT.
1234
1235 2006-09-22  Michael Natterer  <mitch@imendio.com>
1236
1237         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1238         and color hashes. Fixes bug #357132.
1239
1240 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
1241
1242         Make remote bookmarks work better (#354887)
1243         
1244         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
1245         (shortcuts_insert_path): 
1246         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
1247         (model_add_bookmarks): 
1248         (model_update_current_folder): 
1249         (update_label_and_image): 
1250         If the bookmark points to a remote file, don't call get_info(), 
1251         since that may a) take a long time and b) pop up an auth dialog.
1252         Instead, just use a folder icon and create a display name
1253         from the uri.
1254
1255         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
1256         New function to create a suitable display name for a remote
1257         uri. This should really be done in GtkFileSystem.
1258         
1259 2006-09-21  Michael Natterer  <mitch@imendio.com>
1260
1261        Implement lots of value setters for GdkGC, based on a heavily
1262        modified patch from Thomas Broyer (bug #328853):
1263
1264         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1265         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1266         which simply returns RGBA values from a GdkColor's pixel value.
1267         See gdk_quartz_update_context_from_gc() below.
1268
1269         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1270         of members for the newly suppored GC values. Added enum
1271         GdkQuartzContextValuesMask which is used for setting up the
1272         CGContext for filling and/or stroking.
1273
1274         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1275         (gdk_quartz_gc_set_values)
1276         (_gdk_windowing_gc_copy): support a lot more GC values.
1277
1278         (gdk_quartz_update_context_from_gc): added
1279         GdkQuartzContextValuesMask parameter and set filling/stroking
1280         parameters accordingly. This function also gained full control
1281         over the FG and BG colors (they can't be set separately any more).
1282
1283         The stipple mask part of the patch doesn't work but seems to take
1284         the right approach and doesn't make things worse, so I applied it.
1285
1286         Did *not* apply the clipping part of the patch since I don't
1287         understand it (I don't understand the version in CVS either, but
1288         it at least works :-)
1289
1290         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1291         gdk_quartz_update_context_from_gc() and removed separate color
1292         setting calls. Some minor fixes.
1293
1294         * gdk/quartz/gdkwindow-quartz.c
1295         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1296         fill color manually. We don't have/need a GC here.
1297
1298 2006-09-21  Michael Natterer  <mitch@imendio.com>
1299
1300         * gdk/quartz/gdkwindow-quartz.c
1301         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1302         drawable_impl->wrapper that is the GdkWindow, not the
1303         drawable_impl itself.
1304
1305 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
1306
1307         * gdk/x11/gdkkeys-x11.c:
1308           (get_direction): just check the first shift-level of keyboard
1309         layout for RTL and LTR keysyms() (compliment to #116626)
1310
1311 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
1312
1313         * gtk/gtkviewport.c: always update the bin_window position and size
1314         in size_allocate, even if we don't have a visible child. this fixes
1315         expose artefacts as described in #313508.
1316
1317         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1318         have no visible child explicit.
1319
1320 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
1321
1322         * docs/reference/gdk/gdk-sections.txt:
1323         * gdk/gdk.symbols:
1324         * gdk/gdkpango.h:
1325         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
1326           (gdk_pango_layout_get_clip_region): Remove an unused variable.
1327           (gdk_pango_attr_embossed_new): Fix documentation.
1328
1329 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
1330
1331         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
1332         control the arrow/border ratio within the allocation.
1333
1334         * tests/testgtk.c: added a GtkArrow to handle box test.
1335
1336         * tests/testgtkrc: test ::arrow-scaling property.
1337
1338 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
1339
1340         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1341         Display an error when we come to the root.  
1342
1343 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
1344
1345         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
1346         the combobox. 
1347
1348         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
1349         bookmarks to the model in local-only mode, to avoid 
1350         authentication dialogs pop up for invisible bookmarks, and
1351         to fix issues with separators not being hidden when
1352         they should.  (#354887, Dennis Cranston)
1353
1354 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
1355
1356         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1357         treeview use in list mode.  (#355732, Richard Hult)
1358
1359         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1360         change notification for the right property.  (#355308,
1361         Torsten Schoenfeld)
1362
1363 2006-09-15  Michael Natterer  <mitch@imendio.com>
1364
1365         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1366         header navigation/resizing/reordering to be more readable and lose
1367         one level of nesting.
1368
1369 2006-09-15  Kristian Rietveld  <kris@imendio.com>
1370
1371         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1372         return after handling column button focus; we disable wrap around
1373         with this (which actually happened via a really weird code path).
1374         (Michael Natterer)
1375
1376 2006-09-15  Kristian Rietveld  <kris@imendio.com>
1377
1378         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1379         code RTL aware, also break from the loops after we have seen the
1380         focussed column button (Michael Natterer).
1381
1382 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
1383
1384         * tests/testrichtext.c (main): intialize random number generator state
1385         upon program start, to enable truely random testing.
1386
1387 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1388
1389         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1390         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1391         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1392                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1393         * gdk/quartz/Makefile.am same change as directfb Makefile
1394         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1395
1396 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1397
1398         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1399         for the grab widget, to make the color picker work with window
1400         groups.  
1401
1402 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1403
1404         signed off by: Dom Lachowicz
1405         
1406         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1407         a large number of improvements to the Microsoft Windows theme engine
1408         which are fully described in the bug report.
1409         
1410 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
1411
1412         * tests/testgtk.c: fixed compiler warnings.
1413
1414 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1415
1416         * gtk/gtkfilechooserbutton.c (model_add_special): Request
1417         the display name too, otherwise "Desktop" does not appear
1418         in the file chooser button. 
1419
1420 2006-09-10  Tor Lillqvist  <tml@novell.com>
1421
1422         * gdk/win32/gdkprivate-win32.h
1423         * gdk/win32/gdkmain-win32.c
1424         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1425         0x0500 in gdkprivate-win32.h instead of doing it in two source
1426         files. (#355212, Mike Edenfield)
1427
1428         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1429         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1430
1431 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1432
1433         * Commit a patch by Behdad to fix typos, omissions and other
1434         errors in the symbol aliasing, and add checks for local PLT
1435         entries.  (#354687, Behdad Esfahbod)
1436
1437         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1438         the flush timeout.  (#354043, Nelson Benitez)
1439         
1440         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
1441         Improve wording. String change!  (#355126, David Lodge)
1442
1443         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
1444         David Lodge)
1445
1446         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
1447         David Lodge)
1448
1449 2006-09-09  Matthias Clasen <mclasen@redhat.com>
1450
1451         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1452         (#353916, Chris Wilson)
1453
1454         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1455         Don't leak the to_reset list.  (#353914, Chris Wilson)
1456
1457         * gtk/gtkwidget.c: Add docs for the parent-set signal.
1458         (#353772, Mariano Suárez-Alvarez)
1459
1460 2006-09-08  Matthias Clasen <mclasen@redhat.com>
1461
1462         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1463         Don't clear clipboards here, since we are called from finalize
1464         and can't emit signals.
1465
1466         * configure.in: Set version to 2.11.0
1467
1468 2006-09-06  Richard Hult  <richard@imendio.com>
1469
1470         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
1471         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1472
1473 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1474
1475         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1476         if setting the given folder failed, try setting the parent folder
1477         until we succeed; display an error box at the end.
1478
1479 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1480
1481         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1482         operations spawned by buttons here,
1483         (set_button_image_get_info_cb): bail out if button is NULL, but
1484         do free button_data,
1485         (button_data_free): only free the data if non NULL (since this
1486         function can be called multiple times for the same data), cancel
1487         handle if pending but don't free button_data in this case (will
1488         happen in the callback).
1489
1490 2006-09-04  Michael Natterer  <mitch@imendio.com>
1491
1492         * gtk/gtkrc.c (rc_parse_token_or_compound)
1493         (gtk_rc_parse_assignment): serialize floating point values using
1494         locale-independent functions. (#346751, Frederic Crozat)
1495
1496 2006-09-04  Tor Lillqvist  <tml@novell.com>
1497
1498         * gdk/win32/gdkevents-win32.c
1499         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1500         window handling (PeekMessage, PostMessage, SendMessage,
1501         DispatchMessage, DefWindowProc, RegisterClassEx,
1502         CreateWindowEx). (#321597)
1503
1504 2006-09-03  Kristian Rietveld  <kris@imendio.com>
1505
1506         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1507         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1508         change file_exists_and_is_not_folder checks to get the file info
1509         for the path directly instead of querying the current file folder
1510         of the save entry.
1511
1512         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1513         new field.
1514
1515         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1516         (test_reload_sequence), (test_button_folder_states_for_action): wait
1517         for idle after setting a folder to ensure the async operations to load
1518         the folder are finished,
1519         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1520         factor out test_confirm_overwrite code so we can add tests for more
1521         paths more easily.
1522
1523 2006-09-03  Richard Hult  <richard@imendio.com>
1524
1525         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1526         exposure isn't in the event mask, plug a leak, and check that the
1527         window isn't destroyed.
1528         (isOpaque): Check that the window isn't destroyed, fixes bug 
1529         #353028.
1530
1531 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
1532
1533         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
1534         (#354035, Mariano Suárez-Alvarez)
1535
1536         * gtk/gtkmain.c (post_parse_hook): 
1537         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1538         (#354004, Chris Wilson)
1539
1540 2006-09-03  Tor Lillqvist  <tml@novell.com>
1541
1542         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1543         GDK_WINDOW_DISPLAY in the Win32 backend.
1544
1545         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1546         gtkfilesystemunix.c
1547
1548 2006-09-02  Kristian Rietveld  <kris@imendio.com>
1549
1550         First part of file chooser fixes.
1551
1552         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1553         handle in the model for the desktopdir case.
1554
1555         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1556         volume in case we retrieved it but don't pass it on to insert_path,
1557         (shortcuts_model_create): change the column type for the handles
1558         to pointer instead of GObject so our handle ref counting is not
1559         disturbed,
1560         (show_and_select_paths_finished_loading): don't forget to unref
1561         the dialog.
1562
1563         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1564         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1565         remove pending execute_callbacks_idle during dispose, also
1566         execute all callbacks waiting to be run in the next idle,
1567         (queue_*callback), (execute_callbacks_idle): refactor to maintain
1568         a list of callbacks to call per file system instead of globally,
1569         guard the file system during callback invocation,
1570         (gtk_file_system_unix_get_folder): only add load folder idle if
1571         none has been added yet.
1572
1573 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
1574
1575         * gtk/gtkentry.c: Don't unnecessarily reset the im context
1576         when deleting the selection.  (#353803, Alex Larsson)
1577
1578 2006-09-01  Abel Cheung  <abel@oaka.org>
1579
1580         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1581
1582 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1583
1584         Stop cursor blinking after a configurable timeout.
1585         (#353670, #352442, Arjan van de Ven, Manu Cornet)
1586         
1587         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
1588         gtk-cursor-blink-timeout setting, which specifies the number
1589         of seconds that the cursor should blink after a user interaction.
1590         The default value is G_MAXINT to preserve the current behaviour.
1591
1592         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1593         seconds.
1594
1595         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
1596         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1597         blink timer.
1598
1599         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1600         seconds. 
1601
1602         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
1603         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
1604         Reset the blink timer.
1605         
1606 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1607
1608         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1609         explicit format capabilities.  (#346505, Christian Persch)
1610
1611         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
1612
1613 2006-08-31  Michael Natterer  <mitch@imendio.com>
1614
1615         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1616
1617 2006-08-30  Richard Hult  <richard@imendio.com>
1618
1619         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1620
1621 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
1622
1623         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1624         for beeping if we are using XKB.  
1625
1626 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
1627
1628         * gdk/gdkwindow.h: 
1629         * gdk/gdk.symbols: 
1630         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
1631         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
1632         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
1633         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1634         to beep on a window. For X11, implement this with
1635         XkbBell.  (#353455, Mariano Suárez-Alvarez)
1636         
1637 2006-08-29  Tor Lillqvist  <tml@novell.com>
1638
1639         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1640         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1641         it isn't being maintained anyway. If somebody is interested, it
1642         can always be found in older GTK+ versions, and in CVS.
1643
1644         * configure.in
1645         * acconfig.h
1646         * gdk/Makefile.am
1647         * gdk/win32/Makefile.am
1648         * gdk/win32/libie55uid.la
1649         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1650         switch and associated stuff. Active IMM and the <dimm.h> header
1651         was used for IM support on NT4 and Win9x. Win2k and later have IM
1652         support built-in.
1653
1654         * gdk/win32/gdkcursor-win32.c
1655         * gdk/win32/gdkdnd-win32.c
1656         * gdk/win32/gdkdrawable-win32.c
1657         * gdk/win32/gdkevents-win32.c
1658         * gdk/win32/gdkgc-win32.c
1659         * gdk/win32/gdkglobals-win32.c
1660         * gdk/win32/gdkkeys-win32.c
1661         * gdk/win32/gdkmain-win32.c
1662         * gdk/win32/gdkproperty-win32.c
1663         * gdk/win32/gdkselection-win32.c
1664         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1665         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1666         branches, and any variables or static functions used only by the
1667         Win9x branches.
1668
1669         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1670         constants that aren't missing from current mingw and MSVC6
1671         headers.
1672
1673         * gdk/win32/gdkmain-win32.c
1674         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1675         function. On NT-based Windows GetLastError() returns error codes
1676         also for failed GDI calls, so we can use _gdk_win32_api_failed()
1677         always.
1678
1679 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
1680
1681         * gtk/gtkrecentchoosermenu.c
1682         (gtk_recent_chooser_menu_set_current_uri): Break when an item
1683         is found and activated. (#353449, based on a patch by Jan Arne
1684         Petersen)
1685
1686 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
1687
1688         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
1689         properties which make all hardcoded padding and spacing values
1690         configurable. properly swap ::text-xalign treatment for RTL widgets.
1691
1692         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
1693         proeprty more consistent with GtkMisc alignment blurbs. mention
1694         RTL treatment for text-xalign.
1695
1696 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
1697
1698         * tests/testgtk.c: allow (most) windows to be resizable.
1699         added ellipsization settings to progress bars. 
1700
1701 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
1702
1703         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1704         resonable timeout of 3 seconds when polling for printer
1705         list updates, instead of 300000 seconds...
1706
1707 2006-08-28  Michael Natterer  <mitch@imendio.com>
1708
1709         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1710         </apply_tag> for tags that have already been closed by the logic
1711         which turns overlapping spans into XML-able trees. Fixes broken
1712         XML when there are overlapping tags in the buffer. Also free two
1713         leaked GLists and did some cleanup.
1714
1715         * tests/Makefile.am
1716         * tests/testrichtext.c: new test which creates randomly tagged
1717         GtkTextBuffers and serializes/deserializes them.
1718
1719 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
1720
1721         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
1722         Don't leak pixbufs.  (#352264, Ross Burton)
1723
1724         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1725         PangoAttributes.  (#352391, Paolo Borelli)
1726
1727 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
1728
1729         * demos/gtk-demo/Makefile.am:
1730         * demos/gtk-demo/textscroll.c: Add an example of automatic
1731         scrolling, thanks to Yevgen Muntyan.  (#351206)
1732         
1733         * gtk/gtkmodules.c (find_module): Use local binding when
1734         loading modules.  (#351868)
1735
1736 2006-08-24  Michael Natterer  <mitch@imendio.com>
1737
1738         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1739         the hostname instead of NULL.
1740
1741 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1742
1743         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1744         names and values in comboboxes, and clean up some
1745         coding style issues.
1746
1747 2006-08-23  Tor Lillqvist  <tml@novell.com>
1748
1749         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1750         Revert unintended translatable string addition. Use same string
1751         in GError as in gtkfilesystemunix.c.
1752
1753         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1754         Fix logic at the end of strings. 
1755
1756         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1757         handles and check that we have no outstanding handles at
1758         finalization time. (Copying what Matthias did for
1759         gtkfilesystemunix.c)
1760
1761 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1762
1763         * gtk/gtkfilesystemunix.c: Maintain a hash table
1764         of live handles and check that we have no outstanding
1765         handles at finalization time. (Copying what
1766         Federico did for gtkfilesystemgnomevfs.c)
1767
1768 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
1769
1770         * Branch for 2.10
1771