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