]> Pileus Git - ~andy/gtk/blob - ChangeLog
2.11.1
[~andy/gtk] / ChangeLog
1 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
2
3         * === Released 2.11.1 ===
4
5         * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
6
7         * NEWS:
8         * README.in: Updates
9
10 2007-06-04  Michael Natterer  <mitch@imendio.com>
11
12         Move "move-focus" signals from several widgets to GtkWidget to
13         enable more flexible costomization of keyboard navigation via
14         bindings. Fixes bug #414947.
15
16         * gtk/gtkwidget.c: add "move-focus" binding signal, default to
17         calling the toplevel GtkWindow's "move-focus" vfunc.
18
19         * gtk/gtktextview.[ch]
20         * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
21         code that makes sure that both emitting the signal on the widget
22         and overriding the virtual functions keeps working as before.
23
24         * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
25         GtkWidget's signal. This change slightly changes keyboard
26         navigation in toolbars. I'll fix the behavior if somebody can
27         explain me if and how exactly the new behavior is broken.
28
29 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
30
31         * gtk/gtkmarshalers.list:
32         * gtk/gtknotebook.[hc]: Add a create-window signal that allows
33         to override the global create-window-hook on a per-notebook
34         basis. The default handler falls back to the global hook.
35         (#386935, Christian Hammond)
36         
37 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
38
39         * gtk/gtkradiobutton.[ch]:
40         * gtk/gtk.symbols:
41         * tests/testgtk.c: Revert previous commit; the API is not yet
42         finalized - see bug #166995.
43
44 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
45
46         * gtk/gtkradiobutton.h:
47         * gtk/gtkradiobutton.c:
48         * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
49         gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
50         Use these functions to set and get an arbitrary integer associated to
51         a GtkRadioButton in a group, like the value associated to a
52         GtkRadioAction.
53
54         * tests/testgtk.c:
55         (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
56
57 2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>
58
59         * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
60         to avoid accessing uninitialized memory when
61         gtk_icon_theme_choose_icon() is called with an empty names list.
62
63 2007-06-03  Richard Hult  <richard@imendio.com>
64
65         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
66         modifier state.
67
68 2007-06-03  Richard Hult  <richard@imendio.com>
69
70         * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
71         better:
72         (gdk_display_pointer_is_grabbed): Do what the docs say and don't
73         consider implicit grabs here.
74         (gdk_pointer_grab): Overriding a grab by the same app should always be
75         succesful.
76         (gdk_event_translate): Implicit grabs should not be owner events.
77
78 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
79
80         * NEWS: Updates
81
82 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
83
84         * docs/tools/widgets.c: Add a volume button
85
86 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
87
88         * gtk/gtkradiobutton.c:
89         * gtk/gtkradiomenuitem.c: Fix doc typos.  
90
91 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
92
93         * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)
94
95 2007-06-03  Xan Lopez  <xan@gnome.org>
96
97         * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
98         and remove g_return_if checks in private functions. (#443247)
99
100 2007-06-01  Richard Hult  <richard@imendio.com>
101
102         * gdk/quartz/gdkevents-quartz.c:
103         (get_converted_window_coordinates), (create_crossing_event): Fix the
104         coordinates in crossing events so they are relative to the right
105         window.
106
107 2007-06-01  Richard Hult  <richard@imendio.com>
108
109         * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
110         consistent for the various functions that retrieve data from an
111         event.
112
113         * gdk/quartz/gdkprivate-quartz.h: 
114         * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
115         _gdk_quartz_window_find_child_by_point() function.
116
117 2007-06-01  Matthias Clasen  <mclasen@redhat.com>
118
119         Add support for composited child windows.  (#412882, Ryan Lortie)
120
121         * gdk/gdk.symbols:
122         * gdk/gdkdisplay.h:
123         * gdk/gdkinternals.h:
124         * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
125         gdk_window_set_composited().
126
127         * gdk/x11/gdkevents-x11.c:
128         * gdk/x11/gdkdisplay-x11.[hc]:
129         * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
130
131         * gdk/win32/gdkdisplay-win32.c:
132         * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
133
134         * gdk/quartz/gdkdisplay-quartz.c:
135         * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
136
137         * gdk/directfb/gdkdisplay-directfb.c:
138         * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
139
140         * tests/testgtk.c: Add a "composited window" test.
141
142 2007-06-01  Michael Natterer  <mitch@imendio.com>
143
144         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
145         submenu opening direction for overlapping reasons if there is even
146         less space on the other side (bug #441863, Tommi Komulainen).
147
148 2007-06-01  Michael Natterer  <mitch@imendio.com>
149
150         * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
151         to not obfuscate the code.
152
153 2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>
154
155         Avoid recreating pangolayouts in GtkTextView on cursor movement
156         (#435405, Behdad Esfahbod).
157
158         * gtk/gtktextlayout.c:
159         * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
160         and functions gtk_text_layout_invalidate_cursors() and
161         gtk_text_layout_cursors_changed(), to use when invalidation is due
162         to moved marks or changed selection.
163
164         * gtk/gtktextbtree.c:
165         * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
166
167         * gtk/gtk.symbols: add new functions.
168
169         * README.in: added a note about changed GtkTextLayout API.
170
171 2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>
172
173         * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
174
175 2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>
176
177         * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
178         widget style to draw cursor instead of hardcoded black and grey
179         (#79585, comment #30).
180
181 2007-06-01  Kristian Rietveld  <kris@gtk.org>
182
183         * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
184         pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
185         Shlomi Israel).
186
187 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
188
189         * tests/autotestfilechooser.c: Reactivate the other file-chooser
190         tests. Forgot that before commiting revision 17994.
191
192 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
193
194         * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
195         the internal response_requested flag, once the response triggered by
196         file_chooser_widget_response_requested has been processed (#347883).
197
198 2007-05-30  Richard Hult  <richard@imendio.com>
199
200         * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
201         function, bug #438440.
202
203 2007-05-30  Tor Lillqvist  <tml@novell.com>
204
205         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
206         multi-monitor offset from x and y before setting up the rectangle
207         for ClipCursor(). Fixes #442326.
208
209 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
210
211         * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
212         if the size changed.  (#418047, Alex Graveley)
213
214 2007-05-30  Simos Xenitellis  <simos@gnome.org>
215
216         * gdk/gdkkeysyms-update.pl: Updated script to new upstream 
217         location of keysymdef.h (#442183)
218
219 2007-05-30  Emmanuele Bassi  <ebassi@gnome.org>
220
221         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
222         after setting the file chooser entry with the current selection.
223
224 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
225
226         * gtk/gtkiconcachevalidator.c: Correct the handling
227         of display names.  (#441767, Marcin Bachry)
228
229 2007-05-30  Xan Lopez  <xan@gnome.org>
230
231         * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
232         Fixes #442172.
233
234 2007-05-28  Cody Russell  <bratsche@gnome.org>
235
236         * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
237
238 2007-05-28  Richard Hult  <richard@imendio.com>
239
240         * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
241         (get_ancestor_coordinates_from_child): Break out code that was
242         repeated into separate functions and call them instead.
243         (find_window_for_mouse_nsevent): Break out this from
244         find_window_for_nsevent to make the code clearer.
245         (find_window_for_nsevent): Use the above and fix the returned
246         coordinates in the process so that they are always relative the
247         found window, both for the normal case and during grabs. Still
248         needs fixing for the case where we get nsevents for a window other
249         than than grab window during grabs.
250
251 2007-05-28  Richard Hult  <richard@imendio.com>
252
253         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
254         we need both press and release in the mask to trigger implicit
255         grabs.
256
257 2007-05-28  Richard Hult  <richard@imendio.com>
258
259         * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
260         all the grab state, to help debugging.
261         (gdk_event_translate): Use pointer_ungrab_internal instead of
262         duplicating the code here.
263
264 2007-05-28  Richard Hult  <richard@imendio.com>
265
266         * gdk/quartz/gdkprivate-quartz.h:
267         * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
268         (_gdk_quartz_window_find_child): Refactored version of
269         _gdk_quartz_window_find_child_by_point, that doesn't return any
270         coordinates as the users of this function already have the
271         coordinates and need to translate them differently.
272         (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
273         (_gdk_windowing_window_at_pointer): Likewise.
274
275 2007-05-28  Richard Hult  <richard@imendio.com>
276
277         * gdk/quartz/gdkevents-quartz.c
278         (find_window_interested_in_event_mask): Don't traverse beyond the
279         toplevel of the passed in window.
280
281 2007-05-28  Richard Hult  <richard@imendio.com>
282
283         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
284         a size for the root window.
285
286 2007-05-28  Richard Hult  <richard@imendio.com>
287
288         * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
289         coordinates are relative to.
290
291 2007-05-28  Carlos Garnacho  <carlos@imendio.com>
292
293         * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
294         Add back variable declaration removed in r17958.
295
296 2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
297
298         * gtk/gtkprinter.[ch]: Add new capability
299         GTK_PRINT_CAPABILITY_NUMBER_UP.
300         * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
301         * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
302         * modules/printbackends/file/gtkprintbackendfile.c:
303         (file_printer_get_options), (file_printer_get_settings_from_options):
304         * modules/printbackends/cups/gtkprintbackendcups.c:
305         (cups_printer_get_capabilities): Add a new print capability to specify
306         whether print dialog will offer printing multiple pages per sheet. (#398414)
307         
308 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
309
310         * gtk/gtktoolbar.h: Actually undeprecate 
311         gtk_toolbar_[un]set_icon_size.  (#314172. Yevgen Muntyan)
312
313 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
314
315         * gtk/gtkwidget.c: Document some more signals
316
317         * gtk/gtktextview.c: Improve docs
318
319 2007-05-27  Tor Lillqvist  <tml@novell.com>
320
321         * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
322         supposed to be -luser32, but he "l" was missing. But nobody has
323         noticed, so presumably unnecessary.
324
325 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
326
327         * gtk/gtkprintoperationpreview.c: Improve docs
328
329 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
330
331         * gtk/gtkentry.c: Move docs inline.
332
333 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
334
335         * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
336         that cause problems when building the docs.
337
338 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
339         
340         * gdk/x11/gdkdisplay-x11.c: Update docs
341         * gdk/gdk.c: Update docs
342         * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
343         * gdk/x11/gdkwindow-x11.c: Fix doc formatting
344
345 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
346
347         * gtk/gtktooltip.c:
348         * gtk/gtkstatusicon.c:
349         * gtk/gtkscalebutton.c:
350         * gtk/gtkrecentaction.c:
351         * gtk/gtkrange.c:
352         * gtk/gtkprinter.c:
353         * gtk/gtkprintsettings.c:
354         * gtk/gtkpapersize.c:
355         * gtk/gtkpagesetup.c:
356         * gtk/gtknotebook.c:
357         * gtk/gtkentrycompletion.c: Document new api
358
359 2007-05-26  Richard Hult  <richard@imendio.com>
360
361         * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
362         build working.
363
364 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
365
366         * configure.in: Require gtk-doc 1.6, for signal and property links.
367         * gtk/gtkbox.c:
368         * gtk/gtkbutton.c:
369         * gtk/gtkcontainer.c:
370         * gtk/gtkdialog.c:
371         * gtk/gtkentry.c:
372         * gtk/gtkimage.c:
373         * gtk/gtklabel.c:
374         * gtk/gtkmisc.c:
375         * gtk/gtksettings.c:
376         * gtk/gtkwidget.c: Documentation improvements, link signals
377         and properties where it makes sense.
378
379 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
380
381         * gtk/gtktextmark.c:
382         * gtk/gtktextbuffer.c: Formatting fixes.
383
384 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
385
386         Allow to separate GtkTextMark creation from buffer insertion.
387         (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
388
389         * gtk/gtktextmarkprivate.h:
390         * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
391         create a GtkTextMark.
392
393         * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
394         function to add an existing mark to a buffer. 
395
396         * gtk/gtktextbtree.c: Allow adding existing marks.
397
398         * gtk/gtk.symbols: Add new functions.
399
400         * tests/testtextbuffer.c: Add some tests for new mark 
401         functionality.
402
403 2007-05-25  Xan Lopez  <xan@gnome.org>
404
405         * gtk/gtkaction.c: (gtk_action_set_short_label):
406         Use private->data->short_label to update the proxies. (#440780)
407
408 2007-05-25  Richard Hult  <richard@imendio.com>
409
410         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
411         Implement copying from a window, part of bug #348493.
412
413 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
414
415         * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
416         refence on the print operation until gtk_print_job_send()
417         is done.  (#440040, Chris Vine)
418
419 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
420
421         * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
422         Don't crash and don't leak.  (#439565, Pedro Villavicencio)
423
424 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
425
426         * gtk/gtkiconfactory.c: Improve a warning
427         * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
428         set the error when returning NULL.  (#440982, Carlos Garcia
429         Campos)
430
431 2007-05-25  Michael Natterer  <mitch@imendio.com>
432
433         Merge fix from maemo-gtk:
434
435         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
436         also if the menu item we're entering is already selected. Also, it
437         makes no sense to forward the event to the parent menu shell if we
438         are entering a menu item of *this* menu shell.
439
440 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
441
442         * gtk/stock-icons/*: Make sure all svg icons are added
443         as pngs.
444
445 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
446
447         * modules/input/Makefile.am: Fix broken DESTDIR support
448
449 2007-05-24  Michael Natterer  <mitch@imendio.com>
450
451         * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
452         Bogdan Nicula which fixes a crash on GdkWindows which have no
453         GtkWidget as user_data (bug #440890).
454
455 2007-05-24   Matthias Clasen  <mclasen@redhat.com>
456
457         * configure.in: Bump version
458
459         * === Released 2.11.0 ===
460
461         * NEWS: Updates
462
463 2007-05-23   Matthias Clasen  <mclasen@redhat.com>
464
465         * gtk/gtk.symbols: 
466         * gdk/x11/xsettings-common.h: 
467         * gdk/gdk.symbols: Add some missing symbols.
468
469         * gtk/paper_names_offsets.c:
470         * gtk/gen-paper-names.c: Make variables static.
471
472         * gtk/gtktooltip.[hc]:
473         * gtk/gtkvolumebutton.c:
474         * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
475
476 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
477
478         * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
479
480         * gtk/gtkhandlebox.c (gtk_handle_box_paint):
481         * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
482         * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
483         * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
484         * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
485         * gtk/gtkpreview.c (gtk_preview_finalize):
486         * gtk/gtknotebook.c (gtk_notebook_set_group_id):
487         * tests/testnotebookdnd.c (window_creation_function):
488         * tests/testiconview.c (do_popup_menu):
489         Fixed some compiler warnings (#440689).
490
491 2007-05-23  Kristian Rietveld  <kris@imendio.com>
492
493         * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
494         from the window they were received on to the event widget's window;
495         correct for no-window widgets after that, bail out on failure.  This
496         makes the coordinates given by GtkWidget::query-tooltip truly relative
497         to widget->window.  (#435188).
498
499         * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
500         GtkWidget::query-tooltip.
501
502 2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
503
504         * gtk/gtkprintcontext.c (gtk_print_context_finalize),
505         (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
506         (gtk_print_context_set_cairo_context),
507         (gtk_print_context_get_pango_fontmap),
508         (gtk_print_context_create_pango_context):
509         Don't create new pango fontmaps.  Use the default pangocairo
510         fontmap and set resolution on PangoContext instead. (#417707)
511
512 2007-05-21  Richard Hult  <richard@imendio.com>
513
514         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
515         resolution.
516         
517         * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
518
519 2007-05-21  Michael Natterer  <mitch@imendio.com>
520
521         * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
522
523 Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
524
525         * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
526
527 2007-05-21  Tor Lillqvist  <tml@novell.com>
528
529         * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
530         multiple monitors.
531
532 2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
533
534         * gdk/directfb/gdkwindow-directfb.c:
535         * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
536         required to enable gdk_directfb_create_child_window.
537         (Closes: #437379)
538
539 2007-05-20  Bastien Nocera  <hadess@hadess.net>
540
541         * gtk/Makefile.am:
542         * gtk/gtk.h:
543         * gtk/gtk.symbols:
544         * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
545         a button that pops up a scale when clicked (Closes: #415775)
546         * tests/Makefile.am:
547         * tests/testvolumebutton.c: Add a test program for the
548         volume button
549
550 2007-05-19  Bastien Nocera  <hadess@hadess.net>
551
552         reviewed by: Matthias Clasen <mclasen@redhat.com>
553
554         * gtk/Makefile.am:
555         * gtk/gtk.h:
556         * gtk/gtk.symbols:
557         * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
558         a button that pops up a scale when pressed
559
560 2007-05-19  Matthias Clasen  <mclasen@redhat.com>
561
562         * gtk/gtk.symbols:
563         * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
564         in favour of new functions gtk_notebook_[gs]et_group, which
565         takes a pointer as group identifier and makes it easier to
566         avoid group id collisions.  (#386930, Christian Hammond)
567                 
568         * tests/testnotebookdnd.c: Use new grouping api.
569
570 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
571
572         * gtk/gtkactiongroup.c: Warn and refuse to add actions with
573         duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
574         Vahlman)
575
576 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
577
578         * gtk/gtk.symbols:
579         * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
580         to allow automatic scrolling in response to cursor movements
581         in the entry.  (#438651, Nate Nielsen)
582
583 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
584
585         * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
586         signal, and bind F7 to it.  (#380048, Tim Miao)
587
588 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
589
590         * gtk/gtk.symbols:
591         * gtk/gtkicontheme.h:
592         * gtk/gtkicontheme.c: Add a function to look up an icon from
593         a list of icon names.  (#396901, Luca Ferretti)
594
595 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
596
597         * gtk/gtkrecentchooserdefault.c:
598         (gtk_recent_chooser_default_dispose): Reset the state on dispose.
599
600         (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
601         is a valid state, if the main loop never had the chance to
602         properly spin at least once. (#438671)
603
604 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
605
606         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
607         string for translation. (#439437)
608
609 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
610
611         * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
612         doc typo.  (#438100, Vincent Untz)
613
614 2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
615
616         * INSTALL.in:
617         * README.in:
618         * configure.in: Bump libtiff requirement to 3.6.0, by requiring
619           presence of TIFFReadRGBAImageOriented.
620
621         * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
622         Preserve pixbuf options when generating a new scaled pixbuf.
623
624         * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
625         (gdk_pixbuf__jpeg_image_load_increment): Read the exif
626         orientation tag and associate it with the "orientation" pixbuf
627         option. Renders libexif unnecessary in some applications.
628
629         * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
630         compensate for the partial rotations performed by libtiff,
631         and generate an "orientation" option for the pixbuf.
632
633 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
634
635         * gtk/gtkexpander.c: remove c++ style comment.
636
637 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
638
639         Make combobox menu popdown keybindable (#433593)
640
641         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
642         signal and keybindings.
643         (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
644         handler.
645         (gtk_combo_box_menu_key_press):
646         (gtk_combo_box_list_key_press): forward the event to the combobox if
647         it wasn't handled by the menu.
648
649 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
650
651         * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
652         (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
653         their DnD handlers if the target doesn't match with anything the
654         notebook manages. (#350665, Joakim Lundborg).
655
656 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
657
658         Refactor GtkFileChooserDialog sizing.
659
660         * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
661         (_gtk_file_chooser_embed_get_resizable_hints):
662         s/resizable_hints/resizable/, return just one boolean value to
663         determine whether the filechooser should be resizable or not.
664
665         * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
666         variables related to the GtkFileChooserEmbed get_default_size() and
667         get_resizable() implementations.
668         (struct GtkFileChooserDefault): Move default size management here.
669
670         * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
671         Added, store currently allocated size to calculate default size later.
672         (gtk_file_chooser_default_get_resizable_hints):
673         s/resizable_hints/resizable/.
674         (gtk_file_chooser_default_set_property): Reload settings if the file
675         chooser action changes, this way the save expander state will be known
676         before mapping the window, avoiding wrong window positioning and
677         flickering. (#424299, #424309)
678         (find_good_size_from_style): Only get size from style if it wasn't set
679         previously.
680         (gtk_file_chooser_default_get_default_size): return default size based
681         on stored default size and preview/extra widget sizes.
682
683         * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
684         (file_chooser_widget_realized_size_changed)
685         (file_chooser_widget_unrealized_size_changed): simplified to
686         (file_chooser_widget_size_changed): set window size and resizability
687         based on the GtkFileChooserEmbed interface implementation. (Bug
688         #420285, Tomeu Vizoso)
689         (gtk_file_chooser_dialog_map): force a dialog size change, so it's
690         clamped for sure to the 75% of the screen size.
691
692 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
693
694         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
695         the brand new current page if there was none set previously. Fixes
696         #425138 (Reported by Michail Crayson). Some code simplifications.
697         (gtk_notebook_draw_arrow): code style fix.
698
699 2007-05-16  Matthias Clasen  <mclasen@redhat.com>
700
701         * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
702         buttons. Keep the focus from vanishing when Up or Down arrows
703         become insensitive or invisible.  (#357005, Patrick Wade)
704
705 2007-05-16  Brian Cameron  <brian.cameron@sun.com>
706
707         * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
708           gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
709           gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
710           gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
711           hardware acceleration via mediaLib is enabled if mediaLib is
712           detected via configure.  Enhancement request #344813.  I was given
713           permission to commit in the bug report by Matthias Clasen.
714         * gdk/medialib.[ch]: New files added for mediaLib support.
715         * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
716           docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
717           mediaLib support.
718
719 2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>
720
721         * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
722         priv->free_platform_data to prevent gtk_print_operation_finalize()
723         from freeing the cairo surface a second time.
724
725 2007-05-14  Kristian Rietveld  <kris@gtk.org>
726
727         * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
728         dangling semicolon, fixes the segfault ebassi was seeing earlier today
729         ;)
730
731 2007-05-14  Tristan Van Berkom  <tvb@gnome.org>
732
733         * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
734         were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
735         the GtkAboutDialog now uses the "program-name" property instead of 
736         the conflicting "name" property (fixes bug 345822).
737
738 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
739
740         * configure.in: Add check for GNU extensions to ftw()/nftw().
741
742         * gtk/gtksearchenginesimple.c: Fix compilation on systems with
743         only POSIX-compliant ftw(). (#435797, based on a patch by
744         Richard Hult)
745
746 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
747
748         * gtk/gtkfilechooserdefault.c:
749         Convert the GtkTreeIter inside the sorting functions for the
750         search and recent modes. This doesn't yet fix the segfault when
751         clicking the 'Name' column in recent mode, though.
752
753 2007-05-14  Behdad Esfahbod  <behdad@gnome.org>
754
755         * modules/input/gtkimcontextthai.c
756         (gtk_im_context_thai_filter_keypress):
757         Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
758
759 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
760
761         * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
762         as 2.12 addition.  (#438131, Mart Raudsepp)
763
764 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
765
766         * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
767         size requisition for wide vertical separators.  (#438113, 
768         Benjamin Berg)
769
770 2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>
771
772         * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
773         all the symbols defined in <ftw.h> conditionally.
774
775 2007-05-13  Cody Russell  <bratsche@gnome.org>
776
777         * gdk/win32/gdkevents-win32.c: Only do the configure event context
778         iteration under WM_WINDOWPOSCHANGED instead of inside
779         handle_configure_event().  This fixes a bug that prevented window
780         contents from being redrawn after gtk_window_resize(). (#436721)
781
782 2007-05-12  Behdad Esfahbod  <behdad@gnome.org>
783
784         * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
785         generation.  (#437879, Eddie C. Dost)
786
787 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
788
789         GtkFileChooser search fixes and recent files support.  (#435342)
790         
791         * gtk/gtkfilechooserdefault.c: Support drag and drop for
792         adding shortcuts of folders when in search or recent files
793         mode.
794
795 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
796
797         GtkFileChooser search fixes and recent files support.  (#435342)
798
799         * gtk/gtkfilechooserprivate.h:
800         * gtk/gtkfilechooserdefault.c: Follow the sorting order of
801         the GtkTreeView displaying the files list.
802
803         (shortcuts_get_index), (shortcuts_insert_separator),
804         (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
805         the separator between the Search and the Recently Used shortcuts.
806
807         (list_select_func), (list_icon_data_func), (list_name_data_func),
808         (list_mtime_data_func): Update the sensitivity of the row
809         depending on the GtkFileChooserAction used.
810
811 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
812
813         GtkFileChooser search fixes and recent files support.  (#435342)
814
815         * gtk/gtkfilechooserprivate.h:
816         * gtk/gtkfilechooserdefault.c: Update the contents of the
817         files list when changing the filter of the GtkFileChooserDefault
818         widget.
819
820 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
821
822         GtkFileChooser search fixes and recent files support.  (#435342)
823
824         * gtk/gtkfilechooserdefault.c: Update the add bookmark button
825         sensitivity when in search or recent files mode, and allow
826         adding a bookmark for a folder.
827
828 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
829
830         GtkFileChooser search fixes and recent files support.  (#435342)
831
832         * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
833         a mnemonic to the label, de-boldify the label's text and assign
834         focus to the search entry when switching to the search mode.
835
836         (list_name_data_func): Split the text in both search and recent
837         files mode: on the first line use the short name and on the
838         second line use the full path.
839
840 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
841
842         GtkFileChooser search fixes and recent files support.  (#435342)
843
844         * gtk/gtkfilechooserprivate.h:
845         * gtk/gtkfilechooserdefault.c: Add support for showing the
846         recently used files list as a special shortcut item.
847
848 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
849         
850         GtkFileChooser search fixes and recent files support.  (#435342)
851
852         * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
853         indentation style consistency.
854
855         (list_row_activated): If the search hit is a folder, follow it
856         when activating the row, and switch back to browse mode.
857
858         (search_clear_model), (search_start_query),
859         (search_entry_activate_cb), (search_setup_widgets): Remember
860         the last query when switching between modes.
861
862 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
863
864         GtkFileChooser search fixes and recent files support.  (#435342)
865
866         * gtk/gtkfilechooserdefault.c:
867         (_gtk_file_chooser_default_class_init): Add key binding for
868         the Search shortcut; default to MOD1+S.
869
870         (search_shortcut_handler): Handle the key binding.
871
872         (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
873         (search_setup_model): Retrieve informations on the search hits
874         when adding them to the model.
875
876         (list_icon_data_func): Show the search hit icon.
877
878 2007-05-11  Michael Natterer  <mitch@imendio.com>
879
880         * gtk/gtktextview.c (selection_motion_event_handler): call
881         gdk_event_request_motions(event) so selecting works with
882         XInput devices too. Spotted by Tommi Komulainen.
883
884 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
885
886         * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
887         to GtkSearchEngineSimple only if gthread has already been
888         initialiased; otherwise, disable search support in the file
889         chooser widget.  (#435847)
890
891 2007-05-10  Matthias Clasen <mclasen@redhat.com>
892
893         * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
894         image before overwriting priv->image.  (#437281, Jochen Baier)
895
896 2007-05-10  Matthias Clasen <mclasen@redhat.com>
897
898         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
899         Correct a confusing warning.  (#437284, Björn Lindqvist)
900
901 2007-05-10  Matthias Clasen <mclasen@redhat.com>
902
903         * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
904         the backend if the region is empty.  (#437081, Sven Neumann)
905
906 2007-05-10  Matthias Clasen <mclasen@redhat.com>
907
908         * gtk/gtksearchenginesimple.c (search_visit_func);
909         Assume Posix nftw behaviour. 
910
911 2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>
912
913         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
914         expand/collapse with Right/Left cursor keys on Windows
915         (#436269, Daniel Atallah)
916
917 2007-05-09  Cody Russell  <bratsche@gnome.org>
918
919         * gtk/gtkmenu.c:
920         (get_arrows_border): New function to calculate the border sizes needed 
921         for the scroll arrows.
922         (get_arrows_visible_area): New function to calculate the arrows visible 
923         area.
924         (get_arrows_sensitive_area): New function to calculate the arrows
925         sensitive area.
926         (gtk_menu_paint): Refactored code to calculate the border sizes needed
927         for the scroll arrows into get_arrows_border and the code to calculate 
928         the visible area into get_arrows_visible_area.
929         (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
930         to get_arrows_sensitive_area.
931         (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
932         gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
933         get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
934         callers.  (From #436533, Tommi Komulainen)
935
936 2007-05-09  Kristian Rietveld  <kris@imendio.com>
937
938         * gtk/gtktreeview.c (gtk_tree_view_key_press),
939         (gtk_tree_view_key_release):
940         * gtk/gtkiconview.c (gtk_icon_view_class_init),
941         (gtk_icon_view_key_press),
942         (gtk_icon_view_key_release): Disable key bindings during rubber
943         banding, make pressing Esc stop rubber banding.  (#405027).
944
945 2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>
946
947         * gtk/gtkrecentmanager.c:
948         (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
949         with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
950
951 2007-05-05  Richard Hult  <richard@imendio.com>
952
953         * gdk/quartz/gdkdrawable-quartz.c:
954         (gdk_quartz_drawable_get_context),
955         (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
956         Turns out the lockFocus logic was flawed, now we only lock/unlock 
957         when called outside a real expose event and never flush manually.
958
959 2007-05-03  Behdad Esfahbod  <behdad@gnome.org>
960
961         * gtk/gtklabel.c (gtk_label_ensure_layout):
962         * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
963         using pango_layout_set_justify() that works now. (#435675)
964
965 2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>
966
967         * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
968         spurious g_free() call.
969
970 Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>
971
972         * tests/testgtk.c (create_handle_box): made handle box test non-modal,
973         so other test can interact with handle boxes.
974
975 2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>
976
977         Add search file support in the GtkFileChooser. Original patch
978         by Federico Mena Quintero; patch updated by Matthias Clasen.
979         See bug #344785.
980
981         * gtk/gtksearchengine.[ch]: Private search engine abstraction
982         object.
983
984         * gtk/gtksearchenginebeagle.[ch]: Private search engine
985         implementation using libbeagle (via g_module_open()).
986
987         * gtk/gtksearchenginesimple.[ch]: Private search engine
988         implementation using file tree walking.
989
990         * gtk/gtksearchenginetracker.[ch]: Private earch engine
991         implementation using libtracker (via g_module_open()).
992
993         * gtk/gtkquery.[ch]: Private query object for the search
994         engines.
995
996         * gtk/gtkfilechooserprivate.h:
997         * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
998         query a search engine backend using GtkQuery; create a new
999         operating mode, OPERATION_MODE_SEARCH, and call the common
1000         operating mode OPERATION_MODE_BROWSE; add support for virtual
1001         shortcuts inside the shortcuts model and create a new "Search"
1002         virtual shortcut.
1003
1004         * gtk/Makefile.am: Update the build with the new files
1005
1006 2007-05-02  Armin Burgmeier  <armin@openismus.com>
1007
1008         * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
1009         finalize, because the menu might unparent itself from its parent and
1010         cause a signal emission on a finalized object. (#430746)
1011
1012 2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>
1013
1014         * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
1015         rendered upside down for non-XP theme (#435053, Daniel Atallah)
1016
1017 Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>
1018
1019         * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
1020         and fully replaced by docs/faq/gtk-faq.sgml.
1021
1022 2007-05-02  Kristian Rietveld  <kris@imendio.com>
1023
1024         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
1025         if it's active.
1026
1027 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1028
1029         * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
1030         icon flags.  (#435062)
1031
1032 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1033         
1034         * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
1035         pngs.
1036
1037 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1038
1039         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
1040         Don't ignore the fact that gtk_file_system_get_parent() 
1041         may return NULL.  (#424042, Jan Martinek)
1042
1043 2007-05-01  Dan Winship  <danw@novell.com>
1044
1045         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
1046         leader_window's WM_CLIENT_LEADER points to itself. #435028
1047
1048 2007-05-02  Christian Persch  <chpe@gnome.org>
1049
1050         * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
1051         GSlice for gtk_tree_iter_copy. Bug #434863.
1052
1053 2007-05-02  Christian Persch  <chpe@gnome.org>
1054
1055         * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
1056         GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
1057         #434861.
1058
1059 2007-05-02  Christian Persch  <chpe@gnome.org>
1060
1061         * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
1062         (gtk_paper_size_new), (gtk_paper_size_new_custom),
1063         (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
1064         GtkPaperSize. Bug #434862.
1065
1066 2007-05-02  Christian Persch  <chpe@gnome.org>
1067
1068         * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
1069         (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
1070         the ID into the pointer directly. Bug #434865.
1071
1072 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1073
1074         * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
1075         (update_current_folder_get_info_cb): add a new struct field to clear
1076         the file entry after the current folder has been updated.
1077
1078         (gtk_file_chooser_default_update_current_folder),
1079         (change_folder_and_display_error): Add a new function parameter to
1080         trigger file entry clearing.
1081
1082         (edited_idle_create_folder_cb),
1083         (file_list_drag_data_received_get_info_cb),
1084         (gtk_file_chooser_default_map),
1085         (gtk_file_chooser_default_set_current_folder),
1086         (switch_to_selected_folder), (save_entry_get_info_cb),
1087         (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
1088         (shortcuts_activate_get_info_cb), (list_row_activated),
1089         (path_bar_clicked): use new function parameter appropriately.
1090
1091         (gtk_file_chooser_default_should_respond): trigger file entry clearing
1092         after the directory is updated instead of clearing it before, this way 
1093         we avoid reloading the completion model with the soon to be old folder, 
1094         causing a warning and a glitch in the folder where completion happens. 
1095         (#379414, Carlos Garnacho)
1096
1097 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1098
1099         * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
1100
1101         * gtk/updateiconcache.c: Validate the generated cache before
1102         moving it in place. Also add a --validate option to validate
1103         an existing icon cache.
1104
1105         * gtk/gtkiconcache.c: Validate icon caches before using them.
1106
1107         * gtk/Makefile.am: Integrate it.
1108
1109 2007-05-01  Michael Emmel  <mike.emmel@gmail.com>
1110
1111         * gdk/directfb/gdkdisplay-directfb.c:
1112         Added stub gdk_notify_startup_complete_with_id to compile
1113         * gdk/directfb/gdkwindow-directfb.c:
1114         Added gdk_window_set_opacity
1115         * gdk/directfb/gdkkeys-directfb.c:
1116         Fix menu key handling crash Bug #413328
1117
1118 2007-05-01  Christian Persch  <chpe@gnome.org>
1119
1120         * gtk/gtkprinter.h:
1121         * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
1122         the new location. Bug #390437.
1123
1124 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1125
1126         * gtk/gtksettings.c (settings_update_color_scheme):
1127         Make sure we always have a color_hash.  (#423916, Jens Granseuer)
1128
1129 2007-04-30  Christian Persch  <chpe@gnome.org>
1130
1131         * docs/reference/gtk/gtk-sections.txt:
1132         * gtk/gtk.symbols:
1133         * gtk/gtkprinter-private.h:
1134         * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
1135         (gtk_print_capabilities_get_type):
1136         * gtk/gtkprinter.h:
1137         * gtk/gtkprintjob.c:
1138         * gtk/gtkprintjob.h:
1139         * gtk/gtkprintunixdialog.c: (selected_printer_changed):
1140         Make gtk_printer_get_capabilities public, and move the
1141         GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
1142
1143 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1144
1145         * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
1146         must not set the background of its window.  (#433972,
1147         Guilherme Polo)
1148
1149 2007-04-30  Richard Hult  <richard@imendio.com>
1150
1151         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
1152         Implement.
1153
1154 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1155
1156         * modules/printbackends/cups/gtkprintbackendcups.c: Get all
1157         the printer attributes when getting the list of printers,
1158         not via separate requests.  (#387889, Krishan Purahoo)
1159
1160 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1161
1162         Some more compiler warning fixes.
1163
1164         * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
1165         Fix NULL/FALSE confusion.
1166
1167 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1168
1169         Fix some compiler warnings.  (#433642, Kjartan Maraas)
1170
1171         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
1172         (gtk_file_system_win32_create_folder):
1173         * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  
1174
1175         * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
1176         the right type to uri_func.  
1177         
1178         * gtk/gtktext.c (gtk_text_key_press):
1179         * gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
1180         * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
1181
1182         * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
1183         (gtk_tray_icon_delete):
1184         * gtk/gtkprintunixdialog.c (create_main_page):
1185         * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
1186
1187         * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
1188
1189 2007-04-30  Cody Russell  <bratsche@gnome.org>
1190
1191         * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
1192         but now we're calling it from _gdk_windowing_window_clear_area()
1193         instead of from the WM_ERASEBKGND event.  Also fixes the area
1194         that is cleared so that it is not an extra row and column too
1195         large.  (Neil Roberts, #415681)
1196
1197 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1198
1199         * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)
1200
1201 2007-04-30  Michael Natterer  <mitch@imendio.com>
1202
1203         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
1204         submenu explicitely only in touchscreen mode since otherwise
1205         selecting the item already pops up the submenu. Restores the
1206         drag-selection timeout (spotted by Søren Sandmann, #128968).
1207
1208 2007-04-30  Michael Natterer  <mitch@imendio.com>
1209
1210         * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
1211         to gtk_paper_size_get_paper_sizes().
1212
1213 2007-04-30  Tor Lillqvist  <tml@novell.com>
1214
1215         * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
1216         _gtk_load_custom_papers() exists only on Unix.
1217
1218 2007-04-30  Tor Lillqvist  <tml@novell.com>
1219
1220         Add functionality to set overall opacity of a top-level
1221         window. (#405316)
1222
1223         * gdk/gdk.symbols: Add gdk_window_set_opacity.
1224
1225         * gdk/x11/gdkwindow-x11.c
1226         * gdk/win32/gdkwindow-win32.c: Implement
1227         gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
1228         property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
1229
1230         * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
1231
1232         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
1233         that this is not implemented in the Windows backend. Add reference
1234         to gdk_window_set_opacity().
1235
1236         * gtk/gtk.symbols: Add gtk_window_set_opacity and
1237         gtk_window_get_opacity.
1238
1239         * gtk/gtkwindow.c (struct _GtkWindowPrivate)
1240         (gtk_window_class_init): Add opacity property, a double in the
1241         range [0, 1].
1242         (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
1243         (gtk_window_realize): If opacity is set, call
1244         gdk_window_set_opacity().
1245
1246         * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
1247         gtk_window_get_opacity().
1248
1249 2007-04-30  Matthias Clasen <mclasen@redhat.com>
1250
1251         * gtk/gtk.symbols:
1252         * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
1253         to gtk_paper_size_get_paper_sizes() and optionally include
1254         custom paper sizes.
1255
1256         * gtk/gtkpagesetupunixdialog.c: Internally export a function
1257         to load custom paper sizes.
1258
1259         * modules/printbackends/file/gtkprintbackendfile.c: Implement
1260         printer_list_papers, returning all paper sizes.  (#434329,
1261         Christian Persch)
1262
1263 2007-04-30  Matthias Clasen <mclasen@redhat.com>
1264         
1265         * gtk/gtkprintoperation.c: Translate the default job
1266         name, and don't utf8-validate the job name in the
1267         setter.  (#421993, Morten Welinder)
1268
1269 2007-04-30  Matthias Clasen <mclasen@redhat.com>
1270
1271         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
1272         g_unlink.  (#421990, Morten Welinder)
1273
1274 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1275
1276         Fix some issues with reference handling in the printing
1277         code.  (#429902, Mathias Hasselmann)
1278
1279         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1280         Unref the print context, if we have one.
1281         (gtk_print_operation_done): Add a default ::done handler 
1282         that unrefs the print context.
1283         (preview_ready): Take a reference on the print operation
1284         preview here.
1285         (print_pages_idle): ...not here,
1286         (preview_print_idle_done): ...and release it here.
1287
1288         * tests/print-editor.c (preview_cb): Take a reference
1289         on the print operation here.
1290
1291 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1292
1293         * gtk/gtkprintoperation.c (print_pages_idle): Don't get
1294         stuck in a recursive mainloop if a synchronous preview
1295         is cancelled.
1296
1297 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1298
1299         Make the emission of ::end-print and ::done consistent
1300         for previews.  (#347567, Yevgen Muntyan)
1301
1302         * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
1303         the finished status here.
1304         (preview_end_run): ...and not here.
1305         (print_pages_idle_done): Emit ::done for a cancelled preview.
1306         (print_pages_idle): If a preview has been cancelled, don't
1307         emit ::ready, but emit ::end-print. 
1308
1309         * tests/print-editor.c: Use ::end-print to undo allocations
1310         from ::begin-print.
1311
1312 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1313
1314         * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
1315         in the PWG "custom" namespace as custom. Add a link to 
1316         the spec in the docs.  (#426416, Andreas Guelzow)
1317
1318 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1319
1320         * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
1321         that a print operation can be run only once, and add a 
1322         corresponding g_return_if_fail().   (#379399, Masao Mutoh)
1323
1324 2007-04-29  Dan Winship  <danw@novell.com>
1325
1326         * gdk/x11/gdkdisplay-x11.c
1327         (gdk_x11_display_broadcast_startup_message): New method to
1328         marshall and send a Startup Notification message. (from #415070)
1329         (gdk_notify_startup_complete_with_id): Use that
1330
1331 2007-04-29  Mattthias Clasen  <mclasen@redhat.com>
1332
1333         * gtk/gtkprintoperation-unix.c 
1334         (_gtk_print_operation_platform_backend_launch_preview):
1335         Don't leak a file descriptor, and don't make the error
1336         dialog modal.  (#421985, Morten Welinder, Christian Persch)
1337
1338 2007-04-29  Xan Lopez  <xan@gnome.org>
1339
1340         * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
1341         Diego Escalante Urrelo).
1342
1343         I'm fixing gtk-faq.sgml as it seems this is the file
1344         we actually use...
1345
1346 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1347
1348         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
1349         Only strip parentheses of the form (_x).  (#434261,
1350         Brian Wellington)
1351
1352 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1353
1354         * gtk/gtkprintoperation-unix.c
1355         (_gtk_print_operation_platform_backend_launch_preview):
1356         Support passing a print settings file to the preview 
1357         command.  (#403717, Christian Persch)
1358
1359         * gtk/gtksettings.c: Document %s in the 
1360         gtk-print-preview-command setting.
1361
1362 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1363
1364         * gtk/gtkprintoperation.c (print_pages_idle): Also check
1365         the default handler when deciding whether to emit the
1366         paginate signal.  (#345345, Yevgen Muntyan)
1367
1368 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1369
1370         * gtk/gtkprintoperation.h: Add a new error code
1371
1372         * gtk/gtk.symbols:
1373         * gtk/gtkpagesetup.[hc]:
1374         * gtk/gtkpapersize.[hc]:
1375         * gtk/gtkprintsettings.[hc]: Add functions to serialize 
1376         and deserialize page setups and print settings to files 
1377         and key files.  (#344515, Christian Persch)
1378
1379         * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
1380
1381         * tests/print-editor.c: Use the new functions to persist 
1382         page setup and print settings.
1383
1384 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1385
1386         * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
1387         Free the custom paper list.  (#403267, Felix Riemann)
1388
1389 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1390
1391         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
1392         small memory leak.  (#403251, Felix Riemann)
1393
1394 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1395
1396         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
1397         typo. String change !  (#406160, Stephane Raimbault)
1398
1399 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1400
1401         * gtk/gtk.symbols:
1402         * gtk/gtkpapersize.[hc]: Add a function to list the
1403         builtin paper sizes.  (#382355, Christian Persch)
1404
1405 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1406
1407         * gtk/gtk.symbols:
1408         * gtk/gtkprinter-private.h:
1409         * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
1410         gtk_printer_request_details() public.
1411
1412         * gtk/gtkpagesetupunixdialog.c:
1413         * gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
1414         Christian Persch)
1415
1416 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1417
1418         * configure.in: Add --enable-test-print-backend, defaulting
1419         to no.
1420
1421         * modules/printbackends/Makefile.am: Make building the test
1422         print backend conditional.
1423
1424 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1425
1426         * modules/printbackends/lpr/*:
1427         * modules/printbackends/cups/*: Correct some copyright lines.
1428
1429         * configure.in:
1430         * modules/printbackends/Makefile.am:
1431         * modules/printbackends/test/*: Add a test print backend.
1432         (#409089, John Palmieri)
1433
1434 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1435
1436         * gtk/gtktexttag.[hc]: Add a way to specify accumulative
1437         margins.  (#344499, Nate Nielsen)
1438
1439 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1440
1441         * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
1442         of the input-only window if we also have a visible window. 
1443         (#405089)
1444
1445 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1446
1447         * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
1448         * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
1449         Recognize negative column indices as invalid.  (#415260,
1450         Chris Wilson)
1451
1452 2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1453
1454         * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
1455         (poll_func): fix two more potential races that could happen when
1456         an application is polling in the mainloop and a separate thread
1457         tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
1458
1459 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1460
1461         * gtk/gtkentry.c (gtk_entry_grab_focus): 
1462         (gtk_entry_real_insert_text): Only call g_object_get() 
1463         when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
1464
1465 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1466
1467         * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
1468         a note about being embedded.  (#340107, Christian Persch)
1469
1470 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1471
1472         * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
1473         restrict drags within an application/widget.  (#163141, 
1474         Jorn Baayen)
1475
1476 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1477
1478         * docs/tools/Makefile.am:
1479         * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
1480         Komulainen)
1481
1482 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1483
1484         * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
1485         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
1486         * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
1487         (get_children_folder_cb): Plug memory leaks caused by wrong 
1488         use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
1489
1490 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1491         
1492         * demos/gtk-demo/printing.c: Fix the headers in the print
1493         demo.  (#423722, Yevgen Muntyan)
1494
1495 2007-04-28  Xan Lopez  <xan@gnome.org>
1496
1497         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
1498         Use strstr instead of g_strstr with -1 for length.
1499
1500 2007-04-28  Xan Lopez  <xan@gnome.org>
1501
1502         * gtk/gtkentry.c:
1503         * gtk/gtkentrycompletion.c:
1504         * gtk/gtkentrycompletion.h:
1505         * gtk/gtkentryprivate.h:
1506
1507         Remember the user input that triggered the completion, add
1508         API to the retrieve it and reset the entry contents to it
1509         if the user cancels the tentative completion during
1510         the inline-selection.
1511         
1512 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1513
1514         * gdk/x11/gdkgeometry-x11.c: Factor out window movement
1515         functions. (#63820, Tilman Sauerbeck)
1516
1517 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1518
1519         * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
1520         (#63820, Tilman Sauerbeck)
1521
1522 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1523
1524         * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
1525         and unmapping functions.  (#63820, Tilman Sauerbeck)
1526
1527 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1528
1529         * gdk/x11/gdkgeometry-x11.c: Make list handling code
1530         easier to read.  (#63820, Tilman Sauerbeck)
1531
1532 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1533
1534         * gtkassistant.c:
1535         * gtkiconfactory.c:
1536         * gtkiconview.c:
1537         * gtkpapersize.c:
1538         * gtkrecentmanager.c:
1539         * gtktextiter.c: Internalize some strings, pointed out
1540         by Damon Chaplin.
1541
1542 2007-04-27  Xan Lopez  <xan@gnome.org>
1543
1544         Support inline-selection in entries (#318459)
1545         
1546         * gtk/gtkentry.c:
1547         * gtk/gtkentrycompletion.c:
1548         * gtk/gtkentrycompletion.h:
1549         * gtk/gtkentryprivate.h:
1550
1551         When enabled cursor-match is emited when the cursor is on
1552         a possible completion on the list. The default implementation
1553         will replace the contents on the entry with the contents of
1554         the text column in the completion model.
1555
1556         Review and improvements by Matthias Clasen.
1557
1558 2007-04-27  Michael Natterer  <mitch@imendio.com>
1559
1560         Merged heavily modified patch from maemo-gtk which enables opening
1561         and closing submenus on click, and introduces some usability
1562         changes when gtk-touchscreen-mode is enabled (bug #128968):
1563
1564         * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
1565         "activated_submenu" to indicate that the current mouse operation
1566         (click or drag) has opened a submenu.
1567
1568         (gtk_menu_shell_button_press): pop up submenus without delay
1569         and record the fact in "activated_submenu".
1570
1571         (gtk_menu_shell_button_release): if a submenu was explicitely
1572         opened, or not opened by this release's button_press, or enough
1573         time has passed since timeout-opening it, close the submenu here.
1574
1575         (gtk_menu_shell_enter_notify): when entering a menu item with
1576         any mouse button pressed, open its submenu.
1577
1578         (gtk_real_menu_shell_move_current): in touchsreen mode, close the
1579         submenu when moving the focus away from it via keyboard-navigation.
1580
1581         * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
1582         parameter "gboolean with_delay" so GtkMenuShell can control this
1583         for the different scenarios of submenu showing.
1584
1585         (_gtk_menu_item_popdown_submenu): new function. also needed by
1586         GtkMenuShell for closing submenus on click.
1587
1588         Renamed internal function gtk_menu_item_select_timeout() to
1589         gtk_menu_item_popup_timeout().
1590
1591         (gtk_menu_item_real_popup_submenu): new utility function which
1592         does the actual popup and records the exact time of the popup when
1593         the menu was timeout-opened (using g_get_current_time()).
1594
1595         (gtk_real_menu_item_select): don't add the popup timeout when in
1596         touchscreen mode.
1597
1598         * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
1599         first item of every opened menu.
1600
1601 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1602
1603         * gtk/gtkfilechooserentry.c: Append a '/' to directory names
1604         in the completion popup.  (#431323, Maarten Maathuis)
1605
1606 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1607
1608         * demo/gtk-demo/combobox.c: Add a simple validation demo. 
1609         * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
1610         children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
1611
1612 2007-04-26  Tor Lillqvist  <tml@novell.com>
1613
1614         * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
1615         (gtk_input_dialog_fill_keys): Remove old child of scrolled window
1616         before adding a new one when switching what input device is being
1617         handled. (#399425)
1618
1619 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1620
1621         * modules/printbackends/lpr/gtkprintbackendlpr.c
1622         (gtk_print_backend_lpr_init): Mark the printer list as done. 
1623         (#428665, Bogdan Gheorghe)
1624
1625 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1626
1627         * Makefile.am:
1628         * gtk/Makefile.am: Don't install UNIX-printing headers and
1629         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
1630
1631 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1632
1633         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
1634         unnamed separators.  (#369112, Christian Persch)
1635
1636 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1637
1638         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
1639         invalid memory.  (#429732, Armin Burgmeier)
1640
1641 2007-04-26  Cody Russell  <bratsche@gnome.org>
1642
1643         * gdk/win32/xcursors.h:
1644         * gdk/win32/gdkcursor-win32.c:
1645
1646         Use Win32 native cursors instead of the ones built into GTK
1647         where it makes sense. (#128852, Tim Evans)
1648
1649 2007-04-25  Cody Russell  <bratsche@gnome.org>
1650
1651         * gdk/gdkwindow.h:
1652         * gtk/gtkwidget.c:
1653         * gtk/gtkhandlebox.c:
1654         * gdk/directfb/gdkwindow-directfb.c:
1655         * gdk/linux-fb/gdkwindow-fb.c:
1656         * gdk/quartz/gdkwindow-quartz.c:
1657         * gdk/win32/gdkwindow-win32.c:
1658         * gdk/x11/gdkwindow-x11.c:
1659         Added window type hint and implement drop shadows on Win32
1660         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
1661
1662 2007-04-25  Jakub Steiner <jimmac@ximian.com>
1663
1664         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
1665                 gtk-close as per discussion in bug #431740.
1666
1667 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1668
1669         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
1670         of the header window again.  (#431067, Benjamin Berg)
1671
1672 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1673
1674         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
1675         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
1676         depends on it. 
1677
1678         * tests/testicontheme.c: Report builtin icons.
1679
1680 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1681
1682         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
1683         crash if end_run is not set.  (#424168, Matthias Hasselmann)
1684
1685 2007-04-25  Michael Natterer  <mitch@imendio.com>
1686
1687         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
1688         scroll buttons (we were setting the state to ACTIVE but
1689         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
1690         of many separate calls to gdk_window_invalidate_rect() by
1691         remembering the old button state and only invalidating the area if
1692         the state has changed (addresses parts of bug #433242, Tommi
1693         Komulainen).
1694
1695         (gtk_menu_scroll_to): change the arrow states only if changing
1696         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
1697         state set by above function.
1698
1699 2007-04-25  Michael Natterer  <mitch@imendio.com>
1700
1701         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
1702         build. Dunno if the fix is right, but I think it is.
1703
1704 2007-04-25  Kristian Rietveld  <kris@imendio.com>
1705
1706         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1707         cleanup/refactor some leftover code.
1708
1709 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
1710
1711         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
1712         half-open ranges like -2 or 3-, and be a bit more liberal
1713         about whitespace.
1714         (dialog_set_page_ranges): Support half-open ranges.
1715
1716         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
1717         number of pages in half-open ranges.
1718         (preview_iface_is_selected): Support half-open ranges here, too.
1719
1720 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
1721
1722         * gtk/gtkicontheme.c (scan_directory): Ensure the 
1723         icon_theme->all_icons and dir->icons hash tables use the same string
1724         as their keys. (#418531)
1725
1726 2007-04-23  Cody Russell  <bratsche@gnome.org>
1727         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
1728         left-most tab when notebooks are top-oriented.  Also general cleanup of
1729         notebook tab related code.  (Lieven van der Heide, Cody Russell)
1730
1731 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
1732
1733         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
1734         the amount of debug spew if we are not debugging.
1735         
1736 2007-04-23  Michael Natterer  <mitch@imendio.com>
1737
1738         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
1739         testtoooltips_SOURCES -> testtooltips_SOURCES.
1740
1741 2007-04-19  Cody Russell <bratsche@gnome.org>
1742
1743         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
1744         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
1745
1746 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
1747
1748         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
1749         non-WinXP rendering paths. From Daniel Atallah (#403470)
1750         
1751 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
1752
1753         * gtk/gtkicontheme.h:
1754         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
1755         icon lookup flag and implement it.  (#396901, Luca Ferreti)
1756         
1757 2007-04-18  Richard Hult  <richard@imendio.com>
1758
1759         * gdk/quartz/gdkwindow-quartz.c:
1760         (gdk_window_quartz_process_updates_internal),
1761         (gdk_window_quartz_process_all_updates),
1762         (gdk_window_impl_quartz_process_updates): Refactor the process 
1763         updates functions to share code between them. Also fixes bug 
1764         #427660 by not updating larger regions than necessary.
1765
1766 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
1767
1768         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
1769         of nRects == 0 correctly.  
1770         
1771 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
1772
1773         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
1774         a leak by not increasing the refcount of the GtkRecentInfo
1775         object when returning it (thanks to Matthias Clasen).
1776
1777 2007-04-16  Alexander Larsson  <alexl@redhat.com>
1778
1779         * gtk/gtkprintoperation.c (gtk_print_operation_run):
1780         Make async print preview work by actually starting
1781         the print process in that case (#424168)
1782
1783 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
1784
1785         * gtk/gtkselection.c (selection_get_text_plain): fixed
1786         wrong g_convert_with_fallback() call which caused
1787         gtk_selection_data_get_text() return invalid UTF-8 for
1788         non-ASCII text in text/plain selection (#382824).
1789
1790 2007-04-12  Jakub Steiner <jimmac@ximian.com>
1791
1792         * gtk/stock-icons/*: update the stock icons to follow the Tango
1793                 style guidelines
1794
1795 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
1796
1797         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
1798         * gtk/gtkstock.c (gtk_stock_list_ids):
1799             Switch over to use glib's new g_hash_table_get_keys() rather
1800             than our own static implementation.
1801
1802         * gtk/gtkiconfactory.h: Update to return a GList.
1803
1804         * configure.in: Bump required version to 2.13.1
1805
1806 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1807
1808         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
1809           setup and shutdown function by mutexes and read the wakeup
1810           pipe unconditionally and unblocking. This should make the main
1811           loop always be woken up when using g_idle_add() from another
1812           thread in the Quartz backend (#425271).
1813
1814 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
1815
1816         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
1817         to return a Bool to indicate success. Update callers and 
1818         implementors. Based on a patch by Owen Taylor.
1819         
1820         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
1821         leak a reference to gdkwin.
1822
1823 2007-04-07  Xan Lopez  <xan@gnome.org>
1824
1825         * gtk/gtknotebook.c (gtk_notebook_class_init): 
1826         s/arrow-size/arrow-spacing in the arrow-spacing
1827         style property docs.
1828
1829 2007-04-06  Richard Hult  <richard@imendio.com>
1830
1831         * gdk/quartz/: Clean up namespaces to make the code more
1832         maintainable.
1833
1834         * gdk/quartz/gdkdrawable-quartz.c:
1835         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
1836         images, by setting the pattern phase for the CG pattern.
1837
1838 2007-04-04  Kristian Rietveld  <kris@imendio.com>
1839
1840         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
1841         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
1842         (gtk_tooltip_start_delay): use new gdk_threads API.
1843
1844 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
1845
1846         * gtk/gtksettings.c (settings_update_font_options): Don't set
1847         metrics-hinting font option.  Rely on the default value which is
1848         on for all raster cairo surfaces. (#425985)
1849
1850 2007-04-03  Loïc Minier  <lool@dooz.org>
1851
1852         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
1853         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
1854         Simon McVittie; #425786.
1855
1856 2007-04-02  Michael Natterer  <mitch@imendio.com>
1857
1858         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
1859         artifact from the time when type checking casts warned on NULL,
1860         some whitespace cleanup.
1861
1862 2007-04-01  Cody Russell  <bratsche@gnome.org>
1863
1864         * modules/engines/ms-windows/msw_style.c: Fix rendering of
1865         notebook tabs when they are bottom-oriented.  Fixes #399253.
1866
1867 2007-03-31  Elijah Newren  <newren gmail com>
1868
1869         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
1870           gdk_x11_window_set_user_time):
1871         Patch from Matthias to add support for the
1872         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
1873
1874         WARNING: This patch will make metacity <= 2.18.0 freeze on
1875         workspace switch.  This is due to a weird problem that should only
1876         affect window managers using gdk in-process for decoration drawing
1877         and which make an unsafe assumption relating to doing so (i.e. it
1878         should only affect metacity).  Upgrade your version of metacity if
1879         you hit this bug.
1880
1881 2007-03-29  Michael Natterer  <mitch@imendio.com>
1882
1883         Don't close menus on clicks on their border area (bug #423761).
1884         (modified patch from maemo-gtk).
1885
1886         * gtk/gtkmenu.c (gtk_menu_button_press)
1887         (gtk_menu_button_release): bail out early if the click was on the
1888         menu's border (not on any item and not outside the window).
1889
1890         (pointer_in_menu_window): new utility function which checks if
1891         passed root coords are inside the menu_shell or one of its
1892         parent shells.
1893
1894 2007-03-29  Michael Natterer  <mitch@imendio.com>
1895
1896         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
1897         gtk_widget_get_settings() into the g_object_get() call. Some small
1898         indentation fixes.
1899
1900 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
1901
1902         * modules/printbackends/cups/gtkcupsutils.[hc]:
1903         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
1904         a patch by John Palmieri to make the cups print backend support
1905         raw printers.  
1906
1907 2007-03-28  Kristian Rietveld  <kris@imendio.com>
1908
1909         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
1910         tooltip_window, since this is handled by set_qdata_full() already.
1911         (#412001, Torsten Schoenfeld).
1912
1913 2007-03-27  Tor Lillqvist  <tml@novell.com>
1914
1915         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
1916
1917 2007-03-26  Christian Persch  <chpe@gnome.org>
1918
1919         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
1920
1921 2007-03-24  Kristian Rietveld  <kris@gtk.org>
1922
1923         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1924         calculate the depth with the corrected real_cell_area and don't
1925         subtract horizontal_separator/2.
1926
1927 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
1928
1929         * gtk-yes.png
1930         * gtk-no: More Tango love.
1931
1932 2007-03-23  Jakub Steiner <jimmac@ximian.com>
1933
1934         * gtk-dialog-authentication.svg
1935         * gtk-dialog-error.svg
1936         * gtk-dialog-info.svg
1937         * gtk-dialog-question.svg
1938         * gtk-dialog-warning.svg: Start with a Tango face-lift.
1939
1940 2007-03-23  Rodney Dawes  <dobey@novell.com>
1941
1942         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
1943
1944 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
1945
1946         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
1947         toggle whether to show hidden files.  (#344657, 
1948         Wouter Bolsterlee, Priit Laes, et al)
1949
1950 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
1951
1952         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1953         toggle the visibility of the location entry.  (#383354, 
1954         John Pye, patch by Carlos Garnacho)
1955
1956 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
1957
1958         * gtk/gtksettings.c (merge_color_scheme): Freeze property
1959         notification.
1960         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
1961         the gtk-color-scheme xsetting being unset.
1962
1963         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
1964         recursion locally.
1965
1966 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
1967
1968         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
1969
1970 2007-03-21  Rodney Dawes  <dobey@novell.com>
1971
1972         * gtk/gtk.symbols:
1973         * gtk/gtkicontheme.[ch]:
1974         * docs/reference/gtk/gtk-sections.txt:
1975         * tests/testicontheme.c:
1976         Add a new API call gtk_icon_theme_list_contexts so that one can
1977         choose icons from a theme by context (#420719)
1978         
1979 2007-03-21  Ross Burton  <ross@burtonini.com>
1980
1981         * gtk/gtktexttag.c:
1982         Document the ::event signal (#420703).
1983
1984 2007-03-20  Kristian Rietveld  <kris@gtk.org>
1985
1986         * gtk/gtktreeviewcolumn.c:
1987         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
1988
1989         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
1990         focus_to_cell parameter, rework to handle clamping columns which
1991         are bigger than the available page size better,
1992         (gtk_tree_view_key_press): remove code handling moving the focus
1993         to other column headers,
1994         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
1995         fix RTL support, don't wrap around when moving focus to other
1996         column headers, call gtk_tree_view_clamp_column_visible() instead
1997         of duplicating code,
1998         (gtk_tree_view_focus): only clamp the column visible when we are
1999         explicitly moving to another column header (fixes #399555, Charles
2000         Kerr),
2001         (gtk_tree_view_move_cursor_left_right): update call to
2002         gtk_tree_view_clamp_column_visible().
2003
2004 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
2005
2006         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
2007         about dialog.
2008
2009 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
2010
2011         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
2012         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
2013
2014 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
2015
2016         * modules/input/gtkimcontextmultipress.[hc]:
2017         * modules/input/im-multipress.conf:
2018         * modules/input/immultipress.c:
2019         * modules/input/README.multipress: Add the multipress input
2020         method.  (#417446, Johannes Schmid, Murray Cumming)
2021
2022         * modules/input/Makefile.am: Glue
2023
2024 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
2025
2026         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
2027         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
2028         failures gracefully. (#419171)
2029
2030 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
2031
2032         * gtk/gtkrecentaction.c (recent_chooser_set_property),
2033         (gtk_recent_action_set_property): Remove useless inlined
2034         function and propagate the properties to the GtkRecentChooser
2035         objects we create, instead of all the proxies.
2036
2037         (set_current_filter): Remove 'inline' marker.
2038
2039 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
2040
2041         Apply changes suggested by Michael Natterer. (#338843)
2042
2043         * gtk/gtkaction.h:
2044         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
2045         rename gtk_action_get_submenu() to gtk_action_create_menu().
2046
2047         * gtk/gtkrecentaction.c: Update for GtkAction change.
2048
2049         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
2050         also, use the menu from the GtkAction for both menuitem and
2051         toolitem nodes.
2052
2053 2007-03-16  Xan Lopez  <xan@gnome.org>
2054
2055         * gtk/gtkwidget.c: Fix documentation error in
2056         gtk_widget_set_redraw_on_allocate.
2057
2058 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
2059
2060         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
2061         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
2062         patch by Christian Persch)
2063
2064 2007-03-15  Federico Mena Quintero  <federico@novell.com>
2065
2066         Merged from gtk-2-10:
2067
2068         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
2069         PANGO_PIXELS() gives us device units, which are *points* in
2070         pangocairo's parlance, but we want actual pixels.  So, get the
2071         screen's resolution to compute the actual number of pixels.
2072         Fixes bug #418585.
2073
2074 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2075
2076         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
2077         unused GError; do not allocate GtkRecentData and use a variable
2078         on the stack. (#418673, Morten Welinder)
2079
2080 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2081
2082         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
2083         actions providing a menu item or a menu tool button with already
2084         a submenu should return the GtkMenu widget.
2085
2086         * gtk/gtkuimanager.c (update_node): If an action provides its
2087         own submenu, use it instead of adding an empty one
2088
2089         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
2090         implementing the GtkRecentChooser interface for displaying the
2091         list of recently used files into menus and toolbars generated
2092         using GtkUIManager. (#338843)
2093
2094         * gtk/Makefile.am:
2095         * gtk/gtk.h:
2096         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
2097
2098         * tests/testactions.c: Exercise the GtkRecentAction API.
2099
2100 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
2101
2102         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
2103         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
2104         from recursion, which can happen for example if the app tries to
2105         reload an icon from within a theme-changed handler. (#418531)
2106
2107 2007-03-15  Richard Hult  <richard@imendio.com>
2108
2109         * gdk/quartz/gdkmain-quartz.c: Add stubs for
2110         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
2111         here too.
2112
2113 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2114
2115         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
2116         Welinder)
2117
2118 2007-03-15  Tor Lillqvist  <tml@novell.com>
2119
2120         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
2121         gdk_window_set_startup_id.
2122
2123         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
2124
2125 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2126
2127         * gtk/gtkrecentchooserprivate.h:
2128         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
2129         files list into the shared implementation; do the filtering
2130         before the sorting, so that we always clamp on the desired
2131         size. (#418219)
2132
2133         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
2134         list, as it's already been done.
2135
2136         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
2137         GtkTreeModelFilter: just reload the view if the sorting and
2138         filtering properties change.
2139
2140         * gtk/testrecentchoosermenu.c: Exercise the limit property.
2141
2142 2007-03-14  Michael Natterer  <mitch@imendio.com>
2143
2144         Make gtk_widget_set_extension_events() work on already realized
2145         widgets (bug #379550, Tommi Komulainen)
2146
2147         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
2148         called multiple times without leaking and work correctly when
2149         already realized (don't rely on a configure event following).
2150
2151         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
2152         internal function which walks the GdkWindow tree and sets the
2153         extension events on all windows that belong to the widget.
2154
2155         (gtk_widget_realize)
2156         (gtk_widget_set_extension_events): use the new function.
2157
2158 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
2159
2160         Various clean ups in the GtkRecent code. (see #338843)
2161
2162         * gtk/gtkrecentchooserdefault.c:
2163         * gtk/gtkrecentchoosermenu.c:
2164         * gtk/gtkrecentchooserprivate.h:
2165         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
2166         for getting the sorted and clamped list of recent files from the
2167         manager outside the implementations.
2168
2169         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
2170         the list when the sorting order changes.
2171
2172         (gtk_recent_chooser_default_dispose),
2173         (gtk_recent_chooser_default_finalize): Move object unref and
2174         source removal from finalize to dispose.
2175
2176         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
2177         prerequisite for the GtkRecentChooser interface implementations,
2178         from GtkObject to GObject.
2179
2180         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
2181         G_PARAM_*
2182
2183 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
2184
2185         Apply patch by Vytautas Liuolia for changing the startup
2186         notification id on a window in the X11 backend. (#347375)
2187
2188         * gdk/gdk.h:
2189         * gdk/gdkx.h:
2190         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
2191         and gdk_x11_display_get_startup_notification_id().
2192
2193         * gdk/gdkwindow.h:
2194         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
2195
2196         * gtk/gtkwindow.h:
2197         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
2198         change the startup notification id.
2199         
2200         (gtk_window_class_init), (gtk_window_init),
2201         (gtk_window_set_property): Add write-only "startup-id" property
2202         to GtkWindow.
2203
2204         (gtk_window_realize): Set the startup notification id
2205         on a GtkWindow if it's valid.
2206
2207         (gtk_window_map): If we have another valid startup notification
2208         id then finish the notification process.
2209
2210 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
2211
2212         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2213         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
2214
2215 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2216
2217         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
2218         docs.  (#345844, Torsten Schoenfeld)
2219
2220         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
2221         * gdk/gdkwindow.c (gdk_window_add_filter): Add
2222         cross-references.  (#351252, Vincent Untz)
2223
2224         * gtk/gtkprintoperation.c: Fix an oversight in an
2225         example.  (#381083, Ian Puleston)
2226
2227         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
2228
2229 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2230
2231         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
2232         the background of the panel window on style changes. (#402144,
2233         Benjamin Berg)
2234
2235 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2236
2237         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
2238         an obsolete comment.  (#402169, Xan Lopez)
2239
2240 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2241
2242         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
2243         Don't copy PangoLanguage.  (#340031, Morten Welinder)
2244
2245 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2246
2247         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
2248         Handle the row reference path being NULL.  (#410565, Joe Markus
2249         Clarke, patch by Chris Wilson)
2250
2251 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
2252
2253         * tests/testiconview.c: Handle Menu key presses without
2254         crash.  (#385637, Christian Persch)
2255
2256 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
2257
2258         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
2259         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
2260
2261 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
2262
2263         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
2264         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
2265         
2266 2007-03-12  Kristian Rietveld  <kris@gtk.org>
2267
2268         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
2269         bail out if current_folder is NULL. (#350988, lots of reporters,
2270         modified patch by Jan Darmochwal).
2271
2272 2007-03-10  Kristian Rietveld  <kris@gtk.org>
2273
2274         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
2275         hide the search dialog and send focus events if the search dialog
2276         is currently visible.
2277
2278 2007-03-10  Richard Hult  <richard@imendio.com>
2279
2280         * gdk/quartz/gdkdrawable-quartz.c:
2281         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
2282         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
2283         surface API (#410442). Don't lock focus unless called outside of an 
2284         expose event.
2285         (gdk_quartz_drawable_release_context): Only flush the CG context and 
2286         unlock focus if called outside of expose.
2287         (_gdk_quartz_drawable_finish): New function, used to free the cached
2288         cairo surface.
2289
2290         * gdk/quartz/gdkwindow-quartz.c:
2291         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
2292         (_gdk_window_impl_quartz_get_type): No need to make the type info
2293         static.
2294         (gdk_window_quartz_process_all_updates): Move the autorelease pool
2295         allocation and freeing outside the loop.
2296         (_gdk_windowing_window_destroy): Finish the drawable.
2297         (move_resize_window_internal): Small cleanup and remove comment.
2298
2299         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
2300
2301 2007-03-10  Richard Hult  <richard@imendio.com>
2302
2303         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
2304         a build warning.
2305
2306 2007-03-10  Richard Hult  <richard@imendio.com>
2307
2308         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
2309
2310 2007-03-10  Richard Hult  <richard@imendio.com>
2311
2312         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
2313
2314 2007-03-10  Richard Hult  <richard@imendio.com>
2315
2316         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
2317         the font name here, leave that to themes, fixes #387508.
2318
2319 2007-03-10  Kristian Rietveld  <kris@gtk.org>
2320
2321         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
2322         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
2323         element, also (un)ref its parent elements. (Fixes #364946,
2324         reported by many, testcase by Andreas Koehler).
2325
2326 2007-03-10  Matthias Clasen <mclasen@redhat.com>
2327
2328         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
2329         field of PrintResponseData.  (#396703, Christian Persch)
2330
2331         * tests/print-editor.c: Plug some leaks.
2332
2333 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2334
2335         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
2336         Get rid of the unused event argument. Update all callers.
2337
2338         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
2339         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
2340
2341 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2342
2343         * modules/input/gtkimcontextxim.c 
2344         (gtk_im_context_xim_filter_keypress): Don't commit
2345         modifier-adorned characters.  (#331369, #335796, Lin Ma
2346         and others)
2347
2348 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2349
2350         * Everywhere: Remove unnecessary NULL checks before
2351         g_free().  (#369666, Morten Welinder, Djihed Afifi)
2352
2353         * configure.in: Check for ftw.h
2354
2355 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2356
2357         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
2358         C99isms.  (#416525, Kazuki Iwamoto)
2359
2360 2007-03-09  Tor Lillqvist  <tml@novell.com>
2361
2362         * README.win32: Update.
2363
2364 2007-03-08  Matthias Clasen <mclasen@redhat.com>
2365
2366         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
2367         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
2368         Sebastian Dröge)
2369
2370 2007-03-08  Matthias Clasen <mclasen@redhat.com>
2371
2372         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2373         Set child visibility to FALSE here; it will be turned
2374         back on in switch_page.  (#413664, Carlos Garnacho)
2375         
2376 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2377
2378         * modules/engines/ms-windows/msw_style.c: Use proper border style
2379         when drawing shadow of scrolled windows on Windows XP (#168326)
2380         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
2381         element_part_map array to ensure it always is large enough.
2382         
2383 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
2384
2385         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
2386         property of GtkEntry accordingly, unify size-allocation of toggle
2387         button (#411123, patch from Mathias Hasselmann).
2388         * gtk/gtkentry.c: Add shadow-type property. Query style properties
2389         on style changes only (#411123, patch from Mathias Hasselmann).
2390         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
2391         hack as GtkComboBox emits drawing requests now (#411123, patch 
2392         from Mathias Hasselmann).
2393         
2394 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2395
2396         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
2397         by implementing a scrollbars-within-bevel style property. (#168326)
2398         
2399 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2400
2401         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
2402         stored in the current theme with the name
2403         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
2404         icons as reported by SHGetFileInfoW. (#412221)
2405
2406 2007-03-07  Matthias Clasen <mclasen@redhat.com>
2407
2408         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
2409         focus around the arrow if there is no label widget.  
2410         (#124045, Cody Russell)
2411
2412 2007-03-07  Matthias Clasen <mclasen@redhat.com>
2413
2414         * gtk/gtkcombo.c: (gtk_combo_init):
2415         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
2416         (gtk_combo_box_menu_setup):
2417         Set names on the popup widgets to make them themable. (#414975, 
2418         Benjamin Berg)
2419
2420 2007-03-07  Michael Natterer  <mitch@imendio.com>
2421
2422         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
2423         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
2424         empty finalize() implementation, some cosmetic cleanup
2425         (bug #415645).
2426
2427 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
2428
2429         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
2430         (do_theme_change), (gtk_icon_theme_set_custom_theme),
2431         (load_themes):
2432         Be careful not to trigger a style reset before we have loaded
2433         the icon theme. (#414875).
2434
2435 2007-03-06  Tor Lillqvist  <tml@novell.com>
2436
2437         * gdk/Makefile.am
2438         * gtk/Makefile.am: Further fixes for building on Win32 outside
2439         srcdir. (#413492, Mathias Hasselmann)
2440
2441 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
2442
2443         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
2444         fixed.
2445
2446 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
2447
2448         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
2449         breaking the build.
2450
2451 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
2452
2453         * configure.in: Added be@latin to ALL_LINGUAS
2454
2455 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
2456
2457         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
2458
2459 2007-03-01  Matthias Clasen <mclasen@redhat.com>
2460
2461         * gtk/gtksettings.c: Always store gtk-color-scheme
2462         values from all sources in the ColorSchemeData struct
2463         and ignore the property_value for gtk-color-scheme.
2464         This fixes #412596, reported by Thomas Wood.
2465
2466 2007-02-28  Matthias Clasen <mclasen@redhat.com>
2467
2468         * gtk/gtksettings.c: Make color scheme update properly
2469         when changing themes.  (#402131, Benjamin Berg)
2470
2471 2007-02-28  Matthias Clasen <mclasen@redhat.com>
2472
2473         * gtk/gtkrc.c: Don't leak references to the color-hash 
2474         gotten from GtkSettings.  (#409357, Benjamin Berg)
2475
2476 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
2477
2478         * gtk/gtkradiobutton.c: Fixed a warning from
2479         g_object_set (radiobutton, "group", NULL, NULL).
2480
2481 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2482
2483         Apply a patch by Carlos Garnacho to fix several problems
2484         with filechooser size handling (#325477, #151169, 143213,
2485         #153785)
2486
2487         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
2488         (browse_widgets_create): Don't force the paned position to 200.
2489         (find_good_size_from_style): Take the size of the extra widget
2490         into account.
2491
2492         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
2493         Accept a minimal width parameter. Update all callers.
2494
2495 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2496
2497         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
2498         which is more accurate, suggested by Tim Waugh. String change! 
2499
2500 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2501
2502         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
2503         print-to-file work. Reported by Ian Collier.
2504
2505 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
2506
2507         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
2508
2509         * gtk/gtkicontheme.c: (scan_directory):
2510                 Reorder the replacement of the shared base_name key, so that we
2511                 avoid dereferencing the string in the icon_theme->all_icon
2512                 hash table after freeing it from the dir->icons hash table.
2513
2514 2007-02-26  Tor Lillqvist  <tml@novell.com>
2515
2516         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
2517         comment clarifying that "icon name" here is not related to the
2518         freedesktop.org icon naming stuff.
2519
2520 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
2521
2522         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
2523         progress bar on windows classic. Match from Mathias Hasselmann.
2524         
2525 2007-02-19  Tor Lillqvist  <tml@novell.com>
2526
2527         * gdk/win32/gdkinput.c
2528         (gdk_device_finalize, gdk_device_class_init): Remove.
2529         (gdk_device_get_type): Drop class init function. The X11 version
2530         doesn't have one either.
2531         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
2532         (gdk_display_list_devices): Check that the argument is
2533         _gdk_display.
2534
2535         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
2536         Cleanup: remove unused fields.
2537         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
2538         names in a few debugging printouts.
2539
2540 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
2541
2542         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
2543         Ignore invisible text when going to end of the previous line.
2544         (#382565)
2545
2546 2007-02-18  Richard Hult  <richard@imendio.com>
2547
2548         * gdk/quartz/gdkwindow-quartz.c:
2549         (gdk_window_quartz_process_all_updates),
2550         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
2551         patch from Erik van Pienbroek, fixes bug #396649.
2552
2553 2007-02-18  Richard Hult  <richard@imendio.com>
2554
2555         * gdk/quartz/gdkevents-quartz.c: Add stub for 
2556         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
2557         bug #405870.
2558
2559         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
2560
2561 2007-02-18  Richard Hult  <richard@imendio.com>
2562
2563         * gdk/quartz/GdkQuartzView.h:
2564         * gdk/quartz/GdkQuartzWindow.h:
2565         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
2566         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
2567         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
2568         on panther, patch from Mathias Hasselmann.
2569         
2570         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
2571
2572 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
2573
2574         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
2575         instead of division. (#334617)
2576
2577 2007-02-16  Kristian Rietveld  <kris@gtk.org>
2578
2579         * gtk/gtktreeprivate.h: add cursor_offset field.
2580
2581         * gtk/gtktreeview.c (gtk_tree_view_init),
2582         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
2583         in page up/down handling by memorizing the offset into the cursor
2584         row.  (Fixes #399809, reported by Bruce Bowler).
2585
2586 2007-02-16  Kristian Rietveld  <kris@gtk.org>
2587
2588         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
2589         a focus-in event to the tree view after hiding the search dialog.
2590         (#356515, Rich Burridge, Peter Parente).
2591
2592 2007-02-16  Kristian Rietveld  <kris@imendio.com>
2593
2594         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
2595         keyboard tooltips. (#408325, Matthias Clasen).
2596
2597 2007-02-16  Xan Lopez  <xan@gnome.org>
2598
2599         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
2600         in expose event handler. Reviewed by Matthias Clasen, #406112
2601
2602 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
2603
2604         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
2605         Maraas)
2606
2607 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2608
2609         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
2610         careful when checking for ButtonRelease events that end implicit
2611         grabs.  (#386618, Christof Krüger)
2612
2613 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2614
2615         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
2616         even if there are no views.  (#408018, Albert Huang)
2617
2618 2007-02-15  Cody Russell  <bratsche@gnome.org>
2619
2620         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
2621         iterations while we're resizing so that the window contents are resized 
2622         more smoothly (#389765).
2623
2624         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
2625         are resized (#310522).
2626
2627 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2628
2629         * gtk/updateiconcache.c: Handle symlinked .icon files 
2630         intelligently; also avoid storing duplicate strings.
2631
2632 2007-02-15  Michael Natterer  <mitch@imendio.com>
2633
2634         * gtk/gtkmenushell.c: remove two antique function typedefs that
2635         are probably obsolete for ages.
2636
2637 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
2638
2639         reviewed by: Matthias Clasen  <mclasen@redhat.com>
2640
2641         * configure.in: determine installation prefixes of dependent libs to
2642         crossreference docs (#407146).
2643
2644 2007-02-14  Kristian Rietveld  <kris@imendio.com>
2645
2646         * gtk/gtktooltip.c (child_location_foreach): check return value
2647         of gtk_widget_translate_coordinates() so we cannot end up
2648         using uninitialized x, y values.  (#407863, patch from Carlos
2649         Garnacho).
2650
2651 2007-02-14  Kristian Rietveld  <kris@imendio.com>
2652
2653         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
2654         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
2655         position instead of a hardcoded value.  (Taken from maemo-gtk).
2656
2657 2007-02-14  Michael Natterer  <mitch@imendio.com>
2658
2659         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
2660         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
2661         maemo-gtk.
2662
2663 2007-02-13  Kristian Rietveld  <kris@imendio.com>
2664
2665         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
2666         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2667
2668 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
2669
2670         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
2671         remove some type checking; use better variable naming for the
2672         internal menu item markers.
2673
2674 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
2675
2676         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
2677         and appending custom menu items.
2678
2679         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
2680         item for the empty menu case, and for giving us a starting
2681         point for the recent items populating process.
2682
2683         (gtk_recent_chooser_menu_insert_item),
2684         (gtk_recent_chooser_menu_dispose_items): Insert an item at
2685         the position following the placeholder (and find that position
2686         if needed).
2687
2688         (idle_populate_func), (idle_populate_clean_up): Show the
2689         placeholder menu item, instead of creating one each time.
2690
2691         (gtk_recent_chooser_menu_populate): Kill some indirections
2692         and hide the placeholder before populating the menu.
2693
2694         (set_recent_manager): Remember to remove the idle population
2695         source if the manager changes.
2696
2697         * tests/testrecentchoosermenu.c: Test the appending and
2698         prepending of the menu items to the recent chooser menu
2699         widget.
2700
2701 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
2702
2703         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
2704         of the displayed items to build the menu items mnemonic instead
2705         of the overall item count. (#377164)
2706
2707         (idle_populate_clean_up): Append a menu item if all the items
2708         got filtered in the idle populate function. (#405696)
2709
2710         * tests/Makefile.am:
2711         * tests/testrecentchoosermenu.c: Add a test for the
2712         GtkRecentChooserMenu widget.
2713
2714 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
2715
2716         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
2717         GtkButtonBox (bug #336159).
2718
2719         * gtk/gtkenums.h:
2720         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
2721         support GTK_BUTTONBOX_CENTER.
2722
2723         * tests/testbbox.c: new button box test, which allows testing of 
2724         the various button box properties.
2725
2726         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
2727
2728 2007-02-07  Cody Russell  <bratsche@gnome.org>
2729
2730         * gdk/gdk.symbols: Add gdk_event_request_motions
2731
2732 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
2733
2734         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
2735         condition which was wrongly ported with my last commit.
2736
2737 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
2738
2739         * gtk/gtktextview.c (gtk_text_view_motion_event):
2740         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
2741         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
2742         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
2743         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
2744         * gtk/gtkentry.c (gtk_entry_motion_notify):
2745         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
2746         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
2747         for new motion events after receiving motion hints.
2748
2749         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
2750
2751 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2752
2753         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2754         remove unused get of has_tooltip.
2755
2756         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
2757         portable g_snprintf instead of snprintf.
2758
2759 2007-02-06  Michael Natterer  <mitch@imendio.com>
2760
2761         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
2762
2763         (gtk_tooltip_show_tooltip): move variables and code to local
2764         scope. Fixes warnings about maybe uninitialized variables.
2765
2766 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2767
2768         New tooltips API.
2769
2770         * gtk/Makefile.am
2771         * gtk/gtk.h
2772         * gtk/gtk.symbols: build system foo.
2773
2774         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
2775         hook for appropriate events.
2776
2777         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
2778
2779         * gtk/gtkrc.c: add style for gtk-tooltip.
2780
2781         * gtk/gtksettings.c (gtk_settings_class_init): make the
2782         different tooltip timeouts configurable.
2783
2784         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
2785         tooltips are hidden on unmap, destroy, update window event
2786         mask on realize, hook into focus change and show help
2787         handlers.
2788
2789         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
2790
2791         * gtk/gtktooltip.[ch]: new files.
2792
2793         * tests/Makefile.am
2794         * tests/testtooltips.c: add test application.
2795
2796 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
2797
2798         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
2799         by prematurely releasing a DC. By Hiroyuki Yamamoto
2800         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
2801         pixbufs when drawing rotated tabs. By Daniel Atallah
2802         
2803 2007-02-05  Michael Natterer  <mitch@imendio.com>
2804
2805         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
2806         and gtk-enable-mnemonics which enable/disable accelerators and
2807         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
2808
2809         * gtk/gtkwindow.c (gtk_window_activate_key)
2810         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
2811         if the resp. setting is FALSE.
2812
2813         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
2814         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
2815         them if the setting is FALSE.
2816
2817         * gtk/gtklabel.c: added signal connection to the screen's settings
2818         object and traverse all widgets on the screen when the setting
2819         changes. It's slightly ugly to also update GtkAccelLabels here,
2820         but less ugly than connecting and traversing all widgets twice.
2821
2822 2007-02-05  Michael Natterer  <mitch@imendio.com>
2823
2824         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
2825         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2826         ansi C enum value limits. Fixes bug #46757.
2827
2828 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
2829
2830         * gtk/gtksequence.[ch]: Remove these files since GSequence has
2831         been moved into GLib.
2832
2833         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
2834
2835         * configure.in: Require glib-2.13.0
2836         
2837 2007-02-04  Tor Lillqvist  <tml@novell.com>
2838
2839         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
2840         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
2841
2842 2007-02-02  Kristian Rietveld  <kris@gtk.org>
2843
2844         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
2845         style_get of vertical-separator. (#403165, Chris Wilson).
2846
2847 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
2848
2849         * gtk/gtkfilechoosersettings.c: (get_config_filename),
2850         (ensure_settings_read), (_gtk_file_chooser_settings_init),
2851         (_gtk_file_chooser_settings_set_show_hidden),
2852         (_gtk_file_chooser_settings_set_expand_folders),
2853         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
2854         markup file. Bug #399592.
2855
2856 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
2857
2858         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
2859         be a little more helpful with the docs on GtkCellRendererText:alignment.
2860         Bug #403409.
2861
2862 2007-02-01  Michael Natterer  <mitch@imendio.com>
2863
2864         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
2865         gtk_paint_box() calls.
2866
2867 2007-02-01  Michael Natterer  <mitch@imendio.com>
2868
2869         * gtk/gtkmenu.c (gtk_menu_button_press)
2870         (gtk_menu_button_release)
2871         (gtk_menu_button_scroll): remove redundant and confusing
2872         if (GTK_IS_MENU (widget)) checks because "widget" is always a
2873         GtkMenu here.
2874
2875 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
2876
2877         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
2878         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
2879
2880 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
2881
2882         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
2883         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
2884         (gtk_about_dialog_set_artists),
2885         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
2886         there are no credits to show. Bug #402806.
2887
2888 2007-01-31  Tor Lillqvist  <tml@novell.com>
2889
2890         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
2891         function.
2892         (_gdk_input_wintab_init_check): Call it when debugging output is
2893         requested.
2894         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
2895         tablets. The Wacom driver reports duplicated cursors with
2896         physid==0. Fix verified by Robert Ögren.
2897
2898 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
2899
2900         * modules/printbackends/file/gtkprintbackendfile.c:
2901         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
2902
2903 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
2904
2905         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
2906         (gdk_x11_window_set_user_time): Be more careful about toplevel
2907         possibly being NULL.  (#402453, Sebastian Bacher)
2908
2909 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
2910
2911         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
2912         class_n_properties and leave an uninitialized value array behind.
2913
2914 2007-01-29  Michael Natterer  <mitch@imendio.com>
2915
2916         * gtk/gtkmenuitem.c (gtk_menu_item_select)
2917         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
2918         this menu item's menu, to enable themeing menu items depending on
2919         whether something is selected in their submenu (patch taken from
2920         maemo-gtk).
2921
2922 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2923
2924         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
2925         that was mistakenly "cleaned up" a while ago. Also
2926         revert a problematic change to the screen_changed
2927         handler.  (#401598, Søren Sandmann)
2928
2929 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2930
2931         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
2932         problem with large y thickness.  (#136592, Xan Lopez)
2933
2934 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2935
2936         * gtk/gtkaction.c (gtk_action_new): Use canonical
2937         property names.  
2938
2939 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2940
2941         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
2942         (gtk_notebook_draw_focus): Avoid some unnecessary 
2943         gtk_widget_get_style() calls.
2944
2945 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2946
2947         * gtk/gtktoolbar.c:
2948         * gtk/gtktoolitem.c:
2949         * gtk/gtktoolbutton.c: Rearrange things so that setting
2950         multiple properties causes not more than a single 
2951         reconstruction of the contents.
2952
2953         * gtk/gtkaction.c (connect_proxy): Set all tool button 
2954         properties in one go.
2955
2956 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2957
2958         * gtk/gtkstatusicon.c:
2959         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
2960         take up space on the panel if it is invisible.  (340110, Christian
2961         Persch)
2962
2963         * tests/teststatusicon.c:
2964         * tests/Makefile.am: Updates
2965
2966 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2967
2968         * gtk/gtkfilesel.h:
2969         * gtk/gtkrc.h:
2970         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
2971         and the old file selector.  (#348256)
2972
2973 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
2974
2975         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
2976
2977 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
2978
2979         * gtk/updateiconcache.c: Check the mtime of all directories,
2980         not just the toplevel, if ftw() is available.  (#331671, Behdad
2981         Esfahbod)
2982
2983         * configure.in: Check for ftw.h.
2984
2985 2007-01-26  Michael Natterer  <mitch@imendio.com>
2986
2987         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
2988         destroy the XIM only if it exists. While the code does look safe
2989         in general, there can be corner cases where the "reconnecting"
2990         boolean being FALSE does not correspond to the XIM being
2991         allocated (fixes #329450, fix taken from maemo-gtk).
2992
2993 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
2994
2995         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
2996         window bounds (fix from Maemo Gtk).
2997
2998 2007-01-26  Michael Natterer  <mitch@imendio.com>
2999
3000         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
3001         only block/unblock completion->priv->insert_text_id if it is
3002         actually connected. While this can't happen the way GtkEntry
3003         itself uses the completion, it's still public API and should not
3004         blindly call functions that will spit warnings (fix taken from
3005         maemo-gtk).
3006
3007 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
3008
3009         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
3010         the paintable iface.  
3011
3012 2007-01-24  Michael Natterer  <mitch@imendio.com>
3013
3014         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
3015         of PRELIGHT state for the reasons given in bug #135666. Widget
3016         states are sometimes abused or otherwise used wrongly for historic
3017         reasons, causing this part of the patch to break e.g. menu items.
3018
3019 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
3020
3021         * README: Remove mention of no-longer-existing PATCH
3022         keyword in bugzilla. (#396899)
3023
3024 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
3025
3026         * gtk/gtkpagesetup.c
3027         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
3028         Fixes bug #399907. 
3029
3030 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
3031
3032         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
3033
3034         * gtk/gtkstyle.h:
3035                 Cause gcc to issue a warning if the style returned from
3036                 gtk_style_attach is not used. Failure to update
3037                 widget->style causes some very difficult to reproduce bugs,
3038                 eg Bug 353498 – crash in Terminal: changing icon theme.
3039
3040 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
3041
3042         * gdk/directfb/gdkevents-directfb.c: added fixes for window
3043         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
3044
3045 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
3046
3047         * gtk/gtkcalendar.c: Fix build breakage.
3048
3049 2007-01-19  Kristian Rietveld  <kris@imendio.com>
3050
3051         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
3052         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
3053         add_scroll_timeout().  (taken from maemo-gtk).
3054
3055 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
3056
3057         * gtk/gtkcalendar.c: Fix problems with the initial
3058         focus in GtkCalendar.  (#397783, Vincent Untz)
3059
3060 2007-01-19  Robert Ögren  <gtk@roboros.com>
3061
3062         Fix for bug #143460 - missed tablet clicks on Windows
3063
3064         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
3065         Request absolute reporting of tablet button state, and cut down
3066         the packet queue size a bit.
3067         (_gdk_input_other_event): Change button state handling
3068         accordingly. Also drop the no longer necessary code that detects
3069         missed clicks/releases for button 1. The switch to absolute button
3070         state should prevent missed events for all buttons. Additionally,
3071         swap button 2 and 3.
3072         (_gdk_input_grab_pointer): Don't reset button_state, that will only
3073         cause a new press event as soon as the next tablet packet arrives.
3074
3075 2007-01-19  Tor Lillqvist  <tml@novell.com>
3076
3077         Build Wintab support always on Windows. Don't require the Wintab
3078         SDK.
3079
3080         * configure.in: Drop the --with-wintab option. Drop the
3081         HAVE_WINTAB feature test macro and Automake variable.
3082
3083         * acconfig.h
3084         * config.h.win32.in: Drop HAVE_WINTAB.
3085
3086         * gdk/win32/gdkevents-win32.c
3087         * gdk/win32/gdkinput.c
3088         * gdk/win32/gdkinput-win32.h
3089         * gdk/win32/gdkinput-win32.c
3090         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
3091         unconditional.
3092
3093         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
3094         to load wintab32.dll dynamically here. If it is found look up the
3095         handful Wintab functions we use.
3096         (rest of file): Use these function pointers instead of calling the
3097         functions from wntab32x.lib. The code in wntab32x.lib did the same
3098         thing anyway: tried to load wintab32.dll, and looked up the
3099         addresses of the actual functions from it.
3100
3101         * gdk/Makefile.am
3102         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
3103
3104         * gdk/win32/wintab.h
3105         * gdk/win32/pktdef.h: New files. Copied from the Wintab
3106         SDK. Copyright blurb says: "The text and information contained in
3107         this file may be freely used, copied, or distributed without
3108         compensation or licensing restrictions."
3109
3110         * README.win32: Update a bit. Remove the text about the Wintab
3111         SDK.
3112
3113 2007-01-18  Tor Lillqvist  <tml@novell.com>
3114
3115         * gdk-pixbuf/Makefile.am
3116         * gdk/Makefile.am
3117         * gdk/win32/Makefile.am
3118         * gtk/Makefile.am: Fixes for building outside srcdir on
3119         Win32. (#336819, #340013) Drop distributing the handmade .la
3120         libtool wrapper for the wntab32x library. It's too much trouble
3121         making it work when building outside srcdir. Just link to the
3122         library direcly using -Wl,win32/libwntab32x.a.
3123
3124 2007-01-18  Michael Natterer  <mitch@imendio.com>
3125
3126         * gtk/gtkcheckbutton.c
3127         * gtk/gtkdnd.c
3128         * gtk/gtkentry.c
3129         * gtk/gtkmenu.c
3130         * gtk/gtktreeview.c
3131         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
3132         functions. Based on a patch from maemo-gtk (bug #398023).
3133
3134 2007-01-17  Tor Lillqvist  <tml@novell.com>
3135
3136         * gtk-zip.sh.in: Include also the COPYING file.
3137
3138 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
3139
3140         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
3141         httpGetFd() when building against cups 1.1
3142
3143 2007-01-17  Tor Lillqvist  <tml@novell.com>
3144
3145         Proper fix for #396175:
3146
3147         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
3148         include gtkprivate.h. On Win32 we do want to use the redefinition
3149         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
3150
3151         * gtk/gtkimmodule.c: Instead, correct the prefix also on
3152         simple_context_info.domain_dirname. Do the prefix corrections
3153         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
3154         now they were done only in the autoconfiscated gcc builds. Hans
3155         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
3156         in MSVC builds now.
3157         (correct_localedir_prefix): New function, like
3158         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
3159         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
3160         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
3161         on the domain_dirname instead of correct_libdir_prefix().
3162         (_gtk_im_module_list): Call correct_localedir_prefix() on
3163         simple_context_info.domain_dirname.
3164
3165 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
3166
3167         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
3168         grab changes.  (#396470, Benjamin Berg)
3169
3170 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
3171
3172         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
3173         if they grow too much. (#357303)
3174
3175 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
3176
3177         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
3178         non-scalable dir, keep going and look for a closer match.
3179         (#395830, Luca Ferretti)
3180
3181 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
3182
3183         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
3184         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
3185         gtk_target_table_free instead of duplicating the code. Bug #396493.
3186
3187 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3188
3189         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
3190         positions can't be found.  (#396161, Hans Breuer)
3191
3192 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3193
3194         * gtk/gtkselection.c (_gtk_selection_request): Plug 
3195         memory leaks.  (#396160, Carlos Garcia Campos)
3196
3197 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3198
3199         * configure.in: Link libgtk against Xfixes.  (#396074,
3200         Tommi Komulainen)
3201
3202 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3203
3204         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
3205         a compiler warning.  (#395045, Chris Wilson)
3206
3207 2007-01-13  Hans Breuer <hans@breuer.org>
3208
3209         * gtk/gtkprintoperation-win32.c : take the custom tab label from
3210         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
3211
3212         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
3213         differing definitions of GTK_LOCALEDIR (bug #396175).
3214
3215         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
3216         not available everywhere
3217
3218         * gtk/makefile.msc.in : updated
3219
3220 2007-01-12  Michael Natterer  <mitch@imendio.com>
3221
3222         * gtk/gtkentry.c (gtk_entry_button_press): don't add
3223         entry->scroll_offset to entry->drag_start_y. Fixes the entry
3224         starting drags after ridiculously small mouse movements.
3225
3226 2007-01-11  Richard Hult  <richard@imendio.com>
3227
3228         * demos/gtk-demo/main.c: (load_file): Close the file after it's
3229         loaded (bug #395316).
3230
3231 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
3232
3233         * gtk/gtkfilesystemunix.c: (expand_tilde):
3234         Make a single tilde go to $HOME in the location entry.
3235         Patch from Yevgen Muntyan. Closes the gtk+ part of
3236         bug #334168.
3237
3238 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
3239
3240         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
3241         * gtk/gtklabel.c (gtk_label_size_request):
3242         Use pango_matrix_transform_rectangle(). (#340141)
3243
3244         * configure.in: Bump pango requirement to 1.15.3.
3245
3246 2007-01-10  Kristian Rietveld  <kris@imendio.com>
3247
3248         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
3249         refactor to initialize indicator_size to TOGGLE_WIDTH instead
3250         of the hardcoded value of 12.
3251
3252 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
3253
3254         * configure.in: Fix the directfb cairo test. (#394855, 
3255         Josselin Mouette)
3256
3257 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
3258
3259         * configure.in: Fix comment for --with-included-loaders.  That option
3260         affects builds with module loading enabled too.
3261
3262 2006-01-08  Peter Teichman  <peter@novell.com>
3263
3264         * gtk/gtkfilechooserdefault.c:
3265         * gtk/gtkfilechooserprivate.h:
3266         * gtk/gtkfilechoosersettings.c:
3267         * gtk/gtkfilechoosersettings.h:
3268         Save the expanded state of the folder browser with the file
3269         chooser settings.  Resolves the expander portions of (#153828,
3270         Lemmit Kaplinski)
3271
3272 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
3273
3274         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
3275         Don't leak the icon pixbuf after setting it to the image menu
3276         item.  Found by Paolo Borelli.
3277
3278 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
3279
3280         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
3281         corrupt memory when faced with paths with ridiculously
3282         large indices. Found by the GTKVTS test suite.  
3283
3284 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
3285
3286         * gtk/gtkmodules.c (_gtk_modules_init): Set 
3287         default_display_opened before loading modules.  (#393102,
3288         Brian Cameron)
3289  
3290 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
3291
3292         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
3293         Call text_window_realize() with the correct parameters.
3294         (#393813, Yevgen Muntyan)
3295
3296 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
3297
3298         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
3299         a bit.
3300
3301 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
3302
3303         * gtk/gtklabel.c: Make line wrapping work with width-chars
3304         and max-width-chars, and simplify the storage of wrap-width.
3305         (#322580, Itai Bar-Haim)
3306
3307 2007-01-06  Tor Lillqvist  <tml@novell.com>
3308
3309         * gdk/win32/cursor.bdf: New file. Downloaded from
3310         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
3311         "diamond_cross", "draft_large", "gobbler" and "target" to fix
3312         #392504. It is possible that the same end result could have been
3313         achieved by tweaking bdfcursor.c instead.
3314         
3315         * gdk/win32/bdfcursor.c: Add optional debugging output.
3316
3317         * gdk/win32/xcursors.h: Regenerated.
3318
3319 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
3320
3321         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
3322         menu labels.  (#393255, Michail Crayson)
3323
3324 2007-01-05  Kristian Rietveld  <kris@gtk.org>
3325
3326         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
3327         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
3328
3329 2007-01-05  Kristian Rietveld  <kris@gtk.org>
3330
3331         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
3332         invalidate nodes if the tree view is not realized. (#363147,
3333         Carlos Garnacho, Miguel Cabrera).
3334
3335 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
3336
3337         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
3338         account when drawing the background.  (#393166, Benjamin Berg)
3339
3340 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
3341
3342         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
3343         again.
3344
3345 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
3346
3347         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
3348         both scroll arrows when calculating size request in GTK_POS_LEFT or
3349         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
3350
3351 2007-01-05  Michael Natterer  <mitch@imendio.com>
3352
3353         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
3354         the right function (fix taken from maemo-gtk).
3355
3356 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
3357
3358         * gdk/gdkprivate.h:
3359         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
3360         (gdk_draw_layout_with_colors):
3361         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
3362         Avoid overflow when converting coordinates to Pango units. (#332266,
3363         Jody Goldberg)
3364
3365 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3366
3367         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
3368         after realization of the popup window, so clamp node doesn't fail.
3369         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
3370
3371 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
3372
3373         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
3374         variable.
3375
3376 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3377
3378         * gtk/Makefile.am:
3379         * gdk-pixbuf/Makefile.am:
3380         * configure.in:
3381         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
3382         (#392646, Yevgen Muntyan)
3383
3384 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3385
3386         * demos/gtk-demo/textscroll.c:
3387         * gtk/gtkhandlebox.c:
3388         * gtk/gtkcolorsel.c: Fix some compiler warnings.
3389
3390 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3391
3392         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
3393         by calling the input method regardless of editability,
3394         and beeping from the commit/preedit-changed handlers.
3395         (#390514, Yevgen Muntyan)
3396
3397 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3398
3399         Fix #332604, reported by Joe Wreschnig, patch
3400         by Jan Arne Petersen and Behdad Esfahbod.
3401
3402         * gtk/gtklabel.c (gtk_label_size_allocate): Only
3403         set the width of the layout when necessary.
3404         (get_layout_location): Use pango_layout_get_pixel_extents()
3405         instead of pango_layout_get_width().
3406
3407 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3408
3409         * modules/printbackends/cups/gtkprintbackendcups.c 
3410         (available_choices): Don't leak conflicts.
3411
3412         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3413         Don't leak the status string.
3414
3415 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3416
3417         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
3418         Exit early if we can't get file info - this happens
3419         if the iter points to the row where we are editing
3420         the name for a newly created folder.  (#392191, Michael
3421         Partridge, patch by Kristian Rietveld)
3422
3423 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3424
3425         * gtk/*.c:
3426         * gdk/x11/*.c: Apply a patch by Chris Wilson to
3427         avoid spurious valgrind warnings from XSendEvent() 
3428         calls.  (#392532)
3429
3430         * modules/printbackends/cups/gtkprintbackendcups.c: Close
3431         the http connection after getting the PPD.
3432
3433         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
3434         Fix memory leaks.  
3435
3436 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3437
3438         * gtk/gtkassistant.c (remove_page): If the current page
3439         is removed, always pick a different one.  (#392457, 
3440         Colin Watson)
3441
3442 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3443
3444         * modules/printbackend/cups/*.c: Coding style cleanups.
3445
3446 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3447
3448         * configure.in: Export SED to make sourcing of
3449         libtool work. Tighten up the directfb pkgconfig check.
3450
3451 2007-01-03  Michael Natterer  <mitch@imendio.com>
3452
3453         * gtk/gtkstyle.c (option_menu_get_props)
3454         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
3455         gtk_border_free when freeing borders.
3456
3457 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3458
3459         * gtk/gtkentry.c (get_text_area_size): Work when the
3460         entry is not realized.  (#392315, Yevgen Muntyan)
3461
3462         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
3463         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
3464
3465         * gtk/gtkentry.c (cursor_blinks): Don't get settings
3466         unnecessarily.  (#392227)
3467
3468 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3469
3470         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
3471         updates on the window at hand, not on all windows, to
3472         avoid violating resize/redraw ordering constraints.
3473         (#362406, Owen Taylor)
3474         
3475 2007-01-03  Kristian Rietveld  <kris@gtk.org>
3476
3477         * gtk/gtkcellrendererprogress.c
3478         (gtk_cell_renderer_progress_class_init): fix docs.
3479
3480 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3481         
3482         * gtk/updateiconcache.c: Include locale.h
3483
3484 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3485
3486         * gtk/updateiconcache.c (main): Call setlocale().
3487
3488         * gtk/gtkfilesel.c:
3489         * gtk/gtkfilesystemunix.c:
3490         * gtk/gtkfilesystemwin32.c:
3491         * gtk/gtkfilechoosersettings.c:
3492         * gtk/updateiconcache.c: Consistently use folder instead of
3493         directory in translated messages.  (#344584, Javier F. Serrador)
3494
3495 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3496
3497         Try to fix #315732, reported by Luke Hutchinson:
3498
3499         * gdk/x11/xsettings-client.[hc]:
3500         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
3501         will guarantee that it can be looked up in the xid hash later.
3502         Also, use the nesting server grab function during the xsettings
3503         client initialization. Finally, make xsettings client not
3504         eat DestroyNotifys so that GDK can do its regular cleanup. 
3505
3506 2007-01-02  Michael Natterer  <mitch@imendio.com>
3507
3508         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
3509         when a keybinding didn't change adjustment->value.
3510
3511 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3512
3513         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
3514         Try harder not to beep on events which are not meant to
3515         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
3516
3517 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3518
3519         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
3520
3521 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3522
3523         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
3524         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
3525
3526 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
3527
3528         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
3529
3530 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3531
3532         * gtk/gtkscrolledwindow.h:
3533         * gtk/gtkscrolledwindow.c: Only handle key bindings
3534         for scrolling if the scrollbars are visible.
3535         (#340135, Christian Persch)
3536
3537 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3538
3539         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
3540         Don't segfault on horizontal scrolling.  
3541
3542 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3543
3544         * gtk/gtknotebook.h:
3545         * gtk/gtknotebook.c: Only handle key bindings for
3546         tab reordering if the tabs are shown and reorderable. 
3547         (#390468, Yevgen Muntyan)
3548
3549         * gtk/gtkmarshalers.list: Add required marshaler
3550
3551 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3552
3553         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
3554         Mention in the docs that the return value is
3555         NULL-terminated.  (#383373, Christian Neumair)
3556
3557 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3558
3559         * gtk/gtkicontheme.c (load_themes): Waste less time
3560         with non-directories.  (#391725, Chris Wilson)
3561
3562 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3563
3564         * gtk/gtkcellrendererprogress.c: Implement activity mode
3565         for GtkCellRendererProgress.  (#377851, Brad Taylor)
3566
3567 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3568
3569         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
3570
3571         * modules/printbackends/cups/gtkcupsutils.c
3572         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
3573         IPP_TAG_OPERATION.
3574         * modules/printbackends/cups/gtkprintbackendcups.c
3575         (gtk_print_backend_cups_print_stream): Don't add the
3576         requesting-user-name attribute a second time. 
3577
3578 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3579
3580         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
3581
3582 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
3583
3584         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
3585         right object when disconnecting from the GtkRecentManager::changed
3586         signal; save us a few indirections using a variable.
3587
3588 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
3589
3590         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
3591         disconnections into the dispose function, as well as the
3592         object unrefs; reset every handler id and the
3593         pointers. (suggested by Paolo Borelli, #390873)
3594
3595 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
3596
3597         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
3598         Kazuki Iwamoto)
3599
3600 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3601
3602         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
3603         scroll timeout.  (#390872, Yevgen Muntyan)
3604
3605 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3606
3607         * gtk/gtkprintoperation-unix.c:
3608         * gtk/gtkprintbackend.c:
3609         * gtk/gtkfilechooserdefault.c:
3610         * gtk/gtksettings.c: Move a few settings to gtksettings.c
3611         to make sure they show up in the docs.  (#365364, Christian
3612         Persch)
3613
3614 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3615
3616         * gtk/gtkassistant.c: Redraw assistant on reallocate
3617         to avoid rendering glitches.  (#343956, Christian
3618         Persch, Carlos Garnacho)
3619
3620 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3621
3622         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
3623
3624 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3625
3626         * gtk/gtkaction.c: Improve the docs of the "label" 
3627         property.  (#341730, Kristof Vansant)
3628
3629 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3630
3631         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
3632         Correctly handle min size. (#320465, Philipp Langdale)
3633
3634 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3635
3636         * gtk/prop-editor.c: Implement editing of flags.
3637
3638 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3639
3640         * gtk/gtkentry.c:
3641         * gtk/gtklabel.c:
3642         * gtk/gtkpaned.c:
3643         * gtk/gtkstatusbar.c:
3644         * gtk/gtktextview.c: Don't install cursors on insensitive
3645         widgets.  (#358864, Jan Schampera)
3646
3647 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3648
3649         * gtk/gtkrecentmanager.h:
3650         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
3651         Shiino Yuki)
3652
3653         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
3654         Christian Persch)
3655
3656         * gtk/gtkentry.c (blink_cb):
3657         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
3658         if focus went missing. Just warn, clean up and continue.
3659         (#374378)
3660
3661 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
3662
3663         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
3664         originally received the event is a notebook page. (#315440, reported
3665         by Mateusz Stefek)
3666
3667 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3668
3669         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
3670         Paolo Borelli)
3671
3672 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3673
3674         * tests/prop-editor.c: Display children of containers
3675         and cell renderers of cell layouts.
3676
3677         * gtk/gtk.symbols:
3678         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
3679         New function to get the cell renderers of a cell layout.
3680
3681         * gtk/gtktreeviewcolumn.c:
3682         * gtk/gtkcellview.c:
3683         * gtk/gtkiconview.c: Implement get_cells.
3684
3685 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3686
3687         * gtk/gtkiconview.c: Use word wrapping by default, and
3688         center multiline labels.  (#318763, Ross Burton)
3689
3690         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
3691         case for single-line layouts.
3692
3693 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3694
3695         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
3696         David Lodge)
3697
3698         * gtk/gtkuimanager.c (update_node): Only use the results
3699         of find_menu/toolbar_position() if they succeed. May fix
3700         bug #388041.
3701
3702 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3703
3704         * gdk/gdk.c: Fix some formatting errors in docs.  
3705
3706 2006-12-28  Tor Lillqvist  <tml@novell.com>
3707
3708         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
3709         (gtk_status_icon_update_image): Don't leak HICONs on
3710         Win32. (#364868, Hiroyuki Yamamoto)
3711
3712 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
3713
3714         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
3715
3716         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
3717         * gtk/gtkmarshalers.list: add new marshaler definition.
3718         * gtk/gtkenums.h: add GtkDragResult enum.
3719
3720         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
3721         operation wasn't successful.
3722         (_gtk_drag_source_handle_event) (gtk_drag_drop)
3723         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
3724         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
3725         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
3726         gtk_drag_drop_finished() the operation result.
3727
3728         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
3729         (gtk_notebook_drag_data_get): do not call window creation hook here.
3730         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
3731         target, instead connect to "drag-failed".
3732         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
3733
3734 2006-12-28  Mikael Hallendal  <micke@imendio.com>
3735
3736         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
3737         integration into gdkeventloop-quartz.c.
3738
3739         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
3740
3741         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
3742         integration.
3743
3744 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3745
3746         * modules/printbackends/lpr/gtkprintbackendlpr.c 
3747         (gtk_print_backend_lpr_print_stream): Close the io channel
3748         on unref.  (#390159, Joe Markus Clarke)
3749
3750 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3751
3752         * gdk/gdk.h: Remove redundant declarations (#390097,
3753         Christian Persch)
3754
3755 2006-12-27  Kristian Rietveld  <kris@gtk.org>
3756
3757         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
3758
3759         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
3760         gtk-alternative-sort-arrows.
3761
3762         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
3763         new setting.
3764
3765         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
3766         gtk-alternative-sort-arrows setting to true.
3767
3768         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3769         invert direction if gtk-alternative-sort-arrows is TRUE.
3770
3771 2006-12-27  Tor Lillqvist  <tml@novell.com>
3772
3773         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
3774         gtk_status_icon_set_screen.
3775
3776         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
3777         on Windows. Keep track of where the last button click on the
3778         taskbar icon took place, and return that. Obviously not correct if
3779         no button has ever been clicked on the icon, or if the geometry of
3780         the taskbar has changed since. But for most use cases where a menu
3781         is going to be displayed as a direct result of a button click on
3782         the status icon, works fine. (#377349)
3783
3784         Implement getting the orientation property on Windows.
3785
3786         (gtk_status_icon_embedded_changed)
3787         (gtk_status_icon_orientation_changed): Ifdefify these functions
3788         that are used only on X11.
3789
3790 2006-12-27  Tor Lillqvist  <tml@novell.com>
3791
3792         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
3793         typo. (#390035, Kazuki Iwamoto)
3794
3795 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3796
3797         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
3798
3799         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
3800         (gtk_combo_box_unset_model): Handle repeated unsetting
3801         of models without warnings.  (#367529, Robert Ancell)
3802
3803 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3804
3805         * modules/printbackends/cups/gtkcupsutils.c: 
3806         * modules/printbackends/cups/gtkprintbackendcups.c: Use
3807         getters for http fields where available.  (#364866, 
3808         Björn Lindqvist)
3809
3810 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3811
3812         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
3813         (#362614, Xan Lopez)
3814
3815 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3816
3817         * gtk/gtkuimanager.c (update_node): If a required action
3818         is missing, don't recurse over the children.  (#349119,
3819         Chris Moller)
3820
3821 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3822
3823         Fix a few problems with nested menus in comboboxes
3824         (#386694, Yevgen Muntyan)
3825
3826         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
3827         connect the activate callback.
3828         (gtk_combo_box_menu_item_activate): Do nothing if called on
3829         an item with a submenu.
3830         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
3831         is empty.
3832
3833 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
3834
3835         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
3836         filechooser button. Bug 353196.
3837
3838 2006-12-26  Kristian Rietveld  <kris@gtk.org>
3839
3840         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
3841         the search dialog timeout never to be refreshed. (#389581,
3842         Andrzej Szombierski).
3843
3844 2006-12-26  Kristian Rietveld  <kris@gtk.org>
3845
3846         Lots of scrolling fixes.  Made scrolling work properly in not fully
3847         validated tree views; fixed a bunch of corner cases.
3848
3849         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
3850         upper - page_size, we know it is located at the end so the test for
3851         dy + height has been dropped.
3852         In the same case if area_below < 0, we know this is the last node
3853         in the tree view so area_above is page_size - height of this row.
3854         (validate_visible_area): got rid of subtracting new_height -
3855         old_height from area_{below,above}, it didn't make any sense at
3856         all and the full height of the row should be subtracted instead.
3857         (validate_visible_area): when scrolling to a given path, set the
3858         top row directly together with the dy offset, then sync that top_row
3859         to the dy.
3860         (gtk_tree_view_set_top_row): new function to directly set a top_row.
3861         (gtk_tree_view_dy_to_top_row): refactored to use
3862         gtk_tree_view_set_top_row().
3863         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
3864         (gtk_tree_view_adjustment_changed): only update our dy and
3865         top_row if the adjustment's dy actually changed.
3866
3867 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
3868
3869         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
3870         Return the correct value from gtk_notebook_insert_page if the
3871         page-added handler reorders the tabs. Bug #345094.
3872
3873 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
3874
3875         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
3876
3877         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
3878         scrolling when hovering with a detached tab.
3879         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
3880         focus tab has changed during a tab DND operation.
3881         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
3882         (gtk_notebook_paint): do not take cur_page as a reference to paint the
3883         box if it's detached.
3884         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
3885         to the detached tab if we hover the arrows during a tabs detaching 
3886         operation, do not allocate it unconditionally in 0,0.
3887
3888 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
3889
3890         Expose improvements for GtkNotebook. Bug #383435
3891
3892         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
3893         labels.
3894         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
3895         (gtk_notebook_draw_tab): do not send handmade expose events to tab
3896         labels.
3897
3898 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
3899
3900         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
3901         FALSE.  (#389623, Carlos Garnacho Parro)
3902
3903         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
3904         redraws.
3905
3906 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3907
3908         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
3909         (gtk_plug_unrealize): Notify the "embedded" property also on
3910         normal construction and when destroying the socket window.
3911         Bug #388738.
3912
3913 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3914
3915         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
3916         (gtk_about_dialog_init), (display_credits_dialog),
3917         (display_license_dialog):
3918         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
3919         (gtk_file_chooser_dialog_init),
3920         (gtk_file_chooser_dialog_constructor),
3921         (gtk_file_chooser_dialog_unmap):
3922         * gtk/gtkrecentchooserdefault.c:
3923         (_gtk_recent_chooser_default_init):
3924         * gtk/gtkrecentchooserdialog.c:
3925         (gtk_recent_chooser_dialog_class_init),
3926         (gtk_recent_chooser_dialog_init),
3927         (gtk_recent_chooser_dialog_constructor),
3928         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
3929         instead of using style-set handlers. Fix the filechooser's spacing
3930         between content and action area to 12px. Bug #372447.
3931
3932 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3933
3934         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
3935         Don't assume statusbar->label is the statusbar's frame's child when
3936         shrinking the size allocation when the grip is shown. Bug #372452.
3937
3938 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3939
3940         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
3941         (add_custom_paper): Fix mem leaks. Bug #389194.
3942
3943 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3944
3945         * gtk/gtktextutil.c: Remove debug output.
3946
3947         * gtk/gtktextview.c: Improve the DND scrolling
3948         behaviour.  (#92387, Carlos Garnacho Parro)
3949
3950         * gtk/gtkaccellabel.c: Improve translators comments.  
3951         (#389298, Christian Persch)
3952
3953 2006-12-24  Bastien Nocera  <hadess@hadess.net>
3954
3955         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
3956         (#389183)
3957
3958 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
3959
3960         * docs/reference/gtk/gtk-sections.txt:
3961         * gtk/gtk.symbols:
3962         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
3963         * gtk/gtkprinter-private.h:
3964         * gtk/gtkprinter.c: (gtk_printer_list_papers):
3965         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
3966
3967 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
3968
3969         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
3970         when is selected in page setup dialog. Fixes bug #365047.
3971
3972 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3973
3974         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
3975         Use gtk_border_free when freeing border.
3976
3977 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3978
3979         * gtk/gtkentry.c (gtk_entry_button_press): When
3980         shift-clicking, keep the larger part of the selection
3981         selected.  (#353709, Benjamin Otte)
3982
3983         * gtk/gtkbutton.c (gtk_button_get_props): Use 
3984         gtk_border_free when freeing borders.
3985
3986         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
3987         careful when faking a button release.  (#323146,
3988         Travis Abbott)
3989
3990         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
3991         handle with the right orientation, depending on the
3992         position of the handlebox.  (#159764, Benjamin Berg)
3993
3994 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3995
3996         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
3997         GtkBorder (#383557).
3998
3999 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
4000
4001         Bug 340141 – Update to Pango 1.16 API
4002
4003         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
4004         (gdk_pango_layout_line_get_clip_region):
4005         * gtk/gtkcalendar.c (gtk_calendar_size_request):
4006         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
4007         (get_layout_position), (gtk_entry_find_position),
4008         (gtk_entry_adjust_scroll):
4009         * gtk/gtkiconview.c (get_pango_text_offsets):
4010         * gtk/gtklabel.c (get_cursor_direction):
4011         * gtk/gtkstyle.c (get_insensitive_layout):
4012         * gtk/gtktextdisplay.c (render_para):
4013         * gtk/gtktextlayout.c (allocate_child_widgets),
4014         (find_display_line_below), (find_display_line_above),
4015         (gtk_text_layout_move_iter_to_previous_line),
4016         (gtk_text_layout_move_iter_to_next_line),
4017         (gtk_text_layout_move_iter_to_line_end),
4018         (gtk_text_layout_iter_starts_line),
4019         (gtk_text_layout_move_iter_to_x):
4020         * gtk/gtktextutil.c (limit_layout_lines):
4021         Use the _readonly version of pango_layout_iter_get_line(),
4022         pango_layout_iter_get_run(), pango_layout_get_line(), and
4023         pango_layout_get_lines().
4024
4025         * gtk/gtkmain.c (gtk_get_default_language): Use
4026         pango_get_default_language().
4027
4028 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
4029
4030         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
4031         and notify:text only once. The same fix was applied
4032         for replacing the selection via DND or copy-and-paste.
4033         (#64998, Damon Chaplin, Sven Herzberg)
4034
4035 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
4036
4037         * gtk/gtkimmulticontext.c: Be careful to not override
4038         GTK+ translations with the translations of the input
4039         method.  (#317080, Tor Lillqvist)
4040
4041         * modules/input/imcedilla.c: Use standard macros
4042         for translation domain and locale dir.
4043
4044         * gtk/gtkimcontextsimple.c: Allow composing l with 
4045         stroke.  (#349638, Daniel Lublin)
4046
4047         * gtk/gen-paper-names.c: Fix a thinko in the suffix
4048         calculation.  (#382369, Christian Persch)
4049
4050         * gtk/paper_names_offsets.c: Regenerated.
4051
4052 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4053
4054         * modules/engines/pixbuf/pixbuf.h:
4055         * modules/engines/pixbuf/pixbuf-rc-style.h:
4056         * modules/engines/pixbuf/pixbuf-style.h: Move 
4057         G_GNUC_INTERNAL before function declarations.  (#352276,
4058         Damien Carbery)
4059
4060 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4061
4062         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
4063         Wilson)
4064
4065 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4066
4067         * *.c: Replace a lot of idle and timeout calls by
4068         the new gdk_threads api. 
4069
4070         * gdk/gdk.symbols:
4071         * gdk/gdk.h:
4072         * gdk/gdk.c: Add functions to allow threadsafe handling
4073         of idles and timeouts wrt. to the GDK lock.  (#321886,
4074         Chris Wilson)
4075         
4076 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4077         
4078         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
4079         (#340141, Behdad Esfahbod)
4080
4081         * configure.in: Check for getc_unlocked.
4082
4083         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
4084         unavailable.   (#381499)
4085
4086         * tests/teststatusicon.c: Fix a typo
4087
4088 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4089
4090         Make it possible to track the embeddedness of
4091         statusicon (#387215, Martyn Russell, patch by Christian
4092         Persch)
4093
4094         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
4095         * gtk/gtkplug.c: 
4096         * gtk/gtkplug-x11.c: Add an embedded property.
4097         * tests/teststatusicon.c: Test the new properties.
4098
4099         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
4100         leak draw_border.  (#387170, Kjartan Maraas)
4101
4102 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
4103
4104          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
4105         Typo fix.  (#388123, Murray Cumming)
4106         
4107         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
4108         Generate double-click events.  (#380421, Tommi Komulainen)
4109
4110         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
4111         (_gdk_input_enter_event): Correct return_if_fail checks.
4112         (#379803, Tommi Komulainen)
4113
4114         * gdk/gdkdisplay.c: Improve the docs of some functions operating
4115         on the default display.  (##353438, Mariano Suárez-Alvarez)
4116
4117 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
4118
4119         * docs/reference/gdk/gdk-sections.txt:
4120         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
4121         converting a GdkColor to a string (#373856).
4122
4123         * configure.in: Bump pango requirement to 1.15.2.
4124
4125 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
4126         
4127         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
4128         Bastian Nocera)
4129
4130         * gdk/keyname-table.h: Regenerated
4131
4132         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
4133         Søren Wedel Nielsen)
4134
4135         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
4136         Silently return if a drag is already in progress, rather
4137         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
4138
4139         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
4140         Allow any GtkDialog that implements GtkFileChooser as
4141         dialog.  (#335473, Tommi Komulainen)
4142
4143 2006-12-20  Mikael Hallendal  <micke@imendio.com>
4144
4145         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
4146         change in the quartz backend.
4147
4148 2006-12-20  Mikael Hallendal  <micke@imendio.com>
4149
4150         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
4151         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
4152         status icon.
4153         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
4154
4155 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
4156
4157         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
4158         format of page ranges, and improve the page sequence icon
4159         for the case of n_copies == 1.
4160  
4161 2006-12-19  Mikael Hallendal  <micke@imendio.com>
4162
4163         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
4164         routine so that it can be used from libgtk as well (needed for
4165         upcoming GtkStatusIcon support in the Quartz port).
4166         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
4167         created from GDK, this is not true for the status icon.
4168         * gdk/quartz/gdkprivate-quartz.h:
4169         * gdk/quartz/gdkquartz.h: Added 
4170         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
4171         the status icon code.
4172
4173 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
4174
4175         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
4176         gtk_message_dialog_set_image ()
4177
4178         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
4179         (setting "window-placement-set" could result in a crash because
4180         of boolean/enum mixup)
4181
4182 2006-12-15  Federico Mena Quintero  <federico@novell.com>
4183
4184         Merged from gtk-2-10:
4185
4186         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
4187         the case where the new title is the same as the old title, to
4188         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
4189         equivalent).  Handle the case where title == priv->title.  This
4190         was found by the LSB compatibility tests:
4191         https://bugzilla.novell.com/show_bug.cgi?id=223882
4192
4193 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
4194
4195         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
4196         more closely resemble its Win32 counterpart. Bug #340204.
4197
4198 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
4199
4200         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
4201         placed inside their GdkWindow. Bug #385672.
4202
4203 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
4204
4205         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
4206
4207 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
4208
4209         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
4210         drawn with extra line below tab in MS-Windows theme. Patch by 
4211         Cody Russell
4212         
4213 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
4214
4215         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
4216         for print preview.  (#370041, Ghee Teo)
4217
4218 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
4219
4220         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
4221         careful when overdrawing antialiased text.  (#352435, Alex Jones,
4222         patch by Benjamin Otte)
4223
4224         * gtk/gtksettings.c: Change the way in which color scheme information
4225         is merged to correctly handle vanishing colors.  (#374420, 
4226         Benjamin Berg, patch by Callum McKenzie) 
4227         Also allow to separate entries in color schemes by ';' 
4228         instead of newline.  
4229
4230 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
4231
4232         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
4233         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
4234
4235 2006-12-10  Kristian Rietveld  <kris@gtk.org>
4236
4237         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
4238         cancel editing (ie. don't accept changes) when the entry loses
4239         focus. (Fixes #164494, reported by Chris Rouch).
4240
4241 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
4242
4243         * configure.in: Correct a misapplied patch. 
4244
4245 2006-12-10  Tor Lillqvist  <tml@novell.com>
4246
4247         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
4248         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
4249         developer zipfile. Users might add pixbuf loaders or immodules
4250         even if they are not interested in developing gtk+-using software.
4251
4252 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
4253
4254         * configure.in: Check for crt_extern.h and _NSGetEnviron.
4255         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
4256         environ is not available.  (#384168, Min Sik Kim)
4257
4258 2006-12-07  Paolo Maggi  <paolo@gnome.org>
4259
4260         Fixes bug #383407
4261         
4262         * gtk/gtkentry.c (gtk_entry_set_text): check for
4263         completion->priv->changed_id > 0 before calling 
4264         g_signal_handler_[un]block.
4265         (gtk_entry_completion_key_press): does not block/unblock the "changed"
4266         signal before calling gtk_entry_set_text.
4267         
4268 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
4269
4270         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
4271         xthickness/ythickness, they aren't used any longer for drawing.
4272
4273 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
4274
4275         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
4276         underlines by giving labels a small draw-border.
4277
4278 2006-12-06  Kristian Rietveld  <kris@gtk.org>
4279
4280         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
4281         draw progress bar through theme engine instead of using our own
4282         custom cairo drawing code (#377244, patch from Carlos Garnacho).
4283
4284 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
4285
4286         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
4287         Update the sensitivity of the collate checkbutton more frequently,
4288         proposed by Tim Waugh.
4289
4290 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
4291
4292         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
4293         since we no longer set window titles.
4294
4295 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
4296
4297         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
4298         (gtk_page_setup_set_paper_size): Don't leak the old page size when
4299         setting a new one. Bug #382314.
4300
4301 2006-12-03  Michael Natterer  <mitch@gimp.org>
4302
4303         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
4304
4305 2006-12-03  Kristian Rietveld  <kris@gtk.org>
4306
4307         Make sure [xy]_offset are always being initialized, fix pixbuf
4308         renderer padding.  (#108235, Sven Neumann).
4309
4310         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
4311         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
4312         of _get_size.
4313
4314         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
4315         always initialize [xy]_offset.
4316         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
4317         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
4318         ditto.
4319
4320 2006-12-03  Kristian Rietveld  <kris@gtk.org>
4321
4322         * gtk/gtktreeview.c (validate_visible_area): when not using an
4323         explicit alignment, use the full area of the row (not just dy)
4324         to determine how to implicitly align it.  (Fixes #363191, reported
4325         by Federico Mena Quintero).
4326
4327 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
4328
4329         * gtk/gtkicontheme.c (insert_theme): Properly clean up
4330         if an icon theme index file has no directories.  (#381236)
4331
4332 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
4333
4334         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
4335         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
4336         
4337 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
4338
4339         Remove the broken Thai input method and add a functional Thai and Lao
4340         input method by Theppitak Karoonboonyanan. (#81031)
4341
4342         * modules/input/imthai.c:
4343         * modules/input/gtkimcontextthai.c:
4344         * modules/input/gtkimcontextthai.h:
4345         * modules/input/thai-charprop.c:
4346         * modules/input/thai-charprop.h:
4347         Added.
4348
4349         * modules/input/imthai-broken.c:
4350         Removed.
4351         
4352         * modules/input/Makefile.am:
4353         Updated.
4354
4355 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
4356
4357         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
4358
4359 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
4360
4361         * gtk/gtktextview.c: applied patch by  Colin Leroy for
4362         Control+GDK_KP_Left to move one word to the left, #356255.
4363
4364 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
4365
4366         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
4367           widget. (#379503)
4368
4369 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
4370
4371         * modules/printbackends/cups/gtkprintbackendcups.c: Make
4372         print dialog work when 'BrowseShortNames Off' is specified
4373         in cups configuration. Patch by Tim Waugh.
4374
4375 2006-11-24  Michael Natterer  <mitch@imendio.com>
4376
4377         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
4378         can't go up/down, consult gtk_widget_keynav_failed() and leave the
4379         widget if it returns FALSE (bug #322640).
4380
4381 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
4382
4383         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
4384
4385 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
4386
4387         * gtk/gtkrecentmanager.c:
4388         (get_uri_shortname_for_display): g_filename_from_uri() might
4389         fail; catch the failure and fall back to the non-local URI
4390         case. (#363437)
4391
4392 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
4393
4394         Fixes bug #376502 - multi-screen support for GtkStatusIcon
4395
4396         * gtk/gtkstatusicon.[ch]:
4397         (gtk_status_icon_set_screen),
4398         (gtk_status_icon_get_screen): add multi-screen API. Allows
4399         an app to display an icon on a non-default screen
4400         (gtk_status_icon_class_init),
4401         (gtk_status_icon_set_property),
4402         (gtk_status_icon_get_property): add a "screen" property
4403         
4404         * tests/teststatusicon.c: update to test on multiple screens
4405
4406 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
4407
4408         Fix problems with drag cancellation. (#376535, Michael Natterer)
4409         
4410         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
4411         handlers before emitting drag-end.
4412         (gtk_drag_end): Disconnect signal handlers before removing
4413         the grab.  
4414
4415 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
4416
4417         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4418         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
4419
4420 2006-11-16  Michael Natterer  <mitch@imendio.com>
4421
4422         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
4423         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
4424         and gtk-keynav-wrap-around and wrap around, beep or continue outside
4425         the group manually (bug #322640).
4426
4427 2006-11-16  Michael Natterer  <mitch@imendio.com>
4428
4429         Add new infrastructure for notifications of failed keyboard
4430         navigation and navigation with restricted set of keys.
4431
4432         The patch handles configurable beeping, navigating the GUI with
4433         cursor keys only (as in phone environments), and configurable
4434         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
4435         and #309291.
4436
4437         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
4438         gtk-keynav-wrap-around and gtk-error-bell.
4439
4440         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
4441         API to emit it. Added New function gtk_widget_error_bell() which
4442         looks at the gtk-error-bell setting and calls gdk_window_beep()
4443         accordingly.
4444
4445         * gtk/gtk.symbols: add the new widget symbols.
4446
4447         * gtk/gtkcellrendereraccel.c
4448         * gtk/gtkimcontextsimple.c
4449         * gtk/gtkmenu.c
4450         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
4451         gtk-error-bell setting instead of calling gdk_display_beep()
4452         unconditionally.
4453
4454         * gtk/gtkcombobox.c
4455         * gtk/gtkentry.c
4456         * gtk/gtkiconview.c
4457         * gtk/gtklabel.c
4458         * gtk/gtkmenushell.c
4459         * gtk/gtkspinbutton.c
4460         * gtk/gtktextview.c
4461         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
4462
4463         * gtk/gtkentry.c
4464         * gtk/gtklabel.c
4465         * gtk/gtkrange.c
4466         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
4467         cursor navigation and leave the widget if it returns FALSE.
4468
4469         * gtk/gtkmenushell.c
4470         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
4471         is TRUE.
4472
4473         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
4474         whether to to wrap-around, and don't select active items on cursor
4475         navigation if gtk-keynav-cursor-only is TRUE. Should look at
4476         gtk-keynav-wrap-around too, will look into that.
4477
4478 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4479
4480         * gtk/gtkrecentmanager.c:
4481         (gtk_recent_info_get_uri_display): Return the URI
4482         of the GtkRecentInfo object (upgraded to UTF-8 if
4483         needed) in case of non-local file. (#351945)
4484
4485 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4486         
4487         * gtk/gtkrecentchoosermenu.c:
4488         (gtk_recent_chooser_menu_add_tip): Apply the tip only
4489         if we have a displayable name for the item. (#365031,
4490         patch by padraig.obriain(at)sun.com)
4491
4492 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4493
4494         * gtk/gtkrecentmanager.c: Provide a fast path returning
4495         NULL when the limit is set to 0.
4496
4497         * gtk/gtkrecentchooserdefault.c:
4498         * gtk/gtkrecentchoosermenu.c: Add the same fast path
4499         inside the RecentChooser implementation; add a check
4500         in the list clamping code. (#373466 and duplicates)
4501
4502 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
4503
4504         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
4505         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
4506
4507 2006-11-15  Michael Natterer  <mitch@imendio.com>
4508
4509         * gtk/gtkrange.[ch]: added properties "fill-level",
4510         "show-fill-level" and "restrict-to-fill-level" and getters/setters
4511         for them. The "fill level" is an additional marker on the range's
4512         trough than can be e.g. used to indicate the amount of
4513         pre-buffering in a range showing the play position of streamed
4514         media. See the embedded API docs for details. Made GtkRangeLayout
4515         a GTypeInstance private struct and removed finalize()
4516         implementation. Fixes bug #349808
4517
4518         * gtk/gtk.symbols: added the new symbols.
4519
4520 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
4521
4522         * configure.in: Make libtool magic robust. (#352795)
4523
4524 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
4525
4526         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
4527         leak (#370395)
4528
4529 2006-11-09  Kristian Rietveld  <kris@imendio.com>
4530
4531         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
4532         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
4533
4534 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
4535
4536         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
4537
4538 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
4539
4540         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
4541         timeout running if the slider buttons are hidden. (#372527)
4542
4543 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
4544
4545         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
4546         the "Location" label bold. Bug #372449.
4547
4548 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
4549
4550         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
4551         non-focused tabs xthickness/ythickness thinner. (#353962)
4552
4553 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
4554
4555         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
4556         corruption (#357050).
4557
4558 2006-11-06  Alexander Larsson  <alexl@redhat.com>
4559
4560         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
4561         (gtk_drag_source_info_destroy), (gtk_drag_end),
4562         (gtk_drag_grab_notify_cb):
4563         Cancel drag when the grab is shadowed. (#122688)
4564
4565 2006-11-01  Kristian Rietveld  <kris@imendio.com>
4566
4567         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
4568         (gtk_combo_box_size_request): add arrow-size property to control
4569         the minimum size of the arrow, have the arrow scale up with the
4570         font by default. (#357950).
4571
4572 2006-10-30  Kristian Rietveld  <kris@gtk.org>
4573
4574         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
4575         forget to queue a draw for the new cursor node. (Fixes #366548,
4576         reported by Sven Herzberg).
4577
4578 2006-10-30  Michael Natterer  <mitch@imendio.com>
4579
4580         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
4581         only if we actually cancel a drag. Fixes bug #58389.
4582
4583 2006-10-30  Kristian Rietveld  <kris@gtk.org>
4584
4585         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
4586         keybindings to collapse/expand rows instead of moving the focus
4587         cursor. (#105895, Brian Bober and others).
4588
4589 2006-10-29  Kristian Rietveld  <kris@gtk.org>
4590
4591         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
4592         child removal in row-expanded callback. (#366782, John Ellis).
4593
4594 2006-10-29  Tor Lillqvist  <tml@novell.com>
4595
4596         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
4597         of the small icon of the window class. (#152620, Kazuki Iwamoto)
4598
4599 2006-10-29  Tor Lillqvist  <tml@novell.com>
4600
4601         * gdk/win32/gdkcursor-win32.c
4602         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
4603         for instance the built-in GDK ones.
4604
4605 2006-10-27  Kristian Rietveld  <kris@gtk.org>
4606
4607         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
4608         case to not overwrite the variables in the lower scope (which are
4609         used later on ...), get the path correctly and bail out when there
4610         isn't a node above us. (#359231).
4611
4612 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
4613
4614         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
4615
4616 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
4617
4618         * gtk/gtk.symbols: Add missing symbols to so make check can pass
4619
4620 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
4621
4622         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
4623         to free GDI Pen resources, introduced by bug 340201.(#364514)
4624         
4625 2006-10-18  Kristian Rietveld  <kris@imendio.com>
4626
4627         * tests/testcombo.c (main): connect to notify::popup-shown instead of
4628         popup-show (the latter does not exist).
4629
4630 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
4631
4632         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
4633         Fixes bug #362439.
4634
4635 2006-10-12  Michael Natterer  <mitch@imendio.com>
4636
4637         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
4638         (committed the wrong patch).
4639
4640 2006-10-12  Michael Natterer  <mitch@imendio.com>
4641
4642         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
4643         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
4644         obsolete now. Fixes bug #358293.
4645
4646 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
4647
4648         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
4649
4650 2006-10-11  Tor Lillqvist  <tml@novell.com>
4651
4652         * configure.in: Enable having some gdk-pixbuf loaders built-in
4653         even if loading the others dynamically. Define Automake
4654         conditional INCLUDE_FOO for each loader as TRUE if that loader is
4655         built-in. See also gdk-pixbuf/ChangeLog.
4656
4657 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
4658
4659         * docs/reference/gtk/gtk-sections.txt:
4660         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
4661
4662 2006-10-11  Tor Lillqvist  <tml@novell.com>
4663
4664         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
4665         variable.
4666
4667 2006-10-11  Tor Lillqvist  <tml@novell.com>
4668
4669         Merge from 2.10 branch:
4670
4671         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
4672         environment variable LC_ALL or LANG is set, set the Win32 thread
4673         locale to the corresponding locale. Then call the C library
4674         setlocale() to set the C library locale accordingly. The
4675         inconsistency mentioned below is gone. (#339756) Do some special
4676         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
4677         scripts for Azeri, Uzbek and Serbian.
4678         (enum_locale_proc): Helper function for the above functionality.
4679
4680         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
4681         if the environment variables are set here, as they have already
4682         been taken into account and the Win32 thread locale has been
4683         set.
4684
4685 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
4686
4687         * gtk/tmpl/gtkbindings.sgml: 
4688         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
4689         inline docs. applied wording fixes suggested by Martyn Russell.
4690
4691 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
4692
4693         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
4694         Update the docs to state which out parameters may be NULL.
4695         (#360870, Attilio Fiandrotti)
4696
4697 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
4698
4699         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
4700         a typo.  (#359542, Ghee Teo)
4701
4702 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4703
4704         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
4705         reorder tabs if the focus is in the tab.  (#350342, Carlos
4706         Garnacho Parro)
4707
4708 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
4709
4710         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
4711
4712 2006-10-08  Kristian Rietveld  <kris@gtk.org>
4713
4714         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
4715         (gtk_tree_view_set_show_expanders),
4716         (gtk_tree_view_get_show_expanders): add getter/setter for
4717         show-expanders property, queue a redraw when this property
4718         is toggled (#351167, Martin Ejdestig),
4719         (gtk_tree_view_set_level_indentation),
4720         (gtk_tree_view_get_level_indentation): also add getter/setter
4721         and docs for level-indentation property.
4722
4723 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
4724
4725         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
4726         leak a list.  (#360350, Benjamin Berg)
4727
4728         * Apply a cleanup patch by Kjartan Maraas  (#341812)
4729
4730 2006-10-07  Tor Lillqvist  <tml@novell.com>
4731
4732         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4733         locale's first day of week setting on Win32. (#339752, Bogdan
4734         Nicula) Don't do this if one of the environment variables that
4735         affect gettext is set, though. In that case use the week start day
4736         from the corresponding message catalog.
4737
4738         Unfortunately the same logic isn't possible in the weekday and
4739         month name lookup; there even if you have set one of the
4740         aforementioned environment variables, you still get the weekday
4741         and month names from the Win32 thread locale. Yes, this is
4742         inconsistent.
4743
4744         Use only wide-character API in the Win32 code in this file, too.
4745
4746 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
4747
4748         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
4749         Fix the docs.  (#360112)
4750
4751         * gtk/gtkcellview.c: Don't set the background of the
4752         window in a no-window widget.  (#359581, Xan Lopez)
4753
4754
4755 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
4756
4757         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
4758         test correctly. (#359845)
4759
4760 2006-10-05  Michael Natterer  <mitch@imendio.com>
4761
4762         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
4763         rid of a key binding (in fact, it only lets it appear unbound).
4764
4765         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
4766         "guint marks_unbound : 1"
4767
4768         (gtk_binding_entry_skip): new API which marks the entry as unbound.
4769
4770         Changed code so it returns FALSE when "marks_unbound == TRUE" is
4771         encountered while activating bindings, effectively letting the
4772         binding appear unbound (regardless of still existing bindings in
4773         lower binding priority levels). Fixes bug #358329.
4774
4775         (gtk_binding_entry_add)
4776         (gtk_binding_entry_clear)
4777         (gtk_binding_entry_add_signall)
4778         (gtk_binding_parse_binding): deprected these functions.
4779
4780         (_gtk_binding_parse_binding)
4781         (_gtk_binding_entry_add_signall): new internal API.
4782
4783         * gtk/gtk.symbols: changed accordingly.
4784
4785 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4786
4787         Fix interaction of GtkEntryCompletion with input
4788         methods.  (#354495, Diego Escalante Urrelo)
4789
4790         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
4791         the im context if we actually handle the key event.
4792
4793         * gtk/gtkentrycompletion.c: Also propagate key release events
4794         to the entry.
4795
4796 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4797
4798         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
4799         Fix a typo.  (#359052, Ghee Teo)
4800
4801         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
4802         reduce relocations. (#359053)
4803
4804 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4805
4806         * modules/printbackends/cups/gtkcupsutils.c:
4807         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
4808         the fix for bug 357280.
4809
4810 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4811
4812         * gdk-pixbuf/Makefile.am:
4813         * gdk/Makefile.am:
4814         * gtk/Makefile.am:
4815         Include pltcheck.sh in EXTRA_DIST.
4816
4817 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4818
4819         * gdk/x11/gdkevents-x11.c: Move all includes before including
4820         gdkalias.h.
4821
4822 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4823
4824         * gtk/Makefile.am: Fix typo in file name.  (#358931)
4825
4826 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
4827
4828         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
4829         Only use the group name field if cups is new enough.  (#357280)
4830
4831         * gtk/gtksizegroup.c: Make sure that the quarks are 
4832         initialized before using them.  (#353736)
4833
4834         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
4835         replace existing links.  (#354849, James Evans)
4836
4837 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
4838
4839         * gtk/gtkexpander.c (gtk_expander_realize) 
4840         (gtk_expander_size_allocate): Make the event_window large
4841         enough to cover the full height of the label_widget.  (#358351,
4842         Scott Horowitz)
4843
4844 2006-10-01  Tor Lillqvist  <tml@novell.com>
4845
4846         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
4847
4848 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
4849
4850         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
4851         against base_path being NULL.  (#358405, many reporters)
4852
4853 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
4854
4855         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
4856         to avoid a deadlock.
4857
4858 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4859
4860         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
4861         (gtk_tree_model_filter_ref_node),
4862         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
4863         in sync with each other and the sort model.
4864
4865 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4866
4867         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
4868         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
4869         (gtk_tree_model_filter_new): unref the virtual root path once that
4870         node (or one if its ancestors) is deleted, set virtual_root_deleted
4871         so we only unref it once.
4872
4873 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4874
4875         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
4876         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
4877         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
4878         (gtk_tree_model_sort_free_level): bring zero ref count loops in
4879         sync,
4880         (gtk_tree_model_sort_free_level): free child levels before
4881         decreasing the zero ref count of the current level,
4882         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
4883         is > 0.
4884
4885 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
4886
4887         * demos/gtk-demo/*.c:
4888         * gtk/gtkeventbox.c:
4889         * gtk/gtkprintoperation.c: Fix typos. String change.
4890
4891 2006-09-25  Kristian Rietveld  <kris@gtk.org>
4892
4893         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
4894         has already been realized; scroll to background area instead of
4895         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
4896
4897 2006-09-25  Kristian Rietveld  <kris@gtk.org>
4898
4899         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
4900         to create the GCs if the widget is realized. (Fixes #357578).
4901
4902 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
4903
4904         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
4905         the list of children (#357454, Paolo Borelli)
4906
4907 2006-09-25  Michael Natterer  <mitch@imendio.com>
4908
4909         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
4910         display->input_windows with g_free(), not g_object_unref()
4911         (#357566, Tommi Komulainen).
4912
4913 2006-09-24  Kristian Rietveld  <kris@gtk.org>
4914
4915         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4916         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
4917         property to the API (left-over patch from #157439).
4918
4919 2006-09-24  Kristian Rietveld  <kris@gtk.org>
4920
4921         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
4922         the indicator if the column has a sort column id (and the model is
4923         sortable) or if the user explicitly requested the indicator
4924         to be shown.  (Fixes #352738, Chris Vine).
4925
4926 2006-09-23  Tor Lillqvist  <tml@novell.com>
4927
4928         * gtk/Makefile.am: Use EXEEXT.
4929
4930 2006-09-22  Michael Natterer  <mitch@imendio.com>
4931
4932         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
4933         and color hashes. Fixes bug #357132.
4934
4935 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
4936
4937         Make remote bookmarks work better (#354887)
4938         
4939         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
4940         (shortcuts_insert_path): 
4941         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
4942         (model_add_bookmarks): 
4943         (model_update_current_folder): 
4944         (update_label_and_image): 
4945         If the bookmark points to a remote file, don't call get_info(), 
4946         since that may a) take a long time and b) pop up an auth dialog.
4947         Instead, just use a folder icon and create a display name
4948         from the uri.
4949
4950         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
4951         New function to create a suitable display name for a remote
4952         uri. This should really be done in GtkFileSystem.
4953         
4954 2006-09-21  Michael Natterer  <mitch@imendio.com>
4955
4956        Implement lots of value setters for GdkGC, based on a heavily
4957        modified patch from Thomas Broyer (bug #328853):
4958
4959         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
4960         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
4961         which simply returns RGBA values from a GdkColor's pixel value.
4962         See gdk_quartz_update_context_from_gc() below.
4963
4964         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
4965         of members for the newly suppored GC values. Added enum
4966         GdkQuartzContextValuesMask which is used for setting up the
4967         CGContext for filling and/or stroking.
4968
4969         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
4970         (gdk_quartz_gc_set_values)
4971         (_gdk_windowing_gc_copy): support a lot more GC values.
4972
4973         (gdk_quartz_update_context_from_gc): added
4974         GdkQuartzContextValuesMask parameter and set filling/stroking
4975         parameters accordingly. This function also gained full control
4976         over the FG and BG colors (they can't be set separately any more).
4977
4978         The stipple mask part of the patch doesn't work but seems to take
4979         the right approach and doesn't make things worse, so I applied it.
4980
4981         Did *not* apply the clipping part of the patch since I don't
4982         understand it (I don't understand the version in CVS either, but
4983         it at least works :-)
4984
4985         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
4986         gdk_quartz_update_context_from_gc() and removed separate color
4987         setting calls. Some minor fixes.
4988
4989         * gdk/quartz/gdkwindow-quartz.c
4990         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
4991         fill color manually. We don't have/need a GC here.
4992
4993 2006-09-21  Michael Natterer  <mitch@imendio.com>
4994
4995         * gdk/quartz/gdkwindow-quartz.c
4996         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
4997         drawable_impl->wrapper that is the GdkWindow, not the
4998         drawable_impl itself.
4999
5000 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
5001
5002         * gdk/x11/gdkkeys-x11.c:
5003           (get_direction): just check the first shift-level of keyboard
5004         layout for RTL and LTR keysyms() (compliment to #116626)
5005
5006 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
5007
5008         * gtk/gtkviewport.c: always update the bin_window position and size
5009         in size_allocate, even if we don't have a visible child. this fixes
5010         expose artefacts as described in #313508.
5011
5012         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
5013         have no visible child explicit.
5014
5015 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
5016
5017         * docs/reference/gdk/gdk-sections.txt:
5018         * gdk/gdk.symbols:
5019         * gdk/gdkpango.h:
5020         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
5021           (gdk_pango_layout_get_clip_region): Remove an unused variable.
5022           (gdk_pango_attr_embossed_new): Fix documentation.
5023
5024 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
5025
5026         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
5027         control the arrow/border ratio within the allocation.
5028
5029         * tests/testgtk.c: added a GtkArrow to handle box test.
5030
5031         * tests/testgtkrc: test ::arrow-scaling property.
5032
5033 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
5034
5035         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5036         Display an error when we come to the root.  
5037
5038 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
5039
5040         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
5041         the combobox. 
5042
5043         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
5044         bookmarks to the model in local-only mode, to avoid 
5045         authentication dialogs pop up for invisible bookmarks, and
5046         to fix issues with separators not being hidden when
5047         they should.  (#354887, Dennis Cranston)
5048
5049 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
5050
5051         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
5052         treeview use in list mode.  (#355732, Richard Hult)
5053
5054         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
5055         change notification for the right property.  (#355308,
5056         Torsten Schoenfeld)
5057
5058 2006-09-15  Michael Natterer  <mitch@imendio.com>
5059
5060         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
5061         header navigation/resizing/reordering to be more readable and lose
5062         one level of nesting.
5063
5064 2006-09-15  Kristian Rietveld  <kris@imendio.com>
5065
5066         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
5067         return after handling column button focus; we disable wrap around
5068         with this (which actually happened via a really weird code path).
5069         (Michael Natterer)
5070
5071 2006-09-15  Kristian Rietveld  <kris@imendio.com>
5072
5073         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
5074         code RTL aware, also break from the loops after we have seen the
5075         focussed column button (Michael Natterer).
5076
5077 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
5078
5079         * tests/testrichtext.c (main): intialize random number generator state
5080         upon program start, to enable truely random testing.
5081
5082 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
5083
5084         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
5085         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
5086         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
5087                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
5088         * gdk/quartz/Makefile.am same change as directfb Makefile
5089         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
5090
5091 2006-09-13 Matthias Clasen <mclasen@redhat.com>
5092
5093         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
5094         for the grab widget, to make the color picker work with window
5095         groups.  
5096
5097 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
5098
5099         signed off by: Dom Lachowicz
5100         
5101         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
5102         a large number of improvements to the Microsoft Windows theme engine
5103         which are fully described in the bug report.
5104         
5105 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
5106
5107         * tests/testgtk.c: fixed compiler warnings.
5108
5109 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
5110
5111         * gtk/gtkfilechooserbutton.c (model_add_special): Request
5112         the display name too, otherwise "Desktop" does not appear
5113         in the file chooser button. 
5114
5115 2006-09-10  Tor Lillqvist  <tml@novell.com>
5116
5117         * gdk/win32/gdkprivate-win32.h
5118         * gdk/win32/gdkmain-win32.c
5119         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
5120         0x0500 in gdkprivate-win32.h instead of doing it in two source
5121         files. (#355212, Mike Edenfield)
5122
5123         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
5124         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
5125
5126 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
5127
5128         * Commit a patch by Behdad to fix typos, omissions and other
5129         errors in the symbol aliasing, and add checks for local PLT
5130         entries.  (#354687, Behdad Esfahbod)
5131
5132         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
5133         the flush timeout.  (#354043, Nelson Benitez)
5134         
5135         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
5136         Improve wording. String change!  (#355126, David Lodge)
5137
5138         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
5139         David Lodge)
5140
5141         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
5142         David Lodge)
5143
5144 2006-09-09  Matthias Clasen <mclasen@redhat.com>
5145
5146         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
5147         (#353916, Chris Wilson)
5148
5149         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
5150         Don't leak the to_reset list.  (#353914, Chris Wilson)
5151
5152         * gtk/gtkwidget.c: Add docs for the parent-set signal.
5153         (#353772, Mariano Suárez-Alvarez)
5154
5155 2006-09-08  Matthias Clasen <mclasen@redhat.com>
5156
5157         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
5158         Don't clear clipboards here, since we are called from finalize
5159         and can't emit signals.
5160
5161         * configure.in: Set version to 2.11.0
5162
5163 2006-09-06  Richard Hult  <richard@imendio.com>
5164
5165         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
5166         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
5167
5168 2006-09-04  Kristian Rietveld  <kris@imendio.com>
5169
5170         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5171         if setting the given folder failed, try setting the parent folder
5172         until we succeed; display an error box at the end.
5173
5174 2006-09-04  Kristian Rietveld  <kris@imendio.com>
5175
5176         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
5177         operations spawned by buttons here,
5178         (set_button_image_get_info_cb): bail out if button is NULL, but
5179         do free button_data,
5180         (button_data_free): only free the data if non NULL (since this
5181         function can be called multiple times for the same data), cancel
5182         handle if pending but don't free button_data in this case (will
5183         happen in the callback).
5184
5185 2006-09-04  Michael Natterer  <mitch@imendio.com>
5186
5187         * gtk/gtkrc.c (rc_parse_token_or_compound)
5188         (gtk_rc_parse_assignment): serialize floating point values using
5189         locale-independent functions. (#346751, Frederic Crozat)
5190
5191 2006-09-04  Tor Lillqvist  <tml@novell.com>
5192
5193         * gdk/win32/gdkevents-win32.c
5194         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
5195         window handling (PeekMessage, PostMessage, SendMessage,
5196         DispatchMessage, DefWindowProc, RegisterClassEx,
5197         CreateWindowEx). (#321597)
5198
5199 2006-09-03  Kristian Rietveld  <kris@imendio.com>
5200
5201         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
5202         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
5203         change file_exists_and_is_not_folder checks to get the file info
5204         for the path directly instead of querying the current file folder
5205         of the save entry.
5206
5207         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
5208         new field.
5209
5210         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
5211         (test_reload_sequence), (test_button_folder_states_for_action): wait
5212         for idle after setting a folder to ensure the async operations to load
5213         the folder are finished,
5214         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
5215         factor out test_confirm_overwrite code so we can add tests for more
5216         paths more easily.
5217
5218 2006-09-03  Richard Hult  <richard@imendio.com>
5219
5220         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
5221         exposure isn't in the event mask, plug a leak, and check that the
5222         window isn't destroyed.
5223         (isOpaque): Check that the window isn't destroyed, fixes bug 
5224         #353028.
5225
5226 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
5227
5228         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
5229         (#354035, Mariano Suárez-Alvarez)
5230
5231         * gtk/gtkmain.c (post_parse_hook): 
5232         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
5233         (#354004, Chris Wilson)
5234
5235 2006-09-03  Tor Lillqvist  <tml@novell.com>
5236
5237         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
5238         GDK_WINDOW_DISPLAY in the Win32 backend.
5239
5240         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
5241         gtkfilesystemunix.c
5242
5243 2006-09-02  Kristian Rietveld  <kris@imendio.com>
5244
5245         First part of file chooser fixes.
5246
5247         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
5248         handle in the model for the desktopdir case.
5249
5250         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
5251         volume in case we retrieved it but don't pass it on to insert_path,
5252         (shortcuts_model_create): change the column type for the handles
5253         to pointer instead of GObject so our handle ref counting is not
5254         disturbed,
5255         (show_and_select_paths_finished_loading): don't forget to unref
5256         the dialog.
5257
5258         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
5259         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
5260         remove pending execute_callbacks_idle during dispose, also
5261         execute all callbacks waiting to be run in the next idle,
5262         (queue_*callback), (execute_callbacks_idle): refactor to maintain
5263         a list of callbacks to call per file system instead of globally,
5264         guard the file system during callback invocation,
5265         (gtk_file_system_unix_get_folder): only add load folder idle if
5266         none has been added yet.
5267
5268 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
5269
5270         * gtk/gtkentry.c: Don't unnecessarily reset the im context
5271         when deleting the selection.  (#353803, Alex Larsson)
5272
5273 2006-09-01  Abel Cheung  <abel@oaka.org>
5274
5275         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
5276
5277 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
5278
5279         Stop cursor blinking after a configurable timeout.
5280         (#353670, #352442, Arjan van de Ven, Manu Cornet)
5281         
5282         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
5283         gtk-cursor-blink-timeout setting, which specifies the number
5284         of seconds that the cursor should blink after a user interaction.
5285         The default value is G_MAXINT to preserve the current behaviour.
5286
5287         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
5288         seconds.
5289
5290         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
5291         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
5292         blink timer.
5293
5294         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
5295         seconds. 
5296
5297         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
5298         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
5299         Reset the blink timer.
5300         
5301 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
5302
5303         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
5304         explicit format capabilities.  (#346505, Christian Persch)
5305
5306         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
5307
5308 2006-08-31  Michael Natterer  <mitch@imendio.com>
5309
5310         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
5311
5312 2006-08-30  Richard Hult  <richard@imendio.com>
5313
5314         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
5315
5316 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
5317
5318         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
5319         for beeping if we are using XKB.  
5320
5321 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
5322
5323         * gdk/gdkwindow.h: 
5324         * gdk/gdk.symbols: 
5325         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
5326         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
5327         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
5328         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
5329         to beep on a window. For X11, implement this with
5330         XkbBell.  (#353455, Mariano Suárez-Alvarez)
5331         
5332 2006-08-29  Tor Lillqvist  <tml@novell.com>
5333
5334         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
5335         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
5336         it isn't being maintained anyway. If somebody is interested, it
5337         can always be found in older GTK+ versions, and in CVS.
5338
5339         * configure.in
5340         * acconfig.h
5341         * gdk/Makefile.am
5342         * gdk/win32/Makefile.am
5343         * gdk/win32/libie55uid.la
5344         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
5345         switch and associated stuff. Active IMM and the <dimm.h> header
5346         was used for IM support on NT4 and Win9x. Win2k and later have IM
5347         support built-in.
5348
5349         * gdk/win32/gdkcursor-win32.c
5350         * gdk/win32/gdkdnd-win32.c
5351         * gdk/win32/gdkdrawable-win32.c
5352         * gdk/win32/gdkevents-win32.c
5353         * gdk/win32/gdkgc-win32.c
5354         * gdk/win32/gdkglobals-win32.c
5355         * gdk/win32/gdkkeys-win32.c
5356         * gdk/win32/gdkmain-win32.c
5357         * gdk/win32/gdkproperty-win32.c
5358         * gdk/win32/gdkselection-win32.c
5359         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
5360         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
5361         branches, and any variables or static functions used only by the
5362         Win9x branches.
5363
5364         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
5365         constants that aren't missing from current mingw and MSVC6
5366         headers.
5367
5368         * gdk/win32/gdkmain-win32.c
5369         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
5370         function. On NT-based Windows GetLastError() returns error codes
5371         also for failed GDI calls, so we can use _gdk_win32_api_failed()
5372         always.
5373
5374 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
5375
5376         * gtk/gtkrecentchoosermenu.c
5377         (gtk_recent_chooser_menu_set_current_uri): Break when an item
5378         is found and activated. (#353449, based on a patch by Jan Arne
5379         Petersen)
5380
5381 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
5382
5383         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
5384         properties which make all hardcoded padding and spacing values
5385         configurable. properly swap ::text-xalign treatment for RTL widgets.
5386
5387         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
5388         proeprty more consistent with GtkMisc alignment blurbs. mention
5389         RTL treatment for text-xalign.
5390
5391 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
5392
5393         * tests/testgtk.c: allow (most) windows to be resizable.
5394         added ellipsization settings to progress bars. 
5395
5396 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
5397
5398         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
5399         resonable timeout of 3 seconds when polling for printer
5400         list updates, instead of 300000 seconds...
5401
5402 2006-08-28  Michael Natterer  <mitch@imendio.com>
5403
5404         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
5405         </apply_tag> for tags that have already been closed by the logic
5406         which turns overlapping spans into XML-able trees. Fixes broken
5407         XML when there are overlapping tags in the buffer. Also free two
5408         leaked GLists and did some cleanup.
5409
5410         * tests/Makefile.am
5411         * tests/testrichtext.c: new test which creates randomly tagged
5412         GtkTextBuffers and serializes/deserializes them.
5413
5414 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
5415
5416         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
5417         Don't leak pixbufs.  (#352264, Ross Burton)
5418
5419         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
5420         PangoAttributes.  (#352391, Paolo Borelli)
5421
5422 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
5423
5424         * demos/gtk-demo/Makefile.am:
5425         * demos/gtk-demo/textscroll.c: Add an example of automatic
5426         scrolling, thanks to Yevgen Muntyan.  (#351206)
5427         
5428         * gtk/gtkmodules.c (find_module): Use local binding when
5429         loading modules.  (#351868)
5430
5431 2006-08-24  Michael Natterer  <mitch@imendio.com>
5432
5433         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
5434         the hostname instead of NULL.
5435
5436 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
5437
5438         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
5439         names and values in comboboxes, and clean up some
5440         coding style issues.
5441
5442 2006-08-23  Tor Lillqvist  <tml@novell.com>
5443
5444         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
5445         Revert unintended translatable string addition. Use same string
5446         in GError as in gtkfilesystemunix.c.
5447
5448         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
5449         Fix logic at the end of strings. 
5450
5451         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
5452         handles and check that we have no outstanding handles at
5453         finalization time. (Copying what Matthias did for
5454         gtkfilesystemunix.c)
5455
5456 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
5457
5458         * gtk/gtkfilesystemunix.c: Maintain a hash table
5459         of live handles and check that we have no outstanding
5460         handles at finalization time. (Copying what
5461         Federico did for gtkfilesystemgnomevfs.c)
5462
5463 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
5464
5465         * Branch for 2.10
5466