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