1 2008-02-07 Michael Natterer <mitch@imendio.com>
8 * gtk/gtkcellrenderercombo.c
11 * gtk/gtkdrawingarea.c
12 * gtk/gtkentrycompletion.c
18 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
19 functions and virtual function implementations.
21 2008-02-07 Christian Persch <chpe@gnome.org>
23 * gdk/gdkpixbuf-render.c:
24 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
25 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
26 otherwise there will be random pixel values in the semi-transparent
27 area of the pixbuf within the mask. Bug #487865.
29 2008-02-06 Cody Russell <bratsche@gnome.org>
31 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
32 otherwise things get wonky when you click on a menu. This fixes
33 a regression caused in #505928. Thanks to Tor for spotting this
36 2008-02-06 Michael Natterer <mitch@imendio.com>
47 * gtk/gtkseparatortoolitem.c
50 * gtk/gtktoggletoolbutton.c
54 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
57 2008-02-05 Matthias Clasen <mclasen@redhat.com>
59 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
60 Allow to store half-open ranges.
62 2008-02-05 Cody Russell <bratsche@gnome.org>
64 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
65 down the stack until we get to a window that is mapped.
66 Otherwise hiding a window will cause all windows in the app
67 to be blocked. (#514643)
69 2008-02-05 Matthias Clasen <mclasen@redhat.com>
71 * gtk/updateiconcache.c: Ignore images in the toplevel theme
72 directory, avoiding one source of invalid caches that has been
75 2008-02-05 Matthias Clasen <mclasen@redhat.com>
77 * gtk/updateiconcache.c: Fix the previous commit to compile.
79 2008-02-05 Matthias Clasen <mclasen@redhat.com>
81 * gtk/updateiconcache.c: Install a printerr handler that
82 prepends the program name, since gtk-update-icon-cache output
83 often appears in the middle of other output, e.g. rpm update logs.
85 2008-02-05 Cody Russell <bratsche@gnome.org>
87 * gdk/win32/gdkprivate-win32.h
88 * gdk/win32/gdkevents-win32.c
89 * gdk/win32/gdkwindow-win32.c
90 * gdk/win32/gdkwindow-win32.h
91 * gdk/win32/gdkwin32.h:
92 Modal window rework. (#455627 and #511111)
94 2008-02-04 Michael Natterer <mitch@imendio.com>
96 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
97 g_return_if_fail() if the cell is not part of the combo instead of
98 crashing in the next line.
100 2008-02-01 Cody Russell <cody@jhu.edu>
102 * modules/engines/ms-windows/xp_theme.[ch]
103 * modules/engines/ms-windows/xp_theme_defs.h
104 * modules/engines/ms-windows/msw_rc_style.c
105 * modules/engines/ms-windows/msw_theme_main.c
106 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
107 attempted to stylize more like the rest of the gtk+ stack's code.
109 2008-02-01 Michael Natterer <mitch@imendio.com>
111 * tests/testgtk.c: initialize GdkColor structs to fix warning
112 about uninitialized "pixel" member.
114 * tests/testactions.c: connect the toolbar_style() callback so it
115 does something useful and doesn't warn about being defined but not
118 2008-01-31 Cody Russell <bratsche@gnome.org>
120 * gdk/win32/gdkevents-win32.c:
121 Refactored some of the window hiding/showing code from
122 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
123 under WM_ACTIVATE was causing the application to go into
124 a weird state when the user right-clicked on the taskbar
125 entry of a window that was minimized. (#505928)
127 2008-01-31 Cody Russell <bratsche@gnome.org>
129 * gtk/gtkpaned.c (gtk_paned_set_position):
130 Change queue_resize() to queue_draw(), and add a check for
131 child2 != NULL in case someone calls this before there is
132 a child packed in there. (#144269 again)
134 2008-01-31 Sven Neumann <sven@gimp.org>
136 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
137 applied patch from Denis Oliver Kropp <dok@directfb.org>.
139 2008-01-31 Sven Neumann <sven@gimp.org>
141 * gdk/directfb/gdkdisplay-directfb.c
142 * gdk/directfb/gdkdrawable-directfb.c
143 * gdk/directfb/gdkprivate-directfb.h
144 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
145 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
147 2008-01-31 Richard Hult <richard@imendio.com>
149 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
150 issues with undecorated windows. Revert the change done on
151 2008-01-25 and fix it by using the view's bounds instead. The
152 bounds will always be up to date when setting up the tracking
153 rect, so this should be more robust.
155 2008-01-30 Sven Neumann <sven@gimp.org>
157 * gdk/directfb/gdkdrawable-directfb.c
158 * gdk/directfb/gdkwindow-directfb.c
159 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
160 Oliver Kropp <dok@directfb.org>. Adds debug messages using
161 DirectFB's debugging system
163 2008-01-30 Sven Neumann <sven@gimp.org>
165 * gdk/directfb/gdkdirectfb.h
166 * gdk/directfb/gdkdisplay-directfb.c
167 * gdk/directfb/gdkdrawable-directfb.c
168 * gdk/directfb/gdkim-directfb.c
169 * gdk/directfb/gdkimage-directfb.c
170 * gdk/directfb/gdkinput-directfb.c
171 * gdk/directfb/gdkmain-directfb.c
172 * gdk/directfb/gdkpixmap-directfb.c
173 * gdk/directfb/gdktestutils-directfb.c
174 * gdk/directfb/gdkvisual-directfb.c
175 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
176 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
177 errors and has some cleanups.
179 2008-01-30 Michael Natterer <mitch@imendio.com>
181 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
182 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
185 * gtk/updateiconcache.c (add_string): cast const gchar* to
186 gpointer when inserting in a GHashTable.
188 * tests/testcalendar.c (calendar_detail_cb): remove const from
189 return value since it's a newly allocated string.
191 (calendar_update_details): free the detail.
193 2008-01-29 Johan Dahlin <johan@gnome.org>
195 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
197 * demos/gtk-demo/demo.ui:
198 Move the about dialog to the glade file, add accessible tags
199 examples to the markup file.
201 2008-01-28 Paolo Borelli <pborelli@katamail.com>
203 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
204 layout, fixes #512375.
206 2008-01-28 Michael Natterer <mitch@imendio.com>
209 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
211 2008-01-28 Michael Natterer <mitch@imendio.com>
213 * demos/gtk-demo/builder.c (about_activate): use
214 gtk_about_dialog_set_program_name() instead of the deprecated
217 2008-01-28 Michael Natterer <mitch@imendio.com>
220 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
223 2008-01-26 Johan Dahlin <johan@gnome.org>
226 * tests/textbuffertest.c:
227 Rename textbuffer test and port it to the new test framework
229 2008-01-25 Johan Dahlin <johan@gnome.org>
231 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
232 unsetting of GTK_MODULES.
234 * gtk/gtk-builder-convert
235 (GtkBuilderConverter._convert_adjustment): Handle the case where
236 there is no child text node.
237 (GtkBuilderConverter): Allow xml comments in most places.
239 2008-01-25 Johan Dahlin <johan@gnome.org>
241 * gtk/gtk-builder-convert
242 (GtkBuilderConverter._convert_combobox_items): Remove the items
243 even if there are no items set.
244 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
245 signals and tooltips for all menu items subclasses and
246 GtkImageMenuItem:label.
247 Makes it possible to fully convert and run Jokosher.glade.
249 2008-01-25 Johan Dahlin <johan@gnome.org>
251 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
252 (gtk_widget_buildable_get_internal_child), (free_action),
253 (free_relation), (gtk_widget_buildable_parser_finished),
254 (accessibility_start_element),
255 (gtk_widget_buildable_custom_tag_start),
256 (gtk_widget_buildable_custom_finished):
257 Implement accessible support, fixes #454653.
259 * gtk/gtk-builder-convert:
260 Add support for migrating old glade files
262 * tests/buildertest.c: (test_widget), (test_file):
263 Add accessible tests and imprve the test_file function to display
264 toplevels and run dialogs.
266 2008-01-25 Richard Hult <richard@imendio.com>
268 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
269 didn't change, fixes focus event issues for undecorated windows.
271 2008-01-25 Richard Hult <richard@imendio.com>
273 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
274 const and remove unused variables).
276 2008-01-25 Michael Natterer <mitch@imendio.com>
279 * gtk/gtkcellrenderer.h
284 * gtk/gtktreeprivate.h
285 * gtk/gtktreeviewcolumn.h
286 * gtk/gtkwidget.h: add const to constant structs which are passed
287 into GTK+. Also add some forgotten const for const strings.
291 * gtk/gtkcellrenderer.c
297 * gtk/gtktreeviewcolumn.c
298 * gtk/gtkwidget.c: changed accordingly.
300 2008-01-25 Sven Herzberg <sven@imendio.com>
302 Reviewed by Johan Dahlin.
304 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
305 this is called with something that's not a GtkUIManager
307 2008-01-24 Johan Dahlin <johan@gnome.org>
309 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
310 Chain up to parent, so widgets can have internal children.
312 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
314 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
317 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
319 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
321 Use pango_layout_set_height() for calendar details (#506049).
323 * configure.in: Require 1.19.3 for pango_layout_set_height().
324 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
326 2008-01-18 Johan Dahlin <johan@gnome.org>
328 * gtk/gtk-builder-convert (get_property_node): New method
329 (GtkBuilderConverter._create_object): Conditionally take a node as
330 a property value, so don't lose translate/context attributes if they
332 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
333 property values instead of strings.
334 (#509153, Erik van Pienbroek)
336 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
338 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
340 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
341 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
342 * tests/testcalendar.c: Duplicate calendar details before returning.
344 2008-01-16 Christian Persch <chpe@gnome.org>
346 * gtk/gtkwidget.c: Store the event mask and extension event mode
347 directly in the gobject data pointer, instead of in an allocated
350 2008-01-16 Michael Natterer <mitch@imendio.com>
352 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
353 gdk-pixbuf now uses gio functions.
355 2008-01-16 Matthias Clasen <mclasen@redhat.com>
357 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
358 the notify::model signal. (#509819, David Zeuthen)
360 2008-01-15 Michael Natterer <mitch@imendio.com>
368 * gdk/gdkwindow.h: made more struct pointer and array parameters
369 const. GDK should now be constified as far as possible without
370 breaking source compatibility. Includes some minor cleanup like
371 indentation and s/nfoo/n_foo/ (bug #508544).
377 * gdk/gdkregion-generic.c
379 * gdk/directfb/gdkdisplay-directfb.c
380 * gdk/directfb/gdkwindow-directfb.c
381 * gdk/quartz/gdkdisplay-quartz.c
382 * gdk/quartz/gdkwindow-quartz.c
383 * gdk/win32/gdkdisplay-win32.c
384 * gdk/win32/gdkwindow-win32.c
385 * gdk/x11/gdkdisplay-x11.c
386 * gdk/x11/gdkwindow-x11.c: changed accordingly.
388 2008-01-14 Michael Natterer <mitch@imendio.com>
390 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
393 (gtk_rc_parse_any): change variables to const and introduce
394 another local variable to fix const warnings.
396 2008-01-14 Michael Natterer <mitch@imendio.com>
398 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
399 of gdk_screen_get_font_options() to gpointer to get rid of const
402 2008-01-14 Michael Natterer <mitch@imendio.com>
404 * tests/testdnd.c (source_drag_data_get): fix another call to
405 gtk_selection_data_set().
407 2008-01-14 Michael Natterer <mitch@imendio.com>
409 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
412 2008-01-14 Michael Natterer <mitch@imendio.com>
414 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
416 2008-01-14 Michael Natterer <mitch@imendio.com>
418 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
419 "uris" to guchar* when passing it to gtk_selection_data_set().
421 2008-01-14 Michael Natterer <mitch@imendio.com>
429 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
430 parameters const (bug #508544).
436 * gdk/gdkpolyreg-generic.c
437 * gdk/gdkregion-generic.c
438 * gdk/directfb/gdkcolor-directfb.c
439 * gdk/directfb/gdkgc-directfb.c
440 * gdk/directfb/gdkgeometry-directfb.c
441 * gdk/directfb/gdkwindow-directfb.c
442 * gdk/quartz/gdkcolor-quartz.c
443 * gdk/quartz/gdkgc-quartz.c
444 * gdk/quartz/gdkgeometry-quartz.c
445 * gdk/quartz/gdkwindow-quartz.c
446 * gdk/win32/gdkcolor-win32.c
447 * gdk/win32/gdkgc-win32.c
448 * gdk/win32/gdkgeometry-win32.c
449 * gdk/win32/gdkprivate-win32.h
450 * gdk/win32/gdkwindow-win32.c
451 * gdk/x11/gdkcolor-x11.c
452 * gdk/x11/gdkgc-x11.c
453 * gdk/x11/gdkgeometry-x11.c
454 * gdk/x11/gdkmain-x11.c
455 * gdk/x11/gdkprivate-x11.h
456 * gdk/x11/gdkwindow-x11.c: changed accordingly.
458 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
461 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
463 Explain name choice for gtk_tool_item_toolbar_reconfigured.
465 * gtk/gtktoolitem.c: Add comment expaining name choice for
466 gtk_tool_item_toolbar_reconfigured.
468 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
470 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
471 implementations to notify its children, when some aspect of their
472 configuration changed (#509042).
474 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
475 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
476 Rename _gtk_tool_item_toolbar_reconfigured.
478 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
480 Include <gtk/gtktoolshell.h> from gtk.h.
482 * gtk/gtk.h: Add gtktoolshell.h
484 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
486 Print angle brackets arround e-mail addresses in the about dialog
487 (#409520, Mariano Suárez-Alvarez).
489 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
491 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
493 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
494 special casing so test widgets are always queues for destruction
497 * gtk/tests/testing.c: removed bits left-over from testing without
500 2008-01-10 Tor Lillqvist <tml@novell.com>
502 * modules/other/gail/libgail-util/Makefile.am
503 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
506 2008-01-10 Tor Lillqvist <tml@novell.com>
508 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
509 uses gtkprintunixdialog API.
511 2008-01-10 Tor Lillqvist <tml@novell.com>
513 * gdk/win32/gdkdisplay-win32.c
514 * gdk/win32/gdkglobals-win32.c
515 * gdk/win32/gdkprivate-win32.h
516 * gdk/win32/gdkscreen-win32.c
517 * gdk/win32/gdkwindow-win32.c: Implement
518 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
519 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
522 2008-01-10 Cody Russell <bratsche@gnome.org>
524 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
525 Properly ref/unref windows and parents. (#506769)
527 2008-01-10 Richard Hult <richard@imendio.com>
529 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
530 (gdk_window_hide), (move_resize_window_internal): Move the
531 tracking rect workaround from here...
533 * gdk/quartz/GdkQuartzWindow.c:
534 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
535 movements during showing/hiding operations. Fixes bug #508516.
537 2008-01-10 Michael Natterer <mitch@imendio.com>
539 * gdk/directfb/gdkscreen-directfb.c
540 (gdk_screen_get_monitor_width_mm)
541 (gdk_screen_get_monitor_height_mm)
542 (gdk_screen_get_monitor_plug_name): add these functions to make
545 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
547 * gtk/gtkrecentchoosermenu.c:
548 (idle_populate_func), (idle_populate_clean_up): Fix possible
549 recursion by resetting the idle source id. (#507605, William
552 2008-01-10 Kristian Rietveld <kris@imendio.com>
554 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
555 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
556 avoid valgrind warnings. (#507751, patch from Christian Persch).
558 2008-01-10 Kristian Rietveld <kris@imendio.com>
560 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
561 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
563 2008-01-10 Kristian Rietveld <kris@imendio.com>
565 Fix #477175, reported by Juri Pakaste.
567 * gtk/gtktreeprivate.h:
568 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
569 tree_view->priv->dy here directly, just calculate the new value
570 and set it on the adjustment,
571 (gtk_tree_view_adjustment_changed): add guards to not call
572 gtk_tree_view_dy_to_top_row() if we are currently in
573 gtk_tree_view_top_row_to_dy(),
574 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
575 coordinates, not tree coordinates,
576 (gtk_tree_view_real_start_editing): add cast.
578 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
579 position of the editable in the "create new row and start editing"
582 2008-01-09 Michael Natterer <mitch@imendio.com>
584 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
587 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
588 * gtk/gtkicontheme.c (theme_list_contexts)
589 (gtk_icon_theme_lookup_icon)
590 * gtk/gtkimcontextsimple.c (beep_window)
591 * gtk/gtklinkbutton.c (set_link_color)
592 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
595 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
596 variable and add const to another to fix a warning.
598 2008-01-07 Matthias Clasen <mclasen@redhat.com>
600 * gtk/gtkassistant.c (remove_page): Be more robust when removing
601 the current page. (#499951, Andreas Sandberg)
603 2008-01-06 Johan Dahlin <johan@gnome.org>
605 * gtk/gtkspinbutton.c: Declare value in the example code for
606 GtkSpinButton::output, as pointed out by Anders Carlsson.
608 2008-01-06 Christian Persch <chpe@gnome.org>
610 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
611 and remove an obsolete event box. Bug #506760.
613 2008-01-06 Johan Dahlin <johan@gnome.org>
615 * tests/buildertest.c (test_domain):
616 Update, GtkBuilder::translation-domain is no longer set
618 * gtk/gtkbuilderparser.c (parse_interface):
619 Allow domains to be overridden in <interface>'s if a translation-domain
620 is set in the builder.
621 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
622 of the builder, make the domain set in the <interface> apply only to strings
624 (#496831, Ryan Lortie)
626 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
629 * gtk/gtktreestore.c (tree_model_end_element):
630 Remove an unused variable
632 2008-01-06 Matthias Clasen <mclasen@redhat.com>
634 * gtk/gtkspinbutton.c: Document the ::output signal and
635 add an example. (#507566, example by Owen Taylor)
637 2008-01-06 Johan Dahlin <johan@gnome.org>
639 * gtk/gtkcellrenderercombo.c:
640 (gtk_cell_renderer_combo_get_property),
641 (gtk_cell_renderer_combo_set_property):
642 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
643 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
644 * gtk/gtknotebook.c: (gtk_notebook_set_property):
645 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
646 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
647 (gtk_text_buffer_get_property):
648 * gtk/gtktextview.c: (gtk_text_view_set_property):
649 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
650 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
651 (gtk_tool_button_get_property):
652 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
653 (gtk_tool_item_get_property):
654 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
655 * gtk/gtkwidget.c: (gtk_widget_set_property):
656 * gtk/gtkwindow.c: (gtk_window_set_property):
657 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
660 2008-01-06 Johan Dahlin <johan@gnome.org>
662 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
663 Make sure that --root works for toplevel widgets.
664 (#491847, Phil Lello)
666 2008-01-05 Johan Dahlin <johan@gnome.org>
668 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
669 to make sure that make test-report works properly
671 2008-01-05 Christian Persch <chpe@gnome.org>
673 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
674 GType as integer through gpointer. Bug #507395.
676 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
678 Avoid some compiler warnings (#507000).
680 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
681 for value argument of _gtk_builder_flags_from_string.
682 * gtk/gtkwidget.c: Don't alias the child pointer passed
683 to gdk_window_get_user_data.
685 2008-01-04 Michael Natterer <mitch@imendio.com>
687 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
688 to set the time in the returned GdkTimeCoords.
690 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
692 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
693 correct comparison function (kudos to Christian Persch and
694 Claudio Saavedra for spotting this)
696 * gtk/gtkrecentchooserutils.c:
697 (sort_recent_items_mru),
698 (sort_recent_items_lru): Ditto as above.
700 2008-01-03 Johan Dahlin <johan@gnome.org>
702 * tests/defaultvaluetest.c: Make it pass again.
704 2008-01-02 Johan Dahlin <johan@gnome.org>
706 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
707 make it pass on Ubuntu.
708 (main): Use gtk_test_list_all_types () instead of providing our
710 And it no longer passes.
712 2007-12-30 Johannes Schmid <jhs@gnome.org>
714 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
715 Also reorder menu when reordering tabs by drag & drop
718 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
719 Add a menu to one of the notebooks to have a test-case for
720 the change mentioned above.
722 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
724 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
726 2007-12-31 Christian Persch <chpe@gnome.org>
728 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
729 Plug a mem leak. Bug #506107.
731 2007-12-28 Matthias Clasen <mclasen@redhat.com>
733 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
734 icon cache api change. (#506135, Kazuki Iwamoto)
736 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
738 Consider "wide-separators" and "separator-height" style properties:
739 The separator is drawn using gtk_paint_box instead of cairo, when
740 "wide-separators" is set. Also do not highlight details for previous
741 or next month, if their day matches the selected day. (#339540)
743 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
744 in gtk_calendar_size_request and calendar_paint_day
745 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
746 for selected detail separators in GtkCalendar.
748 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
750 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
752 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
753 a local variable instead in gtk_calendar_size_request.
755 2007-12-28 Matthias Clasen <mclasen@redhat.com>
757 * tests/defaultvaluetest.c: Add enough exclusions to make the
760 2007-12-28 Christian Persch <chpe@gnome.org>
762 * modules/other/gail/Makefile.am:
763 * modules/other/gail/tests/*:
764 * configure.in: Merge tests from standalone gail. Bug #504568.
766 2007-12-28 Matthias Clasen <mclasen@redhat.com>
768 * gtk/gtkclipboard.c: Make the finalizer work when display is
771 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
773 Draw bottom shadow of GtkCalender headings. (#506113)
775 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
777 2007-12-28 Matthias Clasen <mclasen@redhat.com>
779 * gtk/gtkcalendar.c: Document the initial values of year/month/day
782 2007-12-28 Christian Persch <chpe@gnome.org>
784 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
785 a mem leak. Bug #506096.
787 2007-12-28 Matthias Clasen <mclasen@redhat.com>
791 * gtk/gtkprintoperation.c:
792 * gtk/gtkprogressbar.c:
793 * gtk/gtkmessagedialog.c:
798 * gtk/gtklinkbutton.c:
799 * gtk/gtkmenu.c: More default property value corrections.
801 2007-12-28 Matthias Clasen <mclasen@redhat.com>
803 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
804 accel_group unless it is set.
806 2007-12-28 Matthias Clasen <mclasen@redhat.com>
808 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
810 2007-12-28 Matthias Clasen <mclasen@redhat.com>
812 * gtk/gtkhandlebox.c: Fix the default values of shadow and
813 shadow-type properties.
815 * gtk/gtkfontsel.c: Fix the default values of several properties.
817 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
820 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
822 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
825 2007-12-28 Johan Dahlin <johan@gnome.org>
827 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
828 (gtk_dialog_buildable_custom_tag_start): Chain up.
829 This makes it possible to have accelerators tags on GtkDialog
832 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
834 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
835 are shown within the widget, or just as tooltip. (#339540)
837 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
838 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
839 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
842 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
844 Try more decent appearance of calendar details separator. (#339540)
846 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
847 and make it short by one pixel on each side.
849 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
851 Apply trivial code-style changes from attachement 101101. (#339540)
853 * tests/testcalendar.c: Some updates to current GTK+ code-style.
855 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
857 Restructure testcalendar for testing calendar details. (#339540)
859 * tests/testcalendar.c: Push code arround for testing calendar details.
861 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
863 Implement GtkTooltip API for calendar details. (#339540)
865 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
866 Remember detail overflows in calendar_paint_day to show the tooltip
867 only when neccessary.
869 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
871 Without setting "detail-width-chars" and "detail-height-rows"
872 properties not only the widget has to be redrawn on certain
873 conditions, but also its size must be recalculated. (#339540)
875 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
876 that function instead of gtk_widget_queue_draw.
878 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
880 Consider details for size-request and expose-event. (#339540)
882 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
883 is_color_attribute functions. Change gtk_calendar_size_request
884 and calendar_paint_day to consider and show calender details.
886 2007-12-28 Matthias Clasen <mclasen@redhat.com>
888 * gtk/gtkcombobox.c: Introduce local priv variables to
891 2007-12-27 Matthias Clasen <mclasen@redhat.com>
893 * gtk/gtkcombobox.c: Correct the default value for the
894 tearoff-title property.
896 * gtk/gtkcellrenderertext.c: Fix the default value for the
897 wrap-mode and font-scale properties.
899 * gtk/gtkaspectratio.c: Fix the default value for the ratio
902 2007-12-27 Matthias Clasen <mclasen@redhat.com>
904 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
905 defines. (#505708, MINAMI Hirokazu)
907 2007-12-27 Christian Persch <chpe@gnome.org>
909 * Makefile.am: Install gail.pc. Bug #505859.
911 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
913 Add infrastructure for GtkCalendar details. (#339540)
915 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
916 Add "detail-width-chars" and "detail-height-rows" properties,
917 and gtk_calendar_set_detail_func function.
919 2007-12-27 Xan Lopez <xan@gnome.org>
922 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
924 Add gtk_border_new to avoid memory allocator confusions when using
925 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
927 2007-12-27 Christian Persch <chpe@gnome.org>
929 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
930 bug #504886 not to read unitialised memory.
932 2007-12-26 Xan Lopez <xan@gnome.org>
934 * gtk/gtkstatusbar.c (has_extra_children): take into account the
935 modification of the internal frame contents to decide if we have
936 extra children. (#415677)
938 2007-12-22 Christian Persch <chpe@gnome.org>
940 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
942 2007-12-25 Christian Persch <chpe@gnome.org>
944 * modules/other/gail/gailwindow.c: (gail_window_initialize):
945 Initialise |widget|. Fixes a buglet introduced by the commit from bug
948 2007-12-25 Christian Persch <chpe@gnome.org>
950 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
952 2007-12-25 Christian Persch <chpe@gnome.org>
954 * modules/other/gail/*.[ch]: Remove relocations from the atk
955 factories. Remove unused gail_foo_new() functions. Fix object
956 instantiation to be derivation safe by moving initialisation code
957 from the removed gail_foo_new() functions to the
958 AtkObjectClass::initialize implementation. Bug #505226.
960 2007-12-24 Matthias Clasen <mclasen@redhat.com>
962 * modules/other/gail/gailentry.c:
963 * modules/other/gail/gailimage.c:
964 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
965 uses of clipboards and settings. (#504722, Christian Persch)
967 2007-12-24 Matthias Clasen <mclasen@redhat.com>
969 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
972 2007-12-24 Matthias Clasen <mclasen@redhat.com>
974 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
975 use the time and button information from the event. (#504901,
978 2007-12-23 Cody Russell <bratsche@gnome.org>
980 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
981 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
982 Fixes a regression caused by #164537 patch where transient
983 windows that are hidden get shown (incorrectly) when their
984 parents are minimized. (#504984)
986 2007-12-22 Christian Persch <chpe@gnome.org>
988 * modules/other/gail/gailcell.c:
989 * modules/other/gail/gailcontainercell.c:
990 * modules/other/gail/gailexpander.c:
991 * modules/other/gail/gailtextcell.c:
992 * modules/other/gail/gailtextview.c:
993 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
995 2007-12-22 Christian Persch <chpe@gnome.org>
997 * modules/other/gail/*.c: Include config.h. Bug #504720.
999 2007-12-22 Christian Persch <chpe@gnome.org>
1001 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1002 handwritten get_type functions. Bug #504661.
1004 2007-12-23 Xan Lopez <xan@gnome.org>
1006 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1007 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1009 Patch by Sadrul Habib Chowdhury (#504804)
1011 2007-12-22 Christian Persch <chpe@gnome.org>
1013 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1014 #504645, patch by Li Yuan.
1016 2007-12-22 Christian Persch <chpe@gnome.org>
1018 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1020 2007-12-22 Christian Persch <chpe@gnome.org>
1022 * modules/other/gail/gail.c:
1023 * modules/other/gail/gailbutton.c:
1024 * modules/other/gail/gailcell.c:
1025 * modules/other/gail/gailcombo.c:
1026 * modules/other/gail/gailcombo.h:
1027 * modules/other/gail/gailcombobox.c:
1028 * modules/other/gail/gailentry.c:
1029 * modules/other/gail/gailexpander.c:
1030 * modules/other/gail/gailmenuitem.c:
1031 * modules/other/gail/gailnotebook.c:
1032 * modules/other/gail/gailnotebookpage.c:
1033 * modules/other/gail/gailnotebookpage.h:
1034 * modules/other/gail/gailoptionmenu.c:
1035 * modules/other/gail/gailrange.c:
1036 * modules/other/gail/gailtextview.c:
1037 * modules/other/gail/gailtreeview.c:
1038 * modules/other/gail/gailtreeview.h:
1039 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1042 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1044 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1047 2007-12-21 Richard Hult <richard@imendio.com>
1049 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1050 Plug leak of destroyed subviews, fixes bug #504753.
1052 2007-12-20 Johan Dahlin <johan@gnome.org>
1054 * tests/Makefile.am (TEST_PROGS):
1055 * tests/defaultvaluetest.c: Add a test for default values,
1056 based on program by Christan Perch
1058 2007-12-20 Johan Dahlin <johan@gnome.org>
1060 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1061 Refactor to avoid some duplication.
1062 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1063 Fixes #504749, Yuri Pimenov
1065 2007-12-20 Kristian Rietveld <kris@imendio.com>
1067 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1068 the build work again on systems without xrandr 1.2.
1070 2007-12-20 Christian Persch <chpe@gnome.org>
1073 * modules/other/gail/libgail-util/Makefile.am:
1074 Keep the same libtool version as the standalone libgail-util had.
1077 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1079 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1081 2007-12-20 Alexander Larsson <alexl@redhat.com>
1083 * gdk/x11/gdkapplaunchcontext-x11.c:
1084 Update for gio API changes
1086 2007-12-20 Richard Hult <richard@imendio.com>
1088 * gdk/quartz/GdkQuartzWindow.c:
1089 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1090 processing events after changing the size.
1092 2007-12-20 Richard Hult <richard@imendio.com>
1094 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1095 Add stub for quartz to fix build.
1097 2007-12-20 Christian Persch <chpe@gnome.org>
1099 * modules/other/gail/Makefile.am:
1100 * modules/other/gail/gailimage.c: (gail_image_class_init),
1101 (gail_image_init), (elide_underscores), (gail_image_get_name),
1102 (atk_image_interface_init), (gail_image_finalize):
1103 * modules/other/gail/gailimage.h:
1104 R modules/other/gail/gailintl.h:
1105 * po/POTFILES.skip: Use the stock item's label as the name of the
1106 accessible in gailimage.c. Bug #504246.
1108 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1110 Avoid some compiler warnings and remove obsolete code. (#339540)
1112 * gtk/gtkcalendar.c: Change week and year variable in
1113 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1114 0" block from calendar_paint_day: The feature in question is handled
1115 few lines above. Cast data returned by gtk_selection_data_get_text()
1116 to (gchar*) in gtk_calendar_drag_data_received.
1118 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1120 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1122 2007-12-19 Johan Dahlin <johan@gnome.org>
1124 * tests/buildertest.c (test_object_properties):
1125 Add another call to gtk_builder_add_string after using
1126 delayed properties, as reported in #504393 but already
1129 2007-12-18 Christian Persch <chpe@gnome.org>
1132 * docs/reference/Makefile.am:
1133 * docs/reference/libgail-util/*:
1134 * gail-uninstalled.pc.in:
1136 * modules/Makefile.am:
1137 * modules/other/Makefile.am:
1138 * modules/other/gail/*:
1139 * modules/other/gail/libgail-util/*:
1140 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1142 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1144 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1145 * gdk/win32/gdkproperty-win32.c:
1146 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1148 * gtk/gtkimmodule.[hc]:
1149 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1150 look at the gtk-im-module setting, and listen for changes to the
1151 setting. (#502446, Akira Tagoh)
1153 2007-12-17 Kristian Rietveld <kris@imendio.com>
1155 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1156 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1157 to NULL as soon as it's destroyed. (#496546, patch from
1160 2007-12-17 Kristian Rietveld <kris@imendio.com>
1162 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1163 always determine what arrow to show if show_sort_indicator is true.
1164 (#352738, Chris Vine).
1166 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1168 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1169 Sébastien Granjoux)
1171 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1172 gtk_container_foreach in get_child_panes.
1174 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1176 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1178 Plug leak: When reordering the info in the list the old node is
1179 removed but not freed. (#503569)
1181 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1183 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1184 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1185 are deprecated since DirectFB 1.0.0. If compiling with an older
1186 version define the new type name to the old types. Fixes bug #503190.
1188 2007-12-14 Ray Strode <rstrode@redhat.com>
1190 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1191 instead of g_signal_connect_after (..., "realize", ...) as an
1192 alternative to gtk_widget_realize () (bug 503537).
1194 2007-12-14 Michael Natterer <mitch@imendio.com>
1196 * gdk/gdkinternals.h
1197 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1200 * gdk/gdkapplaunchcontext.c
1201 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1202 header already includes everything now.
1204 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1206 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1207 next stable release shall be 2.16, not 2.14 - even if disagree.
1209 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1211 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1213 Change GtkToolItem to retrieve its properties from GtkToolShell
1214 interface, instead of relying on being child of a GtkToolbar.
1217 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1218 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1219 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1220 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1221 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1222 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1223 Take section docs from template file and update them for GtkToolShell.
1224 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1225 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1227 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1229 Extract loading of GtkPageSetup and GtkPrintSettings from their
1230 *_new_*() functions and move that code into separate
1231 *_load_*() functions (#475565).
1233 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1234 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1235 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1236 Change the matching *_new_*() functions to use those functions.
1238 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1241 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1243 2007-12-14 Kristian Rietveld <kris@imendio.com>
1245 * gtk/tests/liststore.c:
1246 * gtk/tests/treestore.c: added tests for insertion functions.
1248 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1250 * Add RandR 1.2 support
1252 - New monitors_changed signal - New API to get width/height of
1253 monitors, and the name of the plug
1255 2007-12-13 Kristian Rietveld <kris@imendio.com>
1257 * gtk/tests/liststore.c:
1258 * gtk/tests/treestore.c: test the move and swap functions on a
1259 store with only one node.
1261 2007-12-13 Kristian Rietveld <kris@imendio.com>
1263 * gtk/gtktestutils.c (gtk_test_init): add a call to
1266 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1269 2007-12-13 Kristian Rietveld <kris@imendio.com>
1271 * gtk/tests/liststore.c:
1272 * gtk/tests/treestore.c: start composing tests for the list and tree
1275 * gtk/tests/treeview-scrolling.c: added automated tests for
1276 GtkTreeView's scrolling "subsystem".
1278 * gtk/tests/Makefile.am: updated; added new test programs.
1280 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1282 Make the code compile again after the GdkAppLaunchContext changes.
1284 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1285 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1287 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1289 * gdk/gdkapplaunchcontext.c: Add docs
1291 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1293 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1294 in gdk, providing startup notification. (#503203)
1296 * gdk/x11/gdkapplaunchcontext-x11.c:
1297 * gdk/win32/gdkapplaunchcontext-win32.c:
1298 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1299 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1300 parts. All but X11 are just empty stubs for now.
1303 * gdk/gdkinternals.h:
1305 * gdk/x11/Makefile.am:
1306 * gdk/win32/Makefile.am:
1307 * gdk/quartz/Makefile.am:
1308 * gdk/directfb/Makefile.am: Necessary glue.
1310 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1312 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1314 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1316 * gdk/directfb/gdktestutils-directfb.c:
1317 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1318 which adds testing functions to the DirectFB backend.
1320 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1322 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1323 Ciccani which fixes the mixing of gdk and cairo rendering.
1325 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1327 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1328 on "drag-motion" handlers. Clearify documentation for
1331 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1333 * buildertest.c: made unnecessarily exported symbols static.
1334 switched g_return_if_fail() statements in tests to assertions.
1335 special cased currently failing Widget/accesibility test to
1336 run only for g_test_thorough(), so it doesn't break make check.
1337 some coding style fixes.
1339 * Makefile.am: added buildertest to TEST_PROGS.
1341 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1343 * docs/tutorial/gtk-tut.sgml:
1344 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1346 2007-12-10 Richard Hult <richard@imendio.com>
1348 * gdk/quartz/Makefile.am:
1349 * gdk/quartz/gdkquartz.h:
1350 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1351 header (bug #405915). Also add a getter for the toplevel nswindow.
1353 2007-12-10 Richard Hult <richard@imendio.com>
1355 * gdk/quartz/gdkdrawable-quartz.c:
1356 (gdk_quartz_drawable_get_context),
1357 (gdk_quartz_drawable_release_context):
1358 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1359 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1360 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1361 used for each drawing context and in prepare, dispatch and poll
1362 with one that exists across each main loop iteration. Fixes leaks
1363 on leopard and protects against future leaks introduce when the
1364 underlying system changes again (bug #492977).
1366 2007-12-10 Richard Hult <richard@imendio.com>
1368 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1369 Fix the check for no changes to position and size.
1371 2007-12-10 Richard Hult <richard@imendio.com>
1373 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1374 sized areas at (0, 0), patch from Paul Davis.
1376 2007-12-10 Richard Hult <richard@imendio.com>
1378 * gdk/quartz/gdkprivate-quartz.h:
1379 * gdk/quartz/gdkeventloop-quartz.c:
1380 (_gdk_quartz_event_loop_get_pending),
1381 (_gdk_quartz_event_loop_check_pending),
1382 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1383 (gdk_event_check), (gdk_event_dispatch):
1384 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1385 (_gdk_events_queue): Fix a bug where we could end up trying to
1386 handle the same event more than once. Based on patch from Paul
1389 2007-12-10 Tor Lillqvist <tml@novell.com>
1391 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1394 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1396 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1397 to avoid further fallout from the fix for bug 388321.
1399 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1401 * gdk/directfb/gdkgc-directfb.c:
1402 * gdk/directfb/gdkdrawable-directfb.c:
1403 * gdk/directfb/gdkdirectfb.h:
1404 * gdk/directfb/gdkwindow-directfb.c:
1405 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1406 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1407 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1408 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1409 which are expected to improve the performance of the DirectFB backend.
1410 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1412 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1414 * gtk/gtkcontainer.c: Correct the documentation of child
1415 property getter arguments. (#501992, David Brigada)
1417 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1419 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1420 leak pixbufs. (#502250, Yevgen Muntyan)
1422 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1424 * gtk/gtkprintunixdialog.c:
1425 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1426 Print and Page Setup dialogs (#502202).
1428 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1430 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1431 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1432 of XVFB_START, since it's the GTESTER invokation that needs this.
1434 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1436 * gdk-pixbuf/gdk-pixbuf.symbols:
1438 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1439 positives in abicheck.sh
1441 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1443 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1444 GDK events generations in the DirectFB backend.
1446 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1448 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1449 set of likely unused display ids, because MacOS has no seq(1) command.
1451 2007-12-06 Richard Hult <richard@imendio.com>
1453 * gdk/quartz/gdkevents-quartz.c:
1454 (synthesize_crossing_events_for_ns_event): Fix warning when
1455 switching spaces in leopard.
1457 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1459 * tests/floatingtest.c: ported to new testing framework.
1461 * tests/Makefile.am: run floatingtest as testing framework test.
1463 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1465 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1466 timeouts and converting main loop sleeps to pending/iterate loops with
1467 very low priority async handlers. eliminate output for non-verbose
1468 tests. assert successfull subtests in all test functions. use testing
1469 framework in main().
1471 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1472 executed inside Xvfb upon make check.
1474 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1476 * tests/objecttests.c: use string comparisons for string property
1477 values and get rid of referencing symbols in array initialization.
1479 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1481 * gtk+/Makefile.decl: run tests in current dir after setting up the
1482 logging directory, so their results get properly merged into the
1485 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1486 tests to loop over registered Gdk/Gtk+ types.
1488 * gtk+/tests/objecttests.c: new test program, implements automated
1489 property tests. several properties are blacklisted because they
1490 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1491 can be used to test blacklisted properties and see which proprty failed.
1493 2007-12-04 Richard Hult <richard@imendio.com>
1495 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1496 Fully initialize the root window, fixes bug #501583.
1498 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1500 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1503 2007-12-03 Richard Hult <richard@imendio.com>
1505 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1506 Don't crash when dragging from a source that doesn't support uri
1507 lists (bug #499868, Paul Davis).
1509 2007-12-03 Richard Hult <richard@imendio.com>
1511 * gdk/quartz/gdkwindow-quartz.c:
1512 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1513 parent relative bg pixmap is set, and no parent has a bg
1514 pixmap. Fixes bug #500804.
1516 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1518 Two optimizations for icon cache lookups.
1520 * gtk/gtkiconcache.[hc]:
1521 * gtk/gtkicontheme.c: Remember the directory index for
1522 subdirectories, instead of running over the directory list
1525 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1526 chain and try it first; this helps with the the usage patterns
1527 in gtkicontheme.c, where the same icon is queried for a lot
1530 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1532 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1533 functions from header files. this should be portable across linux and
1534 Mac OS, unlike the previpous sed expression.
1536 2007-12-1 Cody Russell <bratsche@gnome.org>
1538 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1539 On Windows, queue a redraw of child2 whenever we set
1540 the pane handle position. This is unfortunately kind
1541 of hacky, but solves the visual artifacts that were
1542 occuring on at least certain types of child widgets
1543 (e.g., text views and tree views) that are inside
1544 horizontal or vertical panes. (#144269)
1546 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1548 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1550 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1552 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1555 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1557 * gtk/Makefile.am: Fix ordering of subdirs.
1559 2007-11-28 Tor Lillqvist <tml@novell.com>
1561 A proper build of GNU libintl is supposed to export the variable
1562 _nl_msg_cat_cntr. configure looks for that variable in order to
1563 recognize GNU gettext. If it sees that it is indeed GNU gettext
1564 that is used, it decides to install message catalogs in
1565 share/locale, otherwise in lib/locale. Until now on Windows I have
1566 built GTK+ against a build of GNU gettext that did not export
1567 _nl_msg_cat_cntr. But this will change, so we can't assume message
1568 catalogs are always in lib/locale.
1570 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1571 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1572 before the inclusion of gtkprivate.h so that it sees the original
1575 * gtk-zip.sh.in: Check whether the message catalogs are in
1576 share/locale or lib/locale.
1578 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1579 that the code in _gtk_get_localedir() will find the slashes.
1581 2007-11-28 Tor Lillqvist <tml@novell.com>
1583 * gtk/Makefile.am: Improve portability. The -o option is present
1584 only in newish GNU egreps. Use one more sed in the pipeline
1587 2007-11-28 Tor Lillqvist <tml@novell.com>
1589 Fix #375893, patch by Ben Hague:
1591 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1592 around GetLogicalDrives() that takes also the viewable drive
1593 restrictions in the Registry (which are usually the result of an
1594 Active Directory Group Policy) into account.
1596 (check_volumes, gtk_file_system_win32_list_volumes) Call
1597 get_viewable_logical_drives() instead of GetLogicalDrives().
1599 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1601 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1602 variables to silence valgrind. (#495124, Morten Welinder)
1604 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1606 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1607 that the construct_child function is responsible for returning a
1609 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1610 objects from constructors
1611 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1612 g_object_ref() to this construction function (it's the only
1617 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1619 * gtkbuilder.c: remove concept of root objects and just refcount
1620 all objects in the builder. Fixes #496651.
1622 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1624 * tests/buildertest.c (test_window): fix invalid free
1626 2007-11-26 Josselin Mouette <joss@malsain.org>
1628 reviewed by: Federico Mena Quintero
1630 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1631 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1632 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1633 Make the shortcuts activate with a single click. (#148828)
1634 Fix a few things affected by the change:
1635 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1636 where no shortcut is selected.
1637 - Don't activate a shortcut in the response callback.
1638 - Filter out duplicate entries in volumes and bookmarks to
1639 avoid the selection to change when reordering them with DnD.
1641 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1644 * gtk/gtknotebook.c:
1645 * gtk/gtkplugprivate.h:
1647 * gtk/gtksocketprivate.h:
1648 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1650 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1652 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1653 (#495574, Richard Hult)
1655 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1657 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1658 String change ! (#376361, Sven Neumann)
1660 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1662 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1664 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1667 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1669 * gtk/gtkassistant.c: Improve alternative button
1670 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1672 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1674 * gtk/gtkcalendar.c: Fix a theming problem with colors
1675 in GtkCalendar. (#499703, Michael Hofmann)
1677 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1679 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1681 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1683 Use templates for glib-mkenums calls instead of
1684 complicated commandlines in Makefiles. (#429910)
1686 * gdk-pixbuf/Makefile.am:
1689 * perf/Makefile.am: Use templates for glib-mkenums
1691 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1692 * gdk/gdkenumtypes.[ch].template:
1693 * gtk/gtktypebuiltings.[ch].template:
1694 * perf/typebuiltins.[ch].template: The templates
1696 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1698 * gtk/gtkfilechooserbutton.c:
1699 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1700 some compilers choke on that. (#467722)
1702 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1704 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1705 about hook setup. (#425004, Emmanuele Bassi)
1707 2007-11-26 Tor Lillqvist <tml@novell.com>
1709 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1710 monitor the window currently is on, not always the primary
1711 monitor. (#463865, Tim Evans)
1713 2007-11-26 Tor Lillqvist <tml@novell.com>
1715 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1717 * gdk/win32/Makefile.am: Add it.
1719 2007-11-26 Tor Lillqvist <tml@novell.com>
1721 * configure.in: Don't add jasper to all_loaders if no libjasper.
1723 2007-11-25 Bastien Nocera <hadess@hadess.net>
1725 * configure.in: Add detection for libjasper, used by the
1726 gdk-pixbuf JPEG2000 loader
1728 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1730 * configure.in: Require gtk-doc 1.8
1732 * */*.c: Use gtk-doc abbreviations for examples in docs.
1734 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1736 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1739 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1741 * gtk/gtkdialog.c: Move signal and property documentation inline,
1742 fix a problem with the ::response signal docs. (#499133, Josselin
1745 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1747 * Makefile.decl: initialize automake variables EXTRA_DIST and
1748 TEST_PROGS for unconditional appending via += in other makefiles.
1749 define recursive test targets: test, test-report, perf-report,
1750 full-report, as described here:
1751 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1752 the test targets will execute Gtk+ test programs within an Xvfb session.
1754 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1756 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1757 g_test_run() to run the tests to integrate with the testing framework.
1759 * gtk/tests/Makefile.am: removed exemplary testing rules.
1761 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1762 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1763 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1764 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1765 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1766 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1767 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1768 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1769 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1770 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1771 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1772 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1773 * modules/engines/ms-windows/Theme/Makefile.am:
1774 * modules/engines/ms-windows/Makefile.am:
1775 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1776 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1777 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1778 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1779 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1780 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1781 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1783 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1785 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1786 (#485662, patch by Herbert Valerio Riedel)
1788 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1790 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1792 2007-11-21 Richard Hult <richard@imendio.com>
1794 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1795 stubs for the testing functions to fix the build.
1797 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1799 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1800 (#467711, The Written Word)
1802 2007-11-21 Ross Burton <ross@openedhand.com>
1804 * gdk/x11/gdksettings.c:
1805 Add xsetting for gtk-scrolled-window-placement (#458103).
1807 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1809 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1810 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1811 (#469239, Michael Natterer)
1813 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1815 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1816 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1817 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1818 (#436536, Tommi Komulainen)
1820 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1822 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1823 property. (#489782, Jan Janech)
1825 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1827 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1828 frames. (#107398, Owen Taylor, Miguel Gomez)
1830 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1832 Moved Gdk test functions from Gtk+ to Gdk test utils.
1834 * gdk/Makefile.am: added gdktestutils.h to public includes.
1836 * gdk/gdk.h: added gdktestutils.h to public includes.
1838 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1839 gdk_test_render_sync.
1841 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1842 gdk_test_simulate_key, gdk_test_render_sync.
1844 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1846 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1847 gdk_test_simulate_key, gdk_test_render_sync.
1849 * gtk/gtktestutils.c:
1850 * gtk/gtktestutils.h:
1851 * gtk/gtk.symbols: removed gtk_test_simulate_button
1852 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1854 * gtk/tests/testing.c: call gdk_test_render_sync.
1856 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1858 Added unit tests for Gtk+ testing utilities.
1860 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1861 utility functions. some g_test_* related portions are disabled and need
1862 to be enabled once Gtk+ depends on a new glib with the GLib testing
1863 framework integrated.
1865 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1866 added exemplary test rules to run tests inside Xvfb. this needs to depend
1867 on gtester for full fledged testing.
1869 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1870 collecting _get_type functions to catch e.g. gtk_text_get_type().
1872 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1874 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1876 Added Gtk+ testing utilities.
1878 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1879 for the most part, the functions herein involve navigating and interacting
1880 with dialog elements programatically, to automate user interaction tests of
1881 dialogs and widgets.
1883 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1885 * gtk/gtk.symbols: added gtk_test_* symbols.
1887 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1888 generate gtktypefuncs.c which contains a list of all _get_type functions in
1890 2007-11-20 Bastien Nocera <hadess@hadess.net>
1892 * configure.in: add support for conditional icns gdk-pixbuf loader
1895 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1897 * configure.in: updated version number to 2.15.0 for development.
1899 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1901 === Branch for 2.12 ===