1 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
5 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
8 (recent_model_sort_drag_data_get):
9 (search_model_sort_drag_data_get):
10 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
11 * gtk/gtkpathbar.c (button_drag_data_get_cb):
12 Use gtk_selection_data_set_uris() instead of doing it
13 by hand. (#514890, Christian Persch)
15 2008-02-12 Michael Natterer <mitch@imendio.com>
17 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
18 gtk_get_current_event_time().
20 2008-02-12 Michael Natterer <mitch@imendio.com>
22 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
23 gtk_window_get_key_hash() to get the hash instead of manually
24 fiddling with quarks and gtk_window_keys_changed(). Also add
25 g_return_if_fail() to this public function.
27 2008-02-11 Matthias Clasen <mclasen@redhat.com>
29 Support keynav in status icons. (#473786, Li Yuan)
31 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
33 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
35 2008-02-11 Kristian Rietveld <kris@imendio.com>
37 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
38 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
39 wrt. link deletion from list; contination of fix for #503569.
41 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
43 * gtk/gtkrecentchoosermenu.c:
44 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
45 on the placeholder menu item.
47 * tests/testrecentchoosermenu.c:
48 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
49 whether the placeholder menu item gets shown.
51 2008-02-10 Cody Russell <bratsche@gnome.org>
53 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
54 Check the return value of _gtk_file_chooser_get_file_system () for
55 NULL before passing it to gtk_file_system_path_to_uri ().
56 (#515667, Francesco Montorsi)
58 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
60 * gtk/gtkbuilder.c: Improve the documentation for
61 gtk_builder_connect_signals. (#514471)
63 2008-02-10 Matthias Clasen <mclasen@redhat.com>
65 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
68 2008-02-08 Cody Russell <bratsche@gnome.org>
70 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
71 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
73 2008-02-08 Richard Hult <richard@imendio.com>
75 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
76 delta from the NSEvent for now, generating multiple scroll events
77 results in a lot of events getting queued up and things get really
80 2008-02-08 Sven Herzberg <sven@imendio.com>
82 Adjust the code to match the documentation, examples, "common sense"
83 and existing applications.
85 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
86 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
89 2008-02-07 Cody Russell <bratsche@gnome.org>
91 * gdk/win32/gdkevents-win32.c
92 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
93 of a block that were causing compile problems on old
94 compilers. (#515053, reported by Kazuki IWAMOTO)
96 2008-02-07 Michael Natterer <mitch@imendio.com>
105 * gtk/gtkoptionmenu.c
109 * gtk/gtkradiomenuitem.c
111 * gtk/gtkscrolledwindow.c
112 * gtk/gtksocket.c: remove g_return_if_fail() from private
113 functions and virtual function implementations.
115 2008-02-07 Michael Natterer <mitch@imendio.com>
122 * gtk/gtkcellrenderercombo.c
125 * gtk/gtkdrawingarea.c
126 * gtk/gtkentrycompletion.c
132 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
133 functions and virtual function implementations.
135 2008-02-07 Christian Persch <chpe@gnome.org>
137 * gdk/gdkpixbuf-render.c:
138 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
139 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
140 otherwise there will be random pixel values in the semi-transparent
141 area of the pixbuf within the mask. Bug #487865.
143 2008-02-06 Cody Russell <bratsche@gnome.org>
145 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
146 otherwise things get wonky when you click on a menu. This fixes
147 a regression caused in #505928. Thanks to Tor for spotting this
150 2008-02-06 Michael Natterer <mitch@imendio.com>
161 * gtk/gtkseparatortoolitem.c
163 * gtk/gtktextlayout.c
164 * gtk/gtktoggletoolbutton.c
165 * gtk/gtktoolbutton.c
168 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
171 2008-02-05 Matthias Clasen <mclasen@redhat.com>
173 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
174 Allow to store half-open ranges.
176 2008-02-05 Cody Russell <bratsche@gnome.org>
178 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
179 down the stack until we get to a window that is mapped.
180 Otherwise hiding a window will cause all windows in the app
181 to be blocked. (#514643)
183 2008-02-05 Matthias Clasen <mclasen@redhat.com>
185 * gtk/updateiconcache.c: Ignore images in the toplevel theme
186 directory, avoiding one source of invalid caches that has been
189 2008-02-05 Matthias Clasen <mclasen@redhat.com>
191 * gtk/updateiconcache.c: Fix the previous commit to compile.
193 2008-02-05 Matthias Clasen <mclasen@redhat.com>
195 * gtk/updateiconcache.c: Install a printerr handler that
196 prepends the program name, since gtk-update-icon-cache output
197 often appears in the middle of other output, e.g. rpm update logs.
199 2008-02-05 Cody Russell <bratsche@gnome.org>
201 * gdk/win32/gdkprivate-win32.h
202 * gdk/win32/gdkevents-win32.c
203 * gdk/win32/gdkwindow-win32.c
204 * gdk/win32/gdkwindow-win32.h
205 * gdk/win32/gdkwin32.h:
206 Modal window rework. (#455627 and #511111)
208 2008-02-04 Michael Natterer <mitch@imendio.com>
210 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
211 g_return_if_fail() if the cell is not part of the combo instead of
212 crashing in the next line.
214 2008-02-01 Cody Russell <cody@jhu.edu>
216 * modules/engines/ms-windows/xp_theme.[ch]
217 * modules/engines/ms-windows/xp_theme_defs.h
218 * modules/engines/ms-windows/msw_rc_style.c
219 * modules/engines/ms-windows/msw_theme_main.c
220 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
221 attempted to stylize more like the rest of the gtk+ stack's code.
223 2008-02-01 Michael Natterer <mitch@imendio.com>
225 * tests/testgtk.c: initialize GdkColor structs to fix warning
226 about uninitialized "pixel" member.
228 * tests/testactions.c: connect the toolbar_style() callback so it
229 does something useful and doesn't warn about being defined but not
232 2008-01-31 Cody Russell <bratsche@gnome.org>
234 * gdk/win32/gdkevents-win32.c:
235 Refactored some of the window hiding/showing code from
236 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
237 under WM_ACTIVATE was causing the application to go into
238 a weird state when the user right-clicked on the taskbar
239 entry of a window that was minimized. (#505928)
241 2008-01-31 Cody Russell <bratsche@gnome.org>
243 * gtk/gtkpaned.c (gtk_paned_set_position):
244 Change queue_resize() to queue_draw(), and add a check for
245 child2 != NULL in case someone calls this before there is
246 a child packed in there. (#144269 again)
248 2008-01-31 Sven Neumann <sven@gimp.org>
250 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
251 applied patch from Denis Oliver Kropp <dok@directfb.org>.
253 2008-01-31 Sven Neumann <sven@gimp.org>
255 * gdk/directfb/gdkdisplay-directfb.c
256 * gdk/directfb/gdkdrawable-directfb.c
257 * gdk/directfb/gdkprivate-directfb.h
258 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
259 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
261 2008-01-31 Richard Hult <richard@imendio.com>
263 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
264 issues with undecorated windows. Revert the change done on
265 2008-01-25 and fix it by using the view's bounds instead. The
266 bounds will always be up to date when setting up the tracking
267 rect, so this should be more robust.
269 2008-01-30 Sven Neumann <sven@gimp.org>
271 * gdk/directfb/gdkdrawable-directfb.c
272 * gdk/directfb/gdkwindow-directfb.c
273 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
274 Oliver Kropp <dok@directfb.org>. Adds debug messages using
275 DirectFB's debugging system
277 2008-01-30 Sven Neumann <sven@gimp.org>
279 * gdk/directfb/gdkdirectfb.h
280 * gdk/directfb/gdkdisplay-directfb.c
281 * gdk/directfb/gdkdrawable-directfb.c
282 * gdk/directfb/gdkim-directfb.c
283 * gdk/directfb/gdkimage-directfb.c
284 * gdk/directfb/gdkinput-directfb.c
285 * gdk/directfb/gdkmain-directfb.c
286 * gdk/directfb/gdkpixmap-directfb.c
287 * gdk/directfb/gdktestutils-directfb.c
288 * gdk/directfb/gdkvisual-directfb.c
289 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
290 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
291 errors and has some cleanups.
293 2008-01-30 Michael Natterer <mitch@imendio.com>
295 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
296 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
299 * gtk/updateiconcache.c (add_string): cast const gchar* to
300 gpointer when inserting in a GHashTable.
302 * tests/testcalendar.c (calendar_detail_cb): remove const from
303 return value since it's a newly allocated string.
305 (calendar_update_details): free the detail.
307 2008-01-29 Johan Dahlin <johan@gnome.org>
309 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
311 * demos/gtk-demo/demo.ui:
312 Move the about dialog to the glade file, add accessible tags
313 examples to the markup file.
315 2008-01-28 Paolo Borelli <pborelli@katamail.com>
317 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
318 layout, fixes #512375.
320 2008-01-28 Michael Natterer <mitch@imendio.com>
323 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
325 2008-01-28 Michael Natterer <mitch@imendio.com>
327 * demos/gtk-demo/builder.c (about_activate): use
328 gtk_about_dialog_set_program_name() instead of the deprecated
331 2008-01-28 Michael Natterer <mitch@imendio.com>
334 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
337 2008-01-26 Johan Dahlin <johan@gnome.org>
340 * tests/textbuffertest.c:
341 Rename textbuffer test and port it to the new test framework
343 2008-01-25 Johan Dahlin <johan@gnome.org>
345 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
346 unsetting of GTK_MODULES.
348 * gtk/gtk-builder-convert
349 (GtkBuilderConverter._convert_adjustment): Handle the case where
350 there is no child text node.
351 (GtkBuilderConverter): Allow xml comments in most places.
353 2008-01-25 Johan Dahlin <johan@gnome.org>
355 * gtk/gtk-builder-convert
356 (GtkBuilderConverter._convert_combobox_items): Remove the items
357 even if there are no items set.
358 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
359 signals and tooltips for all menu items subclasses and
360 GtkImageMenuItem:label.
361 Makes it possible to fully convert and run Jokosher.glade.
363 2008-01-25 Johan Dahlin <johan@gnome.org>
365 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
366 (gtk_widget_buildable_get_internal_child), (free_action),
367 (free_relation), (gtk_widget_buildable_parser_finished),
368 (accessibility_start_element),
369 (gtk_widget_buildable_custom_tag_start),
370 (gtk_widget_buildable_custom_finished):
371 Implement accessible support, fixes #454653.
373 * gtk/gtk-builder-convert:
374 Add support for migrating old glade files
376 * tests/buildertest.c: (test_widget), (test_file):
377 Add accessible tests and imprve the test_file function to display
378 toplevels and run dialogs.
380 2008-01-25 Richard Hult <richard@imendio.com>
382 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
383 didn't change, fixes focus event issues for undecorated windows.
385 2008-01-25 Richard Hult <richard@imendio.com>
387 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
388 const and remove unused variables).
390 2008-01-25 Michael Natterer <mitch@imendio.com>
393 * gtk/gtkcellrenderer.h
398 * gtk/gtktreeprivate.h
399 * gtk/gtktreeviewcolumn.h
400 * gtk/gtkwidget.h: add const to constant structs which are passed
401 into GTK+. Also add some forgotten const for const strings.
405 * gtk/gtkcellrenderer.c
411 * gtk/gtktreeviewcolumn.c
412 * gtk/gtkwidget.c: changed accordingly.
414 2008-01-25 Sven Herzberg <sven@imendio.com>
416 Reviewed by Johan Dahlin.
418 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
419 this is called with something that's not a GtkUIManager
421 2008-01-24 Johan Dahlin <johan@gnome.org>
423 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
424 Chain up to parent, so widgets can have internal children.
426 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
428 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
431 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
433 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
435 Use pango_layout_set_height() for calendar details (#506049).
437 * configure.in: Require 1.19.3 for pango_layout_set_height().
438 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
440 2008-01-18 Johan Dahlin <johan@gnome.org>
442 * gtk/gtk-builder-convert (get_property_node): New method
443 (GtkBuilderConverter._create_object): Conditionally take a node as
444 a property value, so don't lose translate/context attributes if they
446 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
447 property values instead of strings.
448 (#509153, Erik van Pienbroek)
450 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
452 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
454 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
455 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
456 * tests/testcalendar.c: Duplicate calendar details before returning.
458 2008-01-16 Christian Persch <chpe@gnome.org>
460 * gtk/gtkwidget.c: Store the event mask and extension event mode
461 directly in the gobject data pointer, instead of in an allocated
464 2008-01-16 Michael Natterer <mitch@imendio.com>
466 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
467 gdk-pixbuf now uses gio functions.
469 2008-01-16 Matthias Clasen <mclasen@redhat.com>
471 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
472 the notify::model signal. (#509819, David Zeuthen)
474 2008-01-15 Michael Natterer <mitch@imendio.com>
482 * gdk/gdkwindow.h: made more struct pointer and array parameters
483 const. GDK should now be constified as far as possible without
484 breaking source compatibility. Includes some minor cleanup like
485 indentation and s/nfoo/n_foo/ (bug #508544).
491 * gdk/gdkregion-generic.c
493 * gdk/directfb/gdkdisplay-directfb.c
494 * gdk/directfb/gdkwindow-directfb.c
495 * gdk/quartz/gdkdisplay-quartz.c
496 * gdk/quartz/gdkwindow-quartz.c
497 * gdk/win32/gdkdisplay-win32.c
498 * gdk/win32/gdkwindow-win32.c
499 * gdk/x11/gdkdisplay-x11.c
500 * gdk/x11/gdkwindow-x11.c: changed accordingly.
502 2008-01-14 Michael Natterer <mitch@imendio.com>
504 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
507 (gtk_rc_parse_any): change variables to const and introduce
508 another local variable to fix const warnings.
510 2008-01-14 Michael Natterer <mitch@imendio.com>
512 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
513 of gdk_screen_get_font_options() to gpointer to get rid of const
516 2008-01-14 Michael Natterer <mitch@imendio.com>
518 * tests/testdnd.c (source_drag_data_get): fix another call to
519 gtk_selection_data_set().
521 2008-01-14 Michael Natterer <mitch@imendio.com>
523 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
526 2008-01-14 Michael Natterer <mitch@imendio.com>
528 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
530 2008-01-14 Michael Natterer <mitch@imendio.com>
532 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
533 "uris" to guchar* when passing it to gtk_selection_data_set().
535 2008-01-14 Michael Natterer <mitch@imendio.com>
543 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
544 parameters const (bug #508544).
550 * gdk/gdkpolyreg-generic.c
551 * gdk/gdkregion-generic.c
552 * gdk/directfb/gdkcolor-directfb.c
553 * gdk/directfb/gdkgc-directfb.c
554 * gdk/directfb/gdkgeometry-directfb.c
555 * gdk/directfb/gdkwindow-directfb.c
556 * gdk/quartz/gdkcolor-quartz.c
557 * gdk/quartz/gdkgc-quartz.c
558 * gdk/quartz/gdkgeometry-quartz.c
559 * gdk/quartz/gdkwindow-quartz.c
560 * gdk/win32/gdkcolor-win32.c
561 * gdk/win32/gdkgc-win32.c
562 * gdk/win32/gdkgeometry-win32.c
563 * gdk/win32/gdkprivate-win32.h
564 * gdk/win32/gdkwindow-win32.c
565 * gdk/x11/gdkcolor-x11.c
566 * gdk/x11/gdkgc-x11.c
567 * gdk/x11/gdkgeometry-x11.c
568 * gdk/x11/gdkmain-x11.c
569 * gdk/x11/gdkprivate-x11.h
570 * gdk/x11/gdkwindow-x11.c: changed accordingly.
572 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
575 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
577 Explain name choice for gtk_tool_item_toolbar_reconfigured.
579 * gtk/gtktoolitem.c: Add comment expaining name choice for
580 gtk_tool_item_toolbar_reconfigured.
582 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
584 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
585 implementations to notify its children, when some aspect of their
586 configuration changed (#509042).
588 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
589 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
590 Rename _gtk_tool_item_toolbar_reconfigured.
592 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
594 Include <gtk/gtktoolshell.h> from gtk.h.
596 * gtk/gtk.h: Add gtktoolshell.h
598 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
600 Print angle brackets arround e-mail addresses in the about dialog
601 (#409520, Mariano Suárez-Alvarez).
603 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
605 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
607 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
608 special casing so test widgets are always queues for destruction
611 * gtk/tests/testing.c: removed bits left-over from testing without
614 2008-01-10 Tor Lillqvist <tml@novell.com>
616 * modules/other/gail/libgail-util/Makefile.am
617 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
620 2008-01-10 Tor Lillqvist <tml@novell.com>
622 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
623 uses gtkprintunixdialog API.
625 2008-01-10 Tor Lillqvist <tml@novell.com>
627 * gdk/win32/gdkdisplay-win32.c
628 * gdk/win32/gdkglobals-win32.c
629 * gdk/win32/gdkprivate-win32.h
630 * gdk/win32/gdkscreen-win32.c
631 * gdk/win32/gdkwindow-win32.c: Implement
632 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
633 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
636 2008-01-10 Cody Russell <bratsche@gnome.org>
638 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
639 Properly ref/unref windows and parents. (#506769)
641 2008-01-10 Richard Hult <richard@imendio.com>
643 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
644 (gdk_window_hide), (move_resize_window_internal): Move the
645 tracking rect workaround from here...
647 * gdk/quartz/GdkQuartzWindow.c:
648 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
649 movements during showing/hiding operations. Fixes bug #508516.
651 2008-01-10 Michael Natterer <mitch@imendio.com>
653 * gdk/directfb/gdkscreen-directfb.c
654 (gdk_screen_get_monitor_width_mm)
655 (gdk_screen_get_monitor_height_mm)
656 (gdk_screen_get_monitor_plug_name): add these functions to make
659 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
661 * gtk/gtkrecentchoosermenu.c:
662 (idle_populate_func), (idle_populate_clean_up): Fix possible
663 recursion by resetting the idle source id. (#507605, William
666 2008-01-10 Kristian Rietveld <kris@imendio.com>
668 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
669 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
670 avoid valgrind warnings. (#507751, patch from Christian Persch).
672 2008-01-10 Kristian Rietveld <kris@imendio.com>
674 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
675 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
677 2008-01-10 Kristian Rietveld <kris@imendio.com>
679 Fix #477175, reported by Juri Pakaste.
681 * gtk/gtktreeprivate.h:
682 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
683 tree_view->priv->dy here directly, just calculate the new value
684 and set it on the adjustment,
685 (gtk_tree_view_adjustment_changed): add guards to not call
686 gtk_tree_view_dy_to_top_row() if we are currently in
687 gtk_tree_view_top_row_to_dy(),
688 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
689 coordinates, not tree coordinates,
690 (gtk_tree_view_real_start_editing): add cast.
692 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
693 position of the editable in the "create new row and start editing"
696 2008-01-09 Michael Natterer <mitch@imendio.com>
698 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
701 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
702 * gtk/gtkicontheme.c (theme_list_contexts)
703 (gtk_icon_theme_lookup_icon)
704 * gtk/gtkimcontextsimple.c (beep_window)
705 * gtk/gtklinkbutton.c (set_link_color)
706 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
709 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
710 variable and add const to another to fix a warning.
712 2008-01-07 Matthias Clasen <mclasen@redhat.com>
714 * gtk/gtkassistant.c (remove_page): Be more robust when removing
715 the current page. (#499951, Andreas Sandberg)
717 2008-01-06 Johan Dahlin <johan@gnome.org>
719 * gtk/gtkspinbutton.c: Declare value in the example code for
720 GtkSpinButton::output, as pointed out by Anders Carlsson.
722 2008-01-06 Christian Persch <chpe@gnome.org>
724 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
725 and remove an obsolete event box. Bug #506760.
727 2008-01-06 Johan Dahlin <johan@gnome.org>
729 * tests/buildertest.c (test_domain):
730 Update, GtkBuilder::translation-domain is no longer set
732 * gtk/gtkbuilderparser.c (parse_interface):
733 Allow domains to be overridden in <interface>'s if a translation-domain
734 is set in the builder.
735 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
736 of the builder, make the domain set in the <interface> apply only to strings
738 (#496831, Ryan Lortie)
740 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
743 * gtk/gtktreestore.c (tree_model_end_element):
744 Remove an unused variable
746 2008-01-06 Matthias Clasen <mclasen@redhat.com>
748 * gtk/gtkspinbutton.c: Document the ::output signal and
749 add an example. (#507566, example by Owen Taylor)
751 2008-01-06 Johan Dahlin <johan@gnome.org>
753 * gtk/gtkcellrenderercombo.c:
754 (gtk_cell_renderer_combo_get_property),
755 (gtk_cell_renderer_combo_set_property):
756 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
757 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
758 * gtk/gtknotebook.c: (gtk_notebook_set_property):
759 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
760 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
761 (gtk_text_buffer_get_property):
762 * gtk/gtktextview.c: (gtk_text_view_set_property):
763 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
764 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
765 (gtk_tool_button_get_property):
766 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
767 (gtk_tool_item_get_property):
768 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
769 * gtk/gtkwidget.c: (gtk_widget_set_property):
770 * gtk/gtkwindow.c: (gtk_window_set_property):
771 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
774 2008-01-06 Johan Dahlin <johan@gnome.org>
776 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
777 Make sure that --root works for toplevel widgets.
778 (#491847, Phil Lello)
780 2008-01-05 Johan Dahlin <johan@gnome.org>
782 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
783 to make sure that make test-report works properly
785 2008-01-05 Christian Persch <chpe@gnome.org>
787 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
788 GType as integer through gpointer. Bug #507395.
790 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
792 Avoid some compiler warnings (#507000).
794 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
795 for value argument of _gtk_builder_flags_from_string.
796 * gtk/gtkwidget.c: Don't alias the child pointer passed
797 to gdk_window_get_user_data.
799 2008-01-04 Michael Natterer <mitch@imendio.com>
801 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
802 to set the time in the returned GdkTimeCoords.
804 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
806 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
807 correct comparison function (kudos to Christian Persch and
808 Claudio Saavedra for spotting this)
810 * gtk/gtkrecentchooserutils.c:
811 (sort_recent_items_mru),
812 (sort_recent_items_lru): Ditto as above.
814 2008-01-03 Johan Dahlin <johan@gnome.org>
816 * tests/defaultvaluetest.c: Make it pass again.
818 2008-01-02 Johan Dahlin <johan@gnome.org>
820 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
821 make it pass on Ubuntu.
822 (main): Use gtk_test_list_all_types () instead of providing our
824 And it no longer passes.
826 2007-12-30 Johannes Schmid <jhs@gnome.org>
828 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
829 Also reorder menu when reordering tabs by drag & drop
832 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
833 Add a menu to one of the notebooks to have a test-case for
834 the change mentioned above.
836 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
838 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
840 2007-12-31 Christian Persch <chpe@gnome.org>
842 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
843 Plug a mem leak. Bug #506107.
845 2007-12-28 Matthias Clasen <mclasen@redhat.com>
847 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
848 icon cache api change. (#506135, Kazuki Iwamoto)
850 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
852 Consider "wide-separators" and "separator-height" style properties:
853 The separator is drawn using gtk_paint_box instead of cairo, when
854 "wide-separators" is set. Also do not highlight details for previous
855 or next month, if their day matches the selected day. (#339540)
857 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
858 in gtk_calendar_size_request and calendar_paint_day
859 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
860 for selected detail separators in GtkCalendar.
862 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
864 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
866 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
867 a local variable instead in gtk_calendar_size_request.
869 2007-12-28 Matthias Clasen <mclasen@redhat.com>
871 * tests/defaultvaluetest.c: Add enough exclusions to make the
874 2007-12-28 Christian Persch <chpe@gnome.org>
876 * modules/other/gail/Makefile.am:
877 * modules/other/gail/tests/*:
878 * configure.in: Merge tests from standalone gail. Bug #504568.
880 2007-12-28 Matthias Clasen <mclasen@redhat.com>
882 * gtk/gtkclipboard.c: Make the finalizer work when display is
885 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
887 Draw bottom shadow of GtkCalender headings. (#506113)
889 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
891 2007-12-28 Matthias Clasen <mclasen@redhat.com>
893 * gtk/gtkcalendar.c: Document the initial values of year/month/day
896 2007-12-28 Christian Persch <chpe@gnome.org>
898 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
899 a mem leak. Bug #506096.
901 2007-12-28 Matthias Clasen <mclasen@redhat.com>
905 * gtk/gtkprintoperation.c:
906 * gtk/gtkprogressbar.c:
907 * gtk/gtkmessagedialog.c:
912 * gtk/gtklinkbutton.c:
913 * gtk/gtkmenu.c: More default property value corrections.
915 2007-12-28 Matthias Clasen <mclasen@redhat.com>
917 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
918 accel_group unless it is set.
920 2007-12-28 Matthias Clasen <mclasen@redhat.com>
922 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
924 2007-12-28 Matthias Clasen <mclasen@redhat.com>
926 * gtk/gtkhandlebox.c: Fix the default values of shadow and
927 shadow-type properties.
929 * gtk/gtkfontsel.c: Fix the default values of several properties.
931 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
934 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
936 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
939 2007-12-28 Johan Dahlin <johan@gnome.org>
941 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
942 (gtk_dialog_buildable_custom_tag_start): Chain up.
943 This makes it possible to have accelerators tags on GtkDialog
946 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
948 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
949 are shown within the widget, or just as tooltip. (#339540)
951 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
952 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
953 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
956 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
958 Try more decent appearance of calendar details separator. (#339540)
960 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
961 and make it short by one pixel on each side.
963 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
965 Apply trivial code-style changes from attachement 101101. (#339540)
967 * tests/testcalendar.c: Some updates to current GTK+ code-style.
969 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
971 Restructure testcalendar for testing calendar details. (#339540)
973 * tests/testcalendar.c: Push code arround for testing calendar details.
975 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
977 Implement GtkTooltip API for calendar details. (#339540)
979 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
980 Remember detail overflows in calendar_paint_day to show the tooltip
981 only when neccessary.
983 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
985 Without setting "detail-width-chars" and "detail-height-rows"
986 properties not only the widget has to be redrawn on certain
987 conditions, but also its size must be recalculated. (#339540)
989 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
990 that function instead of gtk_widget_queue_draw.
992 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
994 Consider details for size-request and expose-event. (#339540)
996 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
997 is_color_attribute functions. Change gtk_calendar_size_request
998 and calendar_paint_day to consider and show calender details.
1000 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1002 * gtk/gtkcombobox.c: Introduce local priv variables to
1005 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1007 * gtk/gtkcombobox.c: Correct the default value for the
1008 tearoff-title property.
1010 * gtk/gtkcellrenderertext.c: Fix the default value for the
1011 wrap-mode and font-scale properties.
1013 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1016 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1018 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1019 defines. (#505708, MINAMI Hirokazu)
1021 2007-12-27 Christian Persch <chpe@gnome.org>
1023 * Makefile.am: Install gail.pc. Bug #505859.
1025 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1027 Add infrastructure for GtkCalendar details. (#339540)
1029 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1030 Add "detail-width-chars" and "detail-height-rows" properties,
1031 and gtk_calendar_set_detail_func function.
1033 2007-12-27 Xan Lopez <xan@gnome.org>
1036 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1038 Add gtk_border_new to avoid memory allocator confusions when using
1039 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1041 2007-12-27 Christian Persch <chpe@gnome.org>
1043 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1044 bug #504886 not to read unitialised memory.
1046 2007-12-26 Xan Lopez <xan@gnome.org>
1048 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1049 modification of the internal frame contents to decide if we have
1050 extra children. (#415677)
1052 2007-12-22 Christian Persch <chpe@gnome.org>
1054 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1056 2007-12-25 Christian Persch <chpe@gnome.org>
1058 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1059 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1062 2007-12-25 Christian Persch <chpe@gnome.org>
1064 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1066 2007-12-25 Christian Persch <chpe@gnome.org>
1068 * modules/other/gail/*.[ch]: Remove relocations from the atk
1069 factories. Remove unused gail_foo_new() functions. Fix object
1070 instantiation to be derivation safe by moving initialisation code
1071 from the removed gail_foo_new() functions to the
1072 AtkObjectClass::initialize implementation. Bug #505226.
1074 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1076 * modules/other/gail/gailentry.c:
1077 * modules/other/gail/gailimage.c:
1078 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1079 uses of clipboards and settings. (#504722, Christian Persch)
1081 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1083 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1086 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1088 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1089 use the time and button information from the event. (#504901,
1092 2007-12-23 Cody Russell <bratsche@gnome.org>
1094 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1095 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1096 Fixes a regression caused by #164537 patch where transient
1097 windows that are hidden get shown (incorrectly) when their
1098 parents are minimized. (#504984)
1100 2007-12-22 Christian Persch <chpe@gnome.org>
1102 * modules/other/gail/gailcell.c:
1103 * modules/other/gail/gailcontainercell.c:
1104 * modules/other/gail/gailexpander.c:
1105 * modules/other/gail/gailtextcell.c:
1106 * modules/other/gail/gailtextview.c:
1107 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1109 2007-12-22 Christian Persch <chpe@gnome.org>
1111 * modules/other/gail/*.c: Include config.h. Bug #504720.
1113 2007-12-22 Christian Persch <chpe@gnome.org>
1115 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1116 handwritten get_type functions. Bug #504661.
1118 2007-12-23 Xan Lopez <xan@gnome.org>
1120 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1121 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1123 Patch by Sadrul Habib Chowdhury (#504804)
1125 2007-12-22 Christian Persch <chpe@gnome.org>
1127 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1128 #504645, patch by Li Yuan.
1130 2007-12-22 Christian Persch <chpe@gnome.org>
1132 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1134 2007-12-22 Christian Persch <chpe@gnome.org>
1136 * modules/other/gail/gail.c:
1137 * modules/other/gail/gailbutton.c:
1138 * modules/other/gail/gailcell.c:
1139 * modules/other/gail/gailcombo.c:
1140 * modules/other/gail/gailcombo.h:
1141 * modules/other/gail/gailcombobox.c:
1142 * modules/other/gail/gailentry.c:
1143 * modules/other/gail/gailexpander.c:
1144 * modules/other/gail/gailmenuitem.c:
1145 * modules/other/gail/gailnotebook.c:
1146 * modules/other/gail/gailnotebookpage.c:
1147 * modules/other/gail/gailnotebookpage.h:
1148 * modules/other/gail/gailoptionmenu.c:
1149 * modules/other/gail/gailrange.c:
1150 * modules/other/gail/gailtextview.c:
1151 * modules/other/gail/gailtreeview.c:
1152 * modules/other/gail/gailtreeview.h:
1153 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1156 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1158 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1161 2007-12-21 Richard Hult <richard@imendio.com>
1163 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1164 Plug leak of destroyed subviews, fixes bug #504753.
1166 2007-12-20 Johan Dahlin <johan@gnome.org>
1168 * tests/Makefile.am (TEST_PROGS):
1169 * tests/defaultvaluetest.c: Add a test for default values,
1170 based on program by Christan Perch
1172 2007-12-20 Johan Dahlin <johan@gnome.org>
1174 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1175 Refactor to avoid some duplication.
1176 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1177 Fixes #504749, Yuri Pimenov
1179 2007-12-20 Kristian Rietveld <kris@imendio.com>
1181 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1182 the build work again on systems without xrandr 1.2.
1184 2007-12-20 Christian Persch <chpe@gnome.org>
1187 * modules/other/gail/libgail-util/Makefile.am:
1188 Keep the same libtool version as the standalone libgail-util had.
1191 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1193 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1195 2007-12-20 Alexander Larsson <alexl@redhat.com>
1197 * gdk/x11/gdkapplaunchcontext-x11.c:
1198 Update for gio API changes
1200 2007-12-20 Richard Hult <richard@imendio.com>
1202 * gdk/quartz/GdkQuartzWindow.c:
1203 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1204 processing events after changing the size.
1206 2007-12-20 Richard Hult <richard@imendio.com>
1208 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1209 Add stub for quartz to fix build.
1211 2007-12-20 Christian Persch <chpe@gnome.org>
1213 * modules/other/gail/Makefile.am:
1214 * modules/other/gail/gailimage.c: (gail_image_class_init),
1215 (gail_image_init), (elide_underscores), (gail_image_get_name),
1216 (atk_image_interface_init), (gail_image_finalize):
1217 * modules/other/gail/gailimage.h:
1218 R modules/other/gail/gailintl.h:
1219 * po/POTFILES.skip: Use the stock item's label as the name of the
1220 accessible in gailimage.c. Bug #504246.
1222 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1224 Avoid some compiler warnings and remove obsolete code. (#339540)
1226 * gtk/gtkcalendar.c: Change week and year variable in
1227 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1228 0" block from calendar_paint_day: The feature in question is handled
1229 few lines above. Cast data returned by gtk_selection_data_get_text()
1230 to (gchar*) in gtk_calendar_drag_data_received.
1232 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1234 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1236 2007-12-19 Johan Dahlin <johan@gnome.org>
1238 * tests/buildertest.c (test_object_properties):
1239 Add another call to gtk_builder_add_string after using
1240 delayed properties, as reported in #504393 but already
1243 2007-12-18 Christian Persch <chpe@gnome.org>
1246 * docs/reference/Makefile.am:
1247 * docs/reference/libgail-util/*:
1248 * gail-uninstalled.pc.in:
1250 * modules/Makefile.am:
1251 * modules/other/Makefile.am:
1252 * modules/other/gail/*:
1253 * modules/other/gail/libgail-util/*:
1254 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1256 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1258 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1259 * gdk/win32/gdkproperty-win32.c:
1260 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1262 * gtk/gtkimmodule.[hc]:
1263 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1264 look at the gtk-im-module setting, and listen for changes to the
1265 setting. (#502446, Akira Tagoh)
1267 2007-12-17 Kristian Rietveld <kris@imendio.com>
1269 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1270 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1271 to NULL as soon as it's destroyed. (#496546, patch from
1274 2007-12-17 Kristian Rietveld <kris@imendio.com>
1276 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1277 always determine what arrow to show if show_sort_indicator is true.
1278 (#352738, Chris Vine).
1280 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1282 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1283 Sébastien Granjoux)
1285 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1286 gtk_container_foreach in get_child_panes.
1288 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1290 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1292 Plug leak: When reordering the info in the list the old node is
1293 removed but not freed. (#503569)
1295 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1297 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1298 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1299 are deprecated since DirectFB 1.0.0. If compiling with an older
1300 version define the new type name to the old types. Fixes bug #503190.
1302 2007-12-14 Ray Strode <rstrode@redhat.com>
1304 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1305 instead of g_signal_connect_after (..., "realize", ...) as an
1306 alternative to gtk_widget_realize () (bug 503537).
1308 2007-12-14 Michael Natterer <mitch@imendio.com>
1310 * gdk/gdkinternals.h
1311 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1314 * gdk/gdkapplaunchcontext.c
1315 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1316 header already includes everything now.
1318 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1320 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1321 next stable release shall be 2.16, not 2.14 - even if disagree.
1323 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1325 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1327 Change GtkToolItem to retrieve its properties from GtkToolShell
1328 interface, instead of relying on being child of a GtkToolbar.
1331 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1332 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1333 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1334 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1335 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1336 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1337 Take section docs from template file and update them for GtkToolShell.
1338 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1339 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1341 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1343 Extract loading of GtkPageSetup and GtkPrintSettings from their
1344 *_new_*() functions and move that code into separate
1345 *_load_*() functions (#475565).
1347 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1348 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1349 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1350 Change the matching *_new_*() functions to use those functions.
1352 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1355 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1357 2007-12-14 Kristian Rietveld <kris@imendio.com>
1359 * gtk/tests/liststore.c:
1360 * gtk/tests/treestore.c: added tests for insertion functions.
1362 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1364 * Add RandR 1.2 support
1366 - New monitors_changed signal - New API to get width/height of
1367 monitors, and the name of the plug
1369 2007-12-13 Kristian Rietveld <kris@imendio.com>
1371 * gtk/tests/liststore.c:
1372 * gtk/tests/treestore.c: test the move and swap functions on a
1373 store with only one node.
1375 2007-12-13 Kristian Rietveld <kris@imendio.com>
1377 * gtk/gtktestutils.c (gtk_test_init): add a call to
1380 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1383 2007-12-13 Kristian Rietveld <kris@imendio.com>
1385 * gtk/tests/liststore.c:
1386 * gtk/tests/treestore.c: start composing tests for the list and tree
1389 * gtk/tests/treeview-scrolling.c: added automated tests for
1390 GtkTreeView's scrolling "subsystem".
1392 * gtk/tests/Makefile.am: updated; added new test programs.
1394 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1396 Make the code compile again after the GdkAppLaunchContext changes.
1398 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1399 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1401 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1403 * gdk/gdkapplaunchcontext.c: Add docs
1405 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1407 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1408 in gdk, providing startup notification. (#503203)
1410 * gdk/x11/gdkapplaunchcontext-x11.c:
1411 * gdk/win32/gdkapplaunchcontext-win32.c:
1412 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1413 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1414 parts. All but X11 are just empty stubs for now.
1417 * gdk/gdkinternals.h:
1419 * gdk/x11/Makefile.am:
1420 * gdk/win32/Makefile.am:
1421 * gdk/quartz/Makefile.am:
1422 * gdk/directfb/Makefile.am: Necessary glue.
1424 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1426 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1428 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1430 * gdk/directfb/gdktestutils-directfb.c:
1431 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1432 which adds testing functions to the DirectFB backend.
1434 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1436 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1437 Ciccani which fixes the mixing of gdk and cairo rendering.
1439 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1441 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1442 on "drag-motion" handlers. Clearify documentation for
1445 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1447 * buildertest.c: made unnecessarily exported symbols static.
1448 switched g_return_if_fail() statements in tests to assertions.
1449 special cased currently failing Widget/accesibility test to
1450 run only for g_test_thorough(), so it doesn't break make check.
1451 some coding style fixes.
1453 * Makefile.am: added buildertest to TEST_PROGS.
1455 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1457 * docs/tutorial/gtk-tut.sgml:
1458 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1460 2007-12-10 Richard Hult <richard@imendio.com>
1462 * gdk/quartz/Makefile.am:
1463 * gdk/quartz/gdkquartz.h:
1464 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1465 header (bug #405915). Also add a getter for the toplevel nswindow.
1467 2007-12-10 Richard Hult <richard@imendio.com>
1469 * gdk/quartz/gdkdrawable-quartz.c:
1470 (gdk_quartz_drawable_get_context),
1471 (gdk_quartz_drawable_release_context):
1472 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1473 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1474 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1475 used for each drawing context and in prepare, dispatch and poll
1476 with one that exists across each main loop iteration. Fixes leaks
1477 on leopard and protects against future leaks introduce when the
1478 underlying system changes again (bug #492977).
1480 2007-12-10 Richard Hult <richard@imendio.com>
1482 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1483 Fix the check for no changes to position and size.
1485 2007-12-10 Richard Hult <richard@imendio.com>
1487 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1488 sized areas at (0, 0), patch from Paul Davis.
1490 2007-12-10 Richard Hult <richard@imendio.com>
1492 * gdk/quartz/gdkprivate-quartz.h:
1493 * gdk/quartz/gdkeventloop-quartz.c:
1494 (_gdk_quartz_event_loop_get_pending),
1495 (_gdk_quartz_event_loop_check_pending),
1496 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1497 (gdk_event_check), (gdk_event_dispatch):
1498 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1499 (_gdk_events_queue): Fix a bug where we could end up trying to
1500 handle the same event more than once. Based on patch from Paul
1503 2007-12-10 Tor Lillqvist <tml@novell.com>
1505 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1508 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1510 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1511 to avoid further fallout from the fix for bug 388321.
1513 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1515 * gdk/directfb/gdkgc-directfb.c:
1516 * gdk/directfb/gdkdrawable-directfb.c:
1517 * gdk/directfb/gdkdirectfb.h:
1518 * gdk/directfb/gdkwindow-directfb.c:
1519 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1520 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1521 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1522 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1523 which are expected to improve the performance of the DirectFB backend.
1524 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1526 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1528 * gtk/gtkcontainer.c: Correct the documentation of child
1529 property getter arguments. (#501992, David Brigada)
1531 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1533 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1534 leak pixbufs. (#502250, Yevgen Muntyan)
1536 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1538 * gtk/gtkprintunixdialog.c:
1539 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1540 Print and Page Setup dialogs (#502202).
1542 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1544 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1545 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1546 of XVFB_START, since it's the GTESTER invokation that needs this.
1548 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1550 * gdk-pixbuf/gdk-pixbuf.symbols:
1552 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1553 positives in abicheck.sh
1555 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1557 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1558 GDK events generations in the DirectFB backend.
1560 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1562 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1563 set of likely unused display ids, because MacOS has no seq(1) command.
1565 2007-12-06 Richard Hult <richard@imendio.com>
1567 * gdk/quartz/gdkevents-quartz.c:
1568 (synthesize_crossing_events_for_ns_event): Fix warning when
1569 switching spaces in leopard.
1571 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1573 * tests/floatingtest.c: ported to new testing framework.
1575 * tests/Makefile.am: run floatingtest as testing framework test.
1577 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1579 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1580 timeouts and converting main loop sleeps to pending/iterate loops with
1581 very low priority async handlers. eliminate output for non-verbose
1582 tests. assert successfull subtests in all test functions. use testing
1583 framework in main().
1585 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1586 executed inside Xvfb upon make check.
1588 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1590 * tests/objecttests.c: use string comparisons for string property
1591 values and get rid of referencing symbols in array initialization.
1593 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1595 * gtk+/Makefile.decl: run tests in current dir after setting up the
1596 logging directory, so their results get properly merged into the
1599 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1600 tests to loop over registered Gdk/Gtk+ types.
1602 * gtk+/tests/objecttests.c: new test program, implements automated
1603 property tests. several properties are blacklisted because they
1604 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1605 can be used to test blacklisted properties and see which proprty failed.
1607 2007-12-04 Richard Hult <richard@imendio.com>
1609 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1610 Fully initialize the root window, fixes bug #501583.
1612 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1614 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1617 2007-12-03 Richard Hult <richard@imendio.com>
1619 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1620 Don't crash when dragging from a source that doesn't support uri
1621 lists (bug #499868, Paul Davis).
1623 2007-12-03 Richard Hult <richard@imendio.com>
1625 * gdk/quartz/gdkwindow-quartz.c:
1626 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1627 parent relative bg pixmap is set, and no parent has a bg
1628 pixmap. Fixes bug #500804.
1630 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1632 Two optimizations for icon cache lookups.
1634 * gtk/gtkiconcache.[hc]:
1635 * gtk/gtkicontheme.c: Remember the directory index for
1636 subdirectories, instead of running over the directory list
1639 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1640 chain and try it first; this helps with the the usage patterns
1641 in gtkicontheme.c, where the same icon is queried for a lot
1644 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1646 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1647 functions from header files. this should be portable across linux and
1648 Mac OS, unlike the previpous sed expression.
1650 2007-12-1 Cody Russell <bratsche@gnome.org>
1652 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1653 On Windows, queue a redraw of child2 whenever we set
1654 the pane handle position. This is unfortunately kind
1655 of hacky, but solves the visual artifacts that were
1656 occuring on at least certain types of child widgets
1657 (e.g., text views and tree views) that are inside
1658 horizontal or vertical panes. (#144269)
1660 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1662 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1664 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1666 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1669 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1671 * gtk/Makefile.am: Fix ordering of subdirs.
1673 2007-11-28 Tor Lillqvist <tml@novell.com>
1675 A proper build of GNU libintl is supposed to export the variable
1676 _nl_msg_cat_cntr. configure looks for that variable in order to
1677 recognize GNU gettext. If it sees that it is indeed GNU gettext
1678 that is used, it decides to install message catalogs in
1679 share/locale, otherwise in lib/locale. Until now on Windows I have
1680 built GTK+ against a build of GNU gettext that did not export
1681 _nl_msg_cat_cntr. But this will change, so we can't assume message
1682 catalogs are always in lib/locale.
1684 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1685 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1686 before the inclusion of gtkprivate.h so that it sees the original
1689 * gtk-zip.sh.in: Check whether the message catalogs are in
1690 share/locale or lib/locale.
1692 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1693 that the code in _gtk_get_localedir() will find the slashes.
1695 2007-11-28 Tor Lillqvist <tml@novell.com>
1697 * gtk/Makefile.am: Improve portability. The -o option is present
1698 only in newish GNU egreps. Use one more sed in the pipeline
1701 2007-11-28 Tor Lillqvist <tml@novell.com>
1703 Fix #375893, patch by Ben Hague:
1705 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1706 around GetLogicalDrives() that takes also the viewable drive
1707 restrictions in the Registry (which are usually the result of an
1708 Active Directory Group Policy) into account.
1710 (check_volumes, gtk_file_system_win32_list_volumes) Call
1711 get_viewable_logical_drives() instead of GetLogicalDrives().
1713 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1715 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1716 variables to silence valgrind. (#495124, Morten Welinder)
1718 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1720 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1721 that the construct_child function is responsible for returning a
1723 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1724 objects from constructors
1725 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1726 g_object_ref() to this construction function (it's the only
1731 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1733 * gtkbuilder.c: remove concept of root objects and just refcount
1734 all objects in the builder. Fixes #496651.
1736 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1738 * tests/buildertest.c (test_window): fix invalid free
1740 2007-11-26 Josselin Mouette <joss@malsain.org>
1742 reviewed by: Federico Mena Quintero
1744 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1745 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1746 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1747 Make the shortcuts activate with a single click. (#148828)
1748 Fix a few things affected by the change:
1749 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1750 where no shortcut is selected.
1751 - Don't activate a shortcut in the response callback.
1752 - Filter out duplicate entries in volumes and bookmarks to
1753 avoid the selection to change when reordering them with DnD.
1755 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1758 * gtk/gtknotebook.c:
1759 * gtk/gtkplugprivate.h:
1761 * gtk/gtksocketprivate.h:
1762 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1764 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1766 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1767 (#495574, Richard Hult)
1769 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1771 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1772 String change ! (#376361, Sven Neumann)
1774 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1776 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1778 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1781 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1783 * gtk/gtkassistant.c: Improve alternative button
1784 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1786 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1788 * gtk/gtkcalendar.c: Fix a theming problem with colors
1789 in GtkCalendar. (#499703, Michael Hofmann)
1791 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1793 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1795 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1797 Use templates for glib-mkenums calls instead of
1798 complicated commandlines in Makefiles. (#429910)
1800 * gdk-pixbuf/Makefile.am:
1803 * perf/Makefile.am: Use templates for glib-mkenums
1805 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1806 * gdk/gdkenumtypes.[ch].template:
1807 * gtk/gtktypebuiltings.[ch].template:
1808 * perf/typebuiltins.[ch].template: The templates
1810 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1812 * gtk/gtkfilechooserbutton.c:
1813 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1814 some compilers choke on that. (#467722)
1816 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1818 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1819 about hook setup. (#425004, Emmanuele Bassi)
1821 2007-11-26 Tor Lillqvist <tml@novell.com>
1823 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1824 monitor the window currently is on, not always the primary
1825 monitor. (#463865, Tim Evans)
1827 2007-11-26 Tor Lillqvist <tml@novell.com>
1829 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1831 * gdk/win32/Makefile.am: Add it.
1833 2007-11-26 Tor Lillqvist <tml@novell.com>
1835 * configure.in: Don't add jasper to all_loaders if no libjasper.
1837 2007-11-25 Bastien Nocera <hadess@hadess.net>
1839 * configure.in: Add detection for libjasper, used by the
1840 gdk-pixbuf JPEG2000 loader
1842 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1844 * configure.in: Require gtk-doc 1.8
1846 * */*.c: Use gtk-doc abbreviations for examples in docs.
1848 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1850 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1853 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1855 * gtk/gtkdialog.c: Move signal and property documentation inline,
1856 fix a problem with the ::response signal docs. (#499133, Josselin
1859 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1861 * Makefile.decl: initialize automake variables EXTRA_DIST and
1862 TEST_PROGS for unconditional appending via += in other makefiles.
1863 define recursive test targets: test, test-report, perf-report,
1864 full-report, as described here:
1865 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1866 the test targets will execute Gtk+ test programs within an Xvfb session.
1868 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1870 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1871 g_test_run() to run the tests to integrate with the testing framework.
1873 * gtk/tests/Makefile.am: removed exemplary testing rules.
1875 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1876 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1877 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1878 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1879 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1880 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1881 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1882 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1883 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1884 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1885 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1886 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1887 * modules/engines/ms-windows/Theme/Makefile.am:
1888 * modules/engines/ms-windows/Makefile.am:
1889 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1890 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1891 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1892 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1893 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1894 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1895 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1897 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1899 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1900 (#485662, patch by Herbert Valerio Riedel)
1902 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1904 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1906 2007-11-21 Richard Hult <richard@imendio.com>
1908 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1909 stubs for the testing functions to fix the build.
1911 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1913 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1914 (#467711, The Written Word)
1916 2007-11-21 Ross Burton <ross@openedhand.com>
1918 * gdk/x11/gdksettings.c:
1919 Add xsetting for gtk-scrolled-window-placement (#458103).
1921 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1923 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1924 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1925 (#469239, Michael Natterer)
1927 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1929 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1930 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1931 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1932 (#436536, Tommi Komulainen)
1934 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1936 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1937 property. (#489782, Jan Janech)
1939 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1941 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1942 frames. (#107398, Owen Taylor, Miguel Gomez)
1944 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1946 Moved Gdk test functions from Gtk+ to Gdk test utils.
1948 * gdk/Makefile.am: added gdktestutils.h to public includes.
1950 * gdk/gdk.h: added gdktestutils.h to public includes.
1952 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1953 gdk_test_render_sync.
1955 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1956 gdk_test_simulate_key, gdk_test_render_sync.
1958 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1960 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1961 gdk_test_simulate_key, gdk_test_render_sync.
1963 * gtk/gtktestutils.c:
1964 * gtk/gtktestutils.h:
1965 * gtk/gtk.symbols: removed gtk_test_simulate_button
1966 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1968 * gtk/tests/testing.c: call gdk_test_render_sync.
1970 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1972 Added unit tests for Gtk+ testing utilities.
1974 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1975 utility functions. some g_test_* related portions are disabled and need
1976 to be enabled once Gtk+ depends on a new glib with the GLib testing
1977 framework integrated.
1979 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1980 added exemplary test rules to run tests inside Xvfb. this needs to depend
1981 on gtester for full fledged testing.
1983 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1984 collecting _get_type functions to catch e.g. gtk_text_get_type().
1986 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1988 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1990 Added Gtk+ testing utilities.
1992 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1993 for the most part, the functions herein involve navigating and interacting
1994 with dialog elements programatically, to automate user interaction tests of
1995 dialogs and widgets.
1997 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1999 * gtk/gtk.symbols: added gtk_test_* symbols.
2001 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2002 generate gtktypefuncs.c which contains a list of all _get_type functions in
2004 2007-11-20 Bastien Nocera <hadess@hadess.net>
2006 * configure.in: add support for conditional icns gdk-pixbuf loader
2009 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2011 * configure.in: updated version number to 2.15.0 for development.
2013 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2015 === Branch for 2.12 ===