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