1 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkfilesystemmodel.c:
5 * gtk/gtkwidget.c: Use g_value_set_static_string() where
6 appropriate. (#515042, Christian Persch)
8 2008-02-12 Matthias Clasen <mclasen@redhat.com>
10 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
12 2008-02-12 Matthias Clasen <mclasen@redhat.com>
14 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
16 2008-02-12 Matthias Clasen <mclasen@redhat.com>
18 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
19 (recent_model_sort_drag_data_get):
20 (search_model_sort_drag_data_get):
21 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
22 * gtk/gtkpathbar.c (button_drag_data_get_cb):
23 Use gtk_selection_data_set_uris() instead of doing it
24 by hand. (#514890, Christian Persch)
26 2008-02-12 Michael Natterer <mitch@imendio.com>
28 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
29 gtk_get_current_event_time().
31 2008-02-12 Michael Natterer <mitch@imendio.com>
33 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
34 gtk_window_get_key_hash() to get the hash instead of manually
35 fiddling with quarks and gtk_window_keys_changed(). Also add
36 g_return_if_fail() to this public function.
38 2008-02-11 Matthias Clasen <mclasen@redhat.com>
40 Support keynav in status icons. (#473786, Li Yuan)
42 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
44 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
46 2008-02-11 Kristian Rietveld <kris@imendio.com>
48 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
49 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
50 wrt. link deletion from list; contination of fix for #503569.
52 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
54 * gtk/gtkrecentchoosermenu.c:
55 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
56 on the placeholder menu item.
58 * tests/testrecentchoosermenu.c:
59 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
60 whether the placeholder menu item gets shown.
62 2008-02-10 Cody Russell <bratsche@gnome.org>
64 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
65 Check the return value of _gtk_file_chooser_get_file_system () for
66 NULL before passing it to gtk_file_system_path_to_uri ().
67 (#515667, Francesco Montorsi)
69 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
71 * gtk/gtkbuilder.c: Improve the documentation for
72 gtk_builder_connect_signals. (#514471)
74 2008-02-10 Matthias Clasen <mclasen@redhat.com>
76 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
79 2008-02-08 Cody Russell <bratsche@gnome.org>
81 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
82 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
84 2008-02-08 Richard Hult <richard@imendio.com>
86 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
87 delta from the NSEvent for now, generating multiple scroll events
88 results in a lot of events getting queued up and things get really
91 2008-02-08 Sven Herzberg <sven@imendio.com>
93 Adjust the code to match the documentation, examples, "common sense"
94 and existing applications.
96 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
97 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
100 2008-02-07 Cody Russell <bratsche@gnome.org>
102 * gdk/win32/gdkevents-win32.c
103 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
104 of a block that were causing compile problems on old
105 compilers. (#515053, reported by Kazuki IWAMOTO)
107 2008-02-07 Michael Natterer <mitch@imendio.com>
116 * gtk/gtkoptionmenu.c
120 * gtk/gtkradiomenuitem.c
122 * gtk/gtkscrolledwindow.c
123 * gtk/gtksocket.c: remove g_return_if_fail() from private
124 functions and virtual function implementations.
126 2008-02-07 Michael Natterer <mitch@imendio.com>
133 * gtk/gtkcellrenderercombo.c
136 * gtk/gtkdrawingarea.c
137 * gtk/gtkentrycompletion.c
143 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
144 functions and virtual function implementations.
146 2008-02-07 Christian Persch <chpe@gnome.org>
148 * gdk/gdkpixbuf-render.c:
149 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
150 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
151 otherwise there will be random pixel values in the semi-transparent
152 area of the pixbuf within the mask. Bug #487865.
154 2008-02-06 Cody Russell <bratsche@gnome.org>
156 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
157 otherwise things get wonky when you click on a menu. This fixes
158 a regression caused in #505928. Thanks to Tor for spotting this
161 2008-02-06 Michael Natterer <mitch@imendio.com>
172 * gtk/gtkseparatortoolitem.c
174 * gtk/gtktextlayout.c
175 * gtk/gtktoggletoolbutton.c
176 * gtk/gtktoolbutton.c
179 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
182 2008-02-05 Matthias Clasen <mclasen@redhat.com>
184 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
185 Allow to store half-open ranges.
187 2008-02-05 Cody Russell <bratsche@gnome.org>
189 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
190 down the stack until we get to a window that is mapped.
191 Otherwise hiding a window will cause all windows in the app
192 to be blocked. (#514643)
194 2008-02-05 Matthias Clasen <mclasen@redhat.com>
196 * gtk/updateiconcache.c: Ignore images in the toplevel theme
197 directory, avoiding one source of invalid caches that has been
200 2008-02-05 Matthias Clasen <mclasen@redhat.com>
202 * gtk/updateiconcache.c: Fix the previous commit to compile.
204 2008-02-05 Matthias Clasen <mclasen@redhat.com>
206 * gtk/updateiconcache.c: Install a printerr handler that
207 prepends the program name, since gtk-update-icon-cache output
208 often appears in the middle of other output, e.g. rpm update logs.
210 2008-02-05 Cody Russell <bratsche@gnome.org>
212 * gdk/win32/gdkprivate-win32.h
213 * gdk/win32/gdkevents-win32.c
214 * gdk/win32/gdkwindow-win32.c
215 * gdk/win32/gdkwindow-win32.h
216 * gdk/win32/gdkwin32.h:
217 Modal window rework. (#455627 and #511111)
219 2008-02-04 Michael Natterer <mitch@imendio.com>
221 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
222 g_return_if_fail() if the cell is not part of the combo instead of
223 crashing in the next line.
225 2008-02-01 Cody Russell <cody@jhu.edu>
227 * modules/engines/ms-windows/xp_theme.[ch]
228 * modules/engines/ms-windows/xp_theme_defs.h
229 * modules/engines/ms-windows/msw_rc_style.c
230 * modules/engines/ms-windows/msw_theme_main.c
231 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
232 attempted to stylize more like the rest of the gtk+ stack's code.
234 2008-02-01 Michael Natterer <mitch@imendio.com>
236 * tests/testgtk.c: initialize GdkColor structs to fix warning
237 about uninitialized "pixel" member.
239 * tests/testactions.c: connect the toolbar_style() callback so it
240 does something useful and doesn't warn about being defined but not
243 2008-01-31 Cody Russell <bratsche@gnome.org>
245 * gdk/win32/gdkevents-win32.c:
246 Refactored some of the window hiding/showing code from
247 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
248 under WM_ACTIVATE was causing the application to go into
249 a weird state when the user right-clicked on the taskbar
250 entry of a window that was minimized. (#505928)
252 2008-01-31 Cody Russell <bratsche@gnome.org>
254 * gtk/gtkpaned.c (gtk_paned_set_position):
255 Change queue_resize() to queue_draw(), and add a check for
256 child2 != NULL in case someone calls this before there is
257 a child packed in there. (#144269 again)
259 2008-01-31 Sven Neumann <sven@gimp.org>
261 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
262 applied patch from Denis Oliver Kropp <dok@directfb.org>.
264 2008-01-31 Sven Neumann <sven@gimp.org>
266 * gdk/directfb/gdkdisplay-directfb.c
267 * gdk/directfb/gdkdrawable-directfb.c
268 * gdk/directfb/gdkprivate-directfb.h
269 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
270 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
272 2008-01-31 Richard Hult <richard@imendio.com>
274 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
275 issues with undecorated windows. Revert the change done on
276 2008-01-25 and fix it by using the view's bounds instead. The
277 bounds will always be up to date when setting up the tracking
278 rect, so this should be more robust.
280 2008-01-30 Sven Neumann <sven@gimp.org>
282 * gdk/directfb/gdkdrawable-directfb.c
283 * gdk/directfb/gdkwindow-directfb.c
284 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
285 Oliver Kropp <dok@directfb.org>. Adds debug messages using
286 DirectFB's debugging system
288 2008-01-30 Sven Neumann <sven@gimp.org>
290 * gdk/directfb/gdkdirectfb.h
291 * gdk/directfb/gdkdisplay-directfb.c
292 * gdk/directfb/gdkdrawable-directfb.c
293 * gdk/directfb/gdkim-directfb.c
294 * gdk/directfb/gdkimage-directfb.c
295 * gdk/directfb/gdkinput-directfb.c
296 * gdk/directfb/gdkmain-directfb.c
297 * gdk/directfb/gdkpixmap-directfb.c
298 * gdk/directfb/gdktestutils-directfb.c
299 * gdk/directfb/gdkvisual-directfb.c
300 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
301 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
302 errors and has some cleanups.
304 2008-01-30 Michael Natterer <mitch@imendio.com>
306 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
307 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
310 * gtk/updateiconcache.c (add_string): cast const gchar* to
311 gpointer when inserting in a GHashTable.
313 * tests/testcalendar.c (calendar_detail_cb): remove const from
314 return value since it's a newly allocated string.
316 (calendar_update_details): free the detail.
318 2008-01-29 Johan Dahlin <johan@gnome.org>
320 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
322 * demos/gtk-demo/demo.ui:
323 Move the about dialog to the glade file, add accessible tags
324 examples to the markup file.
326 2008-01-28 Paolo Borelli <pborelli@katamail.com>
328 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
329 layout, fixes #512375.
331 2008-01-28 Michael Natterer <mitch@imendio.com>
334 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
336 2008-01-28 Michael Natterer <mitch@imendio.com>
338 * demos/gtk-demo/builder.c (about_activate): use
339 gtk_about_dialog_set_program_name() instead of the deprecated
342 2008-01-28 Michael Natterer <mitch@imendio.com>
345 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
348 2008-01-26 Johan Dahlin <johan@gnome.org>
351 * tests/textbuffertest.c:
352 Rename textbuffer test and port it to the new test framework
354 2008-01-25 Johan Dahlin <johan@gnome.org>
356 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
357 unsetting of GTK_MODULES.
359 * gtk/gtk-builder-convert
360 (GtkBuilderConverter._convert_adjustment): Handle the case where
361 there is no child text node.
362 (GtkBuilderConverter): Allow xml comments in most places.
364 2008-01-25 Johan Dahlin <johan@gnome.org>
366 * gtk/gtk-builder-convert
367 (GtkBuilderConverter._convert_combobox_items): Remove the items
368 even if there are no items set.
369 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
370 signals and tooltips for all menu items subclasses and
371 GtkImageMenuItem:label.
372 Makes it possible to fully convert and run Jokosher.glade.
374 2008-01-25 Johan Dahlin <johan@gnome.org>
376 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
377 (gtk_widget_buildable_get_internal_child), (free_action),
378 (free_relation), (gtk_widget_buildable_parser_finished),
379 (accessibility_start_element),
380 (gtk_widget_buildable_custom_tag_start),
381 (gtk_widget_buildable_custom_finished):
382 Implement accessible support, fixes #454653.
384 * gtk/gtk-builder-convert:
385 Add support for migrating old glade files
387 * tests/buildertest.c: (test_widget), (test_file):
388 Add accessible tests and imprve the test_file function to display
389 toplevels and run dialogs.
391 2008-01-25 Richard Hult <richard@imendio.com>
393 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
394 didn't change, fixes focus event issues for undecorated windows.
396 2008-01-25 Richard Hult <richard@imendio.com>
398 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
399 const and remove unused variables).
401 2008-01-25 Michael Natterer <mitch@imendio.com>
404 * gtk/gtkcellrenderer.h
409 * gtk/gtktreeprivate.h
410 * gtk/gtktreeviewcolumn.h
411 * gtk/gtkwidget.h: add const to constant structs which are passed
412 into GTK+. Also add some forgotten const for const strings.
416 * gtk/gtkcellrenderer.c
422 * gtk/gtktreeviewcolumn.c
423 * gtk/gtkwidget.c: changed accordingly.
425 2008-01-25 Sven Herzberg <sven@imendio.com>
427 Reviewed by Johan Dahlin.
429 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
430 this is called with something that's not a GtkUIManager
432 2008-01-24 Johan Dahlin <johan@gnome.org>
434 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
435 Chain up to parent, so widgets can have internal children.
437 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
439 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
442 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
444 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
446 Use pango_layout_set_height() for calendar details (#506049).
448 * configure.in: Require 1.19.3 for pango_layout_set_height().
449 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
451 2008-01-18 Johan Dahlin <johan@gnome.org>
453 * gtk/gtk-builder-convert (get_property_node): New method
454 (GtkBuilderConverter._create_object): Conditionally take a node as
455 a property value, so don't lose translate/context attributes if they
457 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
458 property values instead of strings.
459 (#509153, Erik van Pienbroek)
461 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
463 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
465 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
466 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
467 * tests/testcalendar.c: Duplicate calendar details before returning.
469 2008-01-16 Christian Persch <chpe@gnome.org>
471 * gtk/gtkwidget.c: Store the event mask and extension event mode
472 directly in the gobject data pointer, instead of in an allocated
475 2008-01-16 Michael Natterer <mitch@imendio.com>
477 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
478 gdk-pixbuf now uses gio functions.
480 2008-01-16 Matthias Clasen <mclasen@redhat.com>
482 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
483 the notify::model signal. (#509819, David Zeuthen)
485 2008-01-15 Michael Natterer <mitch@imendio.com>
493 * gdk/gdkwindow.h: made more struct pointer and array parameters
494 const. GDK should now be constified as far as possible without
495 breaking source compatibility. Includes some minor cleanup like
496 indentation and s/nfoo/n_foo/ (bug #508544).
502 * gdk/gdkregion-generic.c
504 * gdk/directfb/gdkdisplay-directfb.c
505 * gdk/directfb/gdkwindow-directfb.c
506 * gdk/quartz/gdkdisplay-quartz.c
507 * gdk/quartz/gdkwindow-quartz.c
508 * gdk/win32/gdkdisplay-win32.c
509 * gdk/win32/gdkwindow-win32.c
510 * gdk/x11/gdkdisplay-x11.c
511 * gdk/x11/gdkwindow-x11.c: changed accordingly.
513 2008-01-14 Michael Natterer <mitch@imendio.com>
515 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
518 (gtk_rc_parse_any): change variables to const and introduce
519 another local variable to fix const warnings.
521 2008-01-14 Michael Natterer <mitch@imendio.com>
523 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
524 of gdk_screen_get_font_options() to gpointer to get rid of const
527 2008-01-14 Michael Natterer <mitch@imendio.com>
529 * tests/testdnd.c (source_drag_data_get): fix another call to
530 gtk_selection_data_set().
532 2008-01-14 Michael Natterer <mitch@imendio.com>
534 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
537 2008-01-14 Michael Natterer <mitch@imendio.com>
539 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
541 2008-01-14 Michael Natterer <mitch@imendio.com>
543 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
544 "uris" to guchar* when passing it to gtk_selection_data_set().
546 2008-01-14 Michael Natterer <mitch@imendio.com>
554 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
555 parameters const (bug #508544).
561 * gdk/gdkpolyreg-generic.c
562 * gdk/gdkregion-generic.c
563 * gdk/directfb/gdkcolor-directfb.c
564 * gdk/directfb/gdkgc-directfb.c
565 * gdk/directfb/gdkgeometry-directfb.c
566 * gdk/directfb/gdkwindow-directfb.c
567 * gdk/quartz/gdkcolor-quartz.c
568 * gdk/quartz/gdkgc-quartz.c
569 * gdk/quartz/gdkgeometry-quartz.c
570 * gdk/quartz/gdkwindow-quartz.c
571 * gdk/win32/gdkcolor-win32.c
572 * gdk/win32/gdkgc-win32.c
573 * gdk/win32/gdkgeometry-win32.c
574 * gdk/win32/gdkprivate-win32.h
575 * gdk/win32/gdkwindow-win32.c
576 * gdk/x11/gdkcolor-x11.c
577 * gdk/x11/gdkgc-x11.c
578 * gdk/x11/gdkgeometry-x11.c
579 * gdk/x11/gdkmain-x11.c
580 * gdk/x11/gdkprivate-x11.h
581 * gdk/x11/gdkwindow-x11.c: changed accordingly.
583 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
586 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
588 Explain name choice for gtk_tool_item_toolbar_reconfigured.
590 * gtk/gtktoolitem.c: Add comment expaining name choice for
591 gtk_tool_item_toolbar_reconfigured.
593 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
595 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
596 implementations to notify its children, when some aspect of their
597 configuration changed (#509042).
599 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
600 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
601 Rename _gtk_tool_item_toolbar_reconfigured.
603 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
605 Include <gtk/gtktoolshell.h> from gtk.h.
607 * gtk/gtk.h: Add gtktoolshell.h
609 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
611 Print angle brackets arround e-mail addresses in the about dialog
612 (#409520, Mariano Suárez-Alvarez).
614 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
616 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
618 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
619 special casing so test widgets are always queues for destruction
622 * gtk/tests/testing.c: removed bits left-over from testing without
625 2008-01-10 Tor Lillqvist <tml@novell.com>
627 * modules/other/gail/libgail-util/Makefile.am
628 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
631 2008-01-10 Tor Lillqvist <tml@novell.com>
633 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
634 uses gtkprintunixdialog API.
636 2008-01-10 Tor Lillqvist <tml@novell.com>
638 * gdk/win32/gdkdisplay-win32.c
639 * gdk/win32/gdkglobals-win32.c
640 * gdk/win32/gdkprivate-win32.h
641 * gdk/win32/gdkscreen-win32.c
642 * gdk/win32/gdkwindow-win32.c: Implement
643 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
644 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
647 2008-01-10 Cody Russell <bratsche@gnome.org>
649 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
650 Properly ref/unref windows and parents. (#506769)
652 2008-01-10 Richard Hult <richard@imendio.com>
654 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
655 (gdk_window_hide), (move_resize_window_internal): Move the
656 tracking rect workaround from here...
658 * gdk/quartz/GdkQuartzWindow.c:
659 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
660 movements during showing/hiding operations. Fixes bug #508516.
662 2008-01-10 Michael Natterer <mitch@imendio.com>
664 * gdk/directfb/gdkscreen-directfb.c
665 (gdk_screen_get_monitor_width_mm)
666 (gdk_screen_get_monitor_height_mm)
667 (gdk_screen_get_monitor_plug_name): add these functions to make
670 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
672 * gtk/gtkrecentchoosermenu.c:
673 (idle_populate_func), (idle_populate_clean_up): Fix possible
674 recursion by resetting the idle source id. (#507605, William
677 2008-01-10 Kristian Rietveld <kris@imendio.com>
679 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
680 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
681 avoid valgrind warnings. (#507751, patch from Christian Persch).
683 2008-01-10 Kristian Rietveld <kris@imendio.com>
685 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
686 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
688 2008-01-10 Kristian Rietveld <kris@imendio.com>
690 Fix #477175, reported by Juri Pakaste.
692 * gtk/gtktreeprivate.h:
693 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
694 tree_view->priv->dy here directly, just calculate the new value
695 and set it on the adjustment,
696 (gtk_tree_view_adjustment_changed): add guards to not call
697 gtk_tree_view_dy_to_top_row() if we are currently in
698 gtk_tree_view_top_row_to_dy(),
699 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
700 coordinates, not tree coordinates,
701 (gtk_tree_view_real_start_editing): add cast.
703 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
704 position of the editable in the "create new row and start editing"
707 2008-01-09 Michael Natterer <mitch@imendio.com>
709 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
712 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
713 * gtk/gtkicontheme.c (theme_list_contexts)
714 (gtk_icon_theme_lookup_icon)
715 * gtk/gtkimcontextsimple.c (beep_window)
716 * gtk/gtklinkbutton.c (set_link_color)
717 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
720 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
721 variable and add const to another to fix a warning.
723 2008-01-07 Matthias Clasen <mclasen@redhat.com>
725 * gtk/gtkassistant.c (remove_page): Be more robust when removing
726 the current page. (#499951, Andreas Sandberg)
728 2008-01-06 Johan Dahlin <johan@gnome.org>
730 * gtk/gtkspinbutton.c: Declare value in the example code for
731 GtkSpinButton::output, as pointed out by Anders Carlsson.
733 2008-01-06 Christian Persch <chpe@gnome.org>
735 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
736 and remove an obsolete event box. Bug #506760.
738 2008-01-06 Johan Dahlin <johan@gnome.org>
740 * tests/buildertest.c (test_domain):
741 Update, GtkBuilder::translation-domain is no longer set
743 * gtk/gtkbuilderparser.c (parse_interface):
744 Allow domains to be overridden in <interface>'s if a translation-domain
745 is set in the builder.
746 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
747 of the builder, make the domain set in the <interface> apply only to strings
749 (#496831, Ryan Lortie)
751 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
754 * gtk/gtktreestore.c (tree_model_end_element):
755 Remove an unused variable
757 2008-01-06 Matthias Clasen <mclasen@redhat.com>
759 * gtk/gtkspinbutton.c: Document the ::output signal and
760 add an example. (#507566, example by Owen Taylor)
762 2008-01-06 Johan Dahlin <johan@gnome.org>
764 * gtk/gtkcellrenderercombo.c:
765 (gtk_cell_renderer_combo_get_property),
766 (gtk_cell_renderer_combo_set_property):
767 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
768 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
769 * gtk/gtknotebook.c: (gtk_notebook_set_property):
770 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
771 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
772 (gtk_text_buffer_get_property):
773 * gtk/gtktextview.c: (gtk_text_view_set_property):
774 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
775 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
776 (gtk_tool_button_get_property):
777 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
778 (gtk_tool_item_get_property):
779 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
780 * gtk/gtkwidget.c: (gtk_widget_set_property):
781 * gtk/gtkwindow.c: (gtk_window_set_property):
782 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
785 2008-01-06 Johan Dahlin <johan@gnome.org>
787 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
788 Make sure that --root works for toplevel widgets.
789 (#491847, Phil Lello)
791 2008-01-05 Johan Dahlin <johan@gnome.org>
793 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
794 to make sure that make test-report works properly
796 2008-01-05 Christian Persch <chpe@gnome.org>
798 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
799 GType as integer through gpointer. Bug #507395.
801 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
803 Avoid some compiler warnings (#507000).
805 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
806 for value argument of _gtk_builder_flags_from_string.
807 * gtk/gtkwidget.c: Don't alias the child pointer passed
808 to gdk_window_get_user_data.
810 2008-01-04 Michael Natterer <mitch@imendio.com>
812 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
813 to set the time in the returned GdkTimeCoords.
815 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
817 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
818 correct comparison function (kudos to Christian Persch and
819 Claudio Saavedra for spotting this)
821 * gtk/gtkrecentchooserutils.c:
822 (sort_recent_items_mru),
823 (sort_recent_items_lru): Ditto as above.
825 2008-01-03 Johan Dahlin <johan@gnome.org>
827 * tests/defaultvaluetest.c: Make it pass again.
829 2008-01-02 Johan Dahlin <johan@gnome.org>
831 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
832 make it pass on Ubuntu.
833 (main): Use gtk_test_list_all_types () instead of providing our
835 And it no longer passes.
837 2007-12-30 Johannes Schmid <jhs@gnome.org>
839 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
840 Also reorder menu when reordering tabs by drag & drop
843 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
844 Add a menu to one of the notebooks to have a test-case for
845 the change mentioned above.
847 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
849 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
851 2007-12-31 Christian Persch <chpe@gnome.org>
853 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
854 Plug a mem leak. Bug #506107.
856 2007-12-28 Matthias Clasen <mclasen@redhat.com>
858 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
859 icon cache api change. (#506135, Kazuki Iwamoto)
861 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
863 Consider "wide-separators" and "separator-height" style properties:
864 The separator is drawn using gtk_paint_box instead of cairo, when
865 "wide-separators" is set. Also do not highlight details for previous
866 or next month, if their day matches the selected day. (#339540)
868 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
869 in gtk_calendar_size_request and calendar_paint_day
870 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
871 for selected detail separators in GtkCalendar.
873 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
875 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
877 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
878 a local variable instead in gtk_calendar_size_request.
880 2007-12-28 Matthias Clasen <mclasen@redhat.com>
882 * tests/defaultvaluetest.c: Add enough exclusions to make the
885 2007-12-28 Christian Persch <chpe@gnome.org>
887 * modules/other/gail/Makefile.am:
888 * modules/other/gail/tests/*:
889 * configure.in: Merge tests from standalone gail. Bug #504568.
891 2007-12-28 Matthias Clasen <mclasen@redhat.com>
893 * gtk/gtkclipboard.c: Make the finalizer work when display is
896 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
898 Draw bottom shadow of GtkCalender headings. (#506113)
900 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
902 2007-12-28 Matthias Clasen <mclasen@redhat.com>
904 * gtk/gtkcalendar.c: Document the initial values of year/month/day
907 2007-12-28 Christian Persch <chpe@gnome.org>
909 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
910 a mem leak. Bug #506096.
912 2007-12-28 Matthias Clasen <mclasen@redhat.com>
916 * gtk/gtkprintoperation.c:
917 * gtk/gtkprogressbar.c:
918 * gtk/gtkmessagedialog.c:
923 * gtk/gtklinkbutton.c:
924 * gtk/gtkmenu.c: More default property value corrections.
926 2007-12-28 Matthias Clasen <mclasen@redhat.com>
928 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
929 accel_group unless it is set.
931 2007-12-28 Matthias Clasen <mclasen@redhat.com>
933 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
935 2007-12-28 Matthias Clasen <mclasen@redhat.com>
937 * gtk/gtkhandlebox.c: Fix the default values of shadow and
938 shadow-type properties.
940 * gtk/gtkfontsel.c: Fix the default values of several properties.
942 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
945 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
947 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
950 2007-12-28 Johan Dahlin <johan@gnome.org>
952 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
953 (gtk_dialog_buildable_custom_tag_start): Chain up.
954 This makes it possible to have accelerators tags on GtkDialog
957 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
959 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
960 are shown within the widget, or just as tooltip. (#339540)
962 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
963 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
964 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
967 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
969 Try more decent appearance of calendar details separator. (#339540)
971 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
972 and make it short by one pixel on each side.
974 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
976 Apply trivial code-style changes from attachement 101101. (#339540)
978 * tests/testcalendar.c: Some updates to current GTK+ code-style.
980 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
982 Restructure testcalendar for testing calendar details. (#339540)
984 * tests/testcalendar.c: Push code arround for testing calendar details.
986 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
988 Implement GtkTooltip API for calendar details. (#339540)
990 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
991 Remember detail overflows in calendar_paint_day to show the tooltip
992 only when neccessary.
994 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
996 Without setting "detail-width-chars" and "detail-height-rows"
997 properties not only the widget has to be redrawn on certain
998 conditions, but also its size must be recalculated. (#339540)
1000 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1001 that function instead of gtk_widget_queue_draw.
1003 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1005 Consider details for size-request and expose-event. (#339540)
1007 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1008 is_color_attribute functions. Change gtk_calendar_size_request
1009 and calendar_paint_day to consider and show calender details.
1011 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1013 * gtk/gtkcombobox.c: Introduce local priv variables to
1016 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1018 * gtk/gtkcombobox.c: Correct the default value for the
1019 tearoff-title property.
1021 * gtk/gtkcellrenderertext.c: Fix the default value for the
1022 wrap-mode and font-scale properties.
1024 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1027 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1029 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1030 defines. (#505708, MINAMI Hirokazu)
1032 2007-12-27 Christian Persch <chpe@gnome.org>
1034 * Makefile.am: Install gail.pc. Bug #505859.
1036 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1038 Add infrastructure for GtkCalendar details. (#339540)
1040 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1041 Add "detail-width-chars" and "detail-height-rows" properties,
1042 and gtk_calendar_set_detail_func function.
1044 2007-12-27 Xan Lopez <xan@gnome.org>
1047 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1049 Add gtk_border_new to avoid memory allocator confusions when using
1050 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1052 2007-12-27 Christian Persch <chpe@gnome.org>
1054 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1055 bug #504886 not to read unitialised memory.
1057 2007-12-26 Xan Lopez <xan@gnome.org>
1059 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1060 modification of the internal frame contents to decide if we have
1061 extra children. (#415677)
1063 2007-12-22 Christian Persch <chpe@gnome.org>
1065 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1067 2007-12-25 Christian Persch <chpe@gnome.org>
1069 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1070 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1073 2007-12-25 Christian Persch <chpe@gnome.org>
1075 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1077 2007-12-25 Christian Persch <chpe@gnome.org>
1079 * modules/other/gail/*.[ch]: Remove relocations from the atk
1080 factories. Remove unused gail_foo_new() functions. Fix object
1081 instantiation to be derivation safe by moving initialisation code
1082 from the removed gail_foo_new() functions to the
1083 AtkObjectClass::initialize implementation. Bug #505226.
1085 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1087 * modules/other/gail/gailentry.c:
1088 * modules/other/gail/gailimage.c:
1089 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1090 uses of clipboards and settings. (#504722, Christian Persch)
1092 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1094 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1097 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1099 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1100 use the time and button information from the event. (#504901,
1103 2007-12-23 Cody Russell <bratsche@gnome.org>
1105 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1106 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1107 Fixes a regression caused by #164537 patch where transient
1108 windows that are hidden get shown (incorrectly) when their
1109 parents are minimized. (#504984)
1111 2007-12-22 Christian Persch <chpe@gnome.org>
1113 * modules/other/gail/gailcell.c:
1114 * modules/other/gail/gailcontainercell.c:
1115 * modules/other/gail/gailexpander.c:
1116 * modules/other/gail/gailtextcell.c:
1117 * modules/other/gail/gailtextview.c:
1118 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1120 2007-12-22 Christian Persch <chpe@gnome.org>
1122 * modules/other/gail/*.c: Include config.h. Bug #504720.
1124 2007-12-22 Christian Persch <chpe@gnome.org>
1126 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1127 handwritten get_type functions. Bug #504661.
1129 2007-12-23 Xan Lopez <xan@gnome.org>
1131 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1132 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1134 Patch by Sadrul Habib Chowdhury (#504804)
1136 2007-12-22 Christian Persch <chpe@gnome.org>
1138 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1139 #504645, patch by Li Yuan.
1141 2007-12-22 Christian Persch <chpe@gnome.org>
1143 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1145 2007-12-22 Christian Persch <chpe@gnome.org>
1147 * modules/other/gail/gail.c:
1148 * modules/other/gail/gailbutton.c:
1149 * modules/other/gail/gailcell.c:
1150 * modules/other/gail/gailcombo.c:
1151 * modules/other/gail/gailcombo.h:
1152 * modules/other/gail/gailcombobox.c:
1153 * modules/other/gail/gailentry.c:
1154 * modules/other/gail/gailexpander.c:
1155 * modules/other/gail/gailmenuitem.c:
1156 * modules/other/gail/gailnotebook.c:
1157 * modules/other/gail/gailnotebookpage.c:
1158 * modules/other/gail/gailnotebookpage.h:
1159 * modules/other/gail/gailoptionmenu.c:
1160 * modules/other/gail/gailrange.c:
1161 * modules/other/gail/gailtextview.c:
1162 * modules/other/gail/gailtreeview.c:
1163 * modules/other/gail/gailtreeview.h:
1164 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1167 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1169 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1172 2007-12-21 Richard Hult <richard@imendio.com>
1174 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1175 Plug leak of destroyed subviews, fixes bug #504753.
1177 2007-12-20 Johan Dahlin <johan@gnome.org>
1179 * tests/Makefile.am (TEST_PROGS):
1180 * tests/defaultvaluetest.c: Add a test for default values,
1181 based on program by Christan Perch
1183 2007-12-20 Johan Dahlin <johan@gnome.org>
1185 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1186 Refactor to avoid some duplication.
1187 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1188 Fixes #504749, Yuri Pimenov
1190 2007-12-20 Kristian Rietveld <kris@imendio.com>
1192 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1193 the build work again on systems without xrandr 1.2.
1195 2007-12-20 Christian Persch <chpe@gnome.org>
1198 * modules/other/gail/libgail-util/Makefile.am:
1199 Keep the same libtool version as the standalone libgail-util had.
1202 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1204 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1206 2007-12-20 Alexander Larsson <alexl@redhat.com>
1208 * gdk/x11/gdkapplaunchcontext-x11.c:
1209 Update for gio API changes
1211 2007-12-20 Richard Hult <richard@imendio.com>
1213 * gdk/quartz/GdkQuartzWindow.c:
1214 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1215 processing events after changing the size.
1217 2007-12-20 Richard Hult <richard@imendio.com>
1219 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1220 Add stub for quartz to fix build.
1222 2007-12-20 Christian Persch <chpe@gnome.org>
1224 * modules/other/gail/Makefile.am:
1225 * modules/other/gail/gailimage.c: (gail_image_class_init),
1226 (gail_image_init), (elide_underscores), (gail_image_get_name),
1227 (atk_image_interface_init), (gail_image_finalize):
1228 * modules/other/gail/gailimage.h:
1229 R modules/other/gail/gailintl.h:
1230 * po/POTFILES.skip: Use the stock item's label as the name of the
1231 accessible in gailimage.c. Bug #504246.
1233 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1235 Avoid some compiler warnings and remove obsolete code. (#339540)
1237 * gtk/gtkcalendar.c: Change week and year variable in
1238 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1239 0" block from calendar_paint_day: The feature in question is handled
1240 few lines above. Cast data returned by gtk_selection_data_get_text()
1241 to (gchar*) in gtk_calendar_drag_data_received.
1243 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1245 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1247 2007-12-19 Johan Dahlin <johan@gnome.org>
1249 * tests/buildertest.c (test_object_properties):
1250 Add another call to gtk_builder_add_string after using
1251 delayed properties, as reported in #504393 but already
1254 2007-12-18 Christian Persch <chpe@gnome.org>
1257 * docs/reference/Makefile.am:
1258 * docs/reference/libgail-util/*:
1259 * gail-uninstalled.pc.in:
1261 * modules/Makefile.am:
1262 * modules/other/Makefile.am:
1263 * modules/other/gail/*:
1264 * modules/other/gail/libgail-util/*:
1265 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1267 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1269 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1270 * gdk/win32/gdkproperty-win32.c:
1271 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1273 * gtk/gtkimmodule.[hc]:
1274 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1275 look at the gtk-im-module setting, and listen for changes to the
1276 setting. (#502446, Akira Tagoh)
1278 2007-12-17 Kristian Rietveld <kris@imendio.com>
1280 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1281 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1282 to NULL as soon as it's destroyed. (#496546, patch from
1285 2007-12-17 Kristian Rietveld <kris@imendio.com>
1287 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1288 always determine what arrow to show if show_sort_indicator is true.
1289 (#352738, Chris Vine).
1291 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1293 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1294 Sébastien Granjoux)
1296 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1297 gtk_container_foreach in get_child_panes.
1299 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1301 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1303 Plug leak: When reordering the info in the list the old node is
1304 removed but not freed. (#503569)
1306 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1308 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1309 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1310 are deprecated since DirectFB 1.0.0. If compiling with an older
1311 version define the new type name to the old types. Fixes bug #503190.
1313 2007-12-14 Ray Strode <rstrode@redhat.com>
1315 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1316 instead of g_signal_connect_after (..., "realize", ...) as an
1317 alternative to gtk_widget_realize () (bug 503537).
1319 2007-12-14 Michael Natterer <mitch@imendio.com>
1321 * gdk/gdkinternals.h
1322 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1325 * gdk/gdkapplaunchcontext.c
1326 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1327 header already includes everything now.
1329 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1331 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1332 next stable release shall be 2.16, not 2.14 - even if disagree.
1334 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1336 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1338 Change GtkToolItem to retrieve its properties from GtkToolShell
1339 interface, instead of relying on being child of a GtkToolbar.
1342 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1343 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1344 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1345 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1346 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1347 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1348 Take section docs from template file and update them for GtkToolShell.
1349 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1350 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1352 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1354 Extract loading of GtkPageSetup and GtkPrintSettings from their
1355 *_new_*() functions and move that code into separate
1356 *_load_*() functions (#475565).
1358 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1359 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1360 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1361 Change the matching *_new_*() functions to use those functions.
1363 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1366 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1368 2007-12-14 Kristian Rietveld <kris@imendio.com>
1370 * gtk/tests/liststore.c:
1371 * gtk/tests/treestore.c: added tests for insertion functions.
1373 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1375 * Add RandR 1.2 support
1377 - New monitors_changed signal - New API to get width/height of
1378 monitors, and the name of the plug
1380 2007-12-13 Kristian Rietveld <kris@imendio.com>
1382 * gtk/tests/liststore.c:
1383 * gtk/tests/treestore.c: test the move and swap functions on a
1384 store with only one node.
1386 2007-12-13 Kristian Rietveld <kris@imendio.com>
1388 * gtk/gtktestutils.c (gtk_test_init): add a call to
1391 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1394 2007-12-13 Kristian Rietveld <kris@imendio.com>
1396 * gtk/tests/liststore.c:
1397 * gtk/tests/treestore.c: start composing tests for the list and tree
1400 * gtk/tests/treeview-scrolling.c: added automated tests for
1401 GtkTreeView's scrolling "subsystem".
1403 * gtk/tests/Makefile.am: updated; added new test programs.
1405 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1407 Make the code compile again after the GdkAppLaunchContext changes.
1409 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1410 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1412 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1414 * gdk/gdkapplaunchcontext.c: Add docs
1416 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1418 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1419 in gdk, providing startup notification. (#503203)
1421 * gdk/x11/gdkapplaunchcontext-x11.c:
1422 * gdk/win32/gdkapplaunchcontext-win32.c:
1423 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1424 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1425 parts. All but X11 are just empty stubs for now.
1428 * gdk/gdkinternals.h:
1430 * gdk/x11/Makefile.am:
1431 * gdk/win32/Makefile.am:
1432 * gdk/quartz/Makefile.am:
1433 * gdk/directfb/Makefile.am: Necessary glue.
1435 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1437 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1439 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1441 * gdk/directfb/gdktestutils-directfb.c:
1442 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1443 which adds testing functions to the DirectFB backend.
1445 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1447 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1448 Ciccani which fixes the mixing of gdk and cairo rendering.
1450 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1452 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1453 on "drag-motion" handlers. Clearify documentation for
1456 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1458 * buildertest.c: made unnecessarily exported symbols static.
1459 switched g_return_if_fail() statements in tests to assertions.
1460 special cased currently failing Widget/accesibility test to
1461 run only for g_test_thorough(), so it doesn't break make check.
1462 some coding style fixes.
1464 * Makefile.am: added buildertest to TEST_PROGS.
1466 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1468 * docs/tutorial/gtk-tut.sgml:
1469 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1471 2007-12-10 Richard Hult <richard@imendio.com>
1473 * gdk/quartz/Makefile.am:
1474 * gdk/quartz/gdkquartz.h:
1475 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1476 header (bug #405915). Also add a getter for the toplevel nswindow.
1478 2007-12-10 Richard Hult <richard@imendio.com>
1480 * gdk/quartz/gdkdrawable-quartz.c:
1481 (gdk_quartz_drawable_get_context),
1482 (gdk_quartz_drawable_release_context):
1483 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1484 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1485 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1486 used for each drawing context and in prepare, dispatch and poll
1487 with one that exists across each main loop iteration. Fixes leaks
1488 on leopard and protects against future leaks introduce when the
1489 underlying system changes again (bug #492977).
1491 2007-12-10 Richard Hult <richard@imendio.com>
1493 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1494 Fix the check for no changes to position and size.
1496 2007-12-10 Richard Hult <richard@imendio.com>
1498 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1499 sized areas at (0, 0), patch from Paul Davis.
1501 2007-12-10 Richard Hult <richard@imendio.com>
1503 * gdk/quartz/gdkprivate-quartz.h:
1504 * gdk/quartz/gdkeventloop-quartz.c:
1505 (_gdk_quartz_event_loop_get_pending),
1506 (_gdk_quartz_event_loop_check_pending),
1507 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1508 (gdk_event_check), (gdk_event_dispatch):
1509 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1510 (_gdk_events_queue): Fix a bug where we could end up trying to
1511 handle the same event more than once. Based on patch from Paul
1514 2007-12-10 Tor Lillqvist <tml@novell.com>
1516 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1519 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1521 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1522 to avoid further fallout from the fix for bug 388321.
1524 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1526 * gdk/directfb/gdkgc-directfb.c:
1527 * gdk/directfb/gdkdrawable-directfb.c:
1528 * gdk/directfb/gdkdirectfb.h:
1529 * gdk/directfb/gdkwindow-directfb.c:
1530 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1531 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1532 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1533 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1534 which are expected to improve the performance of the DirectFB backend.
1535 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1537 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1539 * gtk/gtkcontainer.c: Correct the documentation of child
1540 property getter arguments. (#501992, David Brigada)
1542 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1544 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1545 leak pixbufs. (#502250, Yevgen Muntyan)
1547 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1549 * gtk/gtkprintunixdialog.c:
1550 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1551 Print and Page Setup dialogs (#502202).
1553 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1555 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1556 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1557 of XVFB_START, since it's the GTESTER invokation that needs this.
1559 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1561 * gdk-pixbuf/gdk-pixbuf.symbols:
1563 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1564 positives in abicheck.sh
1566 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1568 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1569 GDK events generations in the DirectFB backend.
1571 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1573 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1574 set of likely unused display ids, because MacOS has no seq(1) command.
1576 2007-12-06 Richard Hult <richard@imendio.com>
1578 * gdk/quartz/gdkevents-quartz.c:
1579 (synthesize_crossing_events_for_ns_event): Fix warning when
1580 switching spaces in leopard.
1582 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1584 * tests/floatingtest.c: ported to new testing framework.
1586 * tests/Makefile.am: run floatingtest as testing framework test.
1588 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1590 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1591 timeouts and converting main loop sleeps to pending/iterate loops with
1592 very low priority async handlers. eliminate output for non-verbose
1593 tests. assert successfull subtests in all test functions. use testing
1594 framework in main().
1596 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1597 executed inside Xvfb upon make check.
1599 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1601 * tests/objecttests.c: use string comparisons for string property
1602 values and get rid of referencing symbols in array initialization.
1604 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1606 * gtk+/Makefile.decl: run tests in current dir after setting up the
1607 logging directory, so their results get properly merged into the
1610 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1611 tests to loop over registered Gdk/Gtk+ types.
1613 * gtk+/tests/objecttests.c: new test program, implements automated
1614 property tests. several properties are blacklisted because they
1615 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1616 can be used to test blacklisted properties and see which proprty failed.
1618 2007-12-04 Richard Hult <richard@imendio.com>
1620 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1621 Fully initialize the root window, fixes bug #501583.
1623 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1625 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1628 2007-12-03 Richard Hult <richard@imendio.com>
1630 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1631 Don't crash when dragging from a source that doesn't support uri
1632 lists (bug #499868, Paul Davis).
1634 2007-12-03 Richard Hult <richard@imendio.com>
1636 * gdk/quartz/gdkwindow-quartz.c:
1637 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1638 parent relative bg pixmap is set, and no parent has a bg
1639 pixmap. Fixes bug #500804.
1641 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1643 Two optimizations for icon cache lookups.
1645 * gtk/gtkiconcache.[hc]:
1646 * gtk/gtkicontheme.c: Remember the directory index for
1647 subdirectories, instead of running over the directory list
1650 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1651 chain and try it first; this helps with the the usage patterns
1652 in gtkicontheme.c, where the same icon is queried for a lot
1655 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1657 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1658 functions from header files. this should be portable across linux and
1659 Mac OS, unlike the previpous sed expression.
1661 2007-12-1 Cody Russell <bratsche@gnome.org>
1663 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1664 On Windows, queue a redraw of child2 whenever we set
1665 the pane handle position. This is unfortunately kind
1666 of hacky, but solves the visual artifacts that were
1667 occuring on at least certain types of child widgets
1668 (e.g., text views and tree views) that are inside
1669 horizontal or vertical panes. (#144269)
1671 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1673 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1675 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1677 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1680 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1682 * gtk/Makefile.am: Fix ordering of subdirs.
1684 2007-11-28 Tor Lillqvist <tml@novell.com>
1686 A proper build of GNU libintl is supposed to export the variable
1687 _nl_msg_cat_cntr. configure looks for that variable in order to
1688 recognize GNU gettext. If it sees that it is indeed GNU gettext
1689 that is used, it decides to install message catalogs in
1690 share/locale, otherwise in lib/locale. Until now on Windows I have
1691 built GTK+ against a build of GNU gettext that did not export
1692 _nl_msg_cat_cntr. But this will change, so we can't assume message
1693 catalogs are always in lib/locale.
1695 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1696 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1697 before the inclusion of gtkprivate.h so that it sees the original
1700 * gtk-zip.sh.in: Check whether the message catalogs are in
1701 share/locale or lib/locale.
1703 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1704 that the code in _gtk_get_localedir() will find the slashes.
1706 2007-11-28 Tor Lillqvist <tml@novell.com>
1708 * gtk/Makefile.am: Improve portability. The -o option is present
1709 only in newish GNU egreps. Use one more sed in the pipeline
1712 2007-11-28 Tor Lillqvist <tml@novell.com>
1714 Fix #375893, patch by Ben Hague:
1716 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1717 around GetLogicalDrives() that takes also the viewable drive
1718 restrictions in the Registry (which are usually the result of an
1719 Active Directory Group Policy) into account.
1721 (check_volumes, gtk_file_system_win32_list_volumes) Call
1722 get_viewable_logical_drives() instead of GetLogicalDrives().
1724 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1726 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1727 variables to silence valgrind. (#495124, Morten Welinder)
1729 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1731 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1732 that the construct_child function is responsible for returning a
1734 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1735 objects from constructors
1736 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1737 g_object_ref() to this construction function (it's the only
1742 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1744 * gtkbuilder.c: remove concept of root objects and just refcount
1745 all objects in the builder. Fixes #496651.
1747 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1749 * tests/buildertest.c (test_window): fix invalid free
1751 2007-11-26 Josselin Mouette <joss@malsain.org>
1753 reviewed by: Federico Mena Quintero
1755 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1756 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1757 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1758 Make the shortcuts activate with a single click. (#148828)
1759 Fix a few things affected by the change:
1760 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1761 where no shortcut is selected.
1762 - Don't activate a shortcut in the response callback.
1763 - Filter out duplicate entries in volumes and bookmarks to
1764 avoid the selection to change when reordering them with DnD.
1766 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1769 * gtk/gtknotebook.c:
1770 * gtk/gtkplugprivate.h:
1772 * gtk/gtksocketprivate.h:
1773 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1775 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1777 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1778 (#495574, Richard Hult)
1780 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1782 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1783 String change ! (#376361, Sven Neumann)
1785 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1787 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1789 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1792 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1794 * gtk/gtkassistant.c: Improve alternative button
1795 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1797 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1799 * gtk/gtkcalendar.c: Fix a theming problem with colors
1800 in GtkCalendar. (#499703, Michael Hofmann)
1802 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1804 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1806 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1808 Use templates for glib-mkenums calls instead of
1809 complicated commandlines in Makefiles. (#429910)
1811 * gdk-pixbuf/Makefile.am:
1814 * perf/Makefile.am: Use templates for glib-mkenums
1816 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1817 * gdk/gdkenumtypes.[ch].template:
1818 * gtk/gtktypebuiltings.[ch].template:
1819 * perf/typebuiltins.[ch].template: The templates
1821 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1823 * gtk/gtkfilechooserbutton.c:
1824 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1825 some compilers choke on that. (#467722)
1827 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1829 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1830 about hook setup. (#425004, Emmanuele Bassi)
1832 2007-11-26 Tor Lillqvist <tml@novell.com>
1834 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1835 monitor the window currently is on, not always the primary
1836 monitor. (#463865, Tim Evans)
1838 2007-11-26 Tor Lillqvist <tml@novell.com>
1840 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1842 * gdk/win32/Makefile.am: Add it.
1844 2007-11-26 Tor Lillqvist <tml@novell.com>
1846 * configure.in: Don't add jasper to all_loaders if no libjasper.
1848 2007-11-25 Bastien Nocera <hadess@hadess.net>
1850 * configure.in: Add detection for libjasper, used by the
1851 gdk-pixbuf JPEG2000 loader
1853 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1855 * configure.in: Require gtk-doc 1.8
1857 * */*.c: Use gtk-doc abbreviations for examples in docs.
1859 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1861 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1864 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1866 * gtk/gtkdialog.c: Move signal and property documentation inline,
1867 fix a problem with the ::response signal docs. (#499133, Josselin
1870 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1872 * Makefile.decl: initialize automake variables EXTRA_DIST and
1873 TEST_PROGS for unconditional appending via += in other makefiles.
1874 define recursive test targets: test, test-report, perf-report,
1875 full-report, as described here:
1876 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1877 the test targets will execute Gtk+ test programs within an Xvfb session.
1879 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1881 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1882 g_test_run() to run the tests to integrate with the testing framework.
1884 * gtk/tests/Makefile.am: removed exemplary testing rules.
1886 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1887 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1888 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1889 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1890 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1891 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1892 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1893 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1894 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1895 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1896 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1897 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1898 * modules/engines/ms-windows/Theme/Makefile.am:
1899 * modules/engines/ms-windows/Makefile.am:
1900 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1901 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1902 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1903 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1904 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1905 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1906 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1908 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1910 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1911 (#485662, patch by Herbert Valerio Riedel)
1913 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1915 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1917 2007-11-21 Richard Hult <richard@imendio.com>
1919 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1920 stubs for the testing functions to fix the build.
1922 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1924 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1925 (#467711, The Written Word)
1927 2007-11-21 Ross Burton <ross@openedhand.com>
1929 * gdk/x11/gdksettings.c:
1930 Add xsetting for gtk-scrolled-window-placement (#458103).
1932 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1934 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1935 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1936 (#469239, Michael Natterer)
1938 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1940 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1941 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1942 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1943 (#436536, Tommi Komulainen)
1945 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1947 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1948 property. (#489782, Jan Janech)
1950 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1952 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1953 frames. (#107398, Owen Taylor, Miguel Gomez)
1955 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1957 Moved Gdk test functions from Gtk+ to Gdk test utils.
1959 * gdk/Makefile.am: added gdktestutils.h to public includes.
1961 * gdk/gdk.h: added gdktestutils.h to public includes.
1963 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1964 gdk_test_render_sync.
1966 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1967 gdk_test_simulate_key, gdk_test_render_sync.
1969 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1971 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1972 gdk_test_simulate_key, gdk_test_render_sync.
1974 * gtk/gtktestutils.c:
1975 * gtk/gtktestutils.h:
1976 * gtk/gtk.symbols: removed gtk_test_simulate_button
1977 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1979 * gtk/tests/testing.c: call gdk_test_render_sync.
1981 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1983 Added unit tests for Gtk+ testing utilities.
1985 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1986 utility functions. some g_test_* related portions are disabled and need
1987 to be enabled once Gtk+ depends on a new glib with the GLib testing
1988 framework integrated.
1990 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1991 added exemplary test rules to run tests inside Xvfb. this needs to depend
1992 on gtester for full fledged testing.
1994 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1995 collecting _get_type functions to catch e.g. gtk_text_get_type().
1997 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1999 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2001 Added Gtk+ testing utilities.
2003 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2004 for the most part, the functions herein involve navigating and interacting
2005 with dialog elements programatically, to automate user interaction tests of
2006 dialogs and widgets.
2008 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2010 * gtk/gtk.symbols: added gtk_test_* symbols.
2012 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2013 generate gtktypefuncs.c which contains a list of all _get_type functions in
2015 2007-11-20 Bastien Nocera <hadess@hadess.net>
2017 * configure.in: add support for conditional icns gdk-pixbuf loader
2020 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2022 * configure.in: updated version number to 2.15.0 for development.
2024 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2026 === Branch for 2.12 ===