1 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkiconview.c: Fix state change reporting for
4 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
6 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
8 * gtk/gtkrecentchooser.c:
9 (gtk_recent_chooser_class_init): Set the default value of the
10 :show-not-found property to TRUE, as every implementation sets
13 * gtk/gtkrecentchooserdefault.c:
14 (_gtk_recent_chooser_default_init): Sync show_tips to the
15 default value of the :show-tips property.
17 2008-02-12 Matthias Clasen <mclasen@redhat.com>
19 * gtk/gtkclipboard-quartz.c:
21 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
24 2008-02-12 Kristian Rietveld <kris@imendio.com>
26 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
27 (gtk_tree_view_real_toggle_cursor_row): guard against people
28 deleting the row in question in the selection-changed callback.
29 (#514621, Andreas Koehler).
31 2008-02-12 Matthias Clasen <mclasen@redhat.com>
33 * gtk/*.c: Unify the handling of various "Enter" keysyms
34 all over the place. (#515047, Christian Persch)
36 2008-02-12 Matthias Clasen <mclasen@redhat.com>
38 * gtk/gtkfilesystemmodel.c:
40 * gtk/gtkwidget.c: Use g_value_set_static_string() where
41 appropriate. (#515042, Christian Persch)
43 2008-02-12 Matthias Clasen <mclasen@redhat.com>
45 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
47 2008-02-12 Matthias Clasen <mclasen@redhat.com>
49 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
51 2008-02-12 Matthias Clasen <mclasen@redhat.com>
53 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
54 (recent_model_sort_drag_data_get):
55 (search_model_sort_drag_data_get):
56 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
57 * gtk/gtkpathbar.c (button_drag_data_get_cb):
58 Use gtk_selection_data_set_uris() instead of doing it
59 by hand. (#514890, Christian Persch)
61 2008-02-12 Michael Natterer <mitch@imendio.com>
63 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
64 gtk_get_current_event_time().
66 2008-02-12 Michael Natterer <mitch@imendio.com>
68 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
69 gtk_window_get_key_hash() to get the hash instead of manually
70 fiddling with quarks and gtk_window_keys_changed(). Also add
71 g_return_if_fail() to this public function.
73 2008-02-11 Matthias Clasen <mclasen@redhat.com>
75 Support keynav in status icons. (#473786, Li Yuan)
77 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
79 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
81 2008-02-11 Kristian Rietveld <kris@imendio.com>
83 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
84 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
85 wrt. link deletion from list; contination of fix for #503569.
87 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
89 * gtk/gtkrecentchoosermenu.c:
90 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
91 on the placeholder menu item.
93 * tests/testrecentchoosermenu.c:
94 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
95 whether the placeholder menu item gets shown.
97 2008-02-10 Cody Russell <bratsche@gnome.org>
99 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
100 Check the return value of _gtk_file_chooser_get_file_system () for
101 NULL before passing it to gtk_file_system_path_to_uri ().
102 (#515667, Francesco Montorsi)
104 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
106 * gtk/gtkbuilder.c: Improve the documentation for
107 gtk_builder_connect_signals. (#514471)
109 2008-02-10 Matthias Clasen <mclasen@redhat.com>
111 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
114 2008-02-08 Cody Russell <bratsche@gnome.org>
116 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
117 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
119 2008-02-08 Richard Hult <richard@imendio.com>
121 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
122 delta from the NSEvent for now, generating multiple scroll events
123 results in a lot of events getting queued up and things get really
126 2008-02-08 Sven Herzberg <sven@imendio.com>
128 Adjust the code to match the documentation, examples, "common sense"
129 and existing applications.
131 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
132 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
135 2008-02-07 Cody Russell <bratsche@gnome.org>
137 * gdk/win32/gdkevents-win32.c
138 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
139 of a block that were causing compile problems on old
140 compilers. (#515053, reported by Kazuki IWAMOTO)
142 2008-02-07 Michael Natterer <mitch@imendio.com>
151 * gtk/gtkoptionmenu.c
155 * gtk/gtkradiomenuitem.c
157 * gtk/gtkscrolledwindow.c
158 * gtk/gtksocket.c: remove g_return_if_fail() from private
159 functions and virtual function implementations.
161 2008-02-07 Michael Natterer <mitch@imendio.com>
168 * gtk/gtkcellrenderercombo.c
171 * gtk/gtkdrawingarea.c
172 * gtk/gtkentrycompletion.c
178 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
179 functions and virtual function implementations.
181 2008-02-07 Christian Persch <chpe@gnome.org>
183 * gdk/gdkpixbuf-render.c:
184 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
185 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
186 otherwise there will be random pixel values in the semi-transparent
187 area of the pixbuf within the mask. Bug #487865.
189 2008-02-06 Cody Russell <bratsche@gnome.org>
191 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
192 otherwise things get wonky when you click on a menu. This fixes
193 a regression caused in #505928. Thanks to Tor for spotting this
196 2008-02-06 Michael Natterer <mitch@imendio.com>
207 * gtk/gtkseparatortoolitem.c
209 * gtk/gtktextlayout.c
210 * gtk/gtktoggletoolbutton.c
211 * gtk/gtktoolbutton.c
214 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
217 2008-02-05 Matthias Clasen <mclasen@redhat.com>
219 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
220 Allow to store half-open ranges.
222 2008-02-05 Cody Russell <bratsche@gnome.org>
224 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
225 down the stack until we get to a window that is mapped.
226 Otherwise hiding a window will cause all windows in the app
227 to be blocked. (#514643)
229 2008-02-05 Matthias Clasen <mclasen@redhat.com>
231 * gtk/updateiconcache.c: Ignore images in the toplevel theme
232 directory, avoiding one source of invalid caches that has been
235 2008-02-05 Matthias Clasen <mclasen@redhat.com>
237 * gtk/updateiconcache.c: Fix the previous commit to compile.
239 2008-02-05 Matthias Clasen <mclasen@redhat.com>
241 * gtk/updateiconcache.c: Install a printerr handler that
242 prepends the program name, since gtk-update-icon-cache output
243 often appears in the middle of other output, e.g. rpm update logs.
245 2008-02-05 Cody Russell <bratsche@gnome.org>
247 * gdk/win32/gdkprivate-win32.h
248 * gdk/win32/gdkevents-win32.c
249 * gdk/win32/gdkwindow-win32.c
250 * gdk/win32/gdkwindow-win32.h
251 * gdk/win32/gdkwin32.h:
252 Modal window rework. (#455627 and #511111)
254 2008-02-04 Michael Natterer <mitch@imendio.com>
256 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
257 g_return_if_fail() if the cell is not part of the combo instead of
258 crashing in the next line.
260 2008-02-01 Cody Russell <cody@jhu.edu>
262 * modules/engines/ms-windows/xp_theme.[ch]
263 * modules/engines/ms-windows/xp_theme_defs.h
264 * modules/engines/ms-windows/msw_rc_style.c
265 * modules/engines/ms-windows/msw_theme_main.c
266 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
267 attempted to stylize more like the rest of the gtk+ stack's code.
269 2008-02-01 Michael Natterer <mitch@imendio.com>
271 * tests/testgtk.c: initialize GdkColor structs to fix warning
272 about uninitialized "pixel" member.
274 * tests/testactions.c: connect the toolbar_style() callback so it
275 does something useful and doesn't warn about being defined but not
278 2008-01-31 Cody Russell <bratsche@gnome.org>
280 * gdk/win32/gdkevents-win32.c:
281 Refactored some of the window hiding/showing code from
282 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
283 under WM_ACTIVATE was causing the application to go into
284 a weird state when the user right-clicked on the taskbar
285 entry of a window that was minimized. (#505928)
287 2008-01-31 Cody Russell <bratsche@gnome.org>
289 * gtk/gtkpaned.c (gtk_paned_set_position):
290 Change queue_resize() to queue_draw(), and add a check for
291 child2 != NULL in case someone calls this before there is
292 a child packed in there. (#144269 again)
294 2008-01-31 Sven Neumann <sven@gimp.org>
296 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
297 applied patch from Denis Oliver Kropp <dok@directfb.org>.
299 2008-01-31 Sven Neumann <sven@gimp.org>
301 * gdk/directfb/gdkdisplay-directfb.c
302 * gdk/directfb/gdkdrawable-directfb.c
303 * gdk/directfb/gdkprivate-directfb.h
304 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
305 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
307 2008-01-31 Richard Hult <richard@imendio.com>
309 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
310 issues with undecorated windows. Revert the change done on
311 2008-01-25 and fix it by using the view's bounds instead. The
312 bounds will always be up to date when setting up the tracking
313 rect, so this should be more robust.
315 2008-01-30 Sven Neumann <sven@gimp.org>
317 * gdk/directfb/gdkdrawable-directfb.c
318 * gdk/directfb/gdkwindow-directfb.c
319 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
320 Oliver Kropp <dok@directfb.org>. Adds debug messages using
321 DirectFB's debugging system
323 2008-01-30 Sven Neumann <sven@gimp.org>
325 * gdk/directfb/gdkdirectfb.h
326 * gdk/directfb/gdkdisplay-directfb.c
327 * gdk/directfb/gdkdrawable-directfb.c
328 * gdk/directfb/gdkim-directfb.c
329 * gdk/directfb/gdkimage-directfb.c
330 * gdk/directfb/gdkinput-directfb.c
331 * gdk/directfb/gdkmain-directfb.c
332 * gdk/directfb/gdkpixmap-directfb.c
333 * gdk/directfb/gdktestutils-directfb.c
334 * gdk/directfb/gdkvisual-directfb.c
335 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
336 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
337 errors and has some cleanups.
339 2008-01-30 Michael Natterer <mitch@imendio.com>
341 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
342 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
345 * gtk/updateiconcache.c (add_string): cast const gchar* to
346 gpointer when inserting in a GHashTable.
348 * tests/testcalendar.c (calendar_detail_cb): remove const from
349 return value since it's a newly allocated string.
351 (calendar_update_details): free the detail.
353 2008-01-29 Johan Dahlin <johan@gnome.org>
355 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
357 * demos/gtk-demo/demo.ui:
358 Move the about dialog to the glade file, add accessible tags
359 examples to the markup file.
361 2008-01-28 Paolo Borelli <pborelli@katamail.com>
363 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
364 layout, fixes #512375.
366 2008-01-28 Michael Natterer <mitch@imendio.com>
369 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
371 2008-01-28 Michael Natterer <mitch@imendio.com>
373 * demos/gtk-demo/builder.c (about_activate): use
374 gtk_about_dialog_set_program_name() instead of the deprecated
377 2008-01-28 Michael Natterer <mitch@imendio.com>
380 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
383 2008-01-26 Johan Dahlin <johan@gnome.org>
386 * tests/textbuffertest.c:
387 Rename textbuffer test and port it to the new test framework
389 2008-01-25 Johan Dahlin <johan@gnome.org>
391 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
392 unsetting of GTK_MODULES.
394 * gtk/gtk-builder-convert
395 (GtkBuilderConverter._convert_adjustment): Handle the case where
396 there is no child text node.
397 (GtkBuilderConverter): Allow xml comments in most places.
399 2008-01-25 Johan Dahlin <johan@gnome.org>
401 * gtk/gtk-builder-convert
402 (GtkBuilderConverter._convert_combobox_items): Remove the items
403 even if there are no items set.
404 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
405 signals and tooltips for all menu items subclasses and
406 GtkImageMenuItem:label.
407 Makes it possible to fully convert and run Jokosher.glade.
409 2008-01-25 Johan Dahlin <johan@gnome.org>
411 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
412 (gtk_widget_buildable_get_internal_child), (free_action),
413 (free_relation), (gtk_widget_buildable_parser_finished),
414 (accessibility_start_element),
415 (gtk_widget_buildable_custom_tag_start),
416 (gtk_widget_buildable_custom_finished):
417 Implement accessible support, fixes #454653.
419 * gtk/gtk-builder-convert:
420 Add support for migrating old glade files
422 * tests/buildertest.c: (test_widget), (test_file):
423 Add accessible tests and imprve the test_file function to display
424 toplevels and run dialogs.
426 2008-01-25 Richard Hult <richard@imendio.com>
428 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
429 didn't change, fixes focus event issues for undecorated windows.
431 2008-01-25 Richard Hult <richard@imendio.com>
433 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
434 const and remove unused variables).
436 2008-01-25 Michael Natterer <mitch@imendio.com>
439 * gtk/gtkcellrenderer.h
444 * gtk/gtktreeprivate.h
445 * gtk/gtktreeviewcolumn.h
446 * gtk/gtkwidget.h: add const to constant structs which are passed
447 into GTK+. Also add some forgotten const for const strings.
451 * gtk/gtkcellrenderer.c
457 * gtk/gtktreeviewcolumn.c
458 * gtk/gtkwidget.c: changed accordingly.
460 2008-01-25 Sven Herzberg <sven@imendio.com>
462 Reviewed by Johan Dahlin.
464 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
465 this is called with something that's not a GtkUIManager
467 2008-01-24 Johan Dahlin <johan@gnome.org>
469 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
470 Chain up to parent, so widgets can have internal children.
472 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
474 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
477 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
479 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
481 Use pango_layout_set_height() for calendar details (#506049).
483 * configure.in: Require 1.19.3 for pango_layout_set_height().
484 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
486 2008-01-18 Johan Dahlin <johan@gnome.org>
488 * gtk/gtk-builder-convert (get_property_node): New method
489 (GtkBuilderConverter._create_object): Conditionally take a node as
490 a property value, so don't lose translate/context attributes if they
492 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
493 property values instead of strings.
494 (#509153, Erik van Pienbroek)
496 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
498 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
500 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
501 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
502 * tests/testcalendar.c: Duplicate calendar details before returning.
504 2008-01-16 Christian Persch <chpe@gnome.org>
506 * gtk/gtkwidget.c: Store the event mask and extension event mode
507 directly in the gobject data pointer, instead of in an allocated
510 2008-01-16 Michael Natterer <mitch@imendio.com>
512 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
513 gdk-pixbuf now uses gio functions.
515 2008-01-16 Matthias Clasen <mclasen@redhat.com>
517 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
518 the notify::model signal. (#509819, David Zeuthen)
520 2008-01-15 Michael Natterer <mitch@imendio.com>
528 * gdk/gdkwindow.h: made more struct pointer and array parameters
529 const. GDK should now be constified as far as possible without
530 breaking source compatibility. Includes some minor cleanup like
531 indentation and s/nfoo/n_foo/ (bug #508544).
537 * gdk/gdkregion-generic.c
539 * gdk/directfb/gdkdisplay-directfb.c
540 * gdk/directfb/gdkwindow-directfb.c
541 * gdk/quartz/gdkdisplay-quartz.c
542 * gdk/quartz/gdkwindow-quartz.c
543 * gdk/win32/gdkdisplay-win32.c
544 * gdk/win32/gdkwindow-win32.c
545 * gdk/x11/gdkdisplay-x11.c
546 * gdk/x11/gdkwindow-x11.c: changed accordingly.
548 2008-01-14 Michael Natterer <mitch@imendio.com>
550 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
553 (gtk_rc_parse_any): change variables to const and introduce
554 another local variable to fix const warnings.
556 2008-01-14 Michael Natterer <mitch@imendio.com>
558 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
559 of gdk_screen_get_font_options() to gpointer to get rid of const
562 2008-01-14 Michael Natterer <mitch@imendio.com>
564 * tests/testdnd.c (source_drag_data_get): fix another call to
565 gtk_selection_data_set().
567 2008-01-14 Michael Natterer <mitch@imendio.com>
569 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
572 2008-01-14 Michael Natterer <mitch@imendio.com>
574 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
576 2008-01-14 Michael Natterer <mitch@imendio.com>
578 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
579 "uris" to guchar* when passing it to gtk_selection_data_set().
581 2008-01-14 Michael Natterer <mitch@imendio.com>
589 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
590 parameters const (bug #508544).
596 * gdk/gdkpolyreg-generic.c
597 * gdk/gdkregion-generic.c
598 * gdk/directfb/gdkcolor-directfb.c
599 * gdk/directfb/gdkgc-directfb.c
600 * gdk/directfb/gdkgeometry-directfb.c
601 * gdk/directfb/gdkwindow-directfb.c
602 * gdk/quartz/gdkcolor-quartz.c
603 * gdk/quartz/gdkgc-quartz.c
604 * gdk/quartz/gdkgeometry-quartz.c
605 * gdk/quartz/gdkwindow-quartz.c
606 * gdk/win32/gdkcolor-win32.c
607 * gdk/win32/gdkgc-win32.c
608 * gdk/win32/gdkgeometry-win32.c
609 * gdk/win32/gdkprivate-win32.h
610 * gdk/win32/gdkwindow-win32.c
611 * gdk/x11/gdkcolor-x11.c
612 * gdk/x11/gdkgc-x11.c
613 * gdk/x11/gdkgeometry-x11.c
614 * gdk/x11/gdkmain-x11.c
615 * gdk/x11/gdkprivate-x11.h
616 * gdk/x11/gdkwindow-x11.c: changed accordingly.
618 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
621 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
623 Explain name choice for gtk_tool_item_toolbar_reconfigured.
625 * gtk/gtktoolitem.c: Add comment expaining name choice for
626 gtk_tool_item_toolbar_reconfigured.
628 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
630 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
631 implementations to notify its children, when some aspect of their
632 configuration changed (#509042).
634 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
635 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
636 Rename _gtk_tool_item_toolbar_reconfigured.
638 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
640 Include <gtk/gtktoolshell.h> from gtk.h.
642 * gtk/gtk.h: Add gtktoolshell.h
644 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
646 Print angle brackets arround e-mail addresses in the about dialog
647 (#409520, Mariano Suárez-Alvarez).
649 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
651 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
653 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
654 special casing so test widgets are always queues for destruction
657 * gtk/tests/testing.c: removed bits left-over from testing without
660 2008-01-10 Tor Lillqvist <tml@novell.com>
662 * modules/other/gail/libgail-util/Makefile.am
663 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
666 2008-01-10 Tor Lillqvist <tml@novell.com>
668 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
669 uses gtkprintunixdialog API.
671 2008-01-10 Tor Lillqvist <tml@novell.com>
673 * gdk/win32/gdkdisplay-win32.c
674 * gdk/win32/gdkglobals-win32.c
675 * gdk/win32/gdkprivate-win32.h
676 * gdk/win32/gdkscreen-win32.c
677 * gdk/win32/gdkwindow-win32.c: Implement
678 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
679 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
682 2008-01-10 Cody Russell <bratsche@gnome.org>
684 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
685 Properly ref/unref windows and parents. (#506769)
687 2008-01-10 Richard Hult <richard@imendio.com>
689 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
690 (gdk_window_hide), (move_resize_window_internal): Move the
691 tracking rect workaround from here...
693 * gdk/quartz/GdkQuartzWindow.c:
694 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
695 movements during showing/hiding operations. Fixes bug #508516.
697 2008-01-10 Michael Natterer <mitch@imendio.com>
699 * gdk/directfb/gdkscreen-directfb.c
700 (gdk_screen_get_monitor_width_mm)
701 (gdk_screen_get_monitor_height_mm)
702 (gdk_screen_get_monitor_plug_name): add these functions to make
705 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
707 * gtk/gtkrecentchoosermenu.c:
708 (idle_populate_func), (idle_populate_clean_up): Fix possible
709 recursion by resetting the idle source id. (#507605, William
712 2008-01-10 Kristian Rietveld <kris@imendio.com>
714 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
715 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
716 avoid valgrind warnings. (#507751, patch from Christian Persch).
718 2008-01-10 Kristian Rietveld <kris@imendio.com>
720 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
721 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
723 2008-01-10 Kristian Rietveld <kris@imendio.com>
725 Fix #477175, reported by Juri Pakaste.
727 * gtk/gtktreeprivate.h:
728 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
729 tree_view->priv->dy here directly, just calculate the new value
730 and set it on the adjustment,
731 (gtk_tree_view_adjustment_changed): add guards to not call
732 gtk_tree_view_dy_to_top_row() if we are currently in
733 gtk_tree_view_top_row_to_dy(),
734 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
735 coordinates, not tree coordinates,
736 (gtk_tree_view_real_start_editing): add cast.
738 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
739 position of the editable in the "create new row and start editing"
742 2008-01-09 Michael Natterer <mitch@imendio.com>
744 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
747 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
748 * gtk/gtkicontheme.c (theme_list_contexts)
749 (gtk_icon_theme_lookup_icon)
750 * gtk/gtkimcontextsimple.c (beep_window)
751 * gtk/gtklinkbutton.c (set_link_color)
752 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
755 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
756 variable and add const to another to fix a warning.
758 2008-01-07 Matthias Clasen <mclasen@redhat.com>
760 * gtk/gtkassistant.c (remove_page): Be more robust when removing
761 the current page. (#499951, Andreas Sandberg)
763 2008-01-06 Johan Dahlin <johan@gnome.org>
765 * gtk/gtkspinbutton.c: Declare value in the example code for
766 GtkSpinButton::output, as pointed out by Anders Carlsson.
768 2008-01-06 Christian Persch <chpe@gnome.org>
770 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
771 and remove an obsolete event box. Bug #506760.
773 2008-01-06 Johan Dahlin <johan@gnome.org>
775 * tests/buildertest.c (test_domain):
776 Update, GtkBuilder::translation-domain is no longer set
778 * gtk/gtkbuilderparser.c (parse_interface):
779 Allow domains to be overridden in <interface>'s if a translation-domain
780 is set in the builder.
781 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
782 of the builder, make the domain set in the <interface> apply only to strings
784 (#496831, Ryan Lortie)
786 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
789 * gtk/gtktreestore.c (tree_model_end_element):
790 Remove an unused variable
792 2008-01-06 Matthias Clasen <mclasen@redhat.com>
794 * gtk/gtkspinbutton.c: Document the ::output signal and
795 add an example. (#507566, example by Owen Taylor)
797 2008-01-06 Johan Dahlin <johan@gnome.org>
799 * gtk/gtkcellrenderercombo.c:
800 (gtk_cell_renderer_combo_get_property),
801 (gtk_cell_renderer_combo_set_property):
802 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
803 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
804 * gtk/gtknotebook.c: (gtk_notebook_set_property):
805 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
806 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
807 (gtk_text_buffer_get_property):
808 * gtk/gtktextview.c: (gtk_text_view_set_property):
809 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
810 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
811 (gtk_tool_button_get_property):
812 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
813 (gtk_tool_item_get_property):
814 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
815 * gtk/gtkwidget.c: (gtk_widget_set_property):
816 * gtk/gtkwindow.c: (gtk_window_set_property):
817 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
820 2008-01-06 Johan Dahlin <johan@gnome.org>
822 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
823 Make sure that --root works for toplevel widgets.
824 (#491847, Phil Lello)
826 2008-01-05 Johan Dahlin <johan@gnome.org>
828 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
829 to make sure that make test-report works properly
831 2008-01-05 Christian Persch <chpe@gnome.org>
833 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
834 GType as integer through gpointer. Bug #507395.
836 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
838 Avoid some compiler warnings (#507000).
840 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
841 for value argument of _gtk_builder_flags_from_string.
842 * gtk/gtkwidget.c: Don't alias the child pointer passed
843 to gdk_window_get_user_data.
845 2008-01-04 Michael Natterer <mitch@imendio.com>
847 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
848 to set the time in the returned GdkTimeCoords.
850 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
852 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
853 correct comparison function (kudos to Christian Persch and
854 Claudio Saavedra for spotting this)
856 * gtk/gtkrecentchooserutils.c:
857 (sort_recent_items_mru),
858 (sort_recent_items_lru): Ditto as above.
860 2008-01-03 Johan Dahlin <johan@gnome.org>
862 * tests/defaultvaluetest.c: Make it pass again.
864 2008-01-02 Johan Dahlin <johan@gnome.org>
866 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
867 make it pass on Ubuntu.
868 (main): Use gtk_test_list_all_types () instead of providing our
870 And it no longer passes.
872 2007-12-30 Johannes Schmid <jhs@gnome.org>
874 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
875 Also reorder menu when reordering tabs by drag & drop
878 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
879 Add a menu to one of the notebooks to have a test-case for
880 the change mentioned above.
882 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
884 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
886 2007-12-31 Christian Persch <chpe@gnome.org>
888 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
889 Plug a mem leak. Bug #506107.
891 2007-12-28 Matthias Clasen <mclasen@redhat.com>
893 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
894 icon cache api change. (#506135, Kazuki Iwamoto)
896 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
898 Consider "wide-separators" and "separator-height" style properties:
899 The separator is drawn using gtk_paint_box instead of cairo, when
900 "wide-separators" is set. Also do not highlight details for previous
901 or next month, if their day matches the selected day. (#339540)
903 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
904 in gtk_calendar_size_request and calendar_paint_day
905 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
906 for selected detail separators in GtkCalendar.
908 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
910 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
912 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
913 a local variable instead in gtk_calendar_size_request.
915 2007-12-28 Matthias Clasen <mclasen@redhat.com>
917 * tests/defaultvaluetest.c: Add enough exclusions to make the
920 2007-12-28 Christian Persch <chpe@gnome.org>
922 * modules/other/gail/Makefile.am:
923 * modules/other/gail/tests/*:
924 * configure.in: Merge tests from standalone gail. Bug #504568.
926 2007-12-28 Matthias Clasen <mclasen@redhat.com>
928 * gtk/gtkclipboard.c: Make the finalizer work when display is
931 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
933 Draw bottom shadow of GtkCalender headings. (#506113)
935 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
937 2007-12-28 Matthias Clasen <mclasen@redhat.com>
939 * gtk/gtkcalendar.c: Document the initial values of year/month/day
942 2007-12-28 Christian Persch <chpe@gnome.org>
944 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
945 a mem leak. Bug #506096.
947 2007-12-28 Matthias Clasen <mclasen@redhat.com>
951 * gtk/gtkprintoperation.c:
952 * gtk/gtkprogressbar.c:
953 * gtk/gtkmessagedialog.c:
958 * gtk/gtklinkbutton.c:
959 * gtk/gtkmenu.c: More default property value corrections.
961 2007-12-28 Matthias Clasen <mclasen@redhat.com>
963 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
964 accel_group unless it is set.
966 2007-12-28 Matthias Clasen <mclasen@redhat.com>
968 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
970 2007-12-28 Matthias Clasen <mclasen@redhat.com>
972 * gtk/gtkhandlebox.c: Fix the default values of shadow and
973 shadow-type properties.
975 * gtk/gtkfontsel.c: Fix the default values of several properties.
977 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
980 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
982 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
985 2007-12-28 Johan Dahlin <johan@gnome.org>
987 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
988 (gtk_dialog_buildable_custom_tag_start): Chain up.
989 This makes it possible to have accelerators tags on GtkDialog
992 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
994 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
995 are shown within the widget, or just as tooltip. (#339540)
997 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
998 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
999 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1002 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1004 Try more decent appearance of calendar details separator. (#339540)
1006 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1007 and make it short by one pixel on each side.
1009 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1011 Apply trivial code-style changes from attachement 101101. (#339540)
1013 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1015 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1017 Restructure testcalendar for testing calendar details. (#339540)
1019 * tests/testcalendar.c: Push code arround for testing calendar details.
1021 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1023 Implement GtkTooltip API for calendar details. (#339540)
1025 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1026 Remember detail overflows in calendar_paint_day to show the tooltip
1027 only when neccessary.
1029 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1031 Without setting "detail-width-chars" and "detail-height-rows"
1032 properties not only the widget has to be redrawn on certain
1033 conditions, but also its size must be recalculated. (#339540)
1035 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1036 that function instead of gtk_widget_queue_draw.
1038 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1040 Consider details for size-request and expose-event. (#339540)
1042 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1043 is_color_attribute functions. Change gtk_calendar_size_request
1044 and calendar_paint_day to consider and show calender details.
1046 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1048 * gtk/gtkcombobox.c: Introduce local priv variables to
1051 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1053 * gtk/gtkcombobox.c: Correct the default value for the
1054 tearoff-title property.
1056 * gtk/gtkcellrenderertext.c: Fix the default value for the
1057 wrap-mode and font-scale properties.
1059 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1062 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1064 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1065 defines. (#505708, MINAMI Hirokazu)
1067 2007-12-27 Christian Persch <chpe@gnome.org>
1069 * Makefile.am: Install gail.pc. Bug #505859.
1071 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1073 Add infrastructure for GtkCalendar details. (#339540)
1075 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1076 Add "detail-width-chars" and "detail-height-rows" properties,
1077 and gtk_calendar_set_detail_func function.
1079 2007-12-27 Xan Lopez <xan@gnome.org>
1082 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1084 Add gtk_border_new to avoid memory allocator confusions when using
1085 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1087 2007-12-27 Christian Persch <chpe@gnome.org>
1089 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1090 bug #504886 not to read unitialised memory.
1092 2007-12-26 Xan Lopez <xan@gnome.org>
1094 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1095 modification of the internal frame contents to decide if we have
1096 extra children. (#415677)
1098 2007-12-22 Christian Persch <chpe@gnome.org>
1100 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1102 2007-12-25 Christian Persch <chpe@gnome.org>
1104 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1105 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1108 2007-12-25 Christian Persch <chpe@gnome.org>
1110 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1112 2007-12-25 Christian Persch <chpe@gnome.org>
1114 * modules/other/gail/*.[ch]: Remove relocations from the atk
1115 factories. Remove unused gail_foo_new() functions. Fix object
1116 instantiation to be derivation safe by moving initialisation code
1117 from the removed gail_foo_new() functions to the
1118 AtkObjectClass::initialize implementation. Bug #505226.
1120 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1122 * modules/other/gail/gailentry.c:
1123 * modules/other/gail/gailimage.c:
1124 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1125 uses of clipboards and settings. (#504722, Christian Persch)
1127 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1129 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1132 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1134 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1135 use the time and button information from the event. (#504901,
1138 2007-12-23 Cody Russell <bratsche@gnome.org>
1140 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1141 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1142 Fixes a regression caused by #164537 patch where transient
1143 windows that are hidden get shown (incorrectly) when their
1144 parents are minimized. (#504984)
1146 2007-12-22 Christian Persch <chpe@gnome.org>
1148 * modules/other/gail/gailcell.c:
1149 * modules/other/gail/gailcontainercell.c:
1150 * modules/other/gail/gailexpander.c:
1151 * modules/other/gail/gailtextcell.c:
1152 * modules/other/gail/gailtextview.c:
1153 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1155 2007-12-22 Christian Persch <chpe@gnome.org>
1157 * modules/other/gail/*.c: Include config.h. Bug #504720.
1159 2007-12-22 Christian Persch <chpe@gnome.org>
1161 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1162 handwritten get_type functions. Bug #504661.
1164 2007-12-23 Xan Lopez <xan@gnome.org>
1166 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1167 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1169 Patch by Sadrul Habib Chowdhury (#504804)
1171 2007-12-22 Christian Persch <chpe@gnome.org>
1173 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1174 #504645, patch by Li Yuan.
1176 2007-12-22 Christian Persch <chpe@gnome.org>
1178 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1180 2007-12-22 Christian Persch <chpe@gnome.org>
1182 * modules/other/gail/gail.c:
1183 * modules/other/gail/gailbutton.c:
1184 * modules/other/gail/gailcell.c:
1185 * modules/other/gail/gailcombo.c:
1186 * modules/other/gail/gailcombo.h:
1187 * modules/other/gail/gailcombobox.c:
1188 * modules/other/gail/gailentry.c:
1189 * modules/other/gail/gailexpander.c:
1190 * modules/other/gail/gailmenuitem.c:
1191 * modules/other/gail/gailnotebook.c:
1192 * modules/other/gail/gailnotebookpage.c:
1193 * modules/other/gail/gailnotebookpage.h:
1194 * modules/other/gail/gailoptionmenu.c:
1195 * modules/other/gail/gailrange.c:
1196 * modules/other/gail/gailtextview.c:
1197 * modules/other/gail/gailtreeview.c:
1198 * modules/other/gail/gailtreeview.h:
1199 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1202 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1204 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1207 2007-12-21 Richard Hult <richard@imendio.com>
1209 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1210 Plug leak of destroyed subviews, fixes bug #504753.
1212 2007-12-20 Johan Dahlin <johan@gnome.org>
1214 * tests/Makefile.am (TEST_PROGS):
1215 * tests/defaultvaluetest.c: Add a test for default values,
1216 based on program by Christan Perch
1218 2007-12-20 Johan Dahlin <johan@gnome.org>
1220 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1221 Refactor to avoid some duplication.
1222 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1223 Fixes #504749, Yuri Pimenov
1225 2007-12-20 Kristian Rietveld <kris@imendio.com>
1227 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1228 the build work again on systems without xrandr 1.2.
1230 2007-12-20 Christian Persch <chpe@gnome.org>
1233 * modules/other/gail/libgail-util/Makefile.am:
1234 Keep the same libtool version as the standalone libgail-util had.
1237 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1239 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1241 2007-12-20 Alexander Larsson <alexl@redhat.com>
1243 * gdk/x11/gdkapplaunchcontext-x11.c:
1244 Update for gio API changes
1246 2007-12-20 Richard Hult <richard@imendio.com>
1248 * gdk/quartz/GdkQuartzWindow.c:
1249 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1250 processing events after changing the size.
1252 2007-12-20 Richard Hult <richard@imendio.com>
1254 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1255 Add stub for quartz to fix build.
1257 2007-12-20 Christian Persch <chpe@gnome.org>
1259 * modules/other/gail/Makefile.am:
1260 * modules/other/gail/gailimage.c: (gail_image_class_init),
1261 (gail_image_init), (elide_underscores), (gail_image_get_name),
1262 (atk_image_interface_init), (gail_image_finalize):
1263 * modules/other/gail/gailimage.h:
1264 R modules/other/gail/gailintl.h:
1265 * po/POTFILES.skip: Use the stock item's label as the name of the
1266 accessible in gailimage.c. Bug #504246.
1268 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1270 Avoid some compiler warnings and remove obsolete code. (#339540)
1272 * gtk/gtkcalendar.c: Change week and year variable in
1273 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1274 0" block from calendar_paint_day: The feature in question is handled
1275 few lines above. Cast data returned by gtk_selection_data_get_text()
1276 to (gchar*) in gtk_calendar_drag_data_received.
1278 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1280 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1282 2007-12-19 Johan Dahlin <johan@gnome.org>
1284 * tests/buildertest.c (test_object_properties):
1285 Add another call to gtk_builder_add_string after using
1286 delayed properties, as reported in #504393 but already
1289 2007-12-18 Christian Persch <chpe@gnome.org>
1292 * docs/reference/Makefile.am:
1293 * docs/reference/libgail-util/*:
1294 * gail-uninstalled.pc.in:
1296 * modules/Makefile.am:
1297 * modules/other/Makefile.am:
1298 * modules/other/gail/*:
1299 * modules/other/gail/libgail-util/*:
1300 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1302 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1304 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1305 * gdk/win32/gdkproperty-win32.c:
1306 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1308 * gtk/gtkimmodule.[hc]:
1309 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1310 look at the gtk-im-module setting, and listen for changes to the
1311 setting. (#502446, Akira Tagoh)
1313 2007-12-17 Kristian Rietveld <kris@imendio.com>
1315 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1316 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1317 to NULL as soon as it's destroyed. (#496546, patch from
1320 2007-12-17 Kristian Rietveld <kris@imendio.com>
1322 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1323 always determine what arrow to show if show_sort_indicator is true.
1324 (#352738, Chris Vine).
1326 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1328 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1329 Sébastien Granjoux)
1331 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1332 gtk_container_foreach in get_child_panes.
1334 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1336 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1338 Plug leak: When reordering the info in the list the old node is
1339 removed but not freed. (#503569)
1341 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1343 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1344 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1345 are deprecated since DirectFB 1.0.0. If compiling with an older
1346 version define the new type name to the old types. Fixes bug #503190.
1348 2007-12-14 Ray Strode <rstrode@redhat.com>
1350 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1351 instead of g_signal_connect_after (..., "realize", ...) as an
1352 alternative to gtk_widget_realize () (bug 503537).
1354 2007-12-14 Michael Natterer <mitch@imendio.com>
1356 * gdk/gdkinternals.h
1357 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1360 * gdk/gdkapplaunchcontext.c
1361 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1362 header already includes everything now.
1364 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1366 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1367 next stable release shall be 2.16, not 2.14 - even if disagree.
1369 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1371 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1373 Change GtkToolItem to retrieve its properties from GtkToolShell
1374 interface, instead of relying on being child of a GtkToolbar.
1377 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1378 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1379 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1380 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1381 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1382 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1383 Take section docs from template file and update them for GtkToolShell.
1384 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1385 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1387 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1389 Extract loading of GtkPageSetup and GtkPrintSettings from their
1390 *_new_*() functions and move that code into separate
1391 *_load_*() functions (#475565).
1393 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1394 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1395 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1396 Change the matching *_new_*() functions to use those functions.
1398 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1401 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1403 2007-12-14 Kristian Rietveld <kris@imendio.com>
1405 * gtk/tests/liststore.c:
1406 * gtk/tests/treestore.c: added tests for insertion functions.
1408 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1410 * Add RandR 1.2 support
1412 - New monitors_changed signal - New API to get width/height of
1413 monitors, and the name of the plug
1415 2007-12-13 Kristian Rietveld <kris@imendio.com>
1417 * gtk/tests/liststore.c:
1418 * gtk/tests/treestore.c: test the move and swap functions on a
1419 store with only one node.
1421 2007-12-13 Kristian Rietveld <kris@imendio.com>
1423 * gtk/gtktestutils.c (gtk_test_init): add a call to
1426 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1429 2007-12-13 Kristian Rietveld <kris@imendio.com>
1431 * gtk/tests/liststore.c:
1432 * gtk/tests/treestore.c: start composing tests for the list and tree
1435 * gtk/tests/treeview-scrolling.c: added automated tests for
1436 GtkTreeView's scrolling "subsystem".
1438 * gtk/tests/Makefile.am: updated; added new test programs.
1440 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1442 Make the code compile again after the GdkAppLaunchContext changes.
1444 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1445 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1447 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1449 * gdk/gdkapplaunchcontext.c: Add docs
1451 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1453 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1454 in gdk, providing startup notification. (#503203)
1456 * gdk/x11/gdkapplaunchcontext-x11.c:
1457 * gdk/win32/gdkapplaunchcontext-win32.c:
1458 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1459 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1460 parts. All but X11 are just empty stubs for now.
1463 * gdk/gdkinternals.h:
1465 * gdk/x11/Makefile.am:
1466 * gdk/win32/Makefile.am:
1467 * gdk/quartz/Makefile.am:
1468 * gdk/directfb/Makefile.am: Necessary glue.
1470 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1472 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1474 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1476 * gdk/directfb/gdktestutils-directfb.c:
1477 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1478 which adds testing functions to the DirectFB backend.
1480 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1482 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1483 Ciccani which fixes the mixing of gdk and cairo rendering.
1485 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1487 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1488 on "drag-motion" handlers. Clearify documentation for
1491 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1493 * buildertest.c: made unnecessarily exported symbols static.
1494 switched g_return_if_fail() statements in tests to assertions.
1495 special cased currently failing Widget/accesibility test to
1496 run only for g_test_thorough(), so it doesn't break make check.
1497 some coding style fixes.
1499 * Makefile.am: added buildertest to TEST_PROGS.
1501 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1503 * docs/tutorial/gtk-tut.sgml:
1504 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1506 2007-12-10 Richard Hult <richard@imendio.com>
1508 * gdk/quartz/Makefile.am:
1509 * gdk/quartz/gdkquartz.h:
1510 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1511 header (bug #405915). Also add a getter for the toplevel nswindow.
1513 2007-12-10 Richard Hult <richard@imendio.com>
1515 * gdk/quartz/gdkdrawable-quartz.c:
1516 (gdk_quartz_drawable_get_context),
1517 (gdk_quartz_drawable_release_context):
1518 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1519 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1520 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1521 used for each drawing context and in prepare, dispatch and poll
1522 with one that exists across each main loop iteration. Fixes leaks
1523 on leopard and protects against future leaks introduce when the
1524 underlying system changes again (bug #492977).
1526 2007-12-10 Richard Hult <richard@imendio.com>
1528 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1529 Fix the check for no changes to position and size.
1531 2007-12-10 Richard Hult <richard@imendio.com>
1533 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1534 sized areas at (0, 0), patch from Paul Davis.
1536 2007-12-10 Richard Hult <richard@imendio.com>
1538 * gdk/quartz/gdkprivate-quartz.h:
1539 * gdk/quartz/gdkeventloop-quartz.c:
1540 (_gdk_quartz_event_loop_get_pending),
1541 (_gdk_quartz_event_loop_check_pending),
1542 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1543 (gdk_event_check), (gdk_event_dispatch):
1544 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1545 (_gdk_events_queue): Fix a bug where we could end up trying to
1546 handle the same event more than once. Based on patch from Paul
1549 2007-12-10 Tor Lillqvist <tml@novell.com>
1551 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1554 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1556 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1557 to avoid further fallout from the fix for bug 388321.
1559 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1561 * gdk/directfb/gdkgc-directfb.c:
1562 * gdk/directfb/gdkdrawable-directfb.c:
1563 * gdk/directfb/gdkdirectfb.h:
1564 * gdk/directfb/gdkwindow-directfb.c:
1565 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1566 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1567 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1568 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1569 which are expected to improve the performance of the DirectFB backend.
1570 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1572 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1574 * gtk/gtkcontainer.c: Correct the documentation of child
1575 property getter arguments. (#501992, David Brigada)
1577 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1579 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1580 leak pixbufs. (#502250, Yevgen Muntyan)
1582 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1584 * gtk/gtkprintunixdialog.c:
1585 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1586 Print and Page Setup dialogs (#502202).
1588 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1590 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1591 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1592 of XVFB_START, since it's the GTESTER invokation that needs this.
1594 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1596 * gdk-pixbuf/gdk-pixbuf.symbols:
1598 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1599 positives in abicheck.sh
1601 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1603 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1604 GDK events generations in the DirectFB backend.
1606 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1608 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1609 set of likely unused display ids, because MacOS has no seq(1) command.
1611 2007-12-06 Richard Hult <richard@imendio.com>
1613 * gdk/quartz/gdkevents-quartz.c:
1614 (synthesize_crossing_events_for_ns_event): Fix warning when
1615 switching spaces in leopard.
1617 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1619 * tests/floatingtest.c: ported to new testing framework.
1621 * tests/Makefile.am: run floatingtest as testing framework test.
1623 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1625 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1626 timeouts and converting main loop sleeps to pending/iterate loops with
1627 very low priority async handlers. eliminate output for non-verbose
1628 tests. assert successfull subtests in all test functions. use testing
1629 framework in main().
1631 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1632 executed inside Xvfb upon make check.
1634 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1636 * tests/objecttests.c: use string comparisons for string property
1637 values and get rid of referencing symbols in array initialization.
1639 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1641 * gtk+/Makefile.decl: run tests in current dir after setting up the
1642 logging directory, so their results get properly merged into the
1645 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1646 tests to loop over registered Gdk/Gtk+ types.
1648 * gtk+/tests/objecttests.c: new test program, implements automated
1649 property tests. several properties are blacklisted because they
1650 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1651 can be used to test blacklisted properties and see which proprty failed.
1653 2007-12-04 Richard Hult <richard@imendio.com>
1655 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1656 Fully initialize the root window, fixes bug #501583.
1658 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1660 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1663 2007-12-03 Richard Hult <richard@imendio.com>
1665 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1666 Don't crash when dragging from a source that doesn't support uri
1667 lists (bug #499868, Paul Davis).
1669 2007-12-03 Richard Hult <richard@imendio.com>
1671 * gdk/quartz/gdkwindow-quartz.c:
1672 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1673 parent relative bg pixmap is set, and no parent has a bg
1674 pixmap. Fixes bug #500804.
1676 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1678 Two optimizations for icon cache lookups.
1680 * gtk/gtkiconcache.[hc]:
1681 * gtk/gtkicontheme.c: Remember the directory index for
1682 subdirectories, instead of running over the directory list
1685 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1686 chain and try it first; this helps with the the usage patterns
1687 in gtkicontheme.c, where the same icon is queried for a lot
1690 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1692 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1693 functions from header files. this should be portable across linux and
1694 Mac OS, unlike the previpous sed expression.
1696 2007-12-1 Cody Russell <bratsche@gnome.org>
1698 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1699 On Windows, queue a redraw of child2 whenever we set
1700 the pane handle position. This is unfortunately kind
1701 of hacky, but solves the visual artifacts that were
1702 occuring on at least certain types of child widgets
1703 (e.g., text views and tree views) that are inside
1704 horizontal or vertical panes. (#144269)
1706 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1708 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1710 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1712 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1715 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1717 * gtk/Makefile.am: Fix ordering of subdirs.
1719 2007-11-28 Tor Lillqvist <tml@novell.com>
1721 A proper build of GNU libintl is supposed to export the variable
1722 _nl_msg_cat_cntr. configure looks for that variable in order to
1723 recognize GNU gettext. If it sees that it is indeed GNU gettext
1724 that is used, it decides to install message catalogs in
1725 share/locale, otherwise in lib/locale. Until now on Windows I have
1726 built GTK+ against a build of GNU gettext that did not export
1727 _nl_msg_cat_cntr. But this will change, so we can't assume message
1728 catalogs are always in lib/locale.
1730 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1731 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1732 before the inclusion of gtkprivate.h so that it sees the original
1735 * gtk-zip.sh.in: Check whether the message catalogs are in
1736 share/locale or lib/locale.
1738 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1739 that the code in _gtk_get_localedir() will find the slashes.
1741 2007-11-28 Tor Lillqvist <tml@novell.com>
1743 * gtk/Makefile.am: Improve portability. The -o option is present
1744 only in newish GNU egreps. Use one more sed in the pipeline
1747 2007-11-28 Tor Lillqvist <tml@novell.com>
1749 Fix #375893, patch by Ben Hague:
1751 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1752 around GetLogicalDrives() that takes also the viewable drive
1753 restrictions in the Registry (which are usually the result of an
1754 Active Directory Group Policy) into account.
1756 (check_volumes, gtk_file_system_win32_list_volumes) Call
1757 get_viewable_logical_drives() instead of GetLogicalDrives().
1759 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1761 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1762 variables to silence valgrind. (#495124, Morten Welinder)
1764 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1766 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1767 that the construct_child function is responsible for returning a
1769 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1770 objects from constructors
1771 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1772 g_object_ref() to this construction function (it's the only
1777 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1779 * gtkbuilder.c: remove concept of root objects and just refcount
1780 all objects in the builder. Fixes #496651.
1782 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1784 * tests/buildertest.c (test_window): fix invalid free
1786 2007-11-26 Josselin Mouette <joss@malsain.org>
1788 reviewed by: Federico Mena Quintero
1790 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1791 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1792 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1793 Make the shortcuts activate with a single click. (#148828)
1794 Fix a few things affected by the change:
1795 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1796 where no shortcut is selected.
1797 - Don't activate a shortcut in the response callback.
1798 - Filter out duplicate entries in volumes and bookmarks to
1799 avoid the selection to change when reordering them with DnD.
1801 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1804 * gtk/gtknotebook.c:
1805 * gtk/gtkplugprivate.h:
1807 * gtk/gtksocketprivate.h:
1808 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1810 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1812 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1813 (#495574, Richard Hult)
1815 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1817 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1818 String change ! (#376361, Sven Neumann)
1820 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1822 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1824 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1827 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1829 * gtk/gtkassistant.c: Improve alternative button
1830 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1832 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1834 * gtk/gtkcalendar.c: Fix a theming problem with colors
1835 in GtkCalendar. (#499703, Michael Hofmann)
1837 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1839 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1841 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1843 Use templates for glib-mkenums calls instead of
1844 complicated commandlines in Makefiles. (#429910)
1846 * gdk-pixbuf/Makefile.am:
1849 * perf/Makefile.am: Use templates for glib-mkenums
1851 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1852 * gdk/gdkenumtypes.[ch].template:
1853 * gtk/gtktypebuiltings.[ch].template:
1854 * perf/typebuiltins.[ch].template: The templates
1856 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1858 * gtk/gtkfilechooserbutton.c:
1859 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1860 some compilers choke on that. (#467722)
1862 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1864 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1865 about hook setup. (#425004, Emmanuele Bassi)
1867 2007-11-26 Tor Lillqvist <tml@novell.com>
1869 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1870 monitor the window currently is on, not always the primary
1871 monitor. (#463865, Tim Evans)
1873 2007-11-26 Tor Lillqvist <tml@novell.com>
1875 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1877 * gdk/win32/Makefile.am: Add it.
1879 2007-11-26 Tor Lillqvist <tml@novell.com>
1881 * configure.in: Don't add jasper to all_loaders if no libjasper.
1883 2007-11-25 Bastien Nocera <hadess@hadess.net>
1885 * configure.in: Add detection for libjasper, used by the
1886 gdk-pixbuf JPEG2000 loader
1888 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1890 * configure.in: Require gtk-doc 1.8
1892 * */*.c: Use gtk-doc abbreviations for examples in docs.
1894 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1896 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1899 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1901 * gtk/gtkdialog.c: Move signal and property documentation inline,
1902 fix a problem with the ::response signal docs. (#499133, Josselin
1905 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1907 * Makefile.decl: initialize automake variables EXTRA_DIST and
1908 TEST_PROGS for unconditional appending via += in other makefiles.
1909 define recursive test targets: test, test-report, perf-report,
1910 full-report, as described here:
1911 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1912 the test targets will execute Gtk+ test programs within an Xvfb session.
1914 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1916 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1917 g_test_run() to run the tests to integrate with the testing framework.
1919 * gtk/tests/Makefile.am: removed exemplary testing rules.
1921 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1922 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1923 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1924 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1925 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1926 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1927 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1928 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1929 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1930 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1931 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1932 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1933 * modules/engines/ms-windows/Theme/Makefile.am:
1934 * modules/engines/ms-windows/Makefile.am:
1935 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1936 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1937 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1938 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1939 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1940 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1941 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1943 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1945 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1946 (#485662, patch by Herbert Valerio Riedel)
1948 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1950 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1952 2007-11-21 Richard Hult <richard@imendio.com>
1954 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1955 stubs for the testing functions to fix the build.
1957 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1959 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1960 (#467711, The Written Word)
1962 2007-11-21 Ross Burton <ross@openedhand.com>
1964 * gdk/x11/gdksettings.c:
1965 Add xsetting for gtk-scrolled-window-placement (#458103).
1967 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1969 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1970 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1971 (#469239, Michael Natterer)
1973 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1975 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1976 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1977 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1978 (#436536, Tommi Komulainen)
1980 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1982 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1983 property. (#489782, Jan Janech)
1985 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1987 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1988 frames. (#107398, Owen Taylor, Miguel Gomez)
1990 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1992 Moved Gdk test functions from Gtk+ to Gdk test utils.
1994 * gdk/Makefile.am: added gdktestutils.h to public includes.
1996 * gdk/gdk.h: added gdktestutils.h to public includes.
1998 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1999 gdk_test_render_sync.
2001 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2002 gdk_test_simulate_key, gdk_test_render_sync.
2004 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2006 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2007 gdk_test_simulate_key, gdk_test_render_sync.
2009 * gtk/gtktestutils.c:
2010 * gtk/gtktestutils.h:
2011 * gtk/gtk.symbols: removed gtk_test_simulate_button
2012 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2014 * gtk/tests/testing.c: call gdk_test_render_sync.
2016 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2018 Added unit tests for Gtk+ testing utilities.
2020 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2021 utility functions. some g_test_* related portions are disabled and need
2022 to be enabled once Gtk+ depends on a new glib with the GLib testing
2023 framework integrated.
2025 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2026 added exemplary test rules to run tests inside Xvfb. this needs to depend
2027 on gtester for full fledged testing.
2029 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2030 collecting _get_type functions to catch e.g. gtk_text_get_type().
2032 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2034 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2036 Added Gtk+ testing utilities.
2038 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2039 for the most part, the functions herein involve navigating and interacting
2040 with dialog elements programatically, to automate user interaction tests of
2041 dialogs and widgets.
2043 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2045 * gtk/gtk.symbols: added gtk_test_* symbols.
2047 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2048 generate gtktypefuncs.c which contains a list of all _get_type functions in
2050 2007-11-20 Bastien Nocera <hadess@hadess.net>
2052 * configure.in: add support for conditional icns gdk-pixbuf loader
2055 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2057 * configure.in: updated version number to 2.15.0 for development.
2059 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2061 === Branch for 2.12 ===