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