]> Pileus Git - ~andy/gtk/blob - ChangeLog
s/GtkType/GType/
[~andy/gtk] / ChangeLog
1 2008-06-17  Michael Natterer  <mitch@imendio.com>
2
3         * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
4         * gtk/gtktoolbutton.c (gtk_tool_button_get_type): 
5         * examples/gtkdial/gtkdial.h (gtk_dial_get_type): 
6         s/GtkType/GType/
7
8 2008-06-17  Tor Lillqvist  <tml@novell.com>
9
10         * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
11         #undef/#define dance here, too, because
12         gtk_notebook_set_group_id() is deprecated but used here before it
13         is defined, and gcc complains about conflicting type from the
14         implicit int declaration when it sees the actual void definition.
15
16         * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
17         GtkType macros.
18
19 2008-06-17  Michael Natterer  <mitch@imendio.com>
20
21         * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
22
23         * gtk/gtkclist.c
24         * gtk/gtkcombo.c
25         * gtk/gtkctree.c
26         * gtk/gtklist.c
27         * gtk/gtklistitem.c
28         * gtk/gtkoldeditable.c
29         * gtk/gtkpixmap.c
30         * gtk/gtktext.c
31         * gtk/gtktipsquery.c
32         * gtk/gtktree.c
33         * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
34         actually use deprecated symbols (not just types or macros),
35         #define it again before #include "gtkalias.h" so the symbols match
36         and the beast links.
37
38 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
39
40         * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
41
42 2008-06-17  Michael Natterer  <mitch@imendio.com>
43
44         * modules/input/gtkimcontextmultipress.h
45         * modules/input/gtkimcontextthai.h
46         * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
47         type checking macros.
48
49 2008-06-17  Michael Natterer  <mitch@imendio.com>
50
51         * gtk/gtktypeutils.h: really move the GtkType typedef to an
52         undeprecated section.
53
54 2008-06-17  Michael Natterer  <mitch@imendio.com>
55
56         * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
57         GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
58         Move the GtkType typedef to an undeprecated section.
59
60 2008-06-17  Michael Natterer  <mitch@imendio.com>
61
62         * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
63         of GTK_CHECK ones because it's the parent class of an undeprecated
64         class and the GTK_CHECK stuff will soon be deprecated.
65
66 2008-06-17  Michael Natterer  <mitch@imendio.com>
67
68         * gtk/gtkfilesel.c
69         * gtk/gtkinputdialog.c
70         * gtk/gtkmenutoolbutton.c
71         * gtk/gtkoptionmenu.c
72         * gtk/gtktoolitem.c
73         * gtk/gtktooltips.c: add or move around
74         #undef GTK_DISABLE_DEPRECATED so it's possible to build without
75         deprecated stuff again (with the minor glitch that it doesn't
76         link ;) but at least it's a tool to keep the code clean).
77
78 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
79
80         * gtk/gtkrecentmanager.c:
81         (gtk_recent_manager_remove_item): Fix dumb typo in the previous
82         commit.
83
84 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
85
86         * gtk/gtkrecentmanager.c:
87         (gtk_recent_manager_remove_item),
88         (gtk_recent_manager_move_item): Increase the consistency of the
89         errors returned by GtkRecentManager. (Paolo Borelli)
90
91 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
92
93         * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
94
95 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
96
97         * gtk/gtkrecentmanager.c:
98         (gtk_recent_manager_remove_item): Consistently use the same
99         error when removing a URI from an empty GtkRecentManager.
100
101 2008-06-17  Michael Natterer  <mitch@imendio.com>
102
103         * gtk/gtkfilechooserdefault.c: remove static integer variables
104         which hold the number of members in GtkTargetEntry arrays and use
105         G_N_ELEMENTS() directly instead.
106
107 2008-06-17  Michael Natterer  <mitch@imendio.com>
108
109         * gtk/gtk.symbols: move some deprecated symbols into
110         #ifndef GTK_DISABLE_DEPRECATED.
111
112 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
113
114         * gtk/gtkfilechooserdefault.c:
115         (gtk_file_chooser_default_init),
116         (gtk_file_chooser_default_constructor),
117         (gtk_file_chooser_default_screen_changed),
118         (recent_start_loading): Remove the GtkRecentManager screen
119         dance, as it has been deprecated since 2.12. Now we get the
120         GtkRecentManager singleton whewn we create the FileChooserDefault
121         instance. (Michael Natterer)
122
123 2008-06-17  Michael Natterer  <mitch@imendio.com>
124
125         * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
126         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
127
128 2008-06-17  Michael Natterer  <mitch@imendio.com>
129
130         * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
131         includes a bit.
132
133         * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
134         in via deprecated headers.
135
136 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
137
138         Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
139
140         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
141         against XKB being stupid. Reported by Pedro Villavicencio.
142
143 2008-06-17  Michael Natterer  <mitch@imendio.com>
144
145         * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
146         and unref() instead of the deprecated gtk_widget_ref() and unref().
147
148 2008-06-16  Michael Natterer  <mitch@imendio.com>
149
150         * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
151         svn since 2.8 but was never used.
152
153 2008-06-16  Michael Natterer  <mitch@imendio.com>
154
155         * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
156         gtk_binding_entry_clear() instead of gtk_binding_entry_add()
157         (the former is deprecated and #defined to gtk_binding_entry_clear)
158
159 2008-06-16  Michael Natterer  <mitch@imendio.com>
160
161         * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
162         unused) "gtkmarshal.h".
163
164 2008-06-16  Behdad Esfahbod  <behdad@gnome.org>
165
166         Bug 538182 – pango_cairo_context_update_layout is not noop after
167         gtk_widget_create_pango_layout
168
169         * gtk/gtksettings.c (settings_update_font_options): Make sure all
170         font option fields are set to non-DEFAULT values.
171
172 2008-06-16  Michael Natterer  <mitch@imendio.com>
173
174         * gtk/gtkfontsel.c
175         * gtk/gtkrc.c
176         * gtk/gtkstyle.c
177         * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
178         gtk_rc_style_unref().
179
180 2008-06-16  Michael Natterer  <mitch@imendio.com>
181
182         * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
183         _gtk_marshal_BOOLEAN__VOID instead of the deprecated
184         gtk_marshal_BOOLEAN__VOID.
185
186 2008-06-16  Michael Natterer  <mitch@imendio.com>
187
188         * gtk/gtkcellrendereraccel.h
189         * gtk/gtkiconview.h
190         * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
191         macros for type checking.
192
193         (gtk_object_get_type): change prototype to return GType instead of
194         GtkType.
195
196 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
197
198         * gtk/Makefile.am: Make folder, user-home and user-desktop links 
199         to gtk-directory in the builtin icon theme, so that we can
200         use these icon names without risk of ending up without an icon.
201
202 2008-06-16  Tor Lillqvist  <tml@novell.com>
203
204         Bug 538362 - Get Win32 icons back in the file chooser
205
206         * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
207         reference to an icon resource in a DLL or .EXE in the same format
208         as the DefaultIcon strings in the Registry. In that case, extract
209         the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
210         code has to be in sync with the corresponding code in
211         glib/gio/gcontenttype.c.
212
213 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
214
215         * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
216         to the builtin icon theme, to avoid showing broken images when
217         there is no icon theme around.  The new icons are thanks to
218         Lapo Calamandrei.
219
220 2008-06-16  Michael Natterer  <mitch@imendio.com>
221
222         * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
223         GtkFileChooserDefault struct.
224
225         * gtk/gtkfilechooserdefault.c: don't allocate and free the
226         GtkTooltips.
227
228 2008-06-16  Carlos Garnacho  <carlos@imendio.com>
229
230         Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
231         anymore
232
233         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
234         Allow again setting any of the properties to render an image back to
235         NULL.
236
237 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
238
239         * gtk/gtkimage.c: When pixel-size is specified, use
240         GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
241
242 2008-06-15  Carlos Garnacho  <carlos@imendio.com>
243
244         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full 
245         path here as expected, not just the basename.
246
247         * gtk/gtkfilechooserdefault.c
248         (gtk_file_chooser_default_update_current_folder): Ensure that we keep
249         a reference to file, since it can be destroyed when switching back to
250         browse mode.
251
252         * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
253         and desktop directories are dealt by the filechooser as normal files,
254         not volumes, so the icon for these is handled directly by GIO.
255         (_gtk_file_system_volume_render_icon): Update caller.
256
257 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
258
259         * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
260
261 2008-06-14  Cody Russell  <bratsche@gnome.org>
262
263         * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
264
265         Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
266         according to MSDN docs, associates the open clipboard with the
267         current task.  (#378158, reported by Andreas Köhler)
268
269 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
270
271         * configure.in: Bump version
272
273         * === Released 2.13.3 ===
274
275 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
276
277         * gtk/gtkaccelgroup.c: Add some docs
278
279         * gdk/gdkwindow.c: Fix doc typos
280
281 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
282
283         * gtk/gtkfilesystem.c: Avoid PLT entries by including
284         gtkalias.h
285
286 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
287
288         * gtk/gtkfilechooserbutton.c:
289         * gtk/gtkfilechooserdefault.c:
290         * gtk/gtkfilechooserentry.c:
291         * gtk/gtkfilesystem.c:
292         * gtk/gtkfilesystem.h:
293         * gtk/gtkfilesystemmodel.c:
294         * gtk/gtkpathbar.c: Really make GtkFileSystem private
295         by _-prefixing all functions.
296
297 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
298
299         * docs/RELEASE-HOWTO: Updates
300         * INSTALL.in: Bump version
301
302 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
303
304         * NEWS: Updates
305
306 2008-06-13  Michael Natterer  <mitch@imendio.com>
307
308         * gtk/gtkcellrendereraccel.h
309         * gtk/gtkfilechooser.h
310         * gtk/gtkfilechooserdialog.h
311         * gtk/gtkfilechooserwidget.h
312         * gtk/gtkmenutoolbutton.h
313         * gtk/gtkpagesetup.h
314         * gtk/gtkpapersize.h
315         * gtk/gtkprintcontext.h
316         * gtk/gtkprintoperation.h
317         * gtk/gtkprintoperationpreview.h
318         * gtk/gtkprintsettings.h
319         * gtk/gtkradiotoolbutton.h
320         * gtk/gtkrecentchooser.h
321         * gtk/gtkrecentchooserdialog.h
322         * gtk/gtkrecentchoosermenu.h
323         * gtk/gtkrecentchooserwidget.h
324         * gtk/gtkseparatortoolitem.h
325         * gtk/gtkshow.h
326         * gtk/gtktoggletoolbutton.h
327         * gtk/gtktoolbar.h
328         * gtk/gtktoolbutton.h
329         * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
330         "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
331
332 2008-06-13  Michael Natterer  <mitch@imendio.com>
333
334         * gtk/gtktexttagtable.h: remove double inclusion of
335         <gtk/gtktexttag.h>.
336
337 2008-06-13  Michael Natterer  <mitch@imendio.com>
338
339         * gtk/gtkaction.c (gtk_action_set_short_label): change type of
340         local "image" variable from GtkImage to GtkWidget to fix warning.
341
342 2008-06-13  Michael Natterer  <mitch@imendio.com>
343
344         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
345         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
346
347 2008-06-13  Michael Natterer  <mitch@imendio.com>
348
349         * gtk/gtkuimanager.c (start_element_handler): silently skip
350         unknown attributes instead of bailing out with an error in order
351         to be compatible with possible future attribute names.
352
353         This is related to the discussion in bug #516425 but actually
354         needed for any kind of XML format extension.
355
356 2008-05-23  Hans Breuer  <hans@breuer.org>
357
358         * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
359         Avoids crashing when the target can not be written, bug #537685
360
361         * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
362
363         * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
364         it was not needed here anyway.
365
366 2008-06-13 Matthias Clasen  <mclasen@redhat.com>
367
368         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
369         Patch by Jan Arne Peterson
370
371 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
372
373         Bug 537985 – gtk_init_with_args() doesn't open a display after
374         gtk_parse_args()
375
376         * gtk/gtkmain.c (gtk_init_with_args): Open the default display
377         even when gtk_parse_args() has already been called.
378         Patch by Mathias Hasselmann
379
380 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
381
382         Bug 524222 – GtkToolbar with mix of buttons with and without 
383         icons looks "bad"
384
385         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
386         Improve appearance of "both vertical" mode toolbuttons.
387         Patch by Peter Johanson
388
389 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
390
391         Bug 519092 – Add accessibility support to GtkVolumeButton
392
393         * gtk/gtkvolumebutton.c: Set accessibility descriptions.
394         Patch by Jonh Wendell
395
396 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
397
398         Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
399         GtkAction has problems
400         Patch by Peter Johanson
401
402         * gtk/gtkaction.c (connect_proxy): Set the image of a button
403         proxy to the "icon-name" property.
404
405         (gtk_action_set_short_label):  If the "image" property is set 
406         on the button proxy, also tries to set the "label" property on 
407         the GtkButton.
408
409 2008-06-12  Michael Natterer  <mitch@imendio.com>
410
411         * gtk/gtkmain.c
412         * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
413         in via "gtkintl.h" from <glib/gi18n-lib.h>.
414
415 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
416
417         RH bug 248245 and 449379: cups client printing from gnome
418         applications fail
419
420         * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
421         printer URI construction. Patch by Marek Kasik
422         
423 2008-06-12  Michael Natterer  <mitch@imendio.com>
424
425         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
426         limit the number of displayed items by the actual screen height
427         instead of some arbitrary value (Bug #408154, Xan Lopez and
428         Christian Dywan).
429
430 2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
431
432         Bug 503071 – Application direction changes to right to left even if
433         theres no translation
434
435         * configure.in: Bump glib requirement.
436
437         * gtk/gtkaccellabel.c
438         (_gtk_accel_label_class_get_accelerator_label):
439         * gtk/gtkactiongroup.c (dgettext_swapped):
440         * gtk/gtkbuilder.c (gtk_builder_class_init):
441         * gtk/gtkbuilderparser.c (_dpgettext),
442         (_gtk_builder_parser_translate):
443         * gtk/gtkfilechooserdefault.c (list_size_data_func):
444         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
445         * gtk/gtkintl.h:
446         * gtk/gtkmain.c (setlocale_initialization),
447         (do_pre_parse_initialization), (gettext_initialization):
448         * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
449         Use g_dgettext() and g_dngettext().
450
451 2008-06-11  Matthias Clasen <mclasen@redhat.com>
452
453         * docs/RELEASE-HOWTO: Updates
454
455 2008-06-11  Tor Lillqvist  <tml@novell.com>
456
457         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
458         support Win9x anyway, we can use ProcessIdToSessionId()
459         unconditionally.
460
461 2008-06-11  Michael Natterer  <mitch@imendio.com>
462
463         * gtk/gtkfilechooserbutton.c: fix local prototype of
464         _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
465
466 2008-06-10  Matthias Clasen <mclasen@redhat.com>
467
468         Bug 536765 – GtkComboBox should set COMBO type hint for its menu
469
470         * gtk/gtkoptionmenu.c:
471         * gtk/gtkcombobox.c: Set the window type hint on popups.
472         Patch by Danny Baumann
473
474 2008-06-10  Matthias Clasen <mclasen@redhat.com>
475
476         * gtk/gtkfilesystem.c (get_icon_for_special_directory):
477         (gtk_file_system_volume_render_icon): Add standard icon names,
478         and also fall back to builtin gtk stock icons.
479
480 2008-06-10  Christian Persch  <chpe@gnome.org>
481
482         * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
483         (gtk_tree_view_maybe_begin_dragging_row),
484         (gtk_tree_view_set_reorderable),
485         (gtk_tree_view_enable_model_drag_source),
486         (gtk_tree_view_enable_model_drag_dest),
487         (gtk_tree_view_unset_rows_drag_source),
488         (gtk_tree_view_unset_rows_drag_dest): Make
489         gtk_tree_view_enable_model_drag_[source|dest] compatible with
490         gtk_drag_[source|dest]_add_*_targets. Bug #506853.
491
492 2008-06-10  Christian Persch  <chpe@gnome.org>
493
494         * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
495         (dest_row_free), (set_dest_row), (ensure_info),
496         (gtk_tree_view_remove), (gtk_tree_view_put),
497         (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
498         bug #506853.
499
500 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
501
502         * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
503         use g_file_new_for_uri.
504
505 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
506
507         * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
508         leak the GIcon.
509
510 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
511
512         * configure.in:
513         * gtk/Makefile.am:
514         * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
515         #520874, comment #8. It's no longer used directly by GTK+.
516
517 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
518
519         Bug 520874 - Should use gio directly.
520
521         * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
522         provides helper functions for asynchronous calls, folder abstraction
523         and uniform handling of volumes/drives/mounts.
524
525         * gtk/gtkfilesystemwin32.[ch]:
526         * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
527
528         * gtk/gtkfilechooser.c:
529         * gtk/gtkfilechooserbutton.c:
530         * gtk/gtkfilechooserdefault.c:
531         * gtk/gtkfilechooserentry.[ch]:
532         * gtk/gtkfilechooserprivate.h:
533         * gtk/gtkfilechooserutils.c:
534         * gtk/gtkfilesystemmodel.[ch]:
535         * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
536         Do not load filesystem implementation modules.
537
538         * gtk/Makefile.am:
539         * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
540         anymore, nor the unix/win32 implementations.
541
542         * README.in: Add blurb about these changes.
543
544 2008-06-09  Kristian Rietveld  <kris@gtk.org>
545
546         Bug 526987 - GtkCellRendererCombo should allow model to be NULL
547
548         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
549         (gtk_cell_renderer_combo_set_property),
550         (gtk_cell_renderer_combo_editing_done),
551         (gtk_cell_renderer_combo_start_editing): introduce private class
552         struct, allow model to be set to NULL.
553
554 2008-06-08  Björn Lindqvist  <bjourne@gmail.com>
555
556         Bug 131920 – gtkNotebook sends incorrect switch_page value
557
558         * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
559         signal send correct page index when page index 0 is active and
560         removed. (#131920, Samuel Fogh)
561
562 2008-06-08  Kristian Rietveld  <kris@gtk.org>
563
564         Bug 536730 - memory corruption in gtktreeview
565
566         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
567         remove the expand/collapse timeout and node, then free the rbtree.
568
569 2008-06-08  Kristian Rietveld  <kris@gtk.org>
570
571         Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
572
573         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
574         find path if we found valid nodes, return FALSE otherwise.  (Patch
575         from Matthias Clasen).
576
577 2008-06-08  Matthias Clasen  <mclasen@redhat.com>
578
579         * gtk/gtkrecentmanager.c:
580         * gtk/gtkrecentfilter.c:
581         * gtk/gtkfilefilter.c: Replace uses of xdgmime with
582         g_content_type.
583         
584 2008-06-08  Christian Persch <chpe@gnome.org>
585
586         Bug 535608 – do not string-copy accel paths in the menu code
587
588         * gtk/gtkaccelgroup.c:
589         * gtk/gtkaccelmap.c:
590         * gtk/gtkaction.c:
591         * gtk/gtkmenu.c:
592         * gtk/gtkmenuitem.c:
593         * gtk/gtkwidget.c:  Don't store the accel path as a string in
594         gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
595         keeping a string copy around is just a waste of memory.
596         Improve the documentation to mention this.
597
598 2008-06-07  Tor Lillqvist  <tml@novell.com>
599
600         Bug 536990 - updateiconcache.c: 'close ()' is redundant
601
602         * gtk/updateiconcache.c (build_cache): Drop redundant close()
603         calls. fclose() on a fdopen()ed stream closes the underlying file
604         descriptor.
605
606 2008-06-06  Matthias Clasen  <mclasen@redhat.com>
607
608         Bug 536757 – regression: openoffice.org menus are placed at wrong
609         position since 2.12.10
610
611         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
612         Return the right coordinates.  
613
614 2008-06-06  Behdad Esfahbod  <behdad@gnome.org>
615
616         Bug 536185 – monitor font configuration
617
618         * configure.in:
619         * gdk/x11/gdksettings.c:
620         * gtk/gtksettings.c (gtk_settings_class_init),
621         (gtk_settings_notify), (settings_update_fontconfig):
622         Monitor xsettings key Fontconfig/Timestamp and upon change,
623         reread fontconfig configuration, clear Pango's caches, and
624         redraw all widgets.
625
626 2008-06-06  Ross Burton  <ross@burtonini.com>
627
628         * gtk/gtkwindow.c:
629         Fix trivial typo in documentation.
630
631 2008-06-06  Tor Lillqvist  <tml@novell.com>
632
633         * config.h.win32.in: Slight update to match what configure
634         produces.
635
636 2008-06-05  Johan Dahlin  <jdahlin@async.com.br>
637
638         * gtk/gtkbuilder.h (enum): Add the new version mismatch error
639         constant to the end of the list, to avoid breaking the stable ABI
640
641 2008-06-05  Michael Natterer  <mitch@imendio.com>
642
643         * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
644
645 2008-06-05  Li Yuan  <li.yuan@sun.com>
646
647         * gail-uninstalled.pc.in:
648         Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
649         Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
650
651 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
652
653         * docs/RELEASE-HOWTO: Update a bit
654
655 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
656
657         * configure.in: Bump version
658
659         * === Released 2.13.2 ===
660
661 2008-06-03  Federico Mena Quintero  <federico@novell.com>
662
663         * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
664         If the user presses Tab while the completion feedback window is
665         active, then we'll assert.  Remove the assertion and just re-set
666         the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
667
668 2008-06-03  Colin Walters  <walters@redhat.com>
669         
670         Bug 535303 – add _get_implementation to GtkStatusIcon
671
672         * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
673         function to retrieve internal X11 window ID, useful for libnotify.
674         * gtk/gtkstatusicon.h: Prototype it.
675         * docs/reference/gtk/gtk-sections.txt: Add to docs.
676         * gtk/gtk.symbols: Export it.
677
678 2008-06-03  Tor Lillqvist  <tml@novell.com>
679
680         * gtk/updateiconcache.c (build_cache): Use g_open().
681
682 2008-06-03  Michael Natterer  <mitch@imendio.com>
683
684         * gtk/gtkclist.h
685         * gtk/gtkctree.h: revert includes to how they have been before the
686         GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
687         that you can't include <gtk/gtk.h> from two headers where one is a
688         parent class of the other and expect them both to be includable
689         individually.
690
691 2008-06-03  Michael Natterer  <mitch@imendio.com>
692
693         * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
694
695 2008-06-02  Matthias Clasen  <mclasen@redhat.com>
696         
697         Bug 536092 – GtkEntryCompletion's popup window should set type hint
698
699         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
700         a type hint on the popup window to help compiz.
701         Patch by Vaclav Slavik.
702
703 2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
704
705         Bug 535862 – gtk_action_create_icon can't create icons from the
706         icon themes
707
708         * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
709         the default factories as it's supposed.
710
711 2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>
712
713         Bug 535497 – Print preview doesn't work.
714
715         * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
716         instead of launching Preview.app directly.
717
718 2008-06-02  Michael Natterer  <mitch@imendio.com>
719
720         * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
721         in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
722         (bug #536126).
723
724 2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>
725
726         Bug 535830 – wrong content type adding an item
727
728         * gtk/gtkrecentmanager.c:
729         (gtk_recent_manager_add_item_query_info): Use the correct API
730         for retrieving the fast MIME type of a URI. (Carlos Garcia
731         Campos)
732
733 2008-05-31  Kristian Rietveld  <kris@imendio.com>
734
735         Bug 530146 - Setting non-string tooltip with
736         gtk_tree_view_set_tooltip_column() segfaults
737
738         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
739         gtk_tree_model_get_value() and explicitly transform the value to a
740         string before setting it as tooltip.
741
742 2008-05-30  Tor Lillqvist  <tml@novell.com>
743
744         * modules/engines/ms-windows/msw_style.h
745         * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
746
747 2008-05-30  Michael Natterer  <mitch@imendio.com>
748
749         * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
750         GDestroyNotify when using it in g_object_set_data_full().
751
752 2008-05-30  Michael Natterer  <mitch@imendio.com>
753
754         * gdk/gdkapplaunchcontext.h
755         * gdk/gdktestutils.h
756         * gtk/gtkmountoperation.h
757         * gtk/gtkshow.h
758         * gtk/gtktestutils.h
759         * gtk/gtktoolshell.h: no need to allow disabling single includes
760         conditionally in these new files. Simply forbid including them
761         individually from the beginning.
762
763 2008-05-30  Tor Lillqvist  <tml@novell.com>
764
765         Bug 533108 - leak of GDI region in function 'handle_wm_paint'
766
767         * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
768         Atallah.
769
770 2008-05-29  Matthias Clasen <mclasen@redhat.com>
771
772         * configure.in: Bump version 
773
774         * === Released 2.13.1 ===
775
776         * NEWS: Updates
777
778 2008-05-29  Matthias Clasen <mclasen@redhat.com>
779
780         * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
781
782 2008-05-29  Matthias Clasen <mclasen@redhat.com>
783
784         * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
785
786 2008-05-29  Tor Lillqvist  <tml@novell.com>
787
788         Bug 535526 - updateiconcache.c: using open/close without prototype
789
790         * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
791         g_utime() when available instead of utime() for UTF-8 pathname
792         support on Windows.
793
794 2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
795
796         Bug 56355 – GtkLabel - Not all changes propagate correctly
797
798         * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
799         (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
800         (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
801         Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
802         notifications of mnemonic-keyval changes.
803
804 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
805
806         Bug 522084 – GIcon support for GtkIconTheme & GtkImage
807
808         * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
809         * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
810         * gtk/gtk.symbols: Additions
811         * tests/testimage.c: Add a GIcon test
812
813 2008-05-29  Michael Natterer  <mitch@imendio.org>
814
815         * gtk/Makefile.am
816         * gtk/gtkunixprint.h: add a single-include header for the unix
817         print stuff.
818
819         * gtk/gtkpagesetupunixdialog.h
820         * gtk/gtkprinter.h
821         * gtk/gtkprintjob.h
822         * gtk/gtkprintunixdialog.h: add single-include guards that #error
823         out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
824         files is included individually.
825
826         * gtk/gtkprintbackend.h
827         * gtk/gtkprinter-private.h
828         * modules/printbackends/cups/gtkprintbackendcups.c
829         * modules/printbackends/cups/gtkprintercups.h
830         * modules/printbackends/lpr/gtkprintbackendlpr.c
831         * tests/buildertest.c
832         * tests/defaultvaluetest.c
833         * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
834         individual files.
835
836 2008-05-28  Michael Natterer  <mitch@imendio.com>
837
838         * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
839         excess newlines and sprinkled some newlines where needed. Zero
840         code or formatting changes included.
841
842 2008-05-28  Michael Natterer  <mitch@imendio.com>
843
844         * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
845
846 2008-05-28  Michael Natterer  <mitch@imendio.com>
847
848         * gtk/gtkcolorbutton.h: fix comment: the widget is called
849         GtkColorButton, not GtkColorSelectButton. Remove trailing
850         whitespace and excess newlines.
851
852 2008-05-28  Michael Natterer  <mitch@imendio.com>
853
854         * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
855         GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
856         to CPPFLAGS so it's impossible to commit code that would break
857         apps which use DISABLE_INCLUDE defines.
858
859 2008-05-28  Michael Natterer  <mitch@imendio.com>
860
861         * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
862         headers.
863
864         * gtk/gtktypebuiltins.h.template
865         * gtk/gtkversion.h.in
866         * gtk/gtk*.h: add single-include guards that #error out if
867         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
868         included individually.
869
870         * gtk/gtkprintbackend.h
871         * gtk/gtkprinter-private.h
872         * gtk/gtktextlayout.h
873         * gtk/gtktexttagprivate.h
874         * gtk/gtktexttypes.h
875         * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
876         headers in these private or semi-private headers.
877
878         * gtk/gtkimmodule.h: also here because it's not in gtk.h.
879
880         * gtk/gtkpagesetupunixdialog.h
881         * gtk/gtkprinter.h
882         * gtk/gtkprintjob.h
883         * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
884
885         * gtk/gtkclist.h
886         * gtk/gtkcombo.h
887         * gtk/gtkctree.h
888         * gtk/gtkfilesel.h
889         * gtk/gtkitemfactory.h
890         * gtk/gtklist.h
891         * gtk/gtklistitem.h
892         * gtk/gtkoldeditable.h
893         * gtk/gtkoptionmenu.h
894         * gtk/gtkpixmap.h
895         * gtk/gtkpreview.h
896         * gtk/gtksignal.h
897         * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
898         instead of individual headers in these deprecated headers. They
899         don't get included at all when GTK_DISABLE_DEPRECATED is defined,
900         so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
901         and include them individually, which should continue to work.
902
903         * gtk/gtkclist.c: include "gtkctree.h" because of the change
904         above.
905
906 2008-05-28  Kristian Rietveld  <kris@imendio.com>
907
908         Bug 449625 - crash in gtk_tree_view_real_move_cursor at
909         gtktreeview.c:9641
910
911         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
912         cursor_offset *must* be larger than background height of the cursor
913         node, not just equal otherwise there is no guarantee there is a next
914         node.
915
916 2008-05-28  Michael Natterer  <mitch@imendio.com>
917
918         * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
919
920 2008-05-28  Michael Natterer  <mitch@imendio.com>
921
922         * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
923         headers.
924
925         * gdk/gdkenumtypes.h.template
926         * gdk/gdk*.h: add single-include guards that #error out if
927         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
928         included individually. Also removed some redundant includes and
929         did some tiny trailing whitespace removal that's not worth to
930         commit separately.
931
932         * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
933         files.
934
935         * gdk/win32/gdkwin32.h
936         * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
937         other includes.
938
939 2008-05-28  Kristian Rietveld  <kris@imendio.com>
940
941         Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
942         current widget again.
943
944         * gtk/gtktooltip.c (gtk_tooltip_set_custom),
945         (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
946         custom_was_reset field to check if the custom widget is set again in
947         the query-tooltip callback; if not, we set it to NULL.  Based on a
948         patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
949         and Christian Persch.
950
951 2008-05-28  Michael Natterer  <mitch@imendio.com>
952
953         * modules/printbackends/cups/gtkcupsutils.c
954         * modules/printbackends/cups/gtkprintbackendcups.c
955         * modules/printbackends/file/gtkprintbackendfile.c
956         * modules/printbackends/lpr/gtkprintbackendlpr.c: include
957         <gtk/gtk.h> instead of individual files.
958
959 2008-05-28  Michael Natterer  <mitch@imendio.com>
960
961         * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
962         individual files.
963
964 2008-05-28  Kristian Rietveld  <kris@imendio.com>
965
966         Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
967
968         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
969         ->priv->tree != NULL.  Suggestion from Stefan Kost.
970
971 2008-05-28  Kristian Rietveld  <kris@imendio.com>
972
973         Bug 324282 - add selected signal to cell renderer combo.
974
975         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
976         (gtk_cell_renderer_combo_changed),
977         (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
978         that will be emitted as soon as the combo box emitted changed and has
979         an active iterator.  (Modified patch based on work by James
980         Pelletier).
981
982         * gtk/gtkmarshalers.list: add marshaler.
983
984 2008-05-28  Kristian Rietveld  <kris@imendio.com>
985
986         Refactor expand/collapse timeout handling (amendment to bug 511217).
987
988         * gtk/gtktreeview.c (add_expand_collapse_timeout),
989         (remove_expand_collapse_timeout): new functions, the remove function
990         also clears expanded_collapsed_node,
991         (cancel_arrow_animation): moved to be next to the add/remove timeout
992         functions,
993         (gtk_tree_view_unrealize),
994         (gtk_tree_view_row_deleted),
995         (gtk_tree_view_set_model),
996         (cancel_arrow_animation),
997         (gtk_tree_view_real_expand_row),
998         (gtk_tree_view_real_collapse_row): use the new add/remove functions.
999
1000 2008-05-28  Kristian Rietveld  <kris@imendio.com>
1001
1002         Amendment of bug 485218 - Strange warning encountered.
1003
1004         * gtk/gtktreemodelsort.[ch]
1005         (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
1006         indication whether or not the conversion had succeeded.
1007
1008 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1009
1010         Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
1011
1012         * modules/printbackends/cups/gtkprintbackendcups.c
1013         (cups_printer_create_cairo_surface): Fall back to PostScript level 2
1014         if the printer does not support level 3. Patch by Marek Kašík.
1015
1016 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1017
1018         Bug 404571 - Scroll arrow backgrounds should be painted with different
1019         detail
1020
1021         * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" 
1022         as detail when drawing scroll arrow backgrounds. Proposed by
1023         Tommi Komulainen.
1024         
1025 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1026
1027         Bug 511217 - potential memory corruption after refreshing a tree_view
1028
1029         * gtk/gtktreeview.c (cancel_arrow_animation): Reset
1030         expanded_collapsed_node when canceling the animation.
1031         Patch by Nicholas Setton.
1032
1033 2008-05-28  Michael Natterer  <mitch@imendio.com>
1034
1035         * modules/input/gtkimcontextime.h
1036         * modules/input/gtkimcontextmultipress.h
1037         * modules/input/gtkimcontextthai.h
1038         * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
1039         individual files.
1040
1041         * modules/input/gtkimcontextime.c
1042         * modules/input/gtkimcontextmultipress.c
1043         * modules/input/gtkimcontextxim.c
1044         * modules/input/imam-et.c
1045         * modules/input/imcedilla.c
1046         * modules/input/imcyrillic-translit.c
1047         * modules/input/iminuktitut.c
1048         * modules/input/imipa.c
1049         * modules/input/imti-er.c
1050         * modules/input/imti-et.c
1051         * modules/input/imviqr.c: ditto. Some minor cleanups like moving
1052         "gtk/gtkintl.h" to the end of includes.
1053
1054 2008-05-28  Michael Natterer  <mitch@imendio.com>
1055
1056         * modules/engines/pixbuf/pixbuf-style.h
1057         * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
1058         instead of individual files.
1059
1060 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1061
1062         Bug 485218 - Strange warning encountered
1063
1064         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
1065         (gtk_tree_model_sort_convert_child_iter_to_iter):
1066         (gtk_tree_model_sort_build_level): Better warnings. Patch
1067         by Kristian Rietveld.
1068
1069 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1070
1071         Bug 351910 - Search column setting lost
1072
1073         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
1074         the docs. Patch by Matt Barnes.
1075
1076 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1077
1078         Bug 477278 - avoid unnecessary pointer subtraction
1079
1080         * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer 
1081         subtraction that sparse complains about. Patch by Christian
1082         Persch.
1083
1084 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1085
1086         Bug 106574 - Inconsistent increment behavior for gtkspinbutton
1087
1088         * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
1089         Commit the entry text before doing an increment. Patch by
1090         Björn Lindqvist.
1091
1092 2008-05-27  Federico Mena Quintero  <federico@novell.com>
1093
1094         http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
1095         drag and drop from the file list into itself, as it doesn't make
1096         sense (it would just change the current folder).
1097
1098         * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
1099         GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
1100         itself.
1101
1102 2008-05-27  Michael Natterer  <mitch@imendio.com>
1103
1104         * gtk/gtksignal.h: move deprecated guards around everything,
1105         including includes and include guards (just as in all other
1106         deprecated files).
1107
1108 2008-05-27  Tor Lillqvist  <tml@novell.com>
1109
1110         * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
1111         on Windows. (No S_I?GRP and S_I?OTH bits are defined in
1112         <sys/stat.h> on Windows, and the mode used in open() doesn't
1113         matter much as there are no rwxrwxrwx bits on Windows anyway.)
1114         Open file in binary mode. Passing "b" to fdopen() later isn't
1115         enough.
1116
1117 2008-05-27 10:33:41  Tim Janik  <timj@imendio.com>
1118
1119         * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
1120         invalid or invisible widgets.
1121
1122 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1123
1124         Bug 531008 – Crash in gtkprintunixdialog.c
1125
1126         * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
1127         the dialog closes. Patch by Yevgen Muntyan.
1128
1129 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1130
1131         RH bug 248245: cups client printing from gnome applications fail
1132
1133         * modules/printbackends/cups/gtkprintbackendcups.c
1134         (gtk_print_backend_cups_print_stream): Specify the right server.
1135
1136 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
1137
1138         * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
1139         rubberbanding when "select-multiple" is TRUE. Bug #446068.
1140
1141 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
1142
1143         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
1144         correctly dialog buttons sensitivity when the anonymous option is
1145         enabled by default. Bug #531865.
1146
1147 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
1148
1149         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
1150         password dialog modal and transient for the parent window also if it
1151         was specified in the constructor. Bug #531864.
1152
1153 2008-05-26  Richard Hult  <richard@imendio.com>
1154
1155         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
1156         setting the default font, might need to tweak this.
1157
1158 2008-05-26  Michael Natterer  <mitch@imendio.com>
1159
1160         * examples/gtkdial/gtkdial.h
1161         * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
1162
1163 2008-05-26  Michael Natterer  <mitch@imendio.com>
1164
1165         * gtk/gtkimmodule.h: fix indentation.
1166
1167 2008-05-26  Michael Natterer  <mitch@imendio.com>
1168
1169         * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
1170
1171         * gtk/gtkshow.c: remove inclusion of single files from gdk/
1172
1173         Removed trailing whitespace in both files.
1174
1175 2008-05-26  Richard Hult  <richard@imendio.com>
1176
1177         Bug 530353 – Mac-like gtk_accelerator_get_label()
1178
1179         * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
1180         (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
1181         On quartz, make gtk_accelerator_get_label() format a Mac-like
1182         string, using unicode characters for modifier keys, arrows, delete
1183         etc. Patch from Yevgen Muntyan.
1184
1185 2008-05-26  Richard Hult  <richard@imendio.com>
1186
1187         Bug 534869 – Length miscalculation in
1188         _gtk_quartz_get_selection_data_from_pasteboard
1189
1190         * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
1191         Get the number of bytes, not the number of characters, patch from
1192         Yevgen Muntyan.
1193
1194 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1195
1196         * gtk/gtkwidget.c: Some doc formatting fixes.
1197
1198 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1199
1200         Bug 511163 – Remove pango_extents_to_pixels() calls
1201
1202         * gtk/gtkcellrenderertext.c (get_size): Use
1203         pango_layout_get_pixel_extents.
1204
1205         * configure.in: Bump Pango requirement to 1.20
1206
1207         * INSTALL.in: Update required versions
1208
1209 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1210
1211         Bug 513811 – Use cairo_format_stride_for_width()
1212
1213         * gtk/gtkhsv.c (paint_ring, paint_triangle):
1214         * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
1215         cairo_format_stride_for_width, proposed by Behdad Esfahbod.
1216
1217         * configure.in: Bump cairo requirement to 1.6.0
1218
1219         * INSTALL.in: Update required versions
1220
1221 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1222
1223         * gtk/gtkshow.[hc]: Formatting fixes
1224
1225         * gtk/gtkmountoperation.c: Add docs
1226
1227 2008-05-25  Cody Russell  <bratsche@gnome.org>
1228
1229         Bug 507389 – use gslice for gtksettings
1230
1231         * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
1232         Report and patch by Christian Persch.
1233
1234 2008-05-25  Cody Russell  <bratsche@gnome.org>
1235
1236         Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
1237         when options are missing
1238
1239         * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
1240         that other processes that try to open it will fail gracefully.  Also
1241         fix a crasher caused by lack of a NULL check.  Report and patch
1242         by Erwann Chenede.
1243
1244 2008-05-25  Cody Russell  <bratsche@gnome.org>
1245
1246         Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
1247
1248         * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
1249         !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
1250         so that we also take into account for foreign windows.
1251         Report and patch by Nathaniel Smith.
1252
1253 2008-05-25  Cody Russell  <bratsche@gnome.org>
1254
1255         Bug 525461 - Don't invalidate under an input-only child
1256
1257         * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
1258         Check that the window is not input-only before invalidating.
1259         Report and patch by Owen Taylor.
1260
1261 2008-05-25  Cody Russell  <bratsche@gnome.org>
1262
1263         Bug 524110 - Gdk should not assume reparenting WMs when retrieving
1264         window frame extents
1265
1266         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
1267         Use _NET_FRAME_EXTENTS, if available.  Patch by Danny Baumann.
1268
1269 2008-05-25  Cody Russell  <bratsche@gnome.org>
1270
1271         Bug 522269 - Evince windows sometimes incorrectly unmaximized,
1272         caused by missing flag initialization
1273
1274         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
1275         top-level private flags correctly.  Patch by Danny Baumann.
1276
1277 2008-05-25  Cody Russell  <bratsche@gnome.org>
1278
1279         Bug 534463 - non-editable GtkTextView should not call
1280         gtk_im_context_focus_in in focus event
1281
1282         * gtk/gtktextview.c: Add checks to see if the textview is
1283         editable.  Patch by Wang Diancheng.
1284
1285 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1286
1287         Bug 501730 – use GSlice for small allocs
1288
1289         * gtk/gtkmenuitem.c:
1290         * gtk/gtkmenu.c: Use the slice allocator for small allocations.
1291         Patch by Christian Persch.
1292         
1293 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1294
1295         Bug 523930 – sort -> search in gtktreeview.c
1296
1297         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
1298         glitch, pointed out by Björn Lindqvist.
1299
1300 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1301
1302         Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
1303
1304         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
1305         doc glitch, pointed out by Christian Persch.
1306
1307 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1308
1309         Bug 534694 – Col id in GtkListStore could be out of range
1310
1311         * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
1312         a bit. Pointed out by Jan Arne Petersen.
1313
1314 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1315
1316         Bug 532497 – Configure problem when cross-compiling
1317
1318         * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
1319         pointed out by Marko Lindqvist.
1320
1321 2008-05-25  Richard Hult  <richard@imendio.com>
1322
1323         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1324         Slight coding style cleanup.
1325
1326 2008-05-25  Tristan Van Berkom <tvb@gnome.org>
1327
1328         * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
1329         Added support for parsing required toolkit versions (so that ui descriptions
1330         can target specific versions of the backend widget libraries) bug 527612.
1331
1332         * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1333         for the added xml tags to the ui description.
1334
1335         * tests/buildertest.c: Enhanced pango attribute tests, Added tests
1336         for requires tag handling.
1337
1338 2008-05-25  Richard Hult  <richard@imendio.com>
1339
1340         * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
1341         gtk_drag_source_info_destroy in an idle, workaround for bug
1342         #501588, that makes any code that uses the context returned from
1343         gtk_drag_begin() crash, like treeview/iconview dnd.
1344         (GdkDragSourceOwner::provideDataForType): only use the data if we
1345         got any.
1346
1347 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1348
1349         * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
1350         to the drag actions to allow trash (#137717).
1351
1352 2008-05-25  Josselin Mouette  <joss@malsain.org>
1353
1354         reviewed by: Matthias Clasen
1355
1356         * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
1357         check that tracker is actually working before using it. Fixes
1358         bug #479197.
1359
1360 2008-05-25  Sven Neumann  <sven@gimp.org>
1361
1362         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
1363         (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
1364         and don't create an output window if it is set.
1365
1366         * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
1367         drawing areas. Fixes bug #519317.
1368
1369 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1370
1371         * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
1372         (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
1373         * gtk/gtkentry.h:
1374         * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
1375         (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
1376         (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
1377         (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
1378         (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
1379         (start_spinning), (gtk_spin_button_button_release),
1380         (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
1381         (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
1382         (gtk_spin_button_update): Reorder strange window hierarchy of the
1383         GtkSpinButton (#466000).
1384
1385 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1386
1387         * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
1388         fix the wrong position for right and center justified labels with
1389         logical.x > 0 (#530255).
1390
1391 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1392
1393         * gtk/gtkfilechooserdefault.c:
1394         (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
1395         errors (#532262).
1396
1397 2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
1398
1399         * tests/pixbuf-lowmem.c
1400         * tests/pixbuf-random.c
1401         * tests/pixbuf-randomly-modified.c
1402         * tests/pixbuf-read.c
1403         * tests/pixbuf-threads.c
1404         * tests/testgtk.c
1405         * tests/testtreeview.c: Fix remaining compiler warnings in these
1406         files (#523751).
1407
1408 2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
1409
1410         reviewed by: Matthias Clasen
1411
1412         * gtk/Makefile.am:
1413         * gtk/gtk.h:
1414         * gtk/gtk.symbols:
1415         * gtk/gtkshow.c: (gtk_show_uri):
1416         * gtk/gtkshow.h:
1417         Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
1418
1419 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1420
1421         * gtk/gtkliststore.c: (list_store_text): Use type of the correct
1422         column (#529535).
1423         * tests/buildertest.c: (test_list_store): Add test.
1424
1425 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
1426
1427         Bug 520989 – icon factory buildable too strict
1428
1429         * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
1430         an optional attribute.
1431
1432 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
1433
1434         Bug 387972 – gtkassistant drawing problem
1435
1436         * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make 
1437         GtkAssistant work better in glade. 
1438
1439 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
1440
1441         * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
1442         properties "expand" and "homogeneous" from TRUE to FALSE (as they are
1443         used in GtkToolItem) (#532787).
1444
1445 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
1446
1447         * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
1448         try to toggle the visibility of the location entry field in search and
1449         recent mode (#526422).
1450
1451 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
1452
1453         * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
1454         (shortcuts_list_create): Show parse name as tooltip for path
1455         shortcuts (#137503).
1456
1457 2008-05-24  Björn Lindqvist  <bjourne@gmail.com>
1458
1459         * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
1460         pango_color_parse, do not reference XParseColor forms (#434991).
1461
1462 2008-05-24  James Sharpe <jsharpe@gnome.org>
1463
1464         * gdk/gdk.symbols: Remove duplicate
1465         gdk_window_redirect_to_drawable and gdk_window_remove_redirection
1466         * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
1467         
1468 2008-05-23  Hans Breuer  <hans@breuer.org>
1469
1470         * **/makefile.msc gtk/makefile.msc.in : updated
1471         * gtk/gtkwidget.c : fix c99ism (variable at start of block
1472         * gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
1473         redirection
1474         * gtk/gtkfilechooserdefault.c : #include <locale.h> for 
1475         setlocale(LC_ALL, ...)
1476
1477 2008-05-23  Tor Lillqvist  <tml@novell.com>
1478
1479         * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
1480         gdk_window_remove_redirection.
1481
1482         * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
1483         (_gdk_window_reparent): Rename to adapt to the offscreen rendering
1484         changes. Remove now unnecessary parameter checks as the caller
1485         does that already.
1486
1487         * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
1488
1489 2008-05-23  Tor Lillqvist  <tml@novell.com>
1490
1491         * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
1492         anything if style doesn't change. Improve debugging output.
1493
1494 2008-05-23  Michael Natterer  <mitch@gimp.org>
1495
1496         * perf/widgets.h
1497         * tests/print-editor.c
1498         * tests/prop-editor.h
1499         * tests/testmountoperation.c
1500         * tests/testmultidisplay.c
1501         * tests/testnouiprint.c
1502         * tests/testprint.c
1503         * tests/testprintfileoperation.h
1504         * tests/testtreesort.c
1505         * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
1506         files. Remove some redundant includes.
1507
1508 2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>
1509
1510         * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
1511         GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
1512
1513 2008-05-21  Richard Hult  <richard@imendio.com>
1514
1515         * gdk/quartz/gdkwindow-quartz.c:
1516         (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1517         offscreen rendering changes, fixes build.
1518
1519 2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
1520
1521         * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1522
1523         * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1524         return snapshot pixmap coordinates widget relative in *clip_rect.
1525
1526         * tests/testgtk.c: fixed bogus NULL pointer unref.
1527
1528 2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
1529
1530         * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1531         widget's allocation to cover extra widget windows placed outside the
1532         widget allocation (spinbutton arrows are the prime example for this).
1533
1534 2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
1535
1536         * Applied pixmap redirection patch by Alexander Larsson with
1537         various updates from:
1538         Bug 318807 – Offscreen windows and window redirection.
1539
1540
1541         Updates:
1542
1543         * updated docs to mention "Since 2.16".
1544
1545         * tests/testgtk.c: fixed snapshooting pixmap leak.
1546         convert pixmap to pixbuf after snapshooting, to compensate for different
1547         bit depths (occurs when snapshooting ARGB visuals and displaying the
1548         pixmap in an RGB visual).
1549
1550         * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1551
1552         * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1553         need for it. enqueue damage notification as GDK_DAMAGE events
1554         for each painting redirection at the start of the event queue.
1555         consider windows with a redirection fully visible when invalidating,
1556         and when updating from backing store. cleaned up stale variables.
1557
1558         * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1559
1560         * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1561         gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1562         tree, drawingarea, text, handlebox, etc.
1563         clip the redirected window hierarchy to window sizes, the visible
1564         rectangles don't need to be taken into account here.
1565         extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1566         in case pixmap visuals could mismatch.
1567
1568         * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1569
1570
1571         Base patch:
1572
1573         * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1574         of possibly obscured widgets into an offscreen pixmap.
1575
1576         * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1577         gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1578
1579         * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1580
1581         * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1582         implementations here, adapted them to propagate redirects to child windows.
1583         gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1584         clipped to visible region. queue GDK_DAMAGE event delivery.
1585         gdk_window_redirect_to_drawable(): install window painting redirection.
1586         gdk_window_remove_redirection(): remove previously installed redirection.
1587
1588         * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1589         renamed _gdk_window_new() and _gdk_window_reparent().
1590
1591         * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1592         gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1593
1594         * gdk/gdkevents.h: added GDK_DAMAGE event type.
1595
1596         * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1597
1598         * gdk/gdkinternals.h: added internal prototypes.
1599
1600 2008-05-21  Michael Natterer  <mitch@imendio.com>
1601
1602         * gtk/gtkalignment.c
1603         * gtk/gtkarrow.c
1604         * gtk/gtkbbox.c
1605         * gtk/gtkcalendar.c
1606         * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1607
1608 2008-05-20  Matthias Clasen  <mclasen@redhat.com>
1609
1610         RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1611         was chosen
1612
1613         Patch by Marek Kasik.
1614
1615         * gtk/gtk.symbols:
1616         * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1617         
1618         * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1619
1620         * modules/printbackends/file/gtkprintbackendfile.c:
1621         * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1622         get_default_page_size.
1623
1624         * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1625         select its default paper size.
1626
1627         * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1628         use the printer default.
1629
1630         * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1631         if we don't have a default page setup.
1632
1633 2008-05-20  Gian Mario Tagliaretti  <gianmt@gnome.org>
1634
1635         * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1636         can accept NULL for none. Fixes bug #533920.
1637
1638 2008-05-20  Björn Lindqvist  <bjourne@gmail.com>
1639
1640         * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1641         gtk_spin_button_update): Remove two chunks of duplicated
1642         code (#533733).
1643
1644 2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>
1645
1646         * reverted recent unapproved changes by Yair Hershkovitz,
1647         regarding: Bug 503071 – Application direction changes to right
1648         to left even if theres no translation.
1649
1650 2008-05-19  Richard Hult  <richard@imendio.com>
1651
1652         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1653         (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1654         SetSystemUIMode instead of hiding and showing the menubar.
1655
1656 2008-05-19  Federico Mena Quintero  <federico@novell.com>
1657
1658         http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1659         can't be resized until you expand the "Browse for other folders"
1660         section.
1661
1662         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1663         Removed the "get_resizable" method.
1664         (_gtk_file_chooser_embed_get_resizable): Removed.
1665
1666         * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1667
1668         * gtk/gtkfilechooserdefault.c: Likewise.
1669
1670         * gtk/gtkfilechooserdialog.c
1671         (file_chooser_widget_default_size_changed): Act as if the dialog
1672         were always resizable.
1673
1674 2008-05-19  Michael Natterer  <mitch@imendio.com>
1675
1676         * gtk/gtkcellrenderer.c
1677         * gtk/gtkcellrendererpixbuf.c
1678         * gtk/gtkcellrenderertoggle.c
1679         * gtk/gtkimagemenuitem.c
1680         * gtk/gtkmenutoolbutton.c
1681         * gtk/gtkoptionmenu.c
1682         * gtk/gtkstatusbar.c
1683         * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1684
1685 2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
1686
1687         * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1688         g_disable_setlocale().
1689
1690 2008-05-17  Richard Hult  <richard@imendio.com>
1691
1692         * gdk/quartz/gdkwindow-quartz.c:
1693         (gdk_window_impl_quartz_invalidate_maybe_recurse):
1694         (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1695         of g_idle_add. Add a temporary check if the window is already in
1696         the updates list, since update_area currently doesn't always match
1697         the backend's state, see bug #530801.
1698
1699 2008-05-13  Tor Lillqvist  <tml@novell.com>
1700
1701         Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1702
1703         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1704         the "packet rate" of devices to zero instead of 50. This is
1705         reported to help significantly with Wacom tablet behaviour in GIMP
1706         and Inkscape. Patch from Thomas Bleeker.
1707
1708 2008-05-12  Richard Hult  <richard@imendio.com>
1709
1710         * gdk/quartz/gdkevents-quartz.c:
1711         * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1712         as it's no longer necessary; instead the added quartz API to get
1713         the nsevent from an event should be used. Also move the global
1714         filter up so it's done before the check for window-less events.
1715
1716 2008-05-12  Tor Lillqvist  <tml@novell.com>
1717
1718         Bug 532558 - Cannot build dll when using separate builddir
1719
1720         * gdk/Makefile.am
1721         * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1722         Lindqvist.
1723
1724 2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>
1725
1726         * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1727
1728 2008-05-12  Tor Lillqvist  <tml@novell.com>
1729
1730         Bug 532059 - Leak in win32 clipboard manipulation
1731
1732         * gdk/win32/gdkselection-win32.c
1733         (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1734         Daniel Atallah.
1735
1736 2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>
1737
1738         * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1739         gettext_initialization only once.
1740
1741         *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1742         duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext 
1743         with the extended functionality that was in the removed dpgettext().
1744
1745         * gtk/gtkaccellabelc:
1746         * gtk/gtkstock.c:
1747         * gtk/gtkimmulticontext.c:
1748         * gtk/gtkactiongroup.c:
1749         * gtk/gtkintl.h: use glib i18n api.
1750
1751 2008-05-08  Richard Hult  <richard@imendio.com>
1752
1753         * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1754         currently invalidated region. Fixes bug #532048, patch by Yevgen
1755         Muntyan.
1756
1757 2008-05-08  Richard Hult  <richard@imendio.com>
1758
1759         * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1760         fd's revents, not the first one. Fixes bug #531056, spotted by
1761         Yevgen Muntyan.
1762
1763 2008-05-07  Tor Lillqvist  <tml@novell.com>
1764
1765         * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1766         to the dev zipfile.
1767
1768 2008-05-05  Matthias Clasen  <mclasen@redhat.com>
1769
1770         Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1771         more printer status information in the print dialog. 
1772
1773         * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1774         printer-state-reasons into suitable messages and icons.
1775
1776         * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1777         * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1778         * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1779         * gtk/Makefile.am: 
1780         * gtk/gtkiconfactory.c:
1781         * gtk/gtkstock.h: New stock icons to display printer state.
1782
1783 2008-05-07  Michael Natterer  <mitch@imendio.com>
1784
1785         * gdk/gdkinternals.h
1786         * gdk/gdkevents.c
1787         * gdk/directfb/gdkevents-directfb.c
1788         * gdk/quartz/gdkevents-quartz.c
1789         * gdk/win32/gdkevents-win32.c
1790         * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1791         order parameters src,dest and make src const.
1792
1793 2008-05-06  Richard Hult  <richard@imendio.com>
1794
1795         * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1796         * gdk/gdkinternals.h: Add private backend data to events, and
1797         handle it when copying/freeing events. Currently only needed in
1798         the quartz backend.
1799
1800         * gdk/directfb/gdkevents-directfb.c:
1801         * gdk/quartz/gdkevents-quartz.c:
1802         * gdk/win32/gdkevents-win32.c:
1803         * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1804         (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1805         directfb. Implement for quartz. Part of fixing bug #473822.
1806
1807 2008-05-05  Richard Hult  <richard@imendio.com>
1808
1809         * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1810         framework if there is one.
1811
1812 2008-05-05  Michael Natterer  <mitch@imendio.com>
1813
1814         * gtk/gtkcellrenderercombo.h
1815         * gtk/gtkcellrendererspin.h
1816         * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1817         consistency.
1818
1819         * gtk/gtkfilechooserdialog.h
1820         * gtk/gtkfilechooserwidget.h
1821         * gtk/gtkscalebutton.h: reorder instance and class structs to be
1822         in canonical order.
1823
1824 2008-05-04  Richard Hult  <richard@imendio.com>
1825
1826         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1827         gdk_unicode_to_keyval() worked before using the result. Makes
1828         function keys work, bug #530156. Also add F16 to the function key
1829         map.
1830
1831 2008-05-04  Richard Hult  <richard@imendio.com>
1832
1833         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1834         semicolon after if statement. Fixes bug #530963, patch from Yevgen
1835         Muntyan.
1836
1837 2008-05-02  Michael Natterer  <mitch@imendio.com>
1838
1839         * gtk/gtk.h: add 15 files that were missing (they all got included
1840         indirectly by including gtk.h, so should have been here in the
1841         first place).
1842
1843 2008-05-02  Michael Natterer  <mitch@imendio.com>
1844
1845         * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1846
1847 2008-05-01  Richard Hult  <richard@imendio.com>
1848
1849         * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1850         Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1851
1852 2008-05-01  Matthias Clasen  <mclasen@redhat.com>
1853
1854         * modules/imput/imthai.c: Register the right translation domain.
1855
1856 2008-04-30  Matthias Clasen  <mclasen@redhat.com>
1857
1858         Bug 529386 – Printing options hidden by blacklisted option
1859
1860         * modules/printbackend/cups/gtkprintbackendcups.c
1861         (cups_printer_get_options): Fix the blacklist handling. 
1862         Patch by Marek Kašík.
1863         
1864 2008-04-30  Richard Hult  <richard@imendio.com>
1865
1866         * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1867         area.
1868
1869 2008-04-30  Richard Hult  <richard@imendio.com>
1870
1871         * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1872         nsevents with the gdk lock held, fixes deadlock when doing manual
1873         window resizing with threading enabled.
1874
1875 2008-04-30  Richard Hult  <richard@imendio.com>
1876
1877         * gdk/quartz/gdkevents-quartz.c:
1878         (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1879         Alt to Alt and Cmd to Meta. This is not only more logical but also
1880         makes it easier to have Mac-like behavior.
1881
1882 2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
1883
1884         * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1885         painting the flat box instead of recalculating it. (#437493,
1886         Ricardo Cruz)
1887
1888 2008-04-25  Michael Emmel  <mike.emmel@gmail.com>
1889
1890         Bug 529841 – incorrect position in directfb 
1891
1892         * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x 
1893
1894 2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
1895
1896         * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1897
1898 2008-04-25  Michael Natterer  <mitch@imendio.com>
1899
1900         * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1901         <pango/pango-layout.h>.
1902
1903         * gtk/gtkiconfactory.c
1904         * gtk/gtkimmodule.c
1905         * gtk/gtkmain.c
1906         * gtk/gtkmodules.c
1907         * gtk/queryimmodules.c: remove inclusion of single files from
1908         pango, none of them was actually needed.
1909
1910         * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1911         <pango/pango-utils.h>.
1912
1913 2008-04-25  Michael Natterer  <mitch@imendio.com>
1914
1915         * gdk/gdkfont.h: include <pango/pango.h> instead of
1916         <pango/pango-font.h>.
1917
1918 2008-04-25  Michael Natterer  <mitch@imendio.com>
1919
1920         * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1921         <gdk/gdkscreen.h>.
1922
1923 2008-04-21  Michael Natterer  <mitch@imendio.com>
1924
1925         * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1926         crashing when NULL pointers get passed.
1927
1928 2008-04-18  Michael Natterer  <mitch@imendio.com>
1929
1930         * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1931         here have the same style.
1932
1933 2008-04-18  Michael Natterer  <mitch@imendio.com>
1934
1935         * gtk/gtkicontheme.h
1936         * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1937         <gdk/gdkscreen.h>.
1938
1939         * gtk/gtkbuilderparser.c
1940         * gtk/gtklinkbutton.c
1941         * gtk/gtkpreview.c
1942         * gtk/gtkrecentchooserdefault.c
1943         * gtk/gtkrecentchoosermenu.c
1944         * modules/input/gtkimcontextthai.c: remove inclusion of single
1945         files from gdk, none of the includes was actually needed.
1946
1947 2008-04-18  Michael Natterer  <mitch@imendio.com>
1948
1949         * gdk/gdk.h: reorder one include so they are all alphabetical.
1950
1951 2008-04-18  Michael Natterer  <mitch@imendio.com>
1952
1953         * modules/printbackends/cups/gtkprintercups.[ch]
1954         (gtk_printer_cups_get_ppd_name): change return value and local
1955         variable to const gchar* to fix warning about discarding const
1956         qualifier.
1957
1958 2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>
1959
1960         * gtk/gtkrecentmanager.c:
1961         (gtk_recent_manager_set_filename): Keep the default storage
1962         file in $HOME, as we don't have a migration code in place yet.
1963
1964 2008-04-18  Michael Natterer  <mitch@imendio.com>
1965
1966         * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1967         g_strfreev() the uris returned by g_bookmark_file_get_uris().
1968
1969 2008-04-17  Michael Natterer  <mitch@imendio.com>
1970
1971         * gtk/gtkiconfactory.c (get_default_icons): register the
1972         GTK_STOCK_PAGE_SETUP icon.
1973
1974 2008-04-17  Michael Natterer  <mitch@imendio.com>
1975
1976         * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1977         g_return_if_fail(tooltips != NULL);
1978
1979 2008-04-16  Tristan Van Berkom <tvb@gnome.org>
1980
1981         * gtk/gtkwindow.c: Chain up in buildable_finish()
1982
1983         * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1984         cases where g_path_get_dirname() returns "."
1985
1986         * docs/reference/gtk/tmpl/gtklabel.sgml, 
1987         docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1988         for the <attributes> tags on GtkLabel
1989
1990 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1991
1992         * gtk/gtkrecentmanager.c:
1993         (gtk_recent_manager_real_changed): Fix last commit, and
1994         complete the gtk-recent-files-max-age semantics: if the
1995         property is set to 0 then purge the list.
1996
1997 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1998
1999         Bug 488507 – boundless growth of .recently-used.xbel file
2000         slows down applications
2001
2002         * gtk/gtkrecentmanager.c:
2003         (gtk_recent_manager_init),
2004         (gtk_recent_manager_real_changed),
2005         (gtk_recent_manager_set_filename),
2006         (gtk_recent_manager_clamp_to_age): Clamp the recently
2007         used resources list by the age of its items, using
2008         the newly added GtkSettings property.
2009
2010         * gtk/gtksettings.c (gtk_settings_class_init): Add the
2011         gtk-recent-files-max-age property, controlling the
2012         maximum age of the items in the recently used resources
2013         list.
2014
2015 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
2016
2017         * gtk/gtkrecentmanager.c:
2018         (gtk_recent_manager_add_item_query_info),
2019         (gtk_recent_manager_add_item): Emit the ::changed signal
2020         at the end of the asynchronous MIME type query.
2021
2022 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
2023
2024         Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
2025         every 5 seconds
2026
2027         * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
2028         changes in the recently used resources storage file, and
2029         drop the timeout-based poll.
2030
2031         * ChangeLog: Fix attribution of the patch of the previous
2032         commit.
2033
2034 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
2035
2036         Bug 506062 – gtk_recent_manager_add_item does not detect mime
2037         type on Windows
2038
2039         * configure.in: Depend on gio-2.0
2040
2041         * gtk/gtkrecentmanager.c:
2042         (gtk_recent_manager_add_item_query_info_cb),
2043         (gtk_recent_manager_add_item): Use GIO to (asynchronously)
2044         query the MIME type of the passed URI (based on a patch by
2045         Armin Burgmeier)
2046
2047 2008-04-11  Carlos Garnacho  <carlos@imendio.com>
2048
2049         * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
2050         page to visited page list instead of next current page. (#527466,
2051         patch by Marcus Brinkmann)
2052
2053 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
2054
2055         * gtk/gtklabel.c: Added <attributes> / <attribute>
2056         custom tags to parse pango attributes into labels (#527486).
2057
2058         * tests/buildertest.c: Added tests for GtkLabel custom
2059         tag parsing.
2060
2061 2008-04-10  Carlos Garnacho  <carlos@imendio.com>
2062
2063         * gtk/gtknotebook.c (hide_drag_window): Do not call
2064         gtk_widget_set_parent_window(), using widget->window instead of NULL
2065         to unset is the wrong thing, and gtk_widget_unparent() will already 
2066         take care of this (#467698, patch by Sébastien Granjoux)
2067
2068 2008-04-08  Tor Lillqvist  <tml@novell.com>
2069
2070         * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
2071         these functions with G_MODULE_EXPORT.
2072
2073 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
2074
2075         * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
2076         (gtk_file_system_volume_render_icon):
2077         Fix fallback icon rendering size
2078
2079 2008-04-08  Michael Natterer  <mitch@imendio.com>
2080
2081         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
2082         touchscreen-mode keynav corner case: when navigating to the parent
2083         menu, make sure we don't close two menus at the same time in case
2084         the deepest open menu has no selectable items.
2085
2086 2008-04-06  Tristan Van Berkom <tvb@gnome.org>
2087
2088         * gtk/gtkwidget.c: Clarified a g_warning message regarding
2089         parsing accelerators from builder files.
2090
2091 2008-04-03  Cody Russell  <bratsche@gnome.org>
2092
2093         * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
2094         of the block. (#526021, reported by Kazuki IWAMOTO)
2095
2096 2008-04-03  Tor Lillqvist  <tml@novell.com>
2097
2098         Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
2099         strange behavior
2100
2101         * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
2102         workaround for a specific kind of screwed up locale setting.
2103
2104 2008-04-02  Matthias Clasen  <mclasen@redhat.com>
2105
2106         * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
2107         colormaps.  Found by Daniel Berrange.
2108
2109 2008-04-02  Björn Lindqvist  <bjourne@gmail.com>
2110
2111         * tests/autotestfilechooser.c: Cover
2112         GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
2113         name. (#346058, Joe Halliwell)
2114
2115 2008-04-02  Federico Mena Quintero  <federico@novell.com>
2116
2117         Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
2118         chooser incorrectly substitutes and expands a ~ when you type it
2119         in the filename entry.
2120
2121         * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
2122         basenames result in a slash-terminated pathname.
2123         gtk_file_system_unix_parse() is correct, but it was splitting
2124         "/home/username" into path="/home" and file_part="username", which
2125         is not what the caller wants when the entry has just "~" or
2126         "~username".
2127
2128 2008-04-02  Tor Lillqvist  <tml@novell.com>
2129
2130         * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
2131         and gtksearchenginetracker.c on Windows.
2132
2133         * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
2134         on Windows.
2135
2136 2008-04-01  Cody Russell  <bratsche@gnome.org>
2137
2138         * configure.in: Bump required Cairo to 1.5.2.
2139
2140         * gtk/gtkprintoperation-win32.c: Add support for using the new
2141         cairo_win32_printing_surface for printing.  Also fixed to use
2142         cairo_surface_show_page(). (#488833 and #521178)
2143
2144 2008-03-31  Cody Russell  <bratsche@gnome.org>
2145
2146         * demos/gtk-demo/printing.c (draw_page): Move down each line in         
2147         units of text_height rather than in units of data->font_size.
2148         (totally awesome catch by Dom Lachowicz)
2149
2150 2008-03-28  Richard Hult  <richard@imendio.com>
2151
2152         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
2153         (_gdk_quartz_events_trigger_crossing_events): Defer the generated
2154         event to the mainloop and don't generate one at all if the
2155         toplevel didn't change. Use the actual window and not the toplevel
2156         as event window. These changes make the generated crossing events
2157         match the X11 behavior and fixes issues with e.g. tooltips,
2158         comboboxes and menus.
2159
2160         * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
2161         the view has no window, it will be updated as soon as it's put
2162         inside a window.
2163
2164         * gdk/quartz/gdkwindow-quartz.c:
2165         (_gdk_quartz_window_debug_highlight): Make it possible to track
2166         multiple windows with debug highlighting.
2167         (show_window_internal): Remove workaround for tooltips and popups
2168         that is no longer needed with the above changes.
2169
2170 2008-03-26  Federico Mena Quintero  <federico@novell.com>
2171
2172         * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
2173         helper function; factored out from the functions that commit the
2174         current suggested autocompletion and that refresh the entry's paths.
2175         (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
2176         (_gtk_file_chooser_entry_get_file_part): Likewise.
2177         (_gtk_file_chooser_entry_get_current_folder): Likewise.  This
2178         makes the entry have the correct paths when *not* using any form
2179         of completion (and makes the file chooser work when clicking the
2180         OK button).
2181
2182 2008-03-25  Richard Hult  <richard@imendio.com>
2183
2184         * gdk/quartz/gdkevents-quartz.c:
2185         (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
2186         can't find a matching window.
2187
2188         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
2189         comment, and only trigger an event for non-temp windows, fixes
2190         problems for tooltips caused by the workarounds for the
2191         problematic tracking rect API.
2192
2193 2008-03-25  Richard Hult  <richard@imendio.com>
2194
2195         * gdk/quartz/gdkwindow-quartz.c:
2196         (gdk_window_quartz_process_all_updates): Plug a leak and add a
2197         check that we have a toplevel before accessing it.
2198
2199 2008-03-24  Tor Lillqvist  <tml@novell.com>
2200
2201         Bug 524151 - Dragging of 0-byte files results in an empty filename
2202         on Windows XP and above
2203
2204         * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
2205         being empty first. For some reason ISHellLink and IPersistFile
2206         succeeds in interpreting empty files as shortcuts, claiming the
2207         target of the shortcut is an empty path.
2208
2209         Change the function to take the wide character file name that the
2210         caller already has anyway, to avoid a superfluous conversion from
2211         UTF-8 to UTF-16.
2212
2213 2008-03-23  Björn Lindqvist  <bjourne@gmail.com>
2214
2215         * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
2216         against NULL pointer. (#467051, Gian Mario Tagliaretti)
2217
2218 2008-03-23  Cody Russell  <bratsche@gnome.org>
2219
2220         * gdk/win32/gdkevents-win32.c (show_window_recurse):
2221         Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
2222         ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
2223         menus from a maximized window would force the window to restore
2224         its size. (#518846)
2225
2226 2008-03-23  Johan Dahlin  <johan@gnome.org>
2227
2228         * gtk/gtk-builder-convert:
2229         Properly convert GtkImageMenuItems which use stock labels but don't
2230         have any children.
2231         (#523932, Brian Pepple)
2232         
2233 2008-03-22  Matthew Barnes  <mbarnes@redhat.com>
2234
2235         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
2236         New function implements GtkCellLayoutClass::get_cells.  (#523787)
2237
2238 2008-03-22  Tor Lillqvist  <tml@novell.com>
2239
2240         Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
2241
2242         * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
2243         GDK_THREADS_LEAVE() call. Approved by mclasen.
2244
2245 2008-03-22  Björn Lindqvist  <bjourne@gmail.com>
2246
2247         * gtk/gtkexpander.c (gtk_expander_get_label):
2248         gtk_label_get_label() should be used instead of
2249         gtk_label_get_text(). (#353088, Xan Lopez)
2250
2251 2008-03-21  Tor Lillqvist  <tml@novell.com>
2252
2253         Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
2254         Lachowicz and Alberto Ruiz into the GTK+ tree, from the
2255         gdip-pixbuf-loader module.
2256
2257         * configure.in: Add switch --disable-gdiplus-loaders that disables
2258         building of the GDI+ loaders.
2259
2260         When including loaders in the gdk-pixbuf library, and building
2261         GDI+ loaders, either build in all the GDI+ loaders or none of
2262         them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
2263         signal building them in.
2264
2265         Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
2266         whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
2267         indicate whether they should be built-in.
2268         
2269         For the rest of the changes, see gdk-pixbuf/ChangeLog.
2270         
2271 2008-03-20  Tor Lillqvist  <tml@novell.com>
2272
2273         * gtk/Makefile.am: Revert accidental change that went in as part
2274         of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
2275         Darwin. On Windows one has to use a newer GNU grep that has -o,
2276         for instance the one from gnuwin32, instead of the oldish one in
2277         MSYS that doesn't have -o.
2278
2279 2008-03-20  Tor Lillqvist  <tml@novell.com>
2280
2281         * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
2282         pass NULL for %s to g_message().
2283         (main): Drop unnecessary call to gtk_widget_destroy().
2284
2285 2008-03-20  Tor Lillqvist  <tml@novell.com>
2286
2287         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
2288
2289         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
2290         in one dimension, or centered in case it doesn't fit.
2291         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
2292         dimensions.
2293
2294 2008-03-18  Tor Lillqvist  <tml@novell.com>
2295
2296         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
2297         
2298         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
2299         G_MODULE_ENTRY decoration can be put in a more correct place.
2300
2301 2008-03-18  Sven Neumann  <sven@gimp.org>
2302
2303         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
2304         alternative button order on the password dialog.
2305
2306 2008-03-18  Tor Lillqvist  <tml@novell.com>
2307
2308         Bug 99192 - Add --with-include-input-modules
2309
2310         * configure.in: Add --with-included-immodules switch. Handled in a
2311         similar way as the --with-included-loaders switch. For each input
2312         method module foo: Collect the list of input modules to be built
2313         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
2314         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
2315         Define Automake conditionals INCLUDE_IM_FOO.
2316
2317         * modules/input/Makefile.am: For modules to be included in libgtk,
2318         build a static library.
2319         
2320         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
2321         gdk-pixbuf to get unique names for the functions called by libgtk
2322         in the included case. Use G_MODULE_EXPORT in the non-included case
2323         so that we don't unnecessarily export unneeded random global
2324         symbols on Windows.
2325
2326         * gtk/Makefile.am: Build the included modules and link them into libgtk.
2327
2328         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
2329         copy/paste leftover mentions of "themes" in comments.
2330
2331 2008-03-18  Tor Lillqvist  <tml@novell.com>
2332
2333         * tests/Makefile.am: Build testmountoperation only on Unix for now.
2334
2335 2008-03-17  Christian Kellner  <gicmo@gnome.org>
2336
2337         Implement GtkMountOperation, a subclass of GMountOperation
2338         to be used with gio wherever there is the need to ask the
2339         user for credentials or questions while mounting a volume.
2340         This is bug #522245
2341
2342         * gtk/gtkmountoperation.c:
2343         * gtk/gtkmountoperation.h:
2344         Implement GtkMountOperation.
2345         
2346         * gtk/gtk.h: Add gtkmountoperation.h
2347         * gtk/Makefile.am: Add gtkmountoperation.[hc]
2348         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
2349         * tests/testmountoperation.c: Test program for it.
2350         * tests/Makefile.am: Add testmountoperation.
2351
2352 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
2353
2354         * gtk/gtkcontainer.c: Properly document
2355         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
2356
2357 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
2358
2359         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
2360         style names for the ComboBox thickness style
2361
2362 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
2363
2364         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
2365         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
2366         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
2367         intelligent separation for the xp theming engine and the classic
2368         theme while drawing the GtkComboBox button.  combobox_draw_arrow
2369         is not used anymore, commented.  The style has been updated to fix
2370         border/thickness glitches in the combobox according to the fixes
2371         commited regarding bug #521442. (bug #461805)
2372
2373 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
2374
2375         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
2376         now aware of both the combobox and frame (if has-frame is set)
2377         thickness and border. (bug #521442)
2378
2379 2008-03-15  Andre Klapper  <a9016009@gmx.de>
2380
2381         * configure.in: Added "si" to ALL_LINGUAS.
2382
2383 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
2384
2385         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
2386         Set window type hint on the search popup.  (#522279, Danny Baumann)
2387
2388 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
2389
2390         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
2391         appropriate.  (#521934, Huang Peng)
2392
2393 2008-03-14  Michael Natterer  <mitch@imendio.com>
2394
2395         * gdk/gdkspawn.h
2396         * gtk/gtkbuilderprivate.h
2397         * gtk/gtkfilechoosersettings.c
2398         * gtk/gtksearchenginesimple.c
2399         * gtk/tests/liststore.c
2400         * gtk/tests/treestore.c: remove single-file includes of GLib
2401         headers or replace them by <glib.h> where needed.
2402
2403 2008-03-14  Michael Natterer  <mitch@imendio.com>
2404
2405         * gtk/gtkadjustment.c: coding style cleanup.
2406
2407         (gtk_adjustment_set_property): no need to call g_object_notify()
2408         on the set properties.
2409
2410         Implement GObject::dispatch_properties_changed() and make sure we
2411         emit "changed" when anything but the "value" property changes.
2412
2413 2008-03-14  Tor Lillqvist  <tml@novell.com>
2414
2415         * gdk/win32/gdkevents-win32.c: Drop the support for the
2416         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
2417         Win95. Thanks to mitch for noticing this obsolete code.
2418
2419 2008-03-14  Cody Russell  <bratsche@gnome.org>
2420
2421         * examples/scribble-xinput/scribble-xinput.c: Changed
2422         'void int main()' to 'int main()'. (#522211, Liqing Huang)
2423         
2424 2008-03-14  Richard Hult  <richard@imendio.com>
2425
2426         * gdk/quartz/gdkwindow-quartz.c:
2427         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
2428         only flush the toplevel once per update.
2429
2430 2008-03-13  Federico Mena Quintero  <federico@novell.com>
2431
2432         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
2433         Set the mouse cursor of the feedback window to invisible, so that
2434         we respect GtkEntry's invisible cursor while typing.
2435
2436 2008-03-13  Federico Mena Quintero  <federico@novell.com>
2437
2438         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
2439         the feedback window at entry_height/2 pixels to the right of the
2440         cursor, for a cheap "M-width / 2" spacing.
2441
2442 2008-03-13  Sven Neumann  <sven@gimp.org>
2443
2444         * gtk/gtkfilechooserdefault.c
2445         * gtk/gtkprintunixdialog.c: set alternative button order for
2446         overwrite confirmation dialogs (bug #522191).
2447
2448 2008-03-13  Sven Neumann  <sven@gimp.org>
2449
2450         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
2451         (overwrite_confirmation_dialog): added some line-breaks for
2452         readability.
2453
2454 2008-03-12  Federico Mena Quintero  <federico@novell.com>
2455
2456         Rework the way completion works in GtkFileChooserEntry.  Fixes
2457         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
2458         Tab completion should work even if the cursor is not at the end of
2459         the entry.
2460
2461         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
2462         completion.
2463
2464         We distinguish between two cases:
2465
2466                 - autocompletion - happens only in the Open modes by
2467                   inserting and selecting the common prefix as you type.
2468
2469                 - explicit completion - happens when you hit Tab.
2470
2471         When some type of completion needs to happen, the entry first
2472         parses its input and sees if it needs to initiate a folder load.
2473         Completion will not happen until the folder finishes loading.
2474
2475         If the folder is already completely loaded, then completion is
2476         performed immediately.  Otherwise, the entry queues a pending
2477         completion and starts loading the new folder (or waits until the
2478         current folder is completely loaded).
2479
2480         Tab completion is allowed to happen even if the cursor is not at
2481         the end of the entry.
2482
2483         There is a new feedback mechanism for explicit completion, so that
2484         you will get an Emacs-like tip whenever there are ambiguities in
2485         completion, no matches, etc.  (This needs to be polished so that
2486         we support RTL entries and all the fancy Pango layout in GtkEntry).
2487
2488         The only remaining thing to fix is the popup suggestion window.
2489         Unfortunately, GtkEntryCompletion does not let us do what we want,
2490         and will need further changes.
2491
2492 2008-03-12  Tor Lillqvist  <tml@novell.com>
2493
2494         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
2495
2496         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
2497         for the TaskbarCreated message in the window procedure for the
2498         dummy "tray observer" window we create. When we get a
2499         TaskbarCreated message, iterate over the status icons and re-add
2500         them to the task bar, and update them by calling
2501         gtk_status_icon_update_image().
2502
2503         Move some ifdefs around to avoid unused functions.
2504
2505 2008-03-12  Tor Lillqvist  <tml@novell.com>
2506
2507         * config.h.win32.in: Update to match what configure produces.
2508
2509 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
2510
2511         * modules/printbackends/cups/gtkprintbackendcups.c:
2512         (cups_printer_prepare_for_print): Don't define variables in the
2513         middle of a block. (#522067)
2514
2515 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
2516
2517         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
2518         dialog for print-to-file.  (#474302, Marek Kašík)
2519
2520 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
2521
2522         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2523         (#469210, Wouter Bolsterlee)
2524
2525 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
2526
2527         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
2528         paper_size here.  (#488820, Morten Welinder)
2529
2530 2008-03-12  Michael Natterer  <mitch@imendio.com>
2531
2532         * acconfig.h: remove this deprecated file.
2533
2534         * configure.in: added comments to all instances of AC_DEFINE() so
2535         config.h can be completely generated from configure.in.
2536
2537 2008-03-12  Michael Natterer  <mitch@imendio.com>
2538
2539         * modules/printbackends/cups/gtkprintbackendcups.c: include
2540         <glib/gstdio.h> for g_fopen().
2541
2542 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
2543
2544         * modules/printbackends/cups/gtkprintbackendcups.c: Use
2545         g_ascii_formatd when formatting custom paper sizes, since
2546         cups doesn't handle , as decimal separator.  (#521548)
2547
2548 2008-03-11  Tor Lillqvist  <tml@novell.com>
2549
2550         Bug 469868 - Filenames with colon ":" are not saved correctly
2551
2552         * gtk/gtkfilechooserentry.c (insert_text_callback)
2553         (delete_text_callback) [Win32]: New functions to make sure that
2554         colons used otherwise than as a separator after a drive letter, or
2555         characters that are always illegal in file names, are rejected on
2556         input. This means that the GTK+ file chooser can't be used to
2557         input full names of alternate data streams, but oh well. There are
2558         still more checks that could be done on the file names, see the
2559         bug report. But this will do for now.
2560         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2561
2562 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
2563
2564         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2565
2566 2008-03-11  Michael Natterer  <mitch@imendio.com>
2567
2568         * gdk/linux-fb/*: removed linux-fb backend files.
2569
2570         * acconfig.h
2571         * config.h.win32.in
2572         * docs/README.linux-fb
2573         * gtk/Makefile.am: remove remaining traces of linux-fb.
2574
2575         * gtk/gtkwindow-decorate.c: same here. There is some code that
2576         calls into linux-fb to set window move/resize callbacks. I put it
2577         in #if 0 as a reminder because we did use decorated windows with
2578         the DirectFB backend and it did work, so I don't really know why
2579         this code is needed or how it could work with DirectFB back then.
2580         The file does actually compile now if DECORATE_WINDOWS is defined,
2581         but I didn't test with DirectFB to check if it does anything.
2582
2583 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
2584
2585         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2586         Take thickness into account in the size allocation of the child widgets in
2587         list mode.
2588         Fixes #521442
2589
2590 2008-03-11  Richard Hult  <richard@imendio.com>
2591
2592         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2593
2594 2008-03-10  Tor Lillqvist  <tml@novell.com>
2595
2596         * tests/teststatusicon.c (do_exit, popup_menu): Add the
2597         possibility to test what happens if the process just calls exit()
2598         without any orderly cleanup of GTK+.
2599
2600 2008-03-10  Tor Lillqvist  <tml@novell.com>
2601
2602         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2603
2604 2008-03-10  Tor Lillqvist  <tml@novell.com>
2605
2606         Bug 520286 - Non-deletable window has no minimize / maximize buttons
2607
2608         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2609         New debugging output function that decodes a set of WS_* bits.
2610
2611         * gdk/win32/gdkprivate-win32.h: Declare it.
2612
2613         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2614         New function that enables or disables one menu entry in the system
2615         menu of a top-level window. (The corresponding decoration will
2616         then also be enabled or disabled (grayed).)
2617
2618         (update_style_bits): Do as the comment says and don't try to
2619         update the window style based on the GdkWMFunctions set for the
2620         window.
2621                    
2622         (update_system_menu): New function that enables or disables the
2623         system menu entries based on a window's stored set of
2624         GdkWMFunctions.
2625
2626         (gdk_window_set_functions): Call update_system_menu() instead of
2627         update_style_bits().
2628
2629 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
2630
2631         * README.in: Reword the 2.14 release notes entry about the
2632         deprecation of the gtkitemfactory.h header, and fix typos
2633         and grammar.
2634
2635 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
2636
2637         * modules/engines/ms-windows/msw_style.c (draw_shadow):
2638         Do not draw frame if parent if combobox.
2639         (draw_box):
2640         Uses scrollbar width system metrics for combobox button.
2641         Fixes #461805 for XP theme engine.
2642
2643 2008-03-07  Johan Dahlin  <johan@gnome.org>
2644
2645         * gtk/gtkbuilder.c:
2646         * gtk/gtkbuilderparser.c:
2647         * gtk/gtkbuilderprivate.h:
2648         * gtk/gtkiconfactory.c:
2649         * tests/buildertest.c:
2650         - Treat enums like enums and not values
2651         - Avoid invalid free, in case of more than two sources
2652         - Add better error messages
2653         - Add much improved tests
2654         (#520979, Christian Persch)
2655
2656 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
2657
2658         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2659         Fix build.
2660
2661 2008-03-06  Federico Mena Quintero  <federico@novell.com>
2662
2663         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2664         GtkFileChooserDialog should set a default response button if the
2665         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
2666
2667         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2668         function, refactor from where there was duplicated code.
2669         (gtk_file_chooser_dialog_map): Look at the buttons in our
2670         action_area.  If the response ID for a button is one of the stock
2671         ones, make it the default response button.
2672
2673 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
2674
2675         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2676         * gtk/gtkbuilder.c:
2677         * gtk/gtkbuilderprivate.h:
2678         * gtk/gtkiconfactory.c:
2679         * tests/buildertest.c:
2680         Implement GtkBuildable on GtkIconFactory, to make
2681         it possible to register custom stock icons.
2682         Fixes #517066
2683
2684 2008-03-06  Johan Dahlin  <johan@gnome.org>
2685
2686         Make gtk-doc happy:
2687         
2688         * gtk/gtkstyle.c: npoints->n_points.
2689         * gtk/gtktestutils.h: widget->spinner
2690         * gtk/gtktestutils.c: argc->argcp, argv->argvp
2691
2692 2008-03-06  William Lachance <wrlach@gmail.com>
2693
2694         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
2695         string localizable (as it should be). 
2696
2697 2008-03-06  William Lachance <wrlach@gmail.com>
2698
2699         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2700         the time for today's date. It's redudant. (see bug #410517).
2701
2702 2008-03-06  Xan Lopez  <xan@gnome.org>
2703
2704         * gtk/gtkfixed.c: fix typo in documentation.
2705
2706 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
2707
2708         * gtk/gtkitemfactory.h:
2709         * gtk/gtktypeutils.h:
2710         Move GtkTranslateFunc to gtktypeutils.h so we can completely
2711         deprecate gtkitemfactory.h. 
2712
2713         * gtk/gtkactiongroup.h:
2714         * gtk/gtkstock.h:
2715         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2716
2717         * README.in: 
2718         Add a note describing this slight incompatible change
2719         
2720 2008-03-06  Johan Dahlin  <johan@gnome.org>
2721
2722         * gtk/gtkpreview.h: Avoid double-deprecation.
2723
2724 2008-03-06  Michael Natterer  <mitch@imendio.com>
2725
2726         * gtk/gtk.h
2727         * gtk/Makefile.am: move the remaining deprecated widgets to the
2728         separate sections and replaced spaces by tabs in Makefile.am
2729
2730 2008-03-05  Johan Dahlin  <johan@gnome.org>
2731
2732         * configure.in: Add --disable-cups option.
2733         (#513826, Alberto Ruiz)
2734
2735         * gtk/gtk.h: 
2736         * gtk/Makefile.am:
2737         Separate broken and deprecated sources and headers into different sections
2738
2739         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2740
2741 2008-03-05  Kristian Rietveld  <kris@imendio.com>
2742
2743         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2744         short-circuit in case an empty root level would be build (and thus
2745         directly destroyed) if no virtual root has been set.
2746
2747 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
2748
2749         * modules/printbackends/cups/gtkprintbackendcups.c: 
2750         Honor cups user default options from ~/.cups/lpoptions
2751         (#469210, Stijn Hoop)
2752
2753 2008-03-04  Michael Natterer  <mitch@imendio.com>
2754
2755         * gtk/gtkcellview.c
2756         * gtk/gtkcolorbutton.c
2757         * gtk/gtkentrycompletion.c
2758         * gtk/gtkfontbutton.c
2759         * gtk/gtkiconview.c
2760         * gtk/gtkobject.c
2761         * gtk/gtkpaned.c
2762         * gtk/gtkpreview.c: don't include "gtksignal.h".
2763
2764         * gtk/gtkfilefilter.c
2765         * gtk/gtkrecentchoosermenu.c
2766         * gtk/gtkrecentfilter.c
2767         * gtk/gtktext.c: don't include "gtkobject.h".
2768
2769 2008-03-04  Simos Xenitellis  <simos@gnome.org>
2770
2771         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2772         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2773         
2774         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
2775         same directory).
2776         
2777         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
2778         file, contains compose sequences that used to exist in 
2779         gtk/gtkimcontextsimple.c
2780
2781         * gtk/compose-parse.py: Script to generate compose 
2782         sequences from upstream (Xorg).
2783
2784         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
2785         check_algorithmically): New functions. First two search in
2786         gtk_compose_seqs_compact[] for matching compose sequence, third
2787         tries NFC normalisation on incoming compose sequence.
2788         (gtk_im_context_simple_filter_keypress): 
2789         Adds searching with check_compact_table(), check_algorithmically().
2790
2791 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
2792
2793         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2794         scrollwheel work in GtkPathBar.
2795
2796         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2797
2798         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
2799         an input-only window, event_window, which we'll use to capture
2800         scroll events.
2801         (gtk_path_bar_map): Show the event_window under the rest of the
2802         windows, so it will be a catch-all for unhandled events.
2803
2804 2008-03-03  Sven Neumann  <sven@gimp.org>
2805
2806         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2807         typo in the documentation of the GtkFileChooserButtons::file-set
2808         signal (see bug #353196).
2809
2810 2008-03-03  Tor Lillqvist  <tml@novell.com>
2811
2812         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2813         location.
2814
2815 2008-03-02  Johan Dahlin  <johan@gnome.org>
2816
2817         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
2818         Remove left-over focus_pad variable.
2819         (#490892, Claudio Saavedra)
2820
2821         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2822         (#518166, Matt Kraai)
2823
2824 2008-03-02  Johan Dahlin  <johan@gnome.org>
2825
2826         * docs/tutorial/gtk-tut.sgml: Add a missing space
2827         (#517954, Matt Kraai)
2828
2829 2008-03-03  Tor Lillqvist  <tml@novell.com>
2830
2831         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2832         the widget is a GtkButton before casting.
2833
2834 2008-03-02  Johan Dahlin  <johan@gnome.org>
2835
2836         * configure.in: Compare using = instead of ==, which is portable.
2837         (#490787, Thomas Klausner)
2838
2839 2008-03-02  Johan Dahlin  <johan@gnome.org>
2840
2841         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2842         fixes non-C++ build.
2843         (#496032, Nelson Benitez)
2844
2845 2008-02-29  Johan Dahlin  <johan@gnome.org>
2846
2847         * demos/gtk-demo/demo.ui:
2848         * gtk/gtkbuilderparser.c:
2849         * gtk/gtkbuilderprivate.h:
2850         * gtk/gtkliststore.c:
2851         * tests/buildertest.c:
2852         Add translatable/context and comment attributes on
2853         <col> tags under a GtkListStore. Refactor parts of the
2854         translation api and make it available inside gtk+ itself.
2855         Update tests and example.
2856         Fixes a part of #518642
2857
2858 2008-02-29  Johan Dahlin  <johan@gnome.org>
2859
2860         * gtk/gtkbuilder.c:
2861         Add missing g_return_val_if_fail checks for public API.
2862
2863         * gtk/gtkbuilderparser.c:
2864         * gtk/gtkbuilderprivate.h:
2865         Do not use g_error for a few more errors, instead set
2866         the GError sent in through add_from_file/add_from_string.
2867         * tests/buildertest.c:
2868         Add a couple of new parsing tests.
2869         (#519199, Pavel Syomin)
2870
2871 2008-02-29  Federico Mena Quintero  <federico@novell.com>
2872
2873         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2874         refreshing an existing folder (i.e. when we are about to reload
2875         its file list), turn off the folder's is_finished_loading flag.
2876         Otherwise callers which do ::is_finished_loading() followed by
2877         ::list_children() will get nothing.
2878
2879 2008-02-29  Cody Russell  <bratsche@gnome.org>
2880
2881         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2882         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2883
2884 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
2885
2886         * gtk/gtkcalendar.h: Remove trailing comma from enum to
2887         make the compiler happy.  (#517295, Sylvain Pasche)
2888
2889 2008-02-27  Michael Natterer  <mitch@imendio.com>
2890
2891         * gtk/gtkmenushell.c
2892         * gtk/gtktable.c
2893         * gtk/gtktext.c
2894         * gtk/gtktipsquery.c
2895         * gtk/gtktoolbar.c
2896         * gtk/gtktreeitem.c
2897         * gtk/gtktreeview.c
2898         * gtk/gtkviewport.c
2899         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2900         private functions and virtual function implementations.
2901
2902 2008-02-27  Richard Hult  <richard@imendio.com>
2903
2904         * gdk/quartz/GdkQuartzView.c:
2905         * gdk/quartz/GdkQuartzView.h:
2906         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2907         Fix performance regression for borderless transparent windows
2908         with shadow.
2909
2910 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
2911
2912         * tests/testgtk.c: Revert back to r19454.
2913
2914 2008-02-27  Sven Neumann  <sven@gimp.org>
2915
2916         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2917         Quartz backend, use a native Mac OS X application for the print
2918         preview (bug #518624).
2919
2920 2008-02-26  Michael Natterer  <mitch@imendio.com>
2921
2922         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2923         the members of info->tag_stack since they are a) gobjects and b)
2924         not even owned by us, ugh... Fixes crash when deserializing fails.
2925
2926 2008-02-26  Sven Neumann  <sven@gimp.org>
2927
2928         * docs/tools/shooter.c (find_toplevel_window)
2929         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2930         argument passed to XQueryTree().
2931
2932 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
2933
2934         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2935         don't use beagle_query_add_hit_type.
2936
2937 2008-02-25  Richard Hult  <richard@imendio.com>
2938
2939         * gdk/quartz/gdkevents-quartz.c
2940         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2941
2942 2008-02-24  Richard Hult  <richard@imendio.com>
2943
2944         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2945         shown without gdk's control when clicking the dock icon.
2946
2947 2008-02-24  Richard Hult  <richard@imendio.com>
2948
2949         * gdk/quartz/gdkprivate-quartz.h:
2950         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2951         Use the subtype field for the custom event that is used to wake up
2952         the mainloop so we can have other custom event types.
2953
2954         * gdk/quartz/gdkevents-quartz.c:
2955         (_gdk_quartz_events_trigger_crossing_events):
2956         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2957         crossing events after showing a window if necessary, to work
2958         around problems with the tracking rect API.
2959
2960 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
2961
2962         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
2963         wrong results on win32 because it doesn't set the printing units, 
2964         which affect the transformation of the cairo context 
2965         (#347125, Erik van Pienbroek)
2966
2967 2008-02-22  Tor Lillqvist  <tml@novell.com>
2968
2969         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2970
2971 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
2972
2973         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2974         acceptable for a module to only support the save_to_callback()
2975         method if it marks itself as WRITABLE
2976
2977 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
2978         
2979         * configure.in: Bump version
2980
2981 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
2982
2983         * === Released 2.13.0 ===
2984
2985         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2986
2987 2008-02-21  Tor Lillqvist  <tml@novell.com>
2988
2989         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2990         pass the format string to strftime in the C library's locale's
2991         charset, not the system's. Correspondingly, the return value from
2992         strftime() is in the C library's locale's charset. (#509885)
2993
2994 2008-02-20  Richard Hult  <richard@imendio.com>
2995
2996         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2997         the right window level and shadow after recreating the window.
2998
2999         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
3000         necessary after drawing (bug #517338).
3001
3002 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
3003
3004         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
3005         call to g_type_class_unref in case of error. (#517563)
3006
3007 2008-02-18  Sven Neumann  <sven@gimp.org>
3008
3009         * gtk/Makefile.am (STOCK_ICONS)
3010         * gtk/stock-icons/16/gtk-page-setup.png
3011         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
3012         taken from GNOME icon theme.
3013
3014         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
3015
3016 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
3017
3018         * configure.in: Added Kannada (kn) to ALL_LINGUAS
3019
3020 2008-02-17  Johan Dahlin  <johan@gnome.org>
3021
3022         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
3023         When converting a stock item based on the label, remove the label property.
3024
3025 2008-02-17  Richard Hult  <richard@imendio.com>
3026
3027         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
3028         position after showing the window since the window manager might
3029         not place it where we requested in the first places.
3030
3031 2008-02-17  Richard Hult  <richard@imendio.com>
3032
3033         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3034         (_gdk_quartz_window_detach_from_parent),
3035         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
3036         the toplevel ordering list in all places where the order is
3037         potentially changed. Fixes mouse focus issues for windows with
3038         a transient parent set.
3039
3040 2008-02-17  Richard Hult  <richard@imendio.com>
3041
3042         * gdk/quartz/gdkevents-quartz.c
3043         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
3044         window when event debugging is enabled.
3045
3046 2008-02-16  Richard Hult  <richard@imendio.com>
3047
3048         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
3049         to the scroll event (bug #516757, Paul Davis).
3050
3051 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
3052
3053         * NEWS: Updates
3054
3055 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
3056
3057         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
3058         Teppo Turtiainen)
3059
3060 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3061
3062         * gdk/Makefile.am: Don't install private headers. (#463510)
3063
3064         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
3065         the installed header gdkprivate.h.
3066
3067 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3068
3069         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
3070         a crash with hidden, reorderable tabs.  (#513230, 
3071         Mike Massonnet, patch by Carlos Garnacho)
3072
3073 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3074
3075         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
3076         Warn on duplicate action group names.  (#501746, Christian
3077         Persch)
3078
3079 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3080
3081         * gtk/Makefile.am:
3082         * modules/other/gail/tests/Makefile.am:
3083         * modules/other/gail/libgail-util/Makefile.am:
3084         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
3085         builds.  (#516254,  Yevgen Muntyan)
3086
3087 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3088
3089         * gtk/gtkentry.c:
3090         * gtk/gtkfilesel.c:
3091         * gtk/gtklabel.c:
3092         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
3093         instead of hardcoded target tables.  (#516092, Christian Persch)
3094
3095 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3096
3097         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
3098         add the same target atom twice.  (#516087, Christian Persch)
3099
3100 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3101
3102         * tests/testfilechooser.c: Add a --backend option.
3103         (#516073, Christian Persch)
3104
3105 2008-02-16  Richard Hult  <richard@imendio.com>
3106
3107         * gdk/quartz/gdkprivate-quartz.h:
3108         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
3109         gdkwindow.
3110
3111 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3112
3113         * configure.in: Go back to 2.13.0 as version for now,
3114         as there was no consensus to do the jump.
3115
3116         * many other places: Update Since: tags.
3117
3118 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3119
3120         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
3121
3122         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
3123
3124 2008-02-15  Richard Hult  <richard@imendio.com>
3125
3126         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
3127         instead of bounds when resizing windows.
3128
3129 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
3130
3131         * gdk/x11/gdkkeys-x11.c:
3132         * gdk/x11/gdkcolor-x11.c:
3133         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
3134
3135 2008-02-15  Matthias Clasen <mclasen@redhat.com>
3136
3137         * gdk/x11/gdktestutils-x11.c:
3138         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
3139
3140 2008-02-15  Tor Lillqvist  <tml@novell.com>
3141
3142         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
3143         leak Registry key handles. (#516578)
3144
3145 2008-02-14  Richard Hult  <richard@imendio.com>
3146
3147         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
3148         makeKeyWindow unfortunately doesn't work in all cases, we must use
3149         makeKeyAndOrderFront.
3150
3151 2008-02-14  Richard Hult  <richard@imendio.com>
3152
3153         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
3154         (gdk_window_hide), (gdk_window_fullscreen),
3155         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
3156         the window is hidden.
3157
3158 2008-02-14  Richard Hult  <richard@imendio.com>
3159
3160         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
3161         resizing to be consistent and to avoid introducing an internal
3162         transform in the view.
3163
3164 2008-02-14  Richard Hult  <richard@imendio.com>
3165
3166         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
3167         fix.
3168
3169 2008-02-14  Johan Dahlin  <johan@gnome.org>
3170
3171         * gdk/gdktestutils.h
3172         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
3173
3174 2008-02-13  Richard Hult  <richard@imendio.com>
3175
3176         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
3177         Remove unused variables.
3178         (gtk_clipboard_set_contents),
3179         (gtk_clipboard_get_owner), (clipboard_unset),
3180         (gtk_clipboard_request_targets): Notify the previous clipboard
3181         owner when the owner changes. Fixes bug #493406.
3182         
3183 2008-02-13  Richard Hult  <richard@imendio.com>
3184
3185         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
3186         the return value (return number of colors that failed), and handle
3187         RGBA colormap.
3188         (gdk_colormap_free_colors): Fix typo in comment.
3189
3190 2008-02-13  Kristian Rietveld  <kris@imendio.com>
3191
3192         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
3193         queue a redraw if the rubber banding has actually been active.
3194
3195 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
3196
3197         * gtk/gtkpapersize.c:
3198         * gtk/gtkprintoperation.c:
3199         * gtk/gtkvolumebutton.c:
3200         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
3201         out by Behdad Esfahbod.
3202
3203 2008-02-12  Federico Mena Quintero  <federico@novell.com>
3204
3205         Merged from gtk-2-12:
3206
3207         Don't focus the file list when shortcuts get activated.  This
3208         removes a lot of ambiguity in when the file selection should
3209         change, and makes the overall code flow simpler.
3210
3211         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
3212         file/save dialog clears the filename entry when changing
3213         directories.
3214
3215         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
3216         focus should not go to the file list when a shortcut is activated.
3217
3218         * gtk/gtkfilechooserdefault.c
3219         (shortcuts_activate_volume_mount_cb): Don't focus the file list
3220         (shortcuts_activate_get_info_cb): Likewise.
3221
3222         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
3223         the file list (this was the last place where we would focus the
3224         file list explicitly).  If you are in the location entry, for
3225         example, you don't want Alt-Home to take you to the file list; you
3226         just want the current folder to change.  Thanks to Olle Bergkvist
3227         <olle.bergkvist@yahoo.se> for pointing this out in
3228         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
3229         (focus_browse_tree_view_if_possible): Removed.
3230
3231 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3232
3233         Skip exensions when selecting filenames in the save-as dialog.
3234         (#362516, Carlos Garnacho)
3235
3236         * gtk/gtkfilechooserentry.h:
3237         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
3238         New function to skip the extension part when selecting a filename.
3239         (_gtk_file_chooser_entry_set_base_folder): Use it here.
3240
3241         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
3242         ...and here.
3243
3244 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3245
3246         * gtk/gtkiconview.c: Fix state change reporting for 
3247         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
3248
3249 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
3250
3251         * gtk/gtkrecentchooser.c:
3252         (gtk_recent_chooser_class_init): Set the default value of the
3253         :show-not-found property to TRUE, as every implementation sets
3254         it to TRUE already.
3255
3256         * gtk/gtkrecentchooserdefault.c:
3257         (_gtk_recent_chooser_default_init): Sync show_tips to the
3258         default value of the :show-tips property.
3259
3260 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3261
3262         * gtk/gtkclipboard-quartz.c:
3263         * gtkquartz.c:
3264         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
3265         Christian Persch)
3266
3267 2008-02-12  Kristian Rietveld  <kris@imendio.com>
3268
3269         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
3270         (gtk_tree_view_real_toggle_cursor_row): guard against people
3271         deleting the row in question in the selection-changed callback.
3272         (#514621, Andreas Koehler).
3273
3274 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3275
3276         * gtk/*.c: Unify the handling of various "Enter" keysyms
3277         all over the place.  (#515047, Christian Persch)
3278
3279 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3280
3281         * gtk/gtkfilesystemmodel.c:
3282         * gtk/gtkprinter.c:
3283         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
3284         appropriate.  (#515042, Christian Persch)
3285
3286 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3287
3288         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
3289         
3290 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3291
3292         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
3293
3294 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3295
3296         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
3297         (recent_model_sort_drag_data_get):
3298         (search_model_sort_drag_data_get):
3299         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
3300         * gtk/gtkpathbar.c (button_drag_data_get_cb):
3301         Use gtk_selection_data_set_uris() instead of doing it
3302         by hand.  (#514890, Christian Persch)
3303
3304 2008-02-12  Michael Natterer  <mitch@imendio.com>
3305
3306         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
3307         gtk_get_current_event_time().
3308
3309 2008-02-12  Michael Natterer  <mitch@imendio.com>
3310
3311         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
3312         gtk_window_get_key_hash() to get the hash instead of manually
3313         fiddling with quarks and gtk_window_keys_changed(). Also add
3314         g_return_if_fail() to this public function.
3315
3316 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
3317
3318         Support keynav in status icons.  (#473786, Li Yuan)
3319
3320         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
3321
3322         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
3323
3324 2008-02-11  Kristian Rietveld  <kris@imendio.com>
3325
3326         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
3327         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
3328         wrt. link deletion from list; contination of fix for #503569.
3329
3330 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
3331
3332         * gtk/gtkrecentchoosermenu.c:
3333         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
3334         on the placeholder menu item.
3335
3336         * tests/testrecentchoosermenu.c:
3337         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
3338         whether the placeholder menu item gets shown.
3339
3340 2008-02-10  Cody Russell  <bratsche@gnome.org>
3341
3342         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
3343         Check the return value of _gtk_file_chooser_get_file_system () for
3344         NULL before passing it to gtk_file_system_path_to_uri ().
3345         (#515667, Francesco Montorsi)
3346
3347 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
3348
3349         * gtk/gtkbuilder.c: Improve the documentation for
3350         gtk_builder_connect_signals. (#514471)
3351
3352 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
3353
3354         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
3355         Jonh Wendell)
3356
3357 2008-02-08  Cody Russell  <bratsche@gnome.org>
3358
3359         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
3360         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
3361
3362 2008-02-08  Richard Hult  <richard@imendio.com>
3363
3364         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
3365         delta from the NSEvent for now, generating multiple scroll events
3366         results in a lot of events getting queued up and things get really
3367         slow.
3368
3369 2008-02-08  Sven Herzberg  <sven@imendio.com>
3370
3371         Adjust the code to match the documentation, examples, "common sense"
3372         and existing applications.
3373
3374         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
3375         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
3376         assigned
3377
3378 2008-02-07  Cody Russell  <bratsche@gnome.org>
3379
3380         * gdk/win32/gdkevents-win32.c
3381         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
3382         of a block that were causing compile problems on old
3383         compilers. (#515053, reported by Kazuki IWAMOTO)
3384         
3385 2008-02-07  Michael Natterer  <mitch@imendio.com>
3386
3387         * gtk/gtkcellview.c
3388         * gtk/gtklabel.c
3389         * gtk/gtklayout.c
3390         * gtk/gtklist.c
3391         * gtk/gtkmenu.c
3392         * gtk/gtkmenushell.c
3393         * gtk/gtkmisc.c
3394         * gtk/gtkoptionmenu.c
3395         * gtk/gtkplug.c
3396         * gtk/gtkpreview.c
3397         * gtk/gtkprogress.c
3398         * gtk/gtkradiomenuitem.c
3399         * gtk/gtkscale.c
3400         * gtk/gtkscrolledwindow.c
3401         * gtk/gtksocket.c: remove g_return_if_fail() from private
3402         functions and virtual function implementations.
3403
3404 2008-02-07  Michael Natterer  <mitch@imendio.com>
3405
3406         * gtk/gtkaction.c
3407         * gtk/gtkassistant.c
3408         * gtk/gtkbin.c
3409         * gtk/gtkbox.c
3410         * gtk/gtkcalendar.c
3411         * gtk/gtkcellrenderercombo.c
3412         * gtk/gtkcombobox.c
3413         * gtk/gtkcombo.c
3414         * gtk/gtkdrawingarea.c
3415         * gtk/gtkentrycompletion.c
3416         * gtk/gtkfixed.h
3417         * gtk/gtkgamma.c
3418         * gtk/gtkhpaned.c
3419         * gtk/gtkiconview.c
3420         * gtk/gtkitem.c
3421         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
3422         functions and virtual function implementations.
3423
3424 2008-02-07  Christian Persch  <chpe@gnome.org>
3425
3426         * gdk/gdkpixbuf-render.c:
3427         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
3428         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
3429         otherwise there will be random pixel values in the semi-transparent
3430         area of the pixbuf within the mask. Bug #487865.
3431
3432 2008-02-06  Cody Russell  <bratsche@gnome.org>
3433
3434         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
3435         otherwise things get wonky when you click on a menu.  This fixes
3436         a regression caused in #505928.  Thanks to Tor for spotting this
3437         one!  (#514789)
3438
3439 2008-02-06  Michael Natterer  <mitch@imendio.com>
3440
3441         * gtk/gtkcontainer.c
3442         * gtk/gtkexpander.c
3443         * gtk/gtkframe.c
3444         * gtk/gtklabel.c
3445         * gtk/gtkmain.c
3446         * gtk/gtkmenu.c
3447         * gtk/gtkmenuitem.c
3448         * gtk/gtkmenushell.c
3449         * gtk/gtknotebook.c
3450         * gtk/gtkseparatortoolitem.c
3451         * gtk/gtksocket.c
3452         * gtk/gtktextlayout.c
3453         * gtk/gtktoggletoolbutton.c
3454         * gtk/gtktoolbutton.c
3455         * gtk/gtktoolitem.c
3456         * gtk/gtktree.c
3457         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
3458         "GTK_IS_FOO (foo)".
3459
3460 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3461
3462         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
3463         Allow to store half-open ranges.
3464
3465 2008-02-05  Cody Russell  <bratsche@gnome.org>
3466
3467         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
3468         down the stack until we get to a window that is mapped.
3469         Otherwise hiding a window will cause all windows in the app
3470         to be blocked. (#514643)
3471
3472 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3473
3474         * gtk/updateiconcache.c: Ignore images in the toplevel theme
3475         directory, avoiding one source of invalid caches that has been
3476         spotted in the wild.
3477
3478 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3479
3480         * gtk/updateiconcache.c: Fix the previous commit to compile.
3481
3482 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3483
3484         * gtk/updateiconcache.c: Install a printerr handler that
3485         prepends the program name, since gtk-update-icon-cache output
3486         often appears in the middle of other output, e.g. rpm update logs.
3487
3488 2008-02-05  Cody Russell  <bratsche@gnome.org>
3489
3490         * gdk/win32/gdkprivate-win32.h
3491         * gdk/win32/gdkevents-win32.c
3492         * gdk/win32/gdkwindow-win32.c
3493         * gdk/win32/gdkwindow-win32.h
3494         * gdk/win32/gdkwin32.h:
3495         Modal window rework.  (#455627 and #511111)
3496
3497 2008-02-04  Michael Natterer  <mitch@imendio.com>
3498
3499         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
3500         g_return_if_fail() if the cell is not part of the combo instead of
3501         crashing in the next line.
3502
3503 2008-02-01  Cody Russell  <cody@jhu.edu>
3504
3505         * modules/engines/ms-windows/xp_theme.[ch]
3506         * modules/engines/ms-windows/xp_theme_defs.h
3507         * modules/engines/ms-windows/msw_rc_style.c
3508         * modules/engines/ms-windows/msw_theme_main.c
3509         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
3510         attempted to stylize more like the rest of the gtk+ stack's code.
3511
3512 2008-02-01  Michael Natterer  <mitch@imendio.com>
3513
3514         * tests/testgtk.c: initialize GdkColor structs to fix warning
3515         about uninitialized "pixel" member.
3516
3517         * tests/testactions.c: connect the toolbar_style() callback so it
3518         does something useful and doesn't warn about being defined but not
3519         used.
3520
3521 2008-01-31  Cody Russell  <bratsche@gnome.org>
3522
3523         * gdk/win32/gdkevents-win32.c:
3524         Refactored some of the window hiding/showing code from
3525         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
3526         under WM_ACTIVATE was causing the application to go into
3527         a weird state when the user right-clicked on the taskbar
3528         entry of a window that was minimized.  (#505928)
3529         
3530 2008-01-31  Cody Russell  <bratsche@gnome.org>
3531
3532         * gtk/gtkpaned.c (gtk_paned_set_position):
3533         Change queue_resize() to queue_draw(), and add a check for
3534         child2 != NULL in case someone calls this before there is
3535         a child packed in there.  (#144269 again)
3536
3537 2008-01-31  Sven Neumann  <sven@gimp.org>
3538
3539         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3540         applied patch from Denis Oliver Kropp <dok@directfb.org>.
3541
3542 2008-01-31  Sven Neumann  <sven@gimp.org>
3543
3544         * gdk/directfb/gdkdisplay-directfb.c
3545         * gdk/directfb/gdkdrawable-directfb.c
3546         * gdk/directfb/gdkprivate-directfb.h
3547         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3548         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3549
3550 2008-01-31  Richard Hult  <richard@imendio.com>
3551
3552         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3553         issues with undecorated windows. Revert the change done on
3554         2008-01-25 and fix it by using the view's bounds instead. The
3555         bounds will always be up to date when setting up the tracking
3556         rect, so this should be more robust.
3557
3558 2008-01-30  Sven Neumann  <sven@gimp.org>
3559
3560         * gdk/directfb/gdkdrawable-directfb.c
3561         * gdk/directfb/gdkwindow-directfb.c
3562         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3563         Oliver Kropp <dok@directfb.org>. Adds debug messages using
3564         DirectFB's debugging system
3565
3566 2008-01-30  Sven Neumann  <sven@gimp.org>
3567
3568         * gdk/directfb/gdkdirectfb.h
3569         * gdk/directfb/gdkdisplay-directfb.c
3570         * gdk/directfb/gdkdrawable-directfb.c
3571         * gdk/directfb/gdkim-directfb.c
3572         * gdk/directfb/gdkimage-directfb.c
3573         * gdk/directfb/gdkinput-directfb.c
3574         * gdk/directfb/gdkmain-directfb.c
3575         * gdk/directfb/gdkpixmap-directfb.c
3576         * gdk/directfb/gdktestutils-directfb.c
3577         * gdk/directfb/gdkvisual-directfb.c
3578         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3579         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3580         errors and has some cleanups.
3581
3582 2008-01-30  Michael Natterer  <mitch@imendio.com>
3583
3584         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3585         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3586         aliasing warning.
3587
3588         * gtk/updateiconcache.c (add_string): cast const gchar* to
3589         gpointer when inserting in a GHashTable.
3590
3591         * tests/testcalendar.c (calendar_detail_cb): remove const from
3592         return value since it's a newly allocated string.
3593
3594         (calendar_update_details): free the detail.
3595
3596 2008-01-29  Johan Dahlin  <johan@gnome.org>
3597
3598         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3599         (do_builder):
3600         * demos/gtk-demo/demo.ui:
3601         Move the about dialog to the glade file, add accessible tags
3602         examples to the markup file.
3603
3604 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
3605
3606         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3607         layout, fixes #512375.
3608
3609 2008-01-28  Michael Natterer  <mitch@imendio.com>
3610
3611         * gtk/gtktextchild.c
3612         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3613
3614 2008-01-28  Michael Natterer  <mitch@imendio.com>
3615
3616         * demos/gtk-demo/builder.c (about_activate): use
3617         gtk_about_dialog_set_program_name() instead of the deprecated
3618         set_name().
3619
3620 2008-01-28  Michael Natterer  <mitch@imendio.com>
3621
3622         * gtk/gtktextchild.c
3623         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3624         is deprecated now).
3625
3626 2008-01-26  Johan Dahlin  <johan@gnome.org>
3627
3628         * tests/Makefile.am:
3629         * tests/textbuffertest.c:
3630         Rename textbuffer test and port it to the new test framework
3631         
3632 2008-01-25  Johan Dahlin  <johan@gnome.org>
3633
3634         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3635         unsetting of GTK_MODULES.
3636
3637         * gtk/gtk-builder-convert
3638         (GtkBuilderConverter._convert_adjustment): Handle the case where
3639         there is no child text node.
3640         (GtkBuilderConverter): Allow xml comments in most places.
3641
3642 2008-01-25  Johan Dahlin  <johan@gnome.org>
3643
3644         * gtk/gtk-builder-convert
3645         (GtkBuilderConverter._convert_combobox_items): Remove the items
3646         even if there are no items set.
3647         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3648         signals and tooltips for all menu items subclasses and 
3649         GtkImageMenuItem:label. 
3650         Makes it possible to fully convert and run Jokosher.glade.
3651
3652 2008-01-25  Johan Dahlin  <johan@gnome.org>
3653
3654         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3655         (gtk_widget_buildable_get_internal_child), (free_action),
3656         (free_relation), (gtk_widget_buildable_parser_finished),
3657         (accessibility_start_element),
3658         (gtk_widget_buildable_custom_tag_start),
3659         (gtk_widget_buildable_custom_finished):
3660         Implement accessible support, fixes #454653.
3661
3662         * gtk/gtk-builder-convert:
3663         Add support for migrating old glade files
3664         
3665         * tests/buildertest.c: (test_widget), (test_file):
3666         Add accessible tests and imprve the test_file function to display
3667         toplevels and run dialogs.
3668
3669 2008-01-25  Richard Hult  <richard@imendio.com>
3670
3671         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3672         didn't change, fixes focus event issues for undecorated windows.
3673
3674 2008-01-25  Richard Hult  <richard@imendio.com>
3675
3676         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3677         const and remove unused variables).
3678
3679 2008-01-25  Michael Natterer  <mitch@imendio.com>
3680
3681         * gtk/gtkbutton.h
3682         * gtk/gtkcellrenderer.h
3683         * gtk/gtkimcontext.h
3684         * gtk/gtkstyle.h
3685         * gtk/gtktoolbar.h
3686         * gtk/gtktooltip.h
3687         * gtk/gtktreeprivate.h
3688         * gtk/gtktreeviewcolumn.h
3689         * gtk/gtkwidget.h: add const to constant structs which are passed
3690         into GTK+. Also add some forgotten const for const strings.
3691         Fixes bug #511554.
3692
3693         * gtk/gtkbutton.c
3694         * gtk/gtkcellrenderer.c
3695         * gtk/gtkimcontext.c
3696         * gtk/gtkstyle.c
3697         * gtk/gtktoolbar.c
3698         * gtk/gtktooltip.c
3699         * gtk/gtktreeview.c
3700         * gtk/gtktreeviewcolumn.c
3701         * gtk/gtkwidget.c: changed accordingly.
3702
3703 2008-01-25  Sven Herzberg  <sven@imendio.com>
3704
3705         Reviewed by Johan Dahlin.
3706
3707         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3708         this is called with something that's not a GtkUIManager
3709
3710 2008-01-24  Johan Dahlin  <johan@gnome.org>
3711
3712         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
3713         Chain up to parent, so widgets can have internal children.
3714
3715 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
3716
3717         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3718         IWAMOTO).
3719
3720         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3721
3722 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
3723
3724         Use pango_layout_set_height() for calendar details (#506049).
3725
3726         * configure.in: Require 1.19.3 for pango_layout_set_height().
3727         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3728
3729 2008-01-18  Johan Dahlin  <johan@gnome.org>
3730
3731         * gtk/gtk-builder-convert (get_property_node): New method
3732         (GtkBuilderConverter._create_object): Conditionally take a node as
3733         a property value, so don't lose translate/context attributes if they
3734         are set. 
3735         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3736         property values instead of strings.
3737         (#509153, Erik van Pienbroek)
3738
3739 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
3740
3741         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3742
3743         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3744         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3745         * tests/testcalendar.c: Duplicate calendar details before returning.
3746
3747 2008-01-16  Christian Persch  <chpe@gnome.org>
3748
3749         * gtk/gtkwidget.c: Store the event mask and extension event mode
3750         directly in the gobject data pointer, instead of in an allocated
3751         gint. Bug #506604.
3752
3753 2008-01-16  Michael Natterer  <mitch@imendio.com>
3754
3755         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3756         gdk-pixbuf now uses gio functions.
3757
3758 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
3759
3760         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3761         the notify::model signal.  (#509819, David Zeuthen)
3762
3763 2008-01-15  Michael Natterer  <mitch@imendio.com>
3764
3765         * gdk/gdkdisplay.h
3766         * gdk/gdkdrawable.h
3767         * gdk/gdkevents.h
3768         * gdk/gdkpango.h
3769         * gdk/gdkregion.h
3770         * gdk/gdkrgb.h
3771         * gdk/gdkwindow.h: made more struct pointer and array parameters
3772         const. GDK should now be constified as far as possible without
3773         breaking source compatibility. Includes some minor cleanup like
3774         indentation and s/nfoo/n_foo/ (bug #508544).
3775
3776         * gdk/gdkdisplay.c
3777         * gdk/gdkdraw.c
3778         * gdk/gdkevents.c
3779         * gdk/gdkpango.c
3780         * gdk/gdkregion-generic.c
3781         * gdk/gdkrgb.c
3782         * gdk/directfb/gdkdisplay-directfb.c
3783         * gdk/directfb/gdkwindow-directfb.c
3784         * gdk/quartz/gdkdisplay-quartz.c
3785         * gdk/quartz/gdkwindow-quartz.c
3786         * gdk/win32/gdkdisplay-win32.c
3787         * gdk/win32/gdkwindow-win32.c
3788         * gdk/x11/gdkdisplay-x11.c
3789         * gdk/x11/gdkwindow-x11.c: changed accordingly.
3790
3791 2008-01-14  Michael Natterer  <mitch@imendio.com>
3792
3793         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3794         const warning.
3795
3796         (gtk_rc_parse_any): change variables to const and introduce
3797         another local variable to fix const warnings.
3798
3799 2008-01-14  Michael Natterer  <mitch@imendio.com>
3800
3801         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3802         of gdk_screen_get_font_options() to gpointer to get rid of const
3803         warning.
3804
3805 2008-01-14  Michael Natterer  <mitch@imendio.com>
3806
3807         * tests/testdnd.c (source_drag_data_get): fix another call to
3808         gtk_selection_data_set().
3809
3810 2008-01-14  Michael Natterer  <mitch@imendio.com>
3811
3812         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3813         signedness warning.
3814
3815 2008-01-14  Michael Natterer  <mitch@imendio.com>
3816
3817         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3818
3819 2008-01-14  Michael Natterer  <mitch@imendio.com>
3820
3821         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3822         "uris" to guchar* when passing it to gtk_selection_data_set().
3823
3824 2008-01-14  Michael Natterer  <mitch@imendio.com>
3825
3826         * gdk/gdk.h
3827         * gdk/gdkcairo.h
3828         * gdk/gdkcolor.h
3829         * gdk/gdkgc.h
3830         * gdk/gdkinternals.h
3831         * gdk/gdkregion.h
3832         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3833         parameters const (bug #508544).
3834
3835         * gdk/gdkcairo.c
3836         * gdk/gdkgc.c
3837         * gdk/gdkwindow.c
3838         * gdk/gdkrectangle.c
3839         * gdk/gdkpolyreg-generic.c
3840         * gdk/gdkregion-generic.c
3841         * gdk/directfb/gdkcolor-directfb.c
3842         * gdk/directfb/gdkgc-directfb.c
3843         * gdk/directfb/gdkgeometry-directfb.c
3844         * gdk/directfb/gdkwindow-directfb.c
3845         * gdk/quartz/gdkcolor-quartz.c
3846         * gdk/quartz/gdkgc-quartz.c
3847         * gdk/quartz/gdkgeometry-quartz.c
3848         * gdk/quartz/gdkwindow-quartz.c
3849         * gdk/win32/gdkcolor-win32.c
3850         * gdk/win32/gdkgc-win32.c
3851         * gdk/win32/gdkgeometry-win32.c
3852         * gdk/win32/gdkprivate-win32.h
3853         * gdk/win32/gdkwindow-win32.c
3854         * gdk/x11/gdkcolor-x11.c
3855         * gdk/x11/gdkgc-x11.c
3856         * gdk/x11/gdkgeometry-x11.c
3857         * gdk/x11/gdkmain-x11.c
3858         * gdk/x11/gdkprivate-x11.h
3859         * gdk/x11/gdkwindow-x11.c: changed accordingly.
3860
3861         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3862         headers.
3863
3864 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
3865
3866         Explain name choice for gtk_tool_item_toolbar_reconfigured.
3867
3868         * gtk/gtktoolitem.c: Add comment expaining name choice for
3869         gtk_tool_item_toolbar_reconfigured.
3870
3871 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
3872
3873         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3874         implementations to notify its children, when some aspect of their
3875         configuration changed (#509042).
3876
3877         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3878         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3879         Rename _gtk_tool_item_toolbar_reconfigured.
3880
3881 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
3882
3883         Include <gtk/gtktoolshell.h> from gtk.h.
3884
3885         * gtk/gtk.h: Add gtktoolshell.h
3886
3887 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
3888
3889         Print angle brackets arround e-mail addresses in the about dialog
3890         (#409520, Mariano Suárez-Alvarez).
3891
3892         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3893
3894 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
3895
3896         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3897         special casing so test widgets are always queues for destruction
3898         during teardown.
3899
3900         * gtk/tests/testing.c: removed bits left-over from testing without
3901         gtestutils.h.
3902
3903 2008-01-10  Tor Lillqvist  <tml@novell.com>
3904
3905         * modules/other/gail/libgail-util/Makefile.am
3906         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3907         gdktargetlib.
3908         
3909 2008-01-10  Tor Lillqvist  <tml@novell.com>
3910
3911         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3912         uses gtkprintunixdialog API.
3913
3914 2008-01-10  Tor Lillqvist  <tml@novell.com>
3915
3916         * gdk/win32/gdkdisplay-win32.c
3917         * gdk/win32/gdkglobals-win32.c
3918         * gdk/win32/gdkprivate-win32.h
3919         * gdk/win32/gdkscreen-win32.c
3920         * gdk/win32/gdkwindow-win32.c: Implement
3921         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3922         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3923         Iwamoto. (#505753)
3924
3925 2008-01-10  Cody Russell  <bratsche@gnome.org>
3926
3927         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3928         Properly ref/unref windows and parents.  (#506769)
3929
3930 2008-01-10  Richard Hult  <richard@imendio.com>
3931
3932         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3933         (gdk_window_hide), (move_resize_window_internal): Move the
3934         tracking rect workaround from here...
3935
3936         * gdk/quartz/GdkQuartzWindow.c:
3937         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3938         movements during showing/hiding operations. Fixes bug #508516.
3939
3940 2008-01-10  Michael Natterer  <mitch@imendio.com>
3941
3942         * gdk/directfb/gdkscreen-directfb.c
3943         (gdk_screen_get_monitor_width_mm)
3944         (gdk_screen_get_monitor_height_mm)
3945         (gdk_screen_get_monitor_plug_name): add these functions to make
3946         it build again.
3947
3948 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
3949
3950         * gtk/gtkrecentchoosermenu.c:
3951         (idle_populate_func), (idle_populate_clean_up): Fix possible
3952         recursion by resetting the idle source id. (#507605, William
3953         Pitcock)
3954
3955 2008-01-10  Kristian Rietveld  <kris@imendio.com>
3956
3957         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3958         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3959         avoid valgrind warnings.  (#507751, patch from Christian Persch).
3960
3961 2008-01-10  Kristian Rietveld  <kris@imendio.com>
3962
3963         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3964         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3965
3966 2008-01-10  Kristian Rietveld  <kris@imendio.com>
3967
3968         Fix #477175, reported by Juri Pakaste.
3969
3970         * gtk/gtktreeprivate.h:
3971         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3972         tree_view->priv->dy here directly, just calculate the new value
3973         and set it on the adjustment,
3974         (gtk_tree_view_adjustment_changed): add guards to not call
3975         gtk_tree_view_dy_to_top_row() if we are currently in
3976         gtk_tree_view_top_row_to_dy(),
3977         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3978         coordinates, not tree coordinates,
3979         (gtk_tree_view_real_start_editing): add cast.
3980
3981         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3982         position of the editable in the "create new row and start editing"
3983         tests.
3984
3985 2008-01-09  Michael Natterer  <mitch@imendio.com>
3986
3987         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3988         variable.
3989
3990         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3991         * gtk/gtkicontheme.c (theme_list_contexts)
3992         (gtk_icon_theme_lookup_icon)
3993         * gtk/gtkimcontextsimple.c (beep_window)
3994         * gtk/gtklinkbutton.c (set_link_color)
3995         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3996         fix warnings.
3997
3998         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3999         variable and add const to another to fix a warning.
4000
4001 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
4002
4003         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
4004         the current page.  (#499951, Andreas Sandberg)
4005
4006 2008-01-06  Johan Dahlin  <johan@gnome.org>
4007
4008         * gtk/gtkspinbutton.c: Declare value in the example code for
4009         GtkSpinButton::output, as pointed out by Anders Carlsson.
4010
4011 2008-01-06  Christian Persch  <chpe@gnome.org>
4012
4013         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
4014         and remove an obsolete event box. Bug #506760.
4015
4016 2008-01-06  Johan Dahlin  <johan@gnome.org>
4017
4018         * tests/buildertest.c (test_domain): 
4019         Update, GtkBuilder::translation-domain is no longer set
4020         
4021         * gtk/gtkbuilderparser.c (parse_interface): 
4022         Allow domains to be overridden in <interface>'s if a translation-domain
4023         is set in the builder.
4024         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
4025         of the builder, make the domain set in the <interface> apply only to strings
4026         in that interface.
4027         (#496831, Ryan Lortie)
4028
4029         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
4030         to g_warning calls.
4031
4032         * gtk/gtktreestore.c (tree_model_end_element): 
4033         Remove an unused variable
4034
4035 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
4036
4037         * gtk/gtkspinbutton.c: Document the ::output signal and
4038         add an example.  (#507566, example by Owen Taylor)
4039
4040 2008-01-06  Johan Dahlin  <johan@gnome.org>
4041
4042         * gtk/gtkcellrenderercombo.c:
4043         (gtk_cell_renderer_combo_get_property),
4044         (gtk_cell_renderer_combo_set_property):
4045         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
4046         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
4047         * gtk/gtknotebook.c: (gtk_notebook_set_property):
4048         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
4049         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
4050         (gtk_text_buffer_get_property):
4051         * gtk/gtktextview.c: (gtk_text_view_set_property):
4052         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
4053         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
4054         (gtk_tool_button_get_property):
4055         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
4056         (gtk_tool_item_get_property):
4057         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
4058         * gtk/gtkwidget.c: (gtk_widget_set_property):
4059         * gtk/gtkwindow.c: (gtk_window_set_property):
4060         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
4061         Fixes #507585
4062
4063 2008-01-06  Johan Dahlin  <johan@gnome.org>
4064
4065         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
4066         Make sure that --root works for toplevel widgets.
4067         (#491847, Phil Lello)
4068
4069 2008-01-05  Johan Dahlin  <johan@gnome.org>
4070
4071         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
4072         to make sure that make test-report works properly
4073
4074 2008-01-05  Christian Persch  <chpe@gnome.org>
4075
4076         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
4077         GType as integer through gpointer. Bug #507395.
4078
4079 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
4080
4081         Avoid some compiler warnings (#507000).
4082
4083         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
4084         for value argument of _gtk_builder_flags_from_string.
4085         * gtk/gtkwidget.c: Don't alias the child pointer passed
4086         to gdk_window_get_user_data.
4087
4088 2008-01-04  Michael Natterer  <mitch@imendio.com>
4089
4090         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
4091         to set the time in the returned GdkTimeCoords.
4092
4093 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
4094
4095         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
4096         correct comparison function (kudos to Christian Persch and
4097         Claudio Saavedra for spotting this)
4098
4099         * gtk/gtkrecentchooserutils.c:
4100         (sort_recent_items_mru),
4101         (sort_recent_items_lru): Ditto as above.
4102
4103 2008-01-03  Johan Dahlin  <johan@gnome.org>
4104
4105         * tests/defaultvaluetest.c: Make it pass again.
4106
4107 2008-01-02  Johan Dahlin  <johan@gnome.org>
4108
4109         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
4110         make it pass on Ubuntu.
4111         (main): Use gtk_test_list_all_types () instead of providing our
4112         own list.
4113         And it no longer passes.
4114
4115 2007-12-30  Johannes Schmid <jhs@gnome.org>
4116
4117         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
4118         Also reorder menu when reordering tabs by drag & drop
4119         (Bug #506474)
4120         
4121         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
4122         Add a menu to one of the notebooks to have a test-case for
4123         the change mentioned above.
4124
4125 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
4126
4127         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
4128
4129 2007-12-31  Christian Persch  <chpe@gnome.org>
4130
4131         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
4132         Plug a mem leak. Bug #506107.
4133
4134 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4135
4136         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
4137         icon cache api change.  (#506135, Kazuki Iwamoto)
4138
4139 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4140
4141         Consider "wide-separators" and "separator-height" style properties:
4142         The separator is drawn using gtk_paint_box instead of cairo, when
4143         "wide-separators" is set. Also do not highlight details for previous
4144         or next month, if their day matches the selected day. (#339540)
4145
4146         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
4147         in gtk_calendar_size_request and calendar_paint_day
4148         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
4149         for selected detail separators in GtkCalendar.
4150
4151 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4152
4153         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
4154
4155         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
4156         a local variable instead in gtk_calendar_size_request.
4157
4158 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4159
4160         * tests/defaultvaluetest.c: Add enough exclusions to make the
4161         test succeed.
4162
4163 2007-12-28  Christian Persch  <chpe@gnome.org>
4164
4165         * modules/other/gail/Makefile.am:
4166         * modules/other/gail/tests/*:
4167         * configure.in: Merge tests from standalone gail. Bug #504568.
4168
4169 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4170
4171         * gtk/gtkclipboard.c: Make the finalizer work when display is
4172         not set.
4173
4174 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4175
4176         Draw bottom shadow of GtkCalender headings. (#506113)
4177
4178         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
4179
4180 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4181
4182         * gtk/gtkcalendar.c: Document the initial values of year/month/day
4183         properties.
4184
4185 2007-12-28  Christian Persch  <chpe@gnome.org>
4186
4187         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
4188         a mem leak. Bug #506096.
4189
4190 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4191
4192         * gtk/gtktable.c:
4193         * gtk/gtktreeview.c:
4194         * gtk/gtkprintoperation.c:
4195         * gtk/gtkprogressbar.c:
4196         * gtk/gtkmessagedialog.c:
4197         * gtk/gtknotebook.c:
4198         * gtk/gtkprinter.c:
4199         * gtk/gtkfilesel.c:
4200         * gtk/gtklabel.c:
4201         * gtk/gtklinkbutton.c:
4202         * gtk/gtkmenu.c: More default property value corrections.
4203
4204 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4205
4206         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
4207         accel_group unless it is set.
4208
4209 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4210
4211         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
4212
4213 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4214
4215         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
4216         shadow-type properties.
4217
4218         * gtk/gtkfontsel.c: Fix the default values of several properties.
4219
4220         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
4221         property.
4222
4223         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
4224
4225         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
4226         property.
4227
4228 2007-12-28  Johan Dahlin  <johan@gnome.org>
4229
4230         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
4231         (gtk_dialog_buildable_custom_tag_start): Chain up. 
4232         This makes it possible to have accelerators tags on GtkDialog 
4233         subclasses.
4234
4235 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4236
4237         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
4238         are shown within the widget, or just as tooltip. (#339540)
4239
4240         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
4241         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
4242         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
4243         in flags vbox.
4244
4245 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4246
4247         Try more decent appearance of calendar details separator. (#339540)
4248
4249         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
4250         and make it short by one pixel on each side.
4251
4252 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4253
4254         Apply trivial code-style changes from attachement 101101. (#339540)
4255
4256         * tests/testcalendar.c: Some updates to current GTK+ code-style.
4257
4258 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4259
4260         Restructure testcalendar for testing calendar details. (#339540)
4261
4262         * tests/testcalendar.c: Push code arround for testing calendar details.
4263
4264 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4265
4266         Implement GtkTooltip API for calendar details. (#339540)
4267
4268         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
4269         Remember detail overflows in calendar_paint_day to show the tooltip
4270         only when neccessary.
4271
4272 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4273
4274         Without setting "detail-width-chars" and "detail-height-rows"
4275         properties not only the widget has to be redrawn on certain
4276         conditions, but also its size must be recalculated. (#339540)
4277
4278         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
4279         that function instead of gtk_widget_queue_draw.
4280
4281 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4282
4283         Consider details for size-request and expose-event. (#339540)
4284
4285         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
4286         is_color_attribute functions. Change gtk_calendar_size_request
4287         and calendar_paint_day to consider and show calender details.
4288
4289 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4290
4291         * gtk/gtkcombobox.c: Introduce local priv variables to 
4292         reduce ->->
4293
4294 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
4295
4296         * gtk/gtkcombobox.c: Correct the default value for the 
4297         tearoff-title property.
4298
4299         * gtk/gtkcellrenderertext.c: Fix the default value for the
4300         wrap-mode and font-scale properties.
4301
4302         * gtk/gtkaspectratio.c: Fix the default value for the ratio
4303         property.
4304
4305 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
4306
4307         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
4308         defines.  (#505708,  MINAMI Hirokazu)
4309
4310 2007-12-27  Christian Persch  <chpe@gnome.org>
4311         
4312         * Makefile.am: Install gail.pc. Bug #505859.
4313
4314 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
4315
4316         Add infrastructure for GtkCalendar details. (#339540)
4317
4318         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
4319         Add "detail-width-chars" and "detail-height-rows" properties,
4320         and gtk_calendar_set_detail_func function.
4321
4322 2007-12-27  Xan Lopez  <xan@gnome.org>
4323
4324         * gtk/gtk.symbols: 
4325         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
4326
4327         Add gtk_border_new to avoid memory allocator confusions when using
4328         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
4329
4330 2007-12-27  Christian Persch  <chpe@gnome.org>
4331
4332         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
4333         bug #504886 not to read unitialised memory.
4334
4335 2007-12-26  Xan Lopez  <xan@gnome.org>
4336
4337         * gtk/gtkstatusbar.c (has_extra_children): take into account the
4338         modification of the internal frame contents to decide if we have
4339         extra children. (#415677)
4340
4341 2007-12-22  Christian Persch  <chpe@gnome.org>
4342
4343         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
4344
4345 2007-12-25  Christian Persch  <chpe@gnome.org>
4346
4347         * modules/other/gail/gailwindow.c: (gail_window_initialize):
4348         Initialise |widget|. Fixes a buglet introduced by the commit from bug
4349         #505226.
4350
4351 2007-12-25  Christian Persch  <chpe@gnome.org>
4352
4353         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
4354         
4355 2007-12-25  Christian Persch  <chpe@gnome.org>
4356
4357         * modules/other/gail/*.[ch]: Remove relocations from the atk
4358         factories. Remove unused gail_foo_new() functions. Fix object
4359         instantiation to be derivation safe by moving initialisation code
4360         from the removed gail_foo_new() functions to the
4361         AtkObjectClass::initialize implementation. Bug #505226.
4362
4363 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
4364
4365         * modules/other/gail/gailentry.c:
4366         * modules/other/gail/gailimage.c:
4367         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
4368         uses of clipboards and settings.  (#504722, Christian Persch)
4369
4370 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
4371
4372         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
4373          Kazuki IWAMOTO)
4374
4375 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
4376
4377         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
4378         use the time and button information from the event.  (#504901,
4379         Peter Bloomfield)
4380
4381 2007-12-23  Cody Russell  <bratsche@gnome.org>
4382
4383         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
4384         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
4385         Fixes a regression caused by #164537 patch where transient
4386         windows that are hidden get shown (incorrectly) when their
4387         parents are minimized. (#504984)
4388         
4389 2007-12-22  Christian Persch  <chpe@gnome.org>
4390
4391         * modules/other/gail/gailcell.c:
4392         * modules/other/gail/gailcontainercell.c:
4393         * modules/other/gail/gailexpander.c:
4394         * modules/other/gail/gailtextcell.c:
4395         * modules/other/gail/gailtextview.c:
4396         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
4397
4398 2007-12-22  Christian Persch  <chpe@gnome.org>
4399
4400         * modules/other/gail/*.c: Include config.h. Bug #504720.
4401
4402 2007-12-22  Christian Persch  <chpe@gnome.org>
4403
4404         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4405         handwritten get_type functions. Bug #504661.
4406
4407 2007-12-23  Xan Lopez  <xan@gnome.org>
4408
4409         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
4410         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
4411
4412         Patch by Sadrul Habib Chowdhury (#504804)
4413
4414 2007-12-22  Christian Persch  <chpe@gnome.org>
4415
4416         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
4417         #504645, patch by Li Yuan.
4418
4419 2007-12-22  Christian Persch  <chpe@gnome.org>
4420
4421         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
4422
4423 2007-12-22  Christian Persch  <chpe@gnome.org>
4424         
4425         * modules/other/gail/gail.c:
4426         * modules/other/gail/gailbutton.c:
4427         * modules/other/gail/gailcell.c:
4428         * modules/other/gail/gailcombo.c:
4429         * modules/other/gail/gailcombo.h:
4430         * modules/other/gail/gailcombobox.c:
4431         * modules/other/gail/gailentry.c:
4432         * modules/other/gail/gailexpander.c:
4433         * modules/other/gail/gailmenuitem.c:
4434         * modules/other/gail/gailnotebook.c:
4435         * modules/other/gail/gailnotebookpage.c:
4436         * modules/other/gail/gailnotebookpage.h:
4437         * modules/other/gail/gailoptionmenu.c:
4438         * modules/other/gail/gailrange.c:
4439         * modules/other/gail/gailtextview.c:
4440         * modules/other/gail/gailtreeview.c:
4441         * modules/other/gail/gailtreeview.h:
4442         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
4443         Bug #504571.
4444
4445 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
4446
4447         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
4448         Christian Persch)
4449
4450 2007-12-21  Richard Hult  <richard@imendio.com>
4451
4452         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
4453         Plug leak of destroyed subviews, fixes bug #504753.
4454
4455 2007-12-20  Johan Dahlin  <johan@gnome.org>
4456
4457         * tests/Makefile.am (TEST_PROGS): 
4458         * tests/defaultvaluetest.c: Add a test for default values,
4459         based on program by Christan Perch
4460
4461 2007-12-20  Johan Dahlin  <johan@gnome.org>
4462
4463         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
4464         Refactor to avoid some duplication.
4465         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
4466         Fixes #504749, Yuri Pimenov
4467
4468 2007-12-20  Kristian Rietveld  <kris@imendio.com>
4469
4470         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
4471         the build work again on systems without xrandr 1.2.
4472
4473 2007-12-20  Christian Persch  <chpe@gnome.org>
4474
4475         * configure.in:
4476         * modules/other/gail/libgail-util/Makefile.am:
4477         Keep the same libtool version as the standalone libgail-util had.
4478         Bug #504643.
4479
4480 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
4481
4482         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
4483
4484 2007-12-20  Alexander Larsson  <alexl@redhat.com>
4485         
4486         * gdk/x11/gdkapplaunchcontext-x11.c:
4487         Update for gio API changes
4488
4489 2007-12-20  Richard Hult  <richard@imendio.com>
4490
4491         * gdk/quartz/GdkQuartzWindow.c:
4492         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
4493         processing events after changing the size.
4494
4495 2007-12-20  Richard Hult  <richard@imendio.com>
4496
4497         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
4498         Add stub for quartz to fix build.
4499
4500 2007-12-20  Christian Persch  <chpe@gnome.org>
4501
4502         * modules/other/gail/Makefile.am:
4503         * modules/other/gail/gailimage.c: (gail_image_class_init),
4504         (gail_image_init), (elide_underscores), (gail_image_get_name),
4505         (atk_image_interface_init), (gail_image_finalize):
4506         * modules/other/gail/gailimage.h:
4507         R modules/other/gail/gailintl.h:
4508         * po/POTFILES.skip: Use the stock item's label as the name of the
4509         accessible in gailimage.c. Bug #504246.
4510
4511 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
4512
4513         Avoid some compiler warnings and remove obsolete code. (#339540)
4514
4515         * gtk/gtkcalendar.c: Change week and year variable in
4516         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4517         0" block from calendar_paint_day: The feature in question is handled
4518         few lines above. Cast data returned by gtk_selection_data_get_text()
4519         to (gchar*) in gtk_calendar_drag_data_received.
4520
4521 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
4522
4523         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4524
4525 2007-12-19  Johan Dahlin  <johan@gnome.org>
4526
4527         * tests/buildertest.c (test_object_properties): 
4528         Add another call to gtk_builder_add_string after using
4529         delayed properties, as reported in #504393 but already
4530         fixed in #495769.
4531
4532 2007-12-18  Christian Persch  <chpe@gnome.org>
4533
4534         * configure.in:
4535         * docs/reference/Makefile.am:
4536         * docs/reference/libgail-util/*:
4537         * gail-uninstalled.pc.in:
4538         * gail.pc.in:
4539         * modules/Makefile.am:
4540         * modules/other/Makefile.am:
4541         * modules/other/gail/*:
4542         * modules/other/gail/libgail-util/*:
4543         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4544
4545 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
4546
4547         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4548         * gdk/win32/gdkproperty-win32.c: 
4549         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4550
4551         * gtk/gtkimmodule.[hc]: 
4552         * gtk/gtkimmulticontext.[hc]: When determining the default context,
4553         look at the gtk-im-module setting, and listen for changes to the
4554         setting.  (#502446, Akira Tagoh)
4555
4556 2007-12-17  Kristian Rietveld  <kris@imendio.com>
4557
4558         * gtk/gtktooltip.c (gtk_tooltip_finalize),
4559         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4560         to NULL as soon as it's destroyed.  (#496546, patch from
4561         Benjamin Berg).
4562
4563 2007-12-17  Kristian Rietveld  <kris@imendio.com>
4564
4565         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4566         always determine what arrow to show if show_sort_indicator is true.
4567         (#352738, Chris Vine).
4568
4569 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
4570
4571         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4572         Sébastien Granjoux)
4573
4574         * gtk/gtkpaned.c: Call gtk_container_forall instead of
4575         gtk_container_foreach in get_child_panes.
4576
4577 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
4578
4579         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4580
4581         Plug leak: When reordering the info in the list the old node is
4582         removed but not freed. (#503569)
4583
4584 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
4585
4586         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4587         Use u32 instead of __u32 and u8 instead of __u8 as the other types
4588         are deprecated since DirectFB 1.0.0. If compiling with an older
4589         version define the new type name to the old types. Fixes bug #503190.
4590
4591 2007-12-14  Ray Strode  <rstrode@redhat.com>
4592
4593         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4594         instead of g_signal_connect_after (..., "realize", ...) as an
4595         alternative to gtk_widget_realize () (bug 503537).
4596
4597 2007-12-14  Michael Natterer  <mitch@imendio.com>
4598
4599         * gdk/gdkinternals.h
4600         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4601         individual files.
4602
4603         * gdk/gdkapplaunchcontext.c
4604         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4605         header already includes everything now.
4606
4607 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
4608
4609         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4610         next stable release shall be 2.16, not 2.14 - even if disagree.
4611
4612         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4613
4614 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
4615
4616         Change GtkToolItem to retrieve its properties from GtkToolShell
4617         interface, instead of relying on being child of a GtkToolbar.
4618         (#5034079)
4619
4620         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4621         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4622         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4623         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4624         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4625         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4626         Take section docs from template file and update them for GtkToolShell.
4627         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4628         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4629
4630 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
4631
4632         Extract loading of GtkPageSetup and GtkPrintSettings from their
4633         *_new_*() functions and move that code into separate
4634         *_load_*() functions (#475565).
4635
4636         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4637         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4638         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4639         Change the matching *_new_*() functions to use those functions.
4640
4641 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
4642
4643         * gtk/gtk.symbols:
4644         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4645
4646 2007-12-14  Kristian Rietveld  <kris@imendio.com>
4647
4648         * gtk/tests/liststore.c:
4649         * gtk/tests/treestore.c: added tests for insertion functions.
4650
4651 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
4652
4653         * Add RandR 1.2 support
4654
4655         - New monitors_changed signal - New API to get width/height of
4656           monitors, and the name of the plug
4657
4658 2007-12-13  Kristian Rietveld  <kris@imendio.com>
4659
4660         * gtk/tests/liststore.c:
4661         * gtk/tests/treestore.c: test the move and swap functions on a
4662         store with only one node.
4663
4664 2007-12-13  Kristian Rietveld  <kris@imendio.com>
4665
4666         * gtk/gtktestutils.c (gtk_test_init): add a call to
4667         g_test_bug_base().
4668
4669         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4670         appriopriate tests.
4671
4672 2007-12-13  Kristian Rietveld  <kris@imendio.com>
4673
4674         * gtk/tests/liststore.c:
4675         * gtk/tests/treestore.c: start composing tests for the list and tree
4676         store.
4677
4678         * gtk/tests/treeview-scrolling.c: added automated tests for
4679         GtkTreeView's scrolling "subsystem".
4680
4681         * gtk/tests/Makefile.am: updated; added new test programs.
4682
4683 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
4684
4685         Make the code compile again after the GdkAppLaunchContext changes.
4686
4687         * configure.in: Add gio-2.0 to GDK_PACKAGES.
4688         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4689
4690 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
4691
4692         * gdk/gdkapplaunchcontext.c: Add docs
4693
4694 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
4695
4696         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
4697         in gdk, providing startup notification.  (#503203)
4698
4699         * gdk/x11/gdkapplaunchcontext-x11.c: 
4700         * gdk/win32/gdkapplaunchcontext-win32.c:
4701         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
4702         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4703         parts. All but X11 are just empty stubs for now.
4704
4705         * gdk/gdk.symbols:
4706         * gdk/gdkinternals.h:
4707         * gdk/Makefile.am:
4708         * gdk/x11/Makefile.am: 
4709         * gdk/win32/Makefile.am: 
4710         * gdk/quartz/Makefile.am: 
4711         * gdk/directfb/Makefile.am: Necessary glue.
4712
4713 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
4714
4715         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4716
4717 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4718
4719         * gdk/directfb/gdktestutils-directfb.c:
4720         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4721         which adds testing functions to the DirectFB backend.
4722
4723 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4724
4725         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4726         Ciccani which fixes the mixing of gdk and cairo rendering.
4727
4728 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
4729
4730         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4731         on "drag-motion" handlers. Clearify documentation for
4732         gtk_drag_dest_set.
4733
4734 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
4735
4736         * buildertest.c: made unnecessarily exported symbols static.
4737         switched g_return_if_fail() statements in tests to assertions.
4738         special cased currently failing Widget/accesibility test to
4739         run only for g_test_thorough(), so it doesn't break make check.
4740         some coding style fixes.
4741
4742         * Makefile.am: added buildertest to TEST_PROGS.
4743
4744 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4745
4746         * docs/tutorial/gtk-tut.sgml:
4747           Use gtk_widget_get_parent_window() instead of widget->parent->window.
4748
4749 2007-12-10  Richard Hult  <richard@imendio.com>
4750
4751         * gdk/quartz/Makefile.am:
4752         * gdk/quartz/gdkquartz.h:
4753         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4754         header (bug #405915). Also add a getter for the toplevel nswindow.
4755
4756 2007-12-10  Richard Hult  <richard@imendio.com>
4757
4758         * gdk/quartz/gdkdrawable-quartz.c:
4759         (gdk_quartz_drawable_get_context),
4760         (gdk_quartz_drawable_release_context):
4761         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4762         (gdk_event_check), (gdk_event_dispatch), (poll_func):
4763         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4764         used for each drawing context and in prepare, dispatch and poll
4765         with one that exists across each main loop iteration. Fixes leaks
4766         on leopard and protects against future leaks introduce when the
4767         underlying system changes again (bug #492977).
4768
4769 2007-12-10  Richard Hult  <richard@imendio.com>
4770
4771         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4772         Fix the check for no changes to position and size.
4773
4774 2007-12-10  Richard Hult  <richard@imendio.com>
4775
4776         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4777         sized areas at (0, 0), patch from Paul Davis.
4778
4779 2007-12-10  Richard Hult  <richard@imendio.com>
4780
4781         * gdk/quartz/gdkprivate-quartz.h: 
4782         * gdk/quartz/gdkeventloop-quartz.c:
4783         (_gdk_quartz_event_loop_get_pending),
4784         (_gdk_quartz_event_loop_check_pending),
4785         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4786         (gdk_event_check), (gdk_event_dispatch):
4787         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4788         (_gdk_events_queue): Fix a bug where we could end up trying to
4789         handle the same event more than once. Based on patch from Paul
4790         Davis.
4791
4792 2007-12-10  Tor Lillqvist  <tml@novell.com>
4793
4794         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4795         package. (#502850)
4796
4797 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
4798
4799         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4800         to avoid further fallout from the fix for bug 388321.
4801
4802 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4803
4804         * gdk/directfb/gdkgc-directfb.c:
4805         * gdk/directfb/gdkdrawable-directfb.c:
4806         * gdk/directfb/gdkdirectfb.h:
4807         * gdk/directfb/gdkwindow-directfb.c:
4808         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4809         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4810         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4811         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4812         which are expected to improve the performance of the DirectFB backend.
4813         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4814
4815 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
4816
4817         * gtk/gtkcontainer.c: Correct the documentation of child
4818         property getter arguments.  (#501992, David Brigada)
4819
4820 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
4821
4822         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4823         leak pixbufs.  (#502250, Yevgen Muntyan)
4824
4825 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
4826
4827         * gtk/gtkprintunixdialog.c:
4828         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4829         Print and Page Setup dialogs (#502202).
4830
4831 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
4832
4833         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4834         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4835         of XVFB_START, since it's the GTESTER invokation that needs this.
4836
4837 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
4838
4839         * gdk-pixbuf/gdk-pixbuf.symbols:
4840         * gdk/gdk.symbols:
4841         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4842         positives in abicheck.sh
4843
4844 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4845
4846         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4847         GDK events generations in the DirectFB backend.
4848
4849 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
4850
4851         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4852         set of likely unused display ids, because MacOS has no seq(1) command.
4853
4854 2007-12-06  Richard Hult  <richard@imendio.com>
4855
4856         * gdk/quartz/gdkevents-quartz.c:
4857         (synthesize_crossing_events_for_ns_event): Fix warning when
4858         switching spaces in leopard.
4859
4860 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
4861
4862         * tests/floatingtest.c: ported to new testing framework.
4863
4864         * tests/Makefile.am: run floatingtest as testing framework test.
4865
4866 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
4867
4868         * tests/autotestfilechooser.c: majorly speed up execution by reducing
4869         timeouts and converting main loop sleeps to pending/iterate loops with
4870         very low priority async handlers. eliminate output for non-verbose
4871         tests. assert successfull subtests in all test functions. use testing
4872         framework in main().
4873
4874         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4875         executed inside Xvfb upon make check.
4876
4877 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
4878
4879         * tests/objecttests.c: use string comparisons for string property
4880         values and get rid of referencing symbols in array initialization.
4881
4882 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
4883
4884         * gtk+/Makefile.decl: run tests in current dir after setting up the
4885         logging directory, so their results get properly merged into the
4886         resulting test log.
4887
4888         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4889         tests to loop over registered Gdk/Gtk+ types.
4890
4891         * gtk+/tests/objecttests.c: new test program, implements automated
4892         property tests. several properties are blacklisted because they
4893         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4894         can be used to test blacklisted properties and see which proprty failed.
4895
4896 2007-12-04  Richard Hult  <richard@imendio.com>
4897
4898         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4899         Fully initialize the root window, fixes bug #501583.
4900
4901 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
4902
4903         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4904         crash epiphany.
4905
4906 2007-12-03  Richard Hult  <richard@imendio.com>
4907
4908         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4909         Don't crash when dragging from a source that doesn't support uri
4910         lists (bug #499868, Paul Davis).
4911
4912 2007-12-03  Richard Hult  <richard@imendio.com>
4913
4914         * gdk/quartz/gdkwindow-quartz.c:
4915         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4916         parent relative bg pixmap is set, and no parent has a bg
4917         pixmap. Fixes bug #500804.
4918
4919 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
4920
4921         Two optimizations for icon cache lookups.
4922
4923         * gtk/gtkiconcache.[hc]:
4924         * gtk/gtkicontheme.c: Remember the directory index for
4925         subdirectories, instead of running over the directory list
4926         again and again.
4927
4928         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
4929         chain and try it first; this helps with the the usage patterns
4930         in gtkicontheme.c, where the same icon is queried for a lot
4931         of subdirectories.
4932
4933 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
4934
4935         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4936         functions from header files. this should be portable across linux and
4937         Mac OS, unlike the previpous sed expression.
4938
4939 2007-12-1  Cody Russell  <bratsche@gnome.org>
4940
4941         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4942         On Windows, queue a redraw of child2 whenever we set
4943         the pane handle position.  This is unfortunately kind
4944         of hacky, but solves the visual artifacts that were
4945         occuring on at least certain types of child widgets
4946         (e.g., text views and tree views) that are inside
4947         horizontal or vertical panes. (#144269)
4948
4949 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
4950
4951         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
4952
4953 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
4954
4955         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4956         debug spew.
4957
4958 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
4959
4960         * gtk/Makefile.am: Fix ordering of subdirs.
4961
4962 2007-11-28  Tor Lillqvist  <tml@novell.com>
4963
4964         A proper build of GNU libintl is supposed to export the variable
4965         _nl_msg_cat_cntr. configure looks for that variable in order to
4966         recognize GNU gettext. If it sees that it is indeed GNU gettext
4967         that is used, it decides to install message catalogs in
4968         share/locale, otherwise in lib/locale. Until now on Windows I have
4969         built GTK+ against a build of GNU gettext that did not export
4970         _nl_msg_cat_cntr. But this will change, so we can't assume message
4971         catalogs are always in lib/locale.
4972
4973         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4974         GTK_LOCALEDIR being either in "lib" or "share". Move the function
4975         before the inclusion of gtkprivate.h so that it sees the original
4976         GTK_LOCALEDIR.
4977
4978         * gtk-zip.sh.in: Check whether the message catalogs are in
4979         share/locale or lib/locale.
4980
4981         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4982         that the code in _gtk_get_localedir() will find the slashes.
4983
4984 2007-11-28  Tor Lillqvist  <tml@novell.com>
4985
4986         * gtk/Makefile.am: Improve portability. The -o option is present
4987         only in newish GNU egreps. Use one more sed in the pipeline
4988         instead.
4989
4990 2007-11-28  Tor Lillqvist  <tml@novell.com>
4991
4992         Fix #375893, patch by Ben Hague:
4993
4994         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4995         around GetLogicalDrives() that takes also the viewable drive
4996         restrictions in the Registry (which are usually the result of an
4997         Active Directory Group Policy) into account.
4998
4999         (check_volumes, gtk_file_system_win32_list_volumes) Call
5000         get_viewable_logical_drives() instead of GetLogicalDrives().
5001
5002 2007-11-27  Matthias Clasen <mclasen@redhat.com>
5003
5004         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
5005         variables to silence valgrind.  (#495124, Morten Welinder)
5006
5007 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
5008
5009         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
5010         that the construct_child function is responsible for returning a
5011         reference.
5012         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
5013         objects from constructors
5014         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
5015         g_object_ref() to this construction function (it's the only
5016         implementer in GTK)
5017
5018         Fixes #496645.
5019
5020 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
5021
5022         * gtkbuilder.c: remove concept of root objects and just refcount
5023         all objects in the builder.  Fixes #496651.
5024
5025 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
5026
5027         * tests/buildertest.c (test_window): fix invalid free
5028
5029 2007-11-26  Josselin Mouette <joss@malsain.org>
5030
5031         reviewed by: Federico Mena Quintero
5032
5033         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
5034         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
5035         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
5036         Make the shortcuts activate with a single click. (#148828)
5037         Fix a few things affected by the change:
5038           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
5039             where no shortcut is selected.
5040           - Don't activate a shortcut in the response callback.
5041           - Filter out duplicate entries in volumes and bookmarks to 
5042             avoid the selection to change when reordering them with DnD.
5043
5044 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5045
5046         * gtk/gtkmain.c:
5047         * gtk/gtknotebook.c:
5048         * gtk/gtkplugprivate.h:
5049         * gtk/gtksocket.c:
5050         * gtk/gtksocketprivate.h:
5051         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
5052
5053 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5054
5055         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
5056         (#495574, Richard Hult)
5057
5058 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5059
5060         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
5061         String change !   (#376361, Sven Neumann)
5062
5063 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5064
5065         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
5066         destroy.
5067         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
5068         Welinder)
5069
5070 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5071
5072         * gtk/gtkassistant.c: Improve alternative button
5073         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
5074
5075 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5076
5077         * gtk/gtkcalendar.c: Fix a theming problem with colors
5078         in GtkCalendar.  (#499703, Michael Hofmann)
5079
5080 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5081
5082         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
5083
5084 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5085
5086         Use templates for glib-mkenums calls instead of 
5087         complicated commandlines in Makefiles.  (#429910)
5088
5089         * gdk-pixbuf/Makefile.am:
5090         * gdk/Makefile.am: 
5091         * gtk/Makefile.am: 
5092         * perf/Makefile.am: Use templates for glib-mkenums
5093
5094         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
5095         * gdk/gdkenumtypes.[ch].template: 
5096         * gtk/gtktypebuiltings.[ch].template: 
5097         * perf/typebuiltins.[ch].template: The templates
5098
5099 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5100
5101         * gtk/gtkfilechooserbutton.c:
5102         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
5103         some compilers choke on that.  (#467722)
5104
5105 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
5106
5107         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
5108         about hook setup.  (#425004, Emmanuele Bassi)
5109
5110 2007-11-26  Tor Lillqvist  <tml@novell.com>
5111
5112         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
5113         monitor the window currently is on, not always the primary
5114         monitor. (#463865, Tim Evans)
5115
5116 2007-11-26  Tor Lillqvist  <tml@novell.com>
5117
5118         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
5119
5120         * gdk/win32/Makefile.am: Add it.
5121
5122 2007-11-26  Tor Lillqvist  <tml@novell.com>
5123
5124         * configure.in: Don't add jasper to all_loaders if no libjasper.
5125
5126 2007-11-25  Bastien Nocera  <hadess@hadess.net>
5127
5128         * configure.in: Add detection for libjasper, used by the
5129         gdk-pixbuf JPEG2000 loader
5130
5131 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
5132
5133         * configure.in: Require gtk-doc 1.8
5134
5135         * */*.c: Use gtk-doc abbreviations for examples in docs.
5136
5137 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
5138
5139         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
5140         typo.  (#498922)
5141
5142 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
5143
5144         * gtk/gtkdialog.c: Move signal and property documentation inline,
5145         fix a problem with the ::response signal docs.  (#499133, Josselin
5146         Mouette)
5147
5148 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
5149
5150         * Makefile.decl: initialize automake variables EXTRA_DIST and
5151         TEST_PROGS for unconditional appending via += in other makefiles.
5152         define recursive test targets: test, test-report, perf-report,
5153         full-report, as described here:
5154       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
5155         the test targets will execute Gtk+ test programs within an Xvfb session.
5156
5157         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
5158
5159         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
5160         g_test_run() to run the tests to integrate with the testing framework.
5161
5162         * gtk/tests/Makefile.am: removed exemplary testing rules.
5163
5164         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
5165         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
5166         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
5167         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
5168         * docs/reference/Makefile.am, docs/tools/Makefile.am:
5169         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
5170         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
5171         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
5172         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
5173         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
5174         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
5175         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
5176         * modules/engines/ms-windows/Theme/Makefile.am:
5177         * modules/engines/ms-windows/Makefile.am:
5178         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
5179         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
5180         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
5181         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
5182         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
5183         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
5184         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
5185
5186 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
5187
5188         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
5189         (#485662, patch by Herbert Valerio Riedel)
5190
5191 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
5192
5193         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
5194
5195 2007-11-21  Richard Hult  <richard@imendio.com>
5196
5197         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
5198         stubs for the testing functions to fix the build.
5199
5200 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
5201
5202         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
5203         (#467711, The Written Word)
5204
5205 2007-11-21  Ross Burton  <ross@openedhand.com>
5206
5207         * gdk/x11/gdksettings.c:
5208         Add xsetting for gtk-scrolled-window-placement (#458103).
5209
5210 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
5211
5212         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
5213         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
5214         (#469239, Michael Natterer)
5215
5216 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
5217
5218         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
5219         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
5220         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
5221         (#436536, Tommi Komulainen)
5222
5223 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
5224
5225         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
5226         property.  (#489782, Jan Janech)
5227
5228 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
5229
5230         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
5231         frames.  (#107398, Owen Taylor, Miguel Gomez)
5232
5233 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
5234
5235         Moved Gdk test functions from Gtk+ to Gdk test utils.
5236
5237         * gdk/Makefile.am: added gdktestutils.h to public includes.
5238
5239         * gdk/gdk.h: added gdktestutils.h to public includes.
5240
5241         * gdk/gdk.symbols: added gdk_test_simulate_button,
5242         gdk_test_simulate_key, gdk_test_render_sync.
5243
5244         * gdk/gdktestutils.h: new file, added prototypes for
5245         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
5246
5247         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
5248
5249         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
5250         gdk_test_simulate_key, gdk_test_render_sync.
5251
5252         * gtk/gtktestutils.c:
5253         * gtk/gtktestutils.h:
5254         * gtk/gtk.symbols: removed gtk_test_simulate_button
5255         gtk_test_simulate_key, gtk_test_xserver_render_sync.
5256
5257         * gtk/tests/testing.c: call gdk_test_render_sync.
5258
5259 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
5260
5261         Added unit tests for Gtk+ testing utilities.
5262
5263         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
5264         utility functions. some g_test_* related portions are disabled and need
5265         to be enabled once Gtk+ depends on a new glib with the GLib testing
5266         framework integrated.
5267
5268         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
5269         tests.  added exemplary test rules to run tests inside Xvfb. this
5270         needs to depend on gtester for full fledged testing.
5271
5272         * gtk/Makefile.am: build gtk+/gtk/tests, define
5273         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
5274         e.g. gtk_text_get_type().
5275
5276         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
5277
5278 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
5279
5280         Added Gtk+ testing utilities.
5281
5282         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
5283         functions.  for the most part, the functions herein involve
5284         navigating and interacting with dialog elements programatically,
5285         to automate user interaction tests of dialogs and widgets.
5286
5287         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
5288
5289         * gtk/gtk.symbols: added gtk_test_* symbols.
5290
5291         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
5292         the build.  generate gtktypefuncs.c which contains a list of all
5293         _get_type functions in Gtk+ and Gdk.
5294
5295 2007-11-20  Bastien Nocera  <hadess@hadess.net>
5296
5297         * configure.in: add support for conditional icns gdk-pixbuf loader
5298         (Closes: #395738)
5299
5300 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
5301
5302         * configure.in: updated version number to 2.15.0 for development.
5303
5304 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
5305
5306         === Branch for 2.12 ===
5307