]> Pileus Git - ~andy/gtk/blob - ChangeLog
Coding style fix.
[~andy/gtk] / ChangeLog
1 2008-02-14  Richard Hult  <richard@imendio.com>
2
3         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
4         fix.
5
6 2008-02-14  Johan Dahlin  <johan@gnome.org>
7
8         * gdk/gdktestutils.h
9         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
10
11 2008-02-13  Richard Hult  <richard@imendio.com>
12
13         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
14         Remove unused variables.
15         (gtk_clipboard_set_contents),
16         (gtk_clipboard_get_owner), (clipboard_unset),
17         (gtk_clipboard_request_targets): Notify the previous clipboard
18         owner when the owner changes. Fixes bug #493406.
19         
20 2008-02-13  Richard Hult  <richard@imendio.com>
21
22         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
23         the return value (return number of colors that failed), and handle
24         RGBA colormap.
25         (gdk_colormap_free_colors): Fix typo in comment.
26
27 2008-02-13  Kristian Rietveld  <kris@imendio.com>
28
29         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
30         queue a redraw if the rubber banding has actually been active.
31
32 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
33
34         * gtk/gtkpapersize.c:
35         * gtk/gtkprintoperation.c:
36         * gtk/gtkvolumebutton.c:
37         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
38         out by Behdad Esfahbod.
39
40 2008-02-12  Federico Mena Quintero  <federico@novell.com>
41
42         Merged from gtk-2-12:
43
44         Don't focus the file list when shortcuts get activated.  This
45         removes a lot of ambiguity in when the file selection should
46         change, and makes the overall code flow simpler.
47
48         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
49         file/save dialog clears the filename entry when changing
50         directories.
51
52         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
53         focus should not go to the file list when a shortcut is activated.
54
55         * gtk/gtkfilechooserdefault.c
56         (shortcuts_activate_volume_mount_cb): Don't focus the file list
57         (shortcuts_activate_get_info_cb): Likewise.
58
59         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
60         the file list (this was the last place where we would focus the
61         file list explicitly).  If you are in the location entry, for
62         example, you don't want Alt-Home to take you to the file list; you
63         just want the current folder to change.  Thanks to Olle Bergkvist
64         <olle.bergkvist@yahoo.se> for pointing this out in
65         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
66         (focus_browse_tree_view_if_possible): Removed.
67
68 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
69
70         Skip exensions when selecting filenames in the save-as dialog.
71         (#362516, Carlos Garnacho)
72
73         * gtk/gtkfilechooserentry.h:
74         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
75         New function to skip the extension part when selecting a filename.
76         (_gtk_file_chooser_entry_set_base_folder): Use it here.
77
78         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
79         ...and here.
80
81 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
82
83         * gtk/gtkiconview.c: Fix state change reporting for 
84         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
85
86 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
87
88         * gtk/gtkrecentchooser.c:
89         (gtk_recent_chooser_class_init): Set the default value of the
90         :show-not-found property to TRUE, as every implementation sets
91         it to TRUE already.
92
93         * gtk/gtkrecentchooserdefault.c:
94         (_gtk_recent_chooser_default_init): Sync show_tips to the
95         default value of the :show-tips property.
96
97 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
98
99         * gtk/gtkclipboard-quartz.c:
100         * gtkquartz.c:
101         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
102         Christian Persch)
103
104 2008-02-12  Kristian Rietveld  <kris@imendio.com>
105
106         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
107         (gtk_tree_view_real_toggle_cursor_row): guard against people
108         deleting the row in question in the selection-changed callback.
109         (#514621, Andreas Koehler).
110
111 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
112
113         * gtk/*.c: Unify the handling of various "Enter" keysyms
114         all over the place.  (#515047, Christian Persch)
115
116 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
117
118         * gtk/gtkfilesystemmodel.c:
119         * gtk/gtkprinter.c:
120         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
121         appropriate.  (#515042, Christian Persch)
122
123 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
124
125         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
126         
127 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
128
129         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
130
131 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
132
133         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
134         (recent_model_sort_drag_data_get):
135         (search_model_sort_drag_data_get):
136         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
137         * gtk/gtkpathbar.c (button_drag_data_get_cb):
138         Use gtk_selection_data_set_uris() instead of doing it
139         by hand.  (#514890, Christian Persch)
140
141 2008-02-12  Michael Natterer  <mitch@imendio.com>
142
143         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
144         gtk_get_current_event_time().
145
146 2008-02-12  Michael Natterer  <mitch@imendio.com>
147
148         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
149         gtk_window_get_key_hash() to get the hash instead of manually
150         fiddling with quarks and gtk_window_keys_changed(). Also add
151         g_return_if_fail() to this public function.
152
153 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
154
155         Support keynav in status icons.  (#473786, Li Yuan)
156
157         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
158
159         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
160
161 2008-02-11  Kristian Rietveld  <kris@imendio.com>
162
163         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
164         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
165         wrt. link deletion from list; contination of fix for #503569.
166
167 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
168
169         * gtk/gtkrecentchoosermenu.c:
170         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
171         on the placeholder menu item.
172
173         * tests/testrecentchoosermenu.c:
174         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
175         whether the placeholder menu item gets shown.
176
177 2008-02-10  Cody Russell  <bratsche@gnome.org>
178
179         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
180         Check the return value of _gtk_file_chooser_get_file_system () for
181         NULL before passing it to gtk_file_system_path_to_uri ().
182         (#515667, Francesco Montorsi)
183
184 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
185
186         * gtk/gtkbuilder.c: Improve the documentation for
187         gtk_builder_connect_signals. (#514471)
188
189 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
190
191         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
192         Jonh Wendell)
193
194 2008-02-08  Cody Russell  <bratsche@gnome.org>
195
196         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
197         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
198
199 2008-02-08  Richard Hult  <richard@imendio.com>
200
201         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
202         delta from the NSEvent for now, generating multiple scroll events
203         results in a lot of events getting queued up and things get really
204         slow.
205
206 2008-02-08  Sven Herzberg  <sven@imendio.com>
207
208         Adjust the code to match the documentation, examples, "common sense"
209         and existing applications.
210
211         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
212         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
213         assigned
214
215 2008-02-07  Cody Russell  <bratsche@gnome.org>
216
217         * gdk/win32/gdkevents-win32.c
218         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
219         of a block that were causing compile problems on old
220         compilers. (#515053, reported by Kazuki IWAMOTO)
221         
222 2008-02-07  Michael Natterer  <mitch@imendio.com>
223
224         * gtk/gtkcellview.c
225         * gtk/gtklabel.c
226         * gtk/gtklayout.c
227         * gtk/gtklist.c
228         * gtk/gtkmenu.c
229         * gtk/gtkmenushell.c
230         * gtk/gtkmisc.c
231         * gtk/gtkoptionmenu.c
232         * gtk/gtkplug.c
233         * gtk/gtkpreview.c
234         * gtk/gtkprogress.c
235         * gtk/gtkradiomenuitem.c
236         * gtk/gtkscale.c
237         * gtk/gtkscrolledwindow.c
238         * gtk/gtksocket.c: remove g_return_if_fail() from private
239         functions and virtual function implementations.
240
241 2008-02-07  Michael Natterer  <mitch@imendio.com>
242
243         * gtk/gtkaction.c
244         * gtk/gtkassistant.c
245         * gtk/gtkbin.c
246         * gtk/gtkbox.c
247         * gtk/gtkcalendar.c
248         * gtk/gtkcellrenderercombo.c
249         * gtk/gtkcombobox.c
250         * gtk/gtkcombo.c
251         * gtk/gtkdrawingarea.c
252         * gtk/gtkentrycompletion.c
253         * gtk/gtkfixed.h
254         * gtk/gtkgamma.c
255         * gtk/gtkhpaned.c
256         * gtk/gtkiconview.c
257         * gtk/gtkitem.c
258         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
259         functions and virtual function implementations.
260
261 2008-02-07  Christian Persch  <chpe@gnome.org>
262
263         * gdk/gdkpixbuf-render.c:
264         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
265         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
266         otherwise there will be random pixel values in the semi-transparent
267         area of the pixbuf within the mask. Bug #487865.
268
269 2008-02-06  Cody Russell  <bratsche@gnome.org>
270
271         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
272         otherwise things get wonky when you click on a menu.  This fixes
273         a regression caused in #505928.  Thanks to Tor for spotting this
274         one!  (#514789)
275
276 2008-02-06  Michael Natterer  <mitch@imendio.com>
277
278         * gtk/gtkcontainer.c
279         * gtk/gtkexpander.c
280         * gtk/gtkframe.c
281         * gtk/gtklabel.c
282         * gtk/gtkmain.c
283         * gtk/gtkmenu.c
284         * gtk/gtkmenuitem.c
285         * gtk/gtkmenushell.c
286         * gtk/gtknotebook.c
287         * gtk/gtkseparatortoolitem.c
288         * gtk/gtksocket.c
289         * gtk/gtktextlayout.c
290         * gtk/gtktoggletoolbutton.c
291         * gtk/gtktoolbutton.c
292         * gtk/gtktoolitem.c
293         * gtk/gtktree.c
294         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
295         "GTK_IS_FOO (foo)".
296
297 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
298
299         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
300         Allow to store half-open ranges.
301
302 2008-02-05  Cody Russell  <bratsche@gnome.org>
303
304         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
305         down the stack until we get to a window that is mapped.
306         Otherwise hiding a window will cause all windows in the app
307         to be blocked. (#514643)
308
309 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
310
311         * gtk/updateiconcache.c: Ignore images in the toplevel theme
312         directory, avoiding one source of invalid caches that has been
313         spotted in the wild.
314
315 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
316
317         * gtk/updateiconcache.c: Fix the previous commit to compile.
318
319 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
320
321         * gtk/updateiconcache.c: Install a printerr handler that
322         prepends the program name, since gtk-update-icon-cache output
323         often appears in the middle of other output, e.g. rpm update logs.
324
325 2008-02-05  Cody Russell  <bratsche@gnome.org>
326
327         * gdk/win32/gdkprivate-win32.h
328         * gdk/win32/gdkevents-win32.c
329         * gdk/win32/gdkwindow-win32.c
330         * gdk/win32/gdkwindow-win32.h
331         * gdk/win32/gdkwin32.h:
332         Modal window rework.  (#455627 and #511111)
333
334 2008-02-04  Michael Natterer  <mitch@imendio.com>
335
336         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
337         g_return_if_fail() if the cell is not part of the combo instead of
338         crashing in the next line.
339
340 2008-02-01  Cody Russell  <cody@jhu.edu>
341
342         * modules/engines/ms-windows/xp_theme.[ch]
343         * modules/engines/ms-windows/xp_theme_defs.h
344         * modules/engines/ms-windows/msw_rc_style.c
345         * modules/engines/ms-windows/msw_theme_main.c
346         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
347         attempted to stylize more like the rest of the gtk+ stack's code.
348
349 2008-02-01  Michael Natterer  <mitch@imendio.com>
350
351         * tests/testgtk.c: initialize GdkColor structs to fix warning
352         about uninitialized "pixel" member.
353
354         * tests/testactions.c: connect the toolbar_style() callback so it
355         does something useful and doesn't warn about being defined but not
356         used.
357
358 2008-01-31  Cody Russell  <bratsche@gnome.org>
359
360         * gdk/win32/gdkevents-win32.c:
361         Refactored some of the window hiding/showing code from
362         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
363         under WM_ACTIVATE was causing the application to go into
364         a weird state when the user right-clicked on the taskbar
365         entry of a window that was minimized.  (#505928)
366         
367 2008-01-31  Cody Russell  <bratsche@gnome.org>
368
369         * gtk/gtkpaned.c (gtk_paned_set_position):
370         Change queue_resize() to queue_draw(), and add a check for
371         child2 != NULL in case someone calls this before there is
372         a child packed in there.  (#144269 again)
373
374 2008-01-31  Sven Neumann  <sven@gimp.org>
375
376         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
377         applied patch from Denis Oliver Kropp <dok@directfb.org>.
378
379 2008-01-31  Sven Neumann  <sven@gimp.org>
380
381         * gdk/directfb/gdkdisplay-directfb.c
382         * gdk/directfb/gdkdrawable-directfb.c
383         * gdk/directfb/gdkprivate-directfb.h
384         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
385         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
386
387 2008-01-31  Richard Hult  <richard@imendio.com>
388
389         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
390         issues with undecorated windows. Revert the change done on
391         2008-01-25 and fix it by using the view's bounds instead. The
392         bounds will always be up to date when setting up the tracking
393         rect, so this should be more robust.
394
395 2008-01-30  Sven Neumann  <sven@gimp.org>
396
397         * gdk/directfb/gdkdrawable-directfb.c
398         * gdk/directfb/gdkwindow-directfb.c
399         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
400         Oliver Kropp <dok@directfb.org>. Adds debug messages using
401         DirectFB's debugging system
402
403 2008-01-30  Sven Neumann  <sven@gimp.org>
404
405         * gdk/directfb/gdkdirectfb.h
406         * gdk/directfb/gdkdisplay-directfb.c
407         * gdk/directfb/gdkdrawable-directfb.c
408         * gdk/directfb/gdkim-directfb.c
409         * gdk/directfb/gdkimage-directfb.c
410         * gdk/directfb/gdkinput-directfb.c
411         * gdk/directfb/gdkmain-directfb.c
412         * gdk/directfb/gdkpixmap-directfb.c
413         * gdk/directfb/gdktestutils-directfb.c
414         * gdk/directfb/gdkvisual-directfb.c
415         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
416         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
417         errors and has some cleanups.
418
419 2008-01-30  Michael Natterer  <mitch@imendio.com>
420
421         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
422         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
423         aliasing warning.
424
425         * gtk/updateiconcache.c (add_string): cast const gchar* to
426         gpointer when inserting in a GHashTable.
427
428         * tests/testcalendar.c (calendar_detail_cb): remove const from
429         return value since it's a newly allocated string.
430
431         (calendar_update_details): free the detail.
432
433 2008-01-29  Johan Dahlin  <johan@gnome.org>
434
435         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
436         (do_builder):
437         * demos/gtk-demo/demo.ui:
438         Move the about dialog to the glade file, add accessible tags
439         examples to the markup file.
440
441 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
442
443         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
444         layout, fixes #512375.
445
446 2008-01-28  Michael Natterer  <mitch@imendio.com>
447
448         * gtk/gtktextchild.c
449         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
450
451 2008-01-28  Michael Natterer  <mitch@imendio.com>
452
453         * demos/gtk-demo/builder.c (about_activate): use
454         gtk_about_dialog_set_program_name() instead of the deprecated
455         set_name().
456
457 2008-01-28  Michael Natterer  <mitch@imendio.com>
458
459         * gtk/gtktextchild.c
460         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
461         is deprecated now).
462
463 2008-01-26  Johan Dahlin  <johan@gnome.org>
464
465         * tests/Makefile.am:
466         * tests/textbuffertest.c:
467         Rename textbuffer test and port it to the new test framework
468         
469 2008-01-25  Johan Dahlin  <johan@gnome.org>
470
471         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
472         unsetting of GTK_MODULES.
473
474         * gtk/gtk-builder-convert
475         (GtkBuilderConverter._convert_adjustment): Handle the case where
476         there is no child text node.
477         (GtkBuilderConverter): Allow xml comments in most places.
478
479 2008-01-25  Johan Dahlin  <johan@gnome.org>
480
481         * gtk/gtk-builder-convert
482         (GtkBuilderConverter._convert_combobox_items): Remove the items
483         even if there are no items set.
484         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
485         signals and tooltips for all menu items subclasses and 
486         GtkImageMenuItem:label. 
487         Makes it possible to fully convert and run Jokosher.glade.
488
489 2008-01-25  Johan Dahlin  <johan@gnome.org>
490
491         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
492         (gtk_widget_buildable_get_internal_child), (free_action),
493         (free_relation), (gtk_widget_buildable_parser_finished),
494         (accessibility_start_element),
495         (gtk_widget_buildable_custom_tag_start),
496         (gtk_widget_buildable_custom_finished):
497         Implement accessible support, fixes #454653.
498
499         * gtk/gtk-builder-convert:
500         Add support for migrating old glade files
501         
502         * tests/buildertest.c: (test_widget), (test_file):
503         Add accessible tests and imprve the test_file function to display
504         toplevels and run dialogs.
505
506 2008-01-25  Richard Hult  <richard@imendio.com>
507
508         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
509         didn't change, fixes focus event issues for undecorated windows.
510
511 2008-01-25  Richard Hult  <richard@imendio.com>
512
513         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
514         const and remove unused variables).
515
516 2008-01-25  Michael Natterer  <mitch@imendio.com>
517
518         * gtk/gtkbutton.h
519         * gtk/gtkcellrenderer.h
520         * gtk/gtkimcontext.h
521         * gtk/gtkstyle.h
522         * gtk/gtktoolbar.h
523         * gtk/gtktooltip.h
524         * gtk/gtktreeprivate.h
525         * gtk/gtktreeviewcolumn.h
526         * gtk/gtkwidget.h: add const to constant structs which are passed
527         into GTK+. Also add some forgotten const for const strings.
528         Fixes bug #511554.
529
530         * gtk/gtkbutton.c
531         * gtk/gtkcellrenderer.c
532         * gtk/gtkimcontext.c
533         * gtk/gtkstyle.c
534         * gtk/gtktoolbar.c
535         * gtk/gtktooltip.c
536         * gtk/gtktreeview.c
537         * gtk/gtktreeviewcolumn.c
538         * gtk/gtkwidget.c: changed accordingly.
539
540 2008-01-25  Sven Herzberg  <sven@imendio.com>
541
542         Reviewed by Johan Dahlin.
543
544         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
545         this is called with something that's not a GtkUIManager
546
547 2008-01-24  Johan Dahlin  <johan@gnome.org>
548
549         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
550         Chain up to parent, so widgets can have internal children.
551
552 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
553
554         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
555         IWAMOTO).
556
557         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
558
559 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
560
561         Use pango_layout_set_height() for calendar details (#506049).
562
563         * configure.in: Require 1.19.3 for pango_layout_set_height().
564         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
565
566 2008-01-18  Johan Dahlin  <johan@gnome.org>
567
568         * gtk/gtk-builder-convert (get_property_node): New method
569         (GtkBuilderConverter._create_object): Conditionally take a node as
570         a property value, so don't lose translate/context attributes if they
571         are set. 
572         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
573         property values instead of strings.
574         (#509153, Erik van Pienbroek)
575
576 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
577
578         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
579
580         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
581         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
582         * tests/testcalendar.c: Duplicate calendar details before returning.
583
584 2008-01-16  Christian Persch  <chpe@gnome.org>
585
586         * gtk/gtkwidget.c: Store the event mask and extension event mode
587         directly in the gobject data pointer, instead of in an allocated
588         gint. Bug #506604.
589
590 2008-01-16  Michael Natterer  <mitch@imendio.com>
591
592         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
593         gdk-pixbuf now uses gio functions.
594
595 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
596
597         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
598         the notify::model signal.  (#509819, David Zeuthen)
599
600 2008-01-15  Michael Natterer  <mitch@imendio.com>
601
602         * gdk/gdkdisplay.h
603         * gdk/gdkdrawable.h
604         * gdk/gdkevents.h
605         * gdk/gdkpango.h
606         * gdk/gdkregion.h
607         * gdk/gdkrgb.h
608         * gdk/gdkwindow.h: made more struct pointer and array parameters
609         const. GDK should now be constified as far as possible without
610         breaking source compatibility. Includes some minor cleanup like
611         indentation and s/nfoo/n_foo/ (bug #508544).
612
613         * gdk/gdkdisplay.c
614         * gdk/gdkdraw.c
615         * gdk/gdkevents.c
616         * gdk/gdkpango.c
617         * gdk/gdkregion-generic.c
618         * gdk/gdkrgb.c
619         * gdk/directfb/gdkdisplay-directfb.c
620         * gdk/directfb/gdkwindow-directfb.c
621         * gdk/quartz/gdkdisplay-quartz.c
622         * gdk/quartz/gdkwindow-quartz.c
623         * gdk/win32/gdkdisplay-win32.c
624         * gdk/win32/gdkwindow-win32.c
625         * gdk/x11/gdkdisplay-x11.c
626         * gdk/x11/gdkwindow-x11.c: changed accordingly.
627
628 2008-01-14  Michael Natterer  <mitch@imendio.com>
629
630         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
631         const warning.
632
633         (gtk_rc_parse_any): change variables to const and introduce
634         another local variable to fix const warnings.
635
636 2008-01-14  Michael Natterer  <mitch@imendio.com>
637
638         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
639         of gdk_screen_get_font_options() to gpointer to get rid of const
640         warning.
641
642 2008-01-14  Michael Natterer  <mitch@imendio.com>
643
644         * tests/testdnd.c (source_drag_data_get): fix another call to
645         gtk_selection_data_set().
646
647 2008-01-14  Michael Natterer  <mitch@imendio.com>
648
649         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
650         signedness warning.
651
652 2008-01-14  Michael Natterer  <mitch@imendio.com>
653
654         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
655
656 2008-01-14  Michael Natterer  <mitch@imendio.com>
657
658         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
659         "uris" to guchar* when passing it to gtk_selection_data_set().
660
661 2008-01-14  Michael Natterer  <mitch@imendio.com>
662
663         * gdk/gdk.h
664         * gdk/gdkcairo.h
665         * gdk/gdkcolor.h
666         * gdk/gdkgc.h
667         * gdk/gdkinternals.h
668         * gdk/gdkregion.h
669         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
670         parameters const (bug #508544).
671
672         * gdk/gdkcairo.c
673         * gdk/gdkgc.c
674         * gdk/gdkwindow.c
675         * gdk/gdkrectangle.c
676         * gdk/gdkpolyreg-generic.c
677         * gdk/gdkregion-generic.c
678         * gdk/directfb/gdkcolor-directfb.c
679         * gdk/directfb/gdkgc-directfb.c
680         * gdk/directfb/gdkgeometry-directfb.c
681         * gdk/directfb/gdkwindow-directfb.c
682         * gdk/quartz/gdkcolor-quartz.c
683         * gdk/quartz/gdkgc-quartz.c
684         * gdk/quartz/gdkgeometry-quartz.c
685         * gdk/quartz/gdkwindow-quartz.c
686         * gdk/win32/gdkcolor-win32.c
687         * gdk/win32/gdkgc-win32.c
688         * gdk/win32/gdkgeometry-win32.c
689         * gdk/win32/gdkprivate-win32.h
690         * gdk/win32/gdkwindow-win32.c
691         * gdk/x11/gdkcolor-x11.c
692         * gdk/x11/gdkgc-x11.c
693         * gdk/x11/gdkgeometry-x11.c
694         * gdk/x11/gdkmain-x11.c
695         * gdk/x11/gdkprivate-x11.h
696         * gdk/x11/gdkwindow-x11.c: changed accordingly.
697
698         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
699         headers.
700
701 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
702
703         Explain name choice for gtk_tool_item_toolbar_reconfigured.
704
705         * gtk/gtktoolitem.c: Add comment expaining name choice for
706         gtk_tool_item_toolbar_reconfigured.
707
708 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
709
710         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
711         implementations to notify its children, when some aspect of their
712         configuration changed (#509042).
713
714         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
715         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
716         Rename _gtk_tool_item_toolbar_reconfigured.
717
718 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
719
720         Include <gtk/gtktoolshell.h> from gtk.h.
721
722         * gtk/gtk.h: Add gtktoolshell.h
723
724 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
725
726         Print angle brackets arround e-mail addresses in the about dialog
727         (#409520, Mariano Suárez-Alvarez).
728
729         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
730
731 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
732
733         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
734         special casing so test widgets are always queues for destruction
735         during teardown.
736
737         * gtk/tests/testing.c: removed bits left-over from testing without
738         gtestutils.h.
739
740 2008-01-10  Tor Lillqvist  <tml@novell.com>
741
742         * modules/other/gail/libgail-util/Makefile.am
743         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
744         gdktargetlib.
745         
746 2008-01-10  Tor Lillqvist  <tml@novell.com>
747
748         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
749         uses gtkprintunixdialog API.
750
751 2008-01-10  Tor Lillqvist  <tml@novell.com>
752
753         * gdk/win32/gdkdisplay-win32.c
754         * gdk/win32/gdkglobals-win32.c
755         * gdk/win32/gdkprivate-win32.h
756         * gdk/win32/gdkscreen-win32.c
757         * gdk/win32/gdkwindow-win32.c: Implement
758         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
759         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
760         Iwamoto. (#505753)
761
762 2008-01-10  Cody Russell  <bratsche@gnome.org>
763
764         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
765         Properly ref/unref windows and parents.  (#506769)
766
767 2008-01-10  Richard Hult  <richard@imendio.com>
768
769         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
770         (gdk_window_hide), (move_resize_window_internal): Move the
771         tracking rect workaround from here...
772
773         * gdk/quartz/GdkQuartzWindow.c:
774         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
775         movements during showing/hiding operations. Fixes bug #508516.
776
777 2008-01-10  Michael Natterer  <mitch@imendio.com>
778
779         * gdk/directfb/gdkscreen-directfb.c
780         (gdk_screen_get_monitor_width_mm)
781         (gdk_screen_get_monitor_height_mm)
782         (gdk_screen_get_monitor_plug_name): add these functions to make
783         it build again.
784
785 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
786
787         * gtk/gtkrecentchoosermenu.c:
788         (idle_populate_func), (idle_populate_clean_up): Fix possible
789         recursion by resetting the idle source id. (#507605, William
790         Pitcock)
791
792 2008-01-10  Kristian Rietveld  <kris@imendio.com>
793
794         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
795         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
796         avoid valgrind warnings.  (#507751, patch from Christian Persch).
797
798 2008-01-10  Kristian Rietveld  <kris@imendio.com>
799
800         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
801         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
802
803 2008-01-10  Kristian Rietveld  <kris@imendio.com>
804
805         Fix #477175, reported by Juri Pakaste.
806
807         * gtk/gtktreeprivate.h:
808         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
809         tree_view->priv->dy here directly, just calculate the new value
810         and set it on the adjustment,
811         (gtk_tree_view_adjustment_changed): add guards to not call
812         gtk_tree_view_dy_to_top_row() if we are currently in
813         gtk_tree_view_top_row_to_dy(),
814         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
815         coordinates, not tree coordinates,
816         (gtk_tree_view_real_start_editing): add cast.
817
818         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
819         position of the editable in the "create new row and start editing"
820         tests.
821
822 2008-01-09  Michael Natterer  <mitch@imendio.com>
823
824         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
825         variable.
826
827         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
828         * gtk/gtkicontheme.c (theme_list_contexts)
829         (gtk_icon_theme_lookup_icon)
830         * gtk/gtkimcontextsimple.c (beep_window)
831         * gtk/gtklinkbutton.c (set_link_color)
832         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
833         fix warnings.
834
835         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
836         variable and add const to another to fix a warning.
837
838 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
839
840         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
841         the current page.  (#499951, Andreas Sandberg)
842
843 2008-01-06  Johan Dahlin  <johan@gnome.org>
844
845         * gtk/gtkspinbutton.c: Declare value in the example code for
846         GtkSpinButton::output, as pointed out by Anders Carlsson.
847
848 2008-01-06  Christian Persch  <chpe@gnome.org>
849
850         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
851         and remove an obsolete event box. Bug #506760.
852
853 2008-01-06  Johan Dahlin  <johan@gnome.org>
854
855         * tests/buildertest.c (test_domain): 
856         Update, GtkBuilder::translation-domain is no longer set
857         
858         * gtk/gtkbuilderparser.c (parse_interface): 
859         Allow domains to be overridden in <interface>'s if a translation-domain
860         is set in the builder.
861         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
862         of the builder, make the domain set in the <interface> apply only to strings
863         in that interface.
864         (#496831, Ryan Lortie)
865
866         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
867         to g_warning calls.
868
869         * gtk/gtktreestore.c (tree_model_end_element): 
870         Remove an unused variable
871
872 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
873
874         * gtk/gtkspinbutton.c: Document the ::output signal and
875         add an example.  (#507566, example by Owen Taylor)
876
877 2008-01-06  Johan Dahlin  <johan@gnome.org>
878
879         * gtk/gtkcellrenderercombo.c:
880         (gtk_cell_renderer_combo_get_property),
881         (gtk_cell_renderer_combo_set_property):
882         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
883         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
884         * gtk/gtknotebook.c: (gtk_notebook_set_property):
885         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
886         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
887         (gtk_text_buffer_get_property):
888         * gtk/gtktextview.c: (gtk_text_view_set_property):
889         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
890         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
891         (gtk_tool_button_get_property):
892         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
893         (gtk_tool_item_get_property):
894         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
895         * gtk/gtkwidget.c: (gtk_widget_set_property):
896         * gtk/gtkwindow.c: (gtk_window_set_property):
897         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
898         Fixes #507585
899
900 2008-01-06  Johan Dahlin  <johan@gnome.org>
901
902         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
903         Make sure that --root works for toplevel widgets.
904         (#491847, Phil Lello)
905
906 2008-01-05  Johan Dahlin  <johan@gnome.org>
907
908         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
909         to make sure that make test-report works properly
910
911 2008-01-05  Christian Persch  <chpe@gnome.org>
912
913         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
914         GType as integer through gpointer. Bug #507395.
915
916 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
917
918         Avoid some compiler warnings (#507000).
919
920         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
921         for value argument of _gtk_builder_flags_from_string.
922         * gtk/gtkwidget.c: Don't alias the child pointer passed
923         to gdk_window_get_user_data.
924
925 2008-01-04  Michael Natterer  <mitch@imendio.com>
926
927         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
928         to set the time in the returned GdkTimeCoords.
929
930 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
931
932         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
933         correct comparison function (kudos to Christian Persch and
934         Claudio Saavedra for spotting this)
935
936         * gtk/gtkrecentchooserutils.c:
937         (sort_recent_items_mru),
938         (sort_recent_items_lru): Ditto as above.
939
940 2008-01-03  Johan Dahlin  <johan@gnome.org>
941
942         * tests/defaultvaluetest.c: Make it pass again.
943
944 2008-01-02  Johan Dahlin  <johan@gnome.org>
945
946         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
947         make it pass on Ubuntu.
948         (main): Use gtk_test_list_all_types () instead of providing our
949         own list.
950         And it no longer passes.
951
952 2007-12-30  Johannes Schmid <jhs@gnome.org>
953
954         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
955         Also reorder menu when reordering tabs by drag & drop
956         (Bug #506474)
957         
958         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
959         Add a menu to one of the notebooks to have a test-case for
960         the change mentioned above.
961
962 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
963
964         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
965
966 2007-12-31  Christian Persch  <chpe@gnome.org>
967
968         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
969         Plug a mem leak. Bug #506107.
970
971 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
972
973         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
974         icon cache api change.  (#506135, Kazuki Iwamoto)
975
976 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
977
978         Consider "wide-separators" and "separator-height" style properties:
979         The separator is drawn using gtk_paint_box instead of cairo, when
980         "wide-separators" is set. Also do not highlight details for previous
981         or next month, if their day matches the selected day. (#339540)
982
983         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
984         in gtk_calendar_size_request and calendar_paint_day
985         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
986         for selected detail separators in GtkCalendar.
987
988 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
989
990         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
991
992         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
993         a local variable instead in gtk_calendar_size_request.
994
995 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
996
997         * tests/defaultvaluetest.c: Add enough exclusions to make the
998         test succeed.
999
1000 2007-12-28  Christian Persch  <chpe@gnome.org>
1001
1002         * modules/other/gail/Makefile.am:
1003         * modules/other/gail/tests/*:
1004         * configure.in: Merge tests from standalone gail. Bug #504568.
1005
1006 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1007
1008         * gtk/gtkclipboard.c: Make the finalizer work when display is
1009         not set.
1010
1011 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1012
1013         Draw bottom shadow of GtkCalender headings. (#506113)
1014
1015         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1016
1017 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1018
1019         * gtk/gtkcalendar.c: Document the initial values of year/month/day
1020         properties.
1021
1022 2007-12-28  Christian Persch  <chpe@gnome.org>
1023
1024         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1025         a mem leak. Bug #506096.
1026
1027 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1028
1029         * gtk/gtktable.c:
1030         * gtk/gtktreeview.c:
1031         * gtk/gtkprintoperation.c:
1032         * gtk/gtkprogressbar.c:
1033         * gtk/gtkmessagedialog.c:
1034         * gtk/gtknotebook.c:
1035         * gtk/gtkprinter.c:
1036         * gtk/gtkfilesel.c:
1037         * gtk/gtklabel.c:
1038         * gtk/gtklinkbutton.c:
1039         * gtk/gtkmenu.c: More default property value corrections.
1040
1041 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1042
1043         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1044         accel_group unless it is set.
1045
1046 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1047
1048         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1049
1050 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1051
1052         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
1053         shadow-type properties.
1054
1055         * gtk/gtkfontsel.c: Fix the default values of several properties.
1056
1057         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1058         property.
1059
1060         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1061
1062         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1063         property.
1064
1065 2007-12-28  Johan Dahlin  <johan@gnome.org>
1066
1067         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1068         (gtk_dialog_buildable_custom_tag_start): Chain up. 
1069         This makes it possible to have accelerators tags on GtkDialog 
1070         subclasses.
1071
1072 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1073
1074         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1075         are shown within the widget, or just as tooltip. (#339540)
1076
1077         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1078         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1079         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1080         in flags vbox.
1081
1082 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1083
1084         Try more decent appearance of calendar details separator. (#339540)
1085
1086         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1087         and make it short by one pixel on each side.
1088
1089 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1090
1091         Apply trivial code-style changes from attachement 101101. (#339540)
1092
1093         * tests/testcalendar.c: Some updates to current GTK+ code-style.
1094
1095 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1096
1097         Restructure testcalendar for testing calendar details. (#339540)
1098
1099         * tests/testcalendar.c: Push code arround for testing calendar details.
1100
1101 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1102
1103         Implement GtkTooltip API for calendar details. (#339540)
1104
1105         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1106         Remember detail overflows in calendar_paint_day to show the tooltip
1107         only when neccessary.
1108
1109 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1110
1111         Without setting "detail-width-chars" and "detail-height-rows"
1112         properties not only the widget has to be redrawn on certain
1113         conditions, but also its size must be recalculated. (#339540)
1114
1115         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1116         that function instead of gtk_widget_queue_draw.
1117
1118 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1119
1120         Consider details for size-request and expose-event. (#339540)
1121
1122         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1123         is_color_attribute functions. Change gtk_calendar_size_request
1124         and calendar_paint_day to consider and show calender details.
1125
1126 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1127
1128         * gtk/gtkcombobox.c: Introduce local priv variables to 
1129         reduce ->->
1130
1131 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
1132
1133         * gtk/gtkcombobox.c: Correct the default value for the 
1134         tearoff-title property.
1135
1136         * gtk/gtkcellrenderertext.c: Fix the default value for the
1137         wrap-mode and font-scale properties.
1138
1139         * gtk/gtkaspectratio.c: Fix the default value for the ratio
1140         property.
1141
1142 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
1143
1144         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1145         defines.  (#505708,  MINAMI Hirokazu)
1146
1147 2007-12-27  Christian Persch  <chpe@gnome.org>
1148         
1149         * Makefile.am: Install gail.pc. Bug #505859.
1150
1151 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
1152
1153         Add infrastructure for GtkCalendar details. (#339540)
1154
1155         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1156         Add "detail-width-chars" and "detail-height-rows" properties,
1157         and gtk_calendar_set_detail_func function.
1158
1159 2007-12-27  Xan Lopez  <xan@gnome.org>
1160
1161         * gtk/gtk.symbols: 
1162         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
1163
1164         Add gtk_border_new to avoid memory allocator confusions when using
1165         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1166
1167 2007-12-27  Christian Persch  <chpe@gnome.org>
1168
1169         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
1170         bug #504886 not to read unitialised memory.
1171
1172 2007-12-26  Xan Lopez  <xan@gnome.org>
1173
1174         * gtk/gtkstatusbar.c (has_extra_children): take into account the
1175         modification of the internal frame contents to decide if we have
1176         extra children. (#415677)
1177
1178 2007-12-22  Christian Persch  <chpe@gnome.org>
1179
1180         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1181
1182 2007-12-25  Christian Persch  <chpe@gnome.org>
1183
1184         * modules/other/gail/gailwindow.c: (gail_window_initialize):
1185         Initialise |widget|. Fixes a buglet introduced by the commit from bug
1186         #505226.
1187
1188 2007-12-25  Christian Persch  <chpe@gnome.org>
1189
1190         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1191         
1192 2007-12-25  Christian Persch  <chpe@gnome.org>
1193
1194         * modules/other/gail/*.[ch]: Remove relocations from the atk
1195         factories. Remove unused gail_foo_new() functions. Fix object
1196         instantiation to be derivation safe by moving initialisation code
1197         from the removed gail_foo_new() functions to the
1198         AtkObjectClass::initialize implementation. Bug #505226.
1199
1200 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1201
1202         * modules/other/gail/gailentry.c:
1203         * modules/other/gail/gailimage.c:
1204         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1205         uses of clipboards and settings.  (#504722, Christian Persch)
1206
1207 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1208
1209         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1210          Kazuki IWAMOTO)
1211
1212 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1213
1214         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1215         use the time and button information from the event.  (#504901,
1216         Peter Bloomfield)
1217
1218 2007-12-23  Cody Russell  <bratsche@gnome.org>
1219
1220         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1221         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1222         Fixes a regression caused by #164537 patch where transient
1223         windows that are hidden get shown (incorrectly) when their
1224         parents are minimized. (#504984)
1225         
1226 2007-12-22  Christian Persch  <chpe@gnome.org>
1227
1228         * modules/other/gail/gailcell.c:
1229         * modules/other/gail/gailcontainercell.c:
1230         * modules/other/gail/gailexpander.c:
1231         * modules/other/gail/gailtextcell.c:
1232         * modules/other/gail/gailtextview.c:
1233         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1234
1235 2007-12-22  Christian Persch  <chpe@gnome.org>
1236
1237         * modules/other/gail/*.c: Include config.h. Bug #504720.
1238
1239 2007-12-22  Christian Persch  <chpe@gnome.org>
1240
1241         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1242         handwritten get_type functions. Bug #504661.
1243
1244 2007-12-23  Xan Lopez  <xan@gnome.org>
1245
1246         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1247         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1248
1249         Patch by Sadrul Habib Chowdhury (#504804)
1250
1251 2007-12-22  Christian Persch  <chpe@gnome.org>
1252
1253         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1254         #504645, patch by Li Yuan.
1255
1256 2007-12-22  Christian Persch  <chpe@gnome.org>
1257
1258         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1259
1260 2007-12-22  Christian Persch  <chpe@gnome.org>
1261         
1262         * modules/other/gail/gail.c:
1263         * modules/other/gail/gailbutton.c:
1264         * modules/other/gail/gailcell.c:
1265         * modules/other/gail/gailcombo.c:
1266         * modules/other/gail/gailcombo.h:
1267         * modules/other/gail/gailcombobox.c:
1268         * modules/other/gail/gailentry.c:
1269         * modules/other/gail/gailexpander.c:
1270         * modules/other/gail/gailmenuitem.c:
1271         * modules/other/gail/gailnotebook.c:
1272         * modules/other/gail/gailnotebookpage.c:
1273         * modules/other/gail/gailnotebookpage.h:
1274         * modules/other/gail/gailoptionmenu.c:
1275         * modules/other/gail/gailrange.c:
1276         * modules/other/gail/gailtextview.c:
1277         * modules/other/gail/gailtreeview.c:
1278         * modules/other/gail/gailtreeview.h:
1279         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1280         Bug #504571.
1281
1282 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1283
1284         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1285         Christian Persch)
1286
1287 2007-12-21  Richard Hult  <richard@imendio.com>
1288
1289         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1290         Plug leak of destroyed subviews, fixes bug #504753.
1291
1292 2007-12-20  Johan Dahlin  <johan@gnome.org>
1293
1294         * tests/Makefile.am (TEST_PROGS): 
1295         * tests/defaultvaluetest.c: Add a test for default values,
1296         based on program by Christan Perch
1297
1298 2007-12-20  Johan Dahlin  <johan@gnome.org>
1299
1300         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
1301         Refactor to avoid some duplication.
1302         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1303         Fixes #504749, Yuri Pimenov
1304
1305 2007-12-20  Kristian Rietveld  <kris@imendio.com>
1306
1307         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
1308         the build work again on systems without xrandr 1.2.
1309
1310 2007-12-20  Christian Persch  <chpe@gnome.org>
1311
1312         * configure.in:
1313         * modules/other/gail/libgail-util/Makefile.am:
1314         Keep the same libtool version as the standalone libgail-util had.
1315         Bug #504643.
1316
1317 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
1318
1319         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1320
1321 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1322         
1323         * gdk/x11/gdkapplaunchcontext-x11.c:
1324         Update for gio API changes
1325
1326 2007-12-20  Richard Hult  <richard@imendio.com>
1327
1328         * gdk/quartz/GdkQuartzWindow.c:
1329         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1330         processing events after changing the size.
1331
1332 2007-12-20  Richard Hult  <richard@imendio.com>
1333
1334         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1335         Add stub for quartz to fix build.
1336
1337 2007-12-20  Christian Persch  <chpe@gnome.org>
1338
1339         * modules/other/gail/Makefile.am:
1340         * modules/other/gail/gailimage.c: (gail_image_class_init),
1341         (gail_image_init), (elide_underscores), (gail_image_get_name),
1342         (atk_image_interface_init), (gail_image_finalize):
1343         * modules/other/gail/gailimage.h:
1344         R modules/other/gail/gailintl.h:
1345         * po/POTFILES.skip: Use the stock item's label as the name of the
1346         accessible in gailimage.c. Bug #504246.
1347
1348 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
1349
1350         Avoid some compiler warnings and remove obsolete code. (#339540)
1351
1352         * gtk/gtkcalendar.c: Change week and year variable in
1353         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1354         0" block from calendar_paint_day: The feature in question is handled
1355         few lines above. Cast data returned by gtk_selection_data_get_text()
1356         to (gchar*) in gtk_calendar_drag_data_received.
1357
1358 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
1359
1360         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1361
1362 2007-12-19  Johan Dahlin  <johan@gnome.org>
1363
1364         * tests/buildertest.c (test_object_properties): 
1365         Add another call to gtk_builder_add_string after using
1366         delayed properties, as reported in #504393 but already
1367         fixed in #495769.
1368
1369 2007-12-18  Christian Persch  <chpe@gnome.org>
1370
1371         * configure.in:
1372         * docs/reference/Makefile.am:
1373         * docs/reference/libgail-util/*:
1374         * gail-uninstalled.pc.in:
1375         * gail.pc.in:
1376         * modules/Makefile.am:
1377         * modules/other/Makefile.am:
1378         * modules/other/gail/*:
1379         * modules/other/gail/libgail-util/*:
1380         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1381
1382 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1383
1384         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1385         * gdk/win32/gdkproperty-win32.c: 
1386         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1387
1388         * gtk/gtkimmodule.[hc]: 
1389         * gtk/gtkimmulticontext.[hc]: When determining the default context,
1390         look at the gtk-im-module setting, and listen for changes to the
1391         setting.  (#502446, Akira Tagoh)
1392
1393 2007-12-17  Kristian Rietveld  <kris@imendio.com>
1394
1395         * gtk/gtktooltip.c (gtk_tooltip_finalize),
1396         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1397         to NULL as soon as it's destroyed.  (#496546, patch from
1398         Benjamin Berg).
1399
1400 2007-12-17  Kristian Rietveld  <kris@imendio.com>
1401
1402         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1403         always determine what arrow to show if show_sort_indicator is true.
1404         (#352738, Chris Vine).
1405
1406 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
1407
1408         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1409         Sébastien Granjoux)
1410
1411         * gtk/gtkpaned.c: Call gtk_container_forall instead of
1412         gtk_container_foreach in get_child_panes.
1413
1414 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
1415
1416         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1417
1418         Plug leak: When reordering the info in the list the old node is
1419         removed but not freed. (#503569)
1420
1421 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
1422
1423         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1424         Use u32 instead of __u32 and u8 instead of __u8 as the other types
1425         are deprecated since DirectFB 1.0.0. If compiling with an older
1426         version define the new type name to the old types. Fixes bug #503190.
1427
1428 2007-12-14  Ray Strode  <rstrode@redhat.com>
1429
1430         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1431         instead of g_signal_connect_after (..., "realize", ...) as an
1432         alternative to gtk_widget_realize () (bug 503537).
1433
1434 2007-12-14  Michael Natterer  <mitch@imendio.com>
1435
1436         * gdk/gdkinternals.h
1437         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1438         individual files.
1439
1440         * gdk/gdkapplaunchcontext.c
1441         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1442         header already includes everything now.
1443
1444 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1445
1446         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1447         next stable release shall be 2.16, not 2.14 - even if disagree.
1448
1449         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1450
1451 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1452
1453         Change GtkToolItem to retrieve its properties from GtkToolShell
1454         interface, instead of relying on being child of a GtkToolbar.
1455         (#5034079)
1456
1457         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1458         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1459         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1460         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1461         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1462         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1463         Take section docs from template file and update them for GtkToolShell.
1464         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1465         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1466
1467 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1468
1469         Extract loading of GtkPageSetup and GtkPrintSettings from their
1470         *_new_*() functions and move that code into separate
1471         *_load_*() functions (#475565).
1472
1473         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1474         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1475         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1476         Change the matching *_new_*() functions to use those functions.
1477
1478 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1479
1480         * gtk/gtk.symbols:
1481         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1482
1483 2007-12-14  Kristian Rietveld  <kris@imendio.com>
1484
1485         * gtk/tests/liststore.c:
1486         * gtk/tests/treestore.c: added tests for insertion functions.
1487
1488 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
1489
1490         * Add RandR 1.2 support
1491
1492         - New monitors_changed signal - New API to get width/height of
1493           monitors, and the name of the plug
1494
1495 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1496
1497         * gtk/tests/liststore.c:
1498         * gtk/tests/treestore.c: test the move and swap functions on a
1499         store with only one node.
1500
1501 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1502
1503         * gtk/gtktestutils.c (gtk_test_init): add a call to
1504         g_test_bug_base().
1505
1506         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1507         appriopriate tests.
1508
1509 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1510
1511         * gtk/tests/liststore.c:
1512         * gtk/tests/treestore.c: start composing tests for the list and tree
1513         store.
1514
1515         * gtk/tests/treeview-scrolling.c: added automated tests for
1516         GtkTreeView's scrolling "subsystem".
1517
1518         * gtk/tests/Makefile.am: updated; added new test programs.
1519
1520 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
1521
1522         Make the code compile again after the GdkAppLaunchContext changes.
1523
1524         * configure.in: Add gio-2.0 to GDK_PACKAGES.
1525         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1526
1527 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
1528
1529         * gdk/gdkapplaunchcontext.c: Add docs
1530
1531 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
1532
1533         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
1534         in gdk, providing startup notification.  (#503203)
1535
1536         * gdk/x11/gdkapplaunchcontext-x11.c: 
1537         * gdk/win32/gdkapplaunchcontext-win32.c:
1538         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
1539         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1540         parts. All but X11 are just empty stubs for now.
1541
1542         * gdk/gdk.symbols:
1543         * gdk/gdkinternals.h:
1544         * gdk/Makefile.am:
1545         * gdk/x11/Makefile.am: 
1546         * gdk/win32/Makefile.am: 
1547         * gdk/quartz/Makefile.am: 
1548         * gdk/directfb/Makefile.am: Necessary glue.
1549
1550 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
1551
1552         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1553
1554 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1555
1556         * gdk/directfb/gdktestutils-directfb.c:
1557         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1558         which adds testing functions to the DirectFB backend.
1559
1560 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1561
1562         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1563         Ciccani which fixes the mixing of gdk and cairo rendering.
1564
1565 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
1566
1567         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1568         on "drag-motion" handlers. Clearify documentation for
1569         gtk_drag_dest_set.
1570
1571 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
1572
1573         * buildertest.c: made unnecessarily exported symbols static.
1574         switched g_return_if_fail() statements in tests to assertions.
1575         special cased currently failing Widget/accesibility test to
1576         run only for g_test_thorough(), so it doesn't break make check.
1577         some coding style fixes.
1578
1579         * Makefile.am: added buildertest to TEST_PROGS.
1580
1581 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1582
1583         * docs/tutorial/gtk-tut.sgml:
1584           Use gtk_widget_get_parent_window() instead of widget->parent->window.
1585
1586 2007-12-10  Richard Hult  <richard@imendio.com>
1587
1588         * gdk/quartz/Makefile.am:
1589         * gdk/quartz/gdkquartz.h:
1590         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1591         header (bug #405915). Also add a getter for the toplevel nswindow.
1592
1593 2007-12-10  Richard Hult  <richard@imendio.com>
1594
1595         * gdk/quartz/gdkdrawable-quartz.c:
1596         (gdk_quartz_drawable_get_context),
1597         (gdk_quartz_drawable_release_context):
1598         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1599         (gdk_event_check), (gdk_event_dispatch), (poll_func):
1600         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1601         used for each drawing context and in prepare, dispatch and poll
1602         with one that exists across each main loop iteration. Fixes leaks
1603         on leopard and protects against future leaks introduce when the
1604         underlying system changes again (bug #492977).
1605
1606 2007-12-10  Richard Hult  <richard@imendio.com>
1607
1608         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1609         Fix the check for no changes to position and size.
1610
1611 2007-12-10  Richard Hult  <richard@imendio.com>
1612
1613         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1614         sized areas at (0, 0), patch from Paul Davis.
1615
1616 2007-12-10  Richard Hult  <richard@imendio.com>
1617
1618         * gdk/quartz/gdkprivate-quartz.h: 
1619         * gdk/quartz/gdkeventloop-quartz.c:
1620         (_gdk_quartz_event_loop_get_pending),
1621         (_gdk_quartz_event_loop_check_pending),
1622         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1623         (gdk_event_check), (gdk_event_dispatch):
1624         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1625         (_gdk_events_queue): Fix a bug where we could end up trying to
1626         handle the same event more than once. Based on patch from Paul
1627         Davis.
1628
1629 2007-12-10  Tor Lillqvist  <tml@novell.com>
1630
1631         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1632         package. (#502850)
1633
1634 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1635
1636         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1637         to avoid further fallout from the fix for bug 388321.
1638
1639 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1640
1641         * gdk/directfb/gdkgc-directfb.c:
1642         * gdk/directfb/gdkdrawable-directfb.c:
1643         * gdk/directfb/gdkdirectfb.h:
1644         * gdk/directfb/gdkwindow-directfb.c:
1645         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1646         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1647         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1648         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1649         which are expected to improve the performance of the DirectFB backend.
1650         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1651
1652 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
1653
1654         * gtk/gtkcontainer.c: Correct the documentation of child
1655         property getter arguments.  (#501992, David Brigada)
1656
1657 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
1658
1659         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1660         leak pixbufs.  (#502250, Yevgen Muntyan)
1661
1662 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
1663
1664         * gtk/gtkprintunixdialog.c:
1665         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1666         Print and Page Setup dialogs (#502202).
1667
1668 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
1669
1670         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1671         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1672         of XVFB_START, since it's the GTESTER invokation that needs this.
1673
1674 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
1675
1676         * gdk-pixbuf/gdk-pixbuf.symbols:
1677         * gdk/gdk.symbols:
1678         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1679         positives in abicheck.sh
1680
1681 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1682
1683         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1684         GDK events generations in the DirectFB backend.
1685
1686 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
1687
1688         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1689         set of likely unused display ids, because MacOS has no seq(1) command.
1690
1691 2007-12-06  Richard Hult  <richard@imendio.com>
1692
1693         * gdk/quartz/gdkevents-quartz.c:
1694         (synthesize_crossing_events_for_ns_event): Fix warning when
1695         switching spaces in leopard.
1696
1697 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
1698
1699         * tests/floatingtest.c: ported to new testing framework.
1700
1701         * tests/Makefile.am: run floatingtest as testing framework test.
1702
1703 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
1704
1705         * tests/autotestfilechooser.c: majorly speed up execution by reducing
1706         timeouts and converting main loop sleeps to pending/iterate loops with
1707         very low priority async handlers. eliminate output for non-verbose
1708         tests. assert successfull subtests in all test functions. use testing
1709         framework in main().
1710
1711         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1712         executed inside Xvfb upon make check.
1713
1714 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
1715
1716         * tests/objecttests.c: use string comparisons for string property
1717         values and get rid of referencing symbols in array initialization.
1718
1719 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
1720
1721         * gtk+/Makefile.decl: run tests in current dir after setting up the
1722         logging directory, so their results get properly merged into the
1723         resulting test log.
1724
1725         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1726         tests to loop over registered Gdk/Gtk+ types.
1727
1728         * gtk+/tests/objecttests.c: new test program, implements automated
1729         property tests. several properties are blacklisted because they
1730         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1731         can be used to test blacklisted properties and see which proprty failed.
1732
1733 2007-12-04  Richard Hult  <richard@imendio.com>
1734
1735         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1736         Fully initialize the root window, fixes bug #501583.
1737
1738 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
1739
1740         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1741         crash epiphany.
1742
1743 2007-12-03  Richard Hult  <richard@imendio.com>
1744
1745         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1746         Don't crash when dragging from a source that doesn't support uri
1747         lists (bug #499868, Paul Davis).
1748
1749 2007-12-03  Richard Hult  <richard@imendio.com>
1750
1751         * gdk/quartz/gdkwindow-quartz.c:
1752         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1753         parent relative bg pixmap is set, and no parent has a bg
1754         pixmap. Fixes bug #500804.
1755
1756 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1757
1758         Two optimizations for icon cache lookups.
1759
1760         * gtk/gtkiconcache.[hc]:
1761         * gtk/gtkicontheme.c: Remember the directory index for
1762         subdirectories, instead of running over the directory list
1763         again and again.
1764
1765         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
1766         chain and try it first; this helps with the the usage patterns
1767         in gtkicontheme.c, where the same icon is queried for a lot
1768         of subdirectories.
1769
1770 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
1771
1772         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1773         functions from header files. this should be portable across linux and
1774         Mac OS, unlike the previpous sed expression.
1775
1776 2007-12-1  Cody Russell  <bratsche@gnome.org>
1777
1778         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1779         On Windows, queue a redraw of child2 whenever we set
1780         the pane handle position.  This is unfortunately kind
1781         of hacky, but solves the visual artifacts that were
1782         occuring on at least certain types of child widgets
1783         (e.g., text views and tree views) that are inside
1784         horizontal or vertical panes. (#144269)
1785
1786 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
1787
1788         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
1789
1790 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
1791
1792         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1793         debug spew.
1794
1795 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
1796
1797         * gtk/Makefile.am: Fix ordering of subdirs.
1798
1799 2007-11-28  Tor Lillqvist  <tml@novell.com>
1800
1801         A proper build of GNU libintl is supposed to export the variable
1802         _nl_msg_cat_cntr. configure looks for that variable in order to
1803         recognize GNU gettext. If it sees that it is indeed GNU gettext
1804         that is used, it decides to install message catalogs in
1805         share/locale, otherwise in lib/locale. Until now on Windows I have
1806         built GTK+ against a build of GNU gettext that did not export
1807         _nl_msg_cat_cntr. But this will change, so we can't assume message
1808         catalogs are always in lib/locale.
1809
1810         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1811         GTK_LOCALEDIR being either in "lib" or "share". Move the function
1812         before the inclusion of gtkprivate.h so that it sees the original
1813         GTK_LOCALEDIR.
1814
1815         * gtk-zip.sh.in: Check whether the message catalogs are in
1816         share/locale or lib/locale.
1817
1818         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1819         that the code in _gtk_get_localedir() will find the slashes.
1820
1821 2007-11-28  Tor Lillqvist  <tml@novell.com>
1822
1823         * gtk/Makefile.am: Improve portability. The -o option is present
1824         only in newish GNU egreps. Use one more sed in the pipeline
1825         instead.
1826
1827 2007-11-28  Tor Lillqvist  <tml@novell.com>
1828
1829         Fix #375893, patch by Ben Hague:
1830
1831         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1832         around GetLogicalDrives() that takes also the viewable drive
1833         restrictions in the Registry (which are usually the result of an
1834         Active Directory Group Policy) into account.
1835
1836         (check_volumes, gtk_file_system_win32_list_volumes) Call
1837         get_viewable_logical_drives() instead of GetLogicalDrives().
1838
1839 2007-11-27  Matthias Clasen <mclasen@redhat.com>
1840
1841         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1842         variables to silence valgrind.  (#495124, Morten Welinder)
1843
1844 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
1845
1846         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1847         that the construct_child function is responsible for returning a
1848         reference.
1849         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1850         objects from constructors
1851         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1852         g_object_ref() to this construction function (it's the only
1853         implementer in GTK)
1854
1855         Fixes #496645.
1856
1857 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
1858
1859         * gtkbuilder.c: remove concept of root objects and just refcount
1860         all objects in the builder.  Fixes #496651.
1861
1862 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
1863
1864         * tests/buildertest.c (test_window): fix invalid free
1865
1866 2007-11-26  Josselin Mouette <joss@malsain.org>
1867
1868         reviewed by: Federico Mena Quintero
1869
1870         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1871         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1872         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1873         Make the shortcuts activate with a single click. (#148828)
1874         Fix a few things affected by the change:
1875           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
1876             where no shortcut is selected.
1877           - Don't activate a shortcut in the response callback.
1878           - Filter out duplicate entries in volumes and bookmarks to 
1879             avoid the selection to change when reordering them with DnD.
1880
1881 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1882
1883         * gtk/gtkmain.c:
1884         * gtk/gtknotebook.c:
1885         * gtk/gtkplugprivate.h:
1886         * gtk/gtksocket.c:
1887         * gtk/gtksocketprivate.h:
1888         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1889
1890 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1891
1892         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1893         (#495574, Richard Hult)
1894
1895 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1896
1897         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1898         String change !   (#376361, Sven Neumann)
1899
1900 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1901
1902         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1903         destroy.
1904         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1905         Welinder)
1906
1907 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1908
1909         * gtk/gtkassistant.c: Improve alternative button
1910         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1911
1912 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1913
1914         * gtk/gtkcalendar.c: Fix a theming problem with colors
1915         in GtkCalendar.  (#499703, Michael Hofmann)
1916
1917 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1918
1919         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1920
1921 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1922
1923         Use templates for glib-mkenums calls instead of 
1924         complicated commandlines in Makefiles.  (#429910)
1925
1926         * gdk-pixbuf/Makefile.am:
1927         * gdk/Makefile.am: 
1928         * gtk/Makefile.am: 
1929         * perf/Makefile.am: Use templates for glib-mkenums
1930
1931         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1932         * gdk/gdkenumtypes.[ch].template: 
1933         * gtk/gtktypebuiltings.[ch].template: 
1934         * perf/typebuiltins.[ch].template: The templates
1935
1936 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1937
1938         * gtk/gtkfilechooserbutton.c:
1939         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1940         some compilers choke on that.  (#467722)
1941
1942 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1943
1944         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1945         about hook setup.  (#425004, Emmanuele Bassi)
1946
1947 2007-11-26  Tor Lillqvist  <tml@novell.com>
1948
1949         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1950         monitor the window currently is on, not always the primary
1951         monitor. (#463865, Tim Evans)
1952
1953 2007-11-26  Tor Lillqvist  <tml@novell.com>
1954
1955         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1956
1957         * gdk/win32/Makefile.am: Add it.
1958
1959 2007-11-26  Tor Lillqvist  <tml@novell.com>
1960
1961         * configure.in: Don't add jasper to all_loaders if no libjasper.
1962
1963 2007-11-25  Bastien Nocera  <hadess@hadess.net>
1964
1965         * configure.in: Add detection for libjasper, used by the
1966         gdk-pixbuf JPEG2000 loader
1967
1968 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1969
1970         * configure.in: Require gtk-doc 1.8
1971
1972         * */*.c: Use gtk-doc abbreviations for examples in docs.
1973
1974 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1975
1976         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1977         typo.  (#498922)
1978
1979 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1980
1981         * gtk/gtkdialog.c: Move signal and property documentation inline,
1982         fix a problem with the ::response signal docs.  (#499133, Josselin
1983         Mouette)
1984
1985 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
1986
1987         * Makefile.decl: initialize automake variables EXTRA_DIST and
1988         TEST_PROGS for unconditional appending via += in other makefiles.
1989         define recursive test targets: test, test-report, perf-report,
1990         full-report, as described here:
1991       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1992         the test targets will execute Gtk+ test programs within an Xvfb session.
1993
1994         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1995
1996         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1997         g_test_run() to run the tests to integrate with the testing framework.
1998
1999         * gtk/tests/Makefile.am: removed exemplary testing rules.
2000
2001         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2002         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2003         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2004         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2005         * docs/reference/Makefile.am, docs/tools/Makefile.am:
2006         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2007         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2008         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2009         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2010         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2011         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2012         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2013         * modules/engines/ms-windows/Theme/Makefile.am:
2014         * modules/engines/ms-windows/Makefile.am:
2015         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
2016         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2017         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2018         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2019         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2020         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2021         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2022
2023 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2024
2025         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2026         (#485662, patch by Herbert Valerio Riedel)
2027
2028 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2029
2030         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
2031
2032 2007-11-21  Richard Hult  <richard@imendio.com>
2033
2034         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2035         stubs for the testing functions to fix the build.
2036
2037 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2038
2039         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2040         (#467711, The Written Word)
2041
2042 2007-11-21  Ross Burton  <ross@openedhand.com>
2043
2044         * gdk/x11/gdksettings.c:
2045         Add xsetting for gtk-scrolled-window-placement (#458103).
2046
2047 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2048
2049         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2050         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2051         (#469239, Michael Natterer)
2052
2053 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2054
2055         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2056         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2057         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2058         (#436536, Tommi Komulainen)
2059
2060 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
2061
2062         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2063         property.  (#489782, Jan Janech)
2064
2065 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
2066
2067         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2068         frames.  (#107398, Owen Taylor, Miguel Gomez)
2069
2070 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2071
2072         Moved Gdk test functions from Gtk+ to Gdk test utils.
2073
2074         * gdk/Makefile.am: added gdktestutils.h to public includes.
2075
2076         * gdk/gdk.h: added gdktestutils.h to public includes.
2077
2078         * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2079         gdk_test_render_sync.
2080
2081         * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2082         gdk_test_simulate_key, gdk_test_render_sync.
2083
2084         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2085
2086         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2087         gdk_test_simulate_key, gdk_test_render_sync.
2088
2089         * gtk/gtktestutils.c:
2090         * gtk/gtktestutils.h:
2091         * gtk/gtk.symbols: removed gtk_test_simulate_button
2092         gtk_test_simulate_key, gtk_test_xserver_render_sync.
2093
2094         * gtk/tests/testing.c: call gdk_test_render_sync.
2095
2096 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2097
2098         Added unit tests for Gtk+ testing utilities.
2099
2100         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2101         utility functions. some g_test_* related portions are disabled and need
2102         to be enabled once Gtk+ depends on a new glib with the GLib testing
2103         framework integrated.
2104
2105         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2106         added exemplary test rules to run tests inside Xvfb. this needs to depend
2107         on gtester for full fledged testing.
2108
2109         * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2110         collecting _get_type functions to catch e.g. gtk_text_get_type().
2111
2112         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2113
2114 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2115
2116         Added Gtk+ testing utilities.
2117
2118         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2119         for the most part, the functions herein involve navigating and interacting
2120         with dialog elements programatically, to automate user interaction tests of
2121         dialogs and widgets.
2122
2123         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2124
2125         * gtk/gtk.symbols: added gtk_test_* symbols.
2126
2127         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2128         generate gtktypefuncs.c which contains a list of all _get_type functions in
2129         Gtk+ and Gdk.
2130 2007-11-20  Bastien Nocera  <hadess@hadess.net>
2131
2132         * configure.in: add support for conditional icns gdk-pixbuf loader
2133         (Closes: #395738)
2134
2135 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
2136
2137         * configure.in: updated version number to 2.15.0 for development.
2138
2139 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
2140
2141         === Branch for 2.12 ===
2142