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