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