1 2008-02-10 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
6 2008-02-08 Cody Russell <bratsche@gnome.org>
8 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
9 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
11 2008-02-08 Richard Hult <richard@imendio.com>
13 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
14 delta from the NSEvent for now, generating multiple scroll events
15 results in a lot of events getting queued up and things get really
18 2008-02-08 Sven Herzberg <sven@imendio.com>
20 Adjust the code to match the documentation, examples, "common sense"
21 and existing applications.
23 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
24 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
27 2008-02-07 Cody Russell <bratsche@gnome.org>
29 * gdk/win32/gdkevents-win32.c
30 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
31 of a block that were causing compile problems on old
32 compilers. (#515053, reported by Kazuki IWAMOTO)
34 2008-02-07 Michael Natterer <mitch@imendio.com>
47 * gtk/gtkradiomenuitem.c
49 * gtk/gtkscrolledwindow.c
50 * gtk/gtksocket.c: remove g_return_if_fail() from private
51 functions and virtual function implementations.
53 2008-02-07 Michael Natterer <mitch@imendio.com>
60 * gtk/gtkcellrenderercombo.c
63 * gtk/gtkdrawingarea.c
64 * gtk/gtkentrycompletion.c
70 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
71 functions and virtual function implementations.
73 2008-02-07 Christian Persch <chpe@gnome.org>
75 * gdk/gdkpixbuf-render.c:
76 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
77 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
78 otherwise there will be random pixel values in the semi-transparent
79 area of the pixbuf within the mask. Bug #487865.
81 2008-02-06 Cody Russell <bratsche@gnome.org>
83 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
84 otherwise things get wonky when you click on a menu. This fixes
85 a regression caused in #505928. Thanks to Tor for spotting this
88 2008-02-06 Michael Natterer <mitch@imendio.com>
99 * gtk/gtkseparatortoolitem.c
101 * gtk/gtktextlayout.c
102 * gtk/gtktoggletoolbutton.c
103 * gtk/gtktoolbutton.c
106 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
109 2008-02-05 Matthias Clasen <mclasen@redhat.com>
111 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
112 Allow to store half-open ranges.
114 2008-02-05 Cody Russell <bratsche@gnome.org>
116 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
117 down the stack until we get to a window that is mapped.
118 Otherwise hiding a window will cause all windows in the app
119 to be blocked. (#514643)
121 2008-02-05 Matthias Clasen <mclasen@redhat.com>
123 * gtk/updateiconcache.c: Ignore images in the toplevel theme
124 directory, avoiding one source of invalid caches that has been
127 2008-02-05 Matthias Clasen <mclasen@redhat.com>
129 * gtk/updateiconcache.c: Fix the previous commit to compile.
131 2008-02-05 Matthias Clasen <mclasen@redhat.com>
133 * gtk/updateiconcache.c: Install a printerr handler that
134 prepends the program name, since gtk-update-icon-cache output
135 often appears in the middle of other output, e.g. rpm update logs.
137 2008-02-05 Cody Russell <bratsche@gnome.org>
139 * gdk/win32/gdkprivate-win32.h
140 * gdk/win32/gdkevents-win32.c
141 * gdk/win32/gdkwindow-win32.c
142 * gdk/win32/gdkwindow-win32.h
143 * gdk/win32/gdkwin32.h:
144 Modal window rework. (#455627 and #511111)
146 2008-02-04 Michael Natterer <mitch@imendio.com>
148 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
149 g_return_if_fail() if the cell is not part of the combo instead of
150 crashing in the next line.
152 2008-02-01 Cody Russell <cody@jhu.edu>
154 * modules/engines/ms-windows/xp_theme.[ch]
155 * modules/engines/ms-windows/xp_theme_defs.h
156 * modules/engines/ms-windows/msw_rc_style.c
157 * modules/engines/ms-windows/msw_theme_main.c
158 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
159 attempted to stylize more like the rest of the gtk+ stack's code.
161 2008-02-01 Michael Natterer <mitch@imendio.com>
163 * tests/testgtk.c: initialize GdkColor structs to fix warning
164 about uninitialized "pixel" member.
166 * tests/testactions.c: connect the toolbar_style() callback so it
167 does something useful and doesn't warn about being defined but not
170 2008-01-31 Cody Russell <bratsche@gnome.org>
172 * gdk/win32/gdkevents-win32.c:
173 Refactored some of the window hiding/showing code from
174 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
175 under WM_ACTIVATE was causing the application to go into
176 a weird state when the user right-clicked on the taskbar
177 entry of a window that was minimized. (#505928)
179 2008-01-31 Cody Russell <bratsche@gnome.org>
181 * gtk/gtkpaned.c (gtk_paned_set_position):
182 Change queue_resize() to queue_draw(), and add a check for
183 child2 != NULL in case someone calls this before there is
184 a child packed in there. (#144269 again)
186 2008-01-31 Sven Neumann <sven@gimp.org>
188 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
189 applied patch from Denis Oliver Kropp <dok@directfb.org>.
191 2008-01-31 Sven Neumann <sven@gimp.org>
193 * gdk/directfb/gdkdisplay-directfb.c
194 * gdk/directfb/gdkdrawable-directfb.c
195 * gdk/directfb/gdkprivate-directfb.h
196 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
197 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
199 2008-01-31 Richard Hult <richard@imendio.com>
201 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
202 issues with undecorated windows. Revert the change done on
203 2008-01-25 and fix it by using the view's bounds instead. The
204 bounds will always be up to date when setting up the tracking
205 rect, so this should be more robust.
207 2008-01-30 Sven Neumann <sven@gimp.org>
209 * gdk/directfb/gdkdrawable-directfb.c
210 * gdk/directfb/gdkwindow-directfb.c
211 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
212 Oliver Kropp <dok@directfb.org>. Adds debug messages using
213 DirectFB's debugging system
215 2008-01-30 Sven Neumann <sven@gimp.org>
217 * gdk/directfb/gdkdirectfb.h
218 * gdk/directfb/gdkdisplay-directfb.c
219 * gdk/directfb/gdkdrawable-directfb.c
220 * gdk/directfb/gdkim-directfb.c
221 * gdk/directfb/gdkimage-directfb.c
222 * gdk/directfb/gdkinput-directfb.c
223 * gdk/directfb/gdkmain-directfb.c
224 * gdk/directfb/gdkpixmap-directfb.c
225 * gdk/directfb/gdktestutils-directfb.c
226 * gdk/directfb/gdkvisual-directfb.c
227 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
228 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
229 errors and has some cleanups.
231 2008-01-30 Michael Natterer <mitch@imendio.com>
233 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
234 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
237 * gtk/updateiconcache.c (add_string): cast const gchar* to
238 gpointer when inserting in a GHashTable.
240 * tests/testcalendar.c (calendar_detail_cb): remove const from
241 return value since it's a newly allocated string.
243 (calendar_update_details): free the detail.
245 2008-01-29 Johan Dahlin <johan@gnome.org>
247 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
249 * demos/gtk-demo/demo.ui:
250 Move the about dialog to the glade file, add accessible tags
251 examples to the markup file.
253 2008-01-28 Paolo Borelli <pborelli@katamail.com>
255 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
256 layout, fixes #512375.
258 2008-01-28 Michael Natterer <mitch@imendio.com>
261 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
263 2008-01-28 Michael Natterer <mitch@imendio.com>
265 * demos/gtk-demo/builder.c (about_activate): use
266 gtk_about_dialog_set_program_name() instead of the deprecated
269 2008-01-28 Michael Natterer <mitch@imendio.com>
272 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
275 2008-01-26 Johan Dahlin <johan@gnome.org>
278 * tests/textbuffertest.c:
279 Rename textbuffer test and port it to the new test framework
281 2008-01-25 Johan Dahlin <johan@gnome.org>
283 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
284 unsetting of GTK_MODULES.
286 * gtk/gtk-builder-convert
287 (GtkBuilderConverter._convert_adjustment): Handle the case where
288 there is no child text node.
289 (GtkBuilderConverter): Allow xml comments in most places.
291 2008-01-25 Johan Dahlin <johan@gnome.org>
293 * gtk/gtk-builder-convert
294 (GtkBuilderConverter._convert_combobox_items): Remove the items
295 even if there are no items set.
296 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
297 signals and tooltips for all menu items subclasses and
298 GtkImageMenuItem:label.
299 Makes it possible to fully convert and run Jokosher.glade.
301 2008-01-25 Johan Dahlin <johan@gnome.org>
303 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
304 (gtk_widget_buildable_get_internal_child), (free_action),
305 (free_relation), (gtk_widget_buildable_parser_finished),
306 (accessibility_start_element),
307 (gtk_widget_buildable_custom_tag_start),
308 (gtk_widget_buildable_custom_finished):
309 Implement accessible support, fixes #454653.
311 * gtk/gtk-builder-convert:
312 Add support for migrating old glade files
314 * tests/buildertest.c: (test_widget), (test_file):
315 Add accessible tests and imprve the test_file function to display
316 toplevels and run dialogs.
318 2008-01-25 Richard Hult <richard@imendio.com>
320 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
321 didn't change, fixes focus event issues for undecorated windows.
323 2008-01-25 Richard Hult <richard@imendio.com>
325 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
326 const and remove unused variables).
328 2008-01-25 Michael Natterer <mitch@imendio.com>
331 * gtk/gtkcellrenderer.h
336 * gtk/gtktreeprivate.h
337 * gtk/gtktreeviewcolumn.h
338 * gtk/gtkwidget.h: add const to constant structs which are passed
339 into GTK+. Also add some forgotten const for const strings.
343 * gtk/gtkcellrenderer.c
349 * gtk/gtktreeviewcolumn.c
350 * gtk/gtkwidget.c: changed accordingly.
352 2008-01-25 Sven Herzberg <sven@imendio.com>
354 Reviewed by Johan Dahlin.
356 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
357 this is called with something that's not a GtkUIManager
359 2008-01-24 Johan Dahlin <johan@gnome.org>
361 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
362 Chain up to parent, so widgets can have internal children.
364 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
366 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
369 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
371 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
373 Use pango_layout_set_height() for calendar details (#506049).
375 * configure.in: Require 1.19.3 for pango_layout_set_height().
376 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
378 2008-01-18 Johan Dahlin <johan@gnome.org>
380 * gtk/gtk-builder-convert (get_property_node): New method
381 (GtkBuilderConverter._create_object): Conditionally take a node as
382 a property value, so don't lose translate/context attributes if they
384 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
385 property values instead of strings.
386 (#509153, Erik van Pienbroek)
388 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
390 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
392 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
393 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
394 * tests/testcalendar.c: Duplicate calendar details before returning.
396 2008-01-16 Christian Persch <chpe@gnome.org>
398 * gtk/gtkwidget.c: Store the event mask and extension event mode
399 directly in the gobject data pointer, instead of in an allocated
402 2008-01-16 Michael Natterer <mitch@imendio.com>
404 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
405 gdk-pixbuf now uses gio functions.
407 2008-01-16 Matthias Clasen <mclasen@redhat.com>
409 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
410 the notify::model signal. (#509819, David Zeuthen)
412 2008-01-15 Michael Natterer <mitch@imendio.com>
420 * gdk/gdkwindow.h: made more struct pointer and array parameters
421 const. GDK should now be constified as far as possible without
422 breaking source compatibility. Includes some minor cleanup like
423 indentation and s/nfoo/n_foo/ (bug #508544).
429 * gdk/gdkregion-generic.c
431 * gdk/directfb/gdkdisplay-directfb.c
432 * gdk/directfb/gdkwindow-directfb.c
433 * gdk/quartz/gdkdisplay-quartz.c
434 * gdk/quartz/gdkwindow-quartz.c
435 * gdk/win32/gdkdisplay-win32.c
436 * gdk/win32/gdkwindow-win32.c
437 * gdk/x11/gdkdisplay-x11.c
438 * gdk/x11/gdkwindow-x11.c: changed accordingly.
440 2008-01-14 Michael Natterer <mitch@imendio.com>
442 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
445 (gtk_rc_parse_any): change variables to const and introduce
446 another local variable to fix const warnings.
448 2008-01-14 Michael Natterer <mitch@imendio.com>
450 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
451 of gdk_screen_get_font_options() to gpointer to get rid of const
454 2008-01-14 Michael Natterer <mitch@imendio.com>
456 * tests/testdnd.c (source_drag_data_get): fix another call to
457 gtk_selection_data_set().
459 2008-01-14 Michael Natterer <mitch@imendio.com>
461 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
464 2008-01-14 Michael Natterer <mitch@imendio.com>
466 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
468 2008-01-14 Michael Natterer <mitch@imendio.com>
470 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
471 "uris" to guchar* when passing it to gtk_selection_data_set().
473 2008-01-14 Michael Natterer <mitch@imendio.com>
481 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
482 parameters const (bug #508544).
488 * gdk/gdkpolyreg-generic.c
489 * gdk/gdkregion-generic.c
490 * gdk/directfb/gdkcolor-directfb.c
491 * gdk/directfb/gdkgc-directfb.c
492 * gdk/directfb/gdkgeometry-directfb.c
493 * gdk/directfb/gdkwindow-directfb.c
494 * gdk/quartz/gdkcolor-quartz.c
495 * gdk/quartz/gdkgc-quartz.c
496 * gdk/quartz/gdkgeometry-quartz.c
497 * gdk/quartz/gdkwindow-quartz.c
498 * gdk/win32/gdkcolor-win32.c
499 * gdk/win32/gdkgc-win32.c
500 * gdk/win32/gdkgeometry-win32.c
501 * gdk/win32/gdkprivate-win32.h
502 * gdk/win32/gdkwindow-win32.c
503 * gdk/x11/gdkcolor-x11.c
504 * gdk/x11/gdkgc-x11.c
505 * gdk/x11/gdkgeometry-x11.c
506 * gdk/x11/gdkmain-x11.c
507 * gdk/x11/gdkprivate-x11.h
508 * gdk/x11/gdkwindow-x11.c: changed accordingly.
510 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
513 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
515 Explain name choice for gtk_tool_item_toolbar_reconfigured.
517 * gtk/gtktoolitem.c: Add comment expaining name choice for
518 gtk_tool_item_toolbar_reconfigured.
520 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
522 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
523 implementations to notify its children, when some aspect of their
524 configuration changed (#509042).
526 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
527 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
528 Rename _gtk_tool_item_toolbar_reconfigured.
530 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
532 Include <gtk/gtktoolshell.h> from gtk.h.
534 * gtk/gtk.h: Add gtktoolshell.h
536 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
538 Print angle brackets arround e-mail addresses in the about dialog
539 (#409520, Mariano Suárez-Alvarez).
541 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
543 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
545 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
546 special casing so test widgets are always queues for destruction
549 * gtk/tests/testing.c: removed bits left-over from testing without
552 2008-01-10 Tor Lillqvist <tml@novell.com>
554 * modules/other/gail/libgail-util/Makefile.am
555 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
558 2008-01-10 Tor Lillqvist <tml@novell.com>
560 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
561 uses gtkprintunixdialog API.
563 2008-01-10 Tor Lillqvist <tml@novell.com>
565 * gdk/win32/gdkdisplay-win32.c
566 * gdk/win32/gdkglobals-win32.c
567 * gdk/win32/gdkprivate-win32.h
568 * gdk/win32/gdkscreen-win32.c
569 * gdk/win32/gdkwindow-win32.c: Implement
570 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
571 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
574 2008-01-10 Cody Russell <bratsche@gnome.org>
576 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
577 Properly ref/unref windows and parents. (#506769)
579 2008-01-10 Richard Hult <richard@imendio.com>
581 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
582 (gdk_window_hide), (move_resize_window_internal): Move the
583 tracking rect workaround from here...
585 * gdk/quartz/GdkQuartzWindow.c:
586 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
587 movements during showing/hiding operations. Fixes bug #508516.
589 2008-01-10 Michael Natterer <mitch@imendio.com>
591 * gdk/directfb/gdkscreen-directfb.c
592 (gdk_screen_get_monitor_width_mm)
593 (gdk_screen_get_monitor_height_mm)
594 (gdk_screen_get_monitor_plug_name): add these functions to make
597 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
599 * gtk/gtkrecentchoosermenu.c:
600 (idle_populate_func), (idle_populate_clean_up): Fix possible
601 recursion by resetting the idle source id. (#507605, William
604 2008-01-10 Kristian Rietveld <kris@imendio.com>
606 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
607 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
608 avoid valgrind warnings. (#507751, patch from Christian Persch).
610 2008-01-10 Kristian Rietveld <kris@imendio.com>
612 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
613 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
615 2008-01-10 Kristian Rietveld <kris@imendio.com>
617 Fix #477175, reported by Juri Pakaste.
619 * gtk/gtktreeprivate.h:
620 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
621 tree_view->priv->dy here directly, just calculate the new value
622 and set it on the adjustment,
623 (gtk_tree_view_adjustment_changed): add guards to not call
624 gtk_tree_view_dy_to_top_row() if we are currently in
625 gtk_tree_view_top_row_to_dy(),
626 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
627 coordinates, not tree coordinates,
628 (gtk_tree_view_real_start_editing): add cast.
630 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
631 position of the editable in the "create new row and start editing"
634 2008-01-09 Michael Natterer <mitch@imendio.com>
636 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
639 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
640 * gtk/gtkicontheme.c (theme_list_contexts)
641 (gtk_icon_theme_lookup_icon)
642 * gtk/gtkimcontextsimple.c (beep_window)
643 * gtk/gtklinkbutton.c (set_link_color)
644 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
647 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
648 variable and add const to another to fix a warning.
650 2008-01-07 Matthias Clasen <mclasen@redhat.com>
652 * gtk/gtkassistant.c (remove_page): Be more robust when removing
653 the current page. (#499951, Andreas Sandberg)
655 2008-01-06 Johan Dahlin <johan@gnome.org>
657 * gtk/gtkspinbutton.c: Declare value in the example code for
658 GtkSpinButton::output, as pointed out by Anders Carlsson.
660 2008-01-06 Christian Persch <chpe@gnome.org>
662 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
663 and remove an obsolete event box. Bug #506760.
665 2008-01-06 Johan Dahlin <johan@gnome.org>
667 * tests/buildertest.c (test_domain):
668 Update, GtkBuilder::translation-domain is no longer set
670 * gtk/gtkbuilderparser.c (parse_interface):
671 Allow domains to be overridden in <interface>'s if a translation-domain
672 is set in the builder.
673 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
674 of the builder, make the domain set in the <interface> apply only to strings
676 (#496831, Ryan Lortie)
678 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
681 * gtk/gtktreestore.c (tree_model_end_element):
682 Remove an unused variable
684 2008-01-06 Matthias Clasen <mclasen@redhat.com>
686 * gtk/gtkspinbutton.c: Document the ::output signal and
687 add an example. (#507566, example by Owen Taylor)
689 2008-01-06 Johan Dahlin <johan@gnome.org>
691 * gtk/gtkcellrenderercombo.c:
692 (gtk_cell_renderer_combo_get_property),
693 (gtk_cell_renderer_combo_set_property):
694 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
695 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
696 * gtk/gtknotebook.c: (gtk_notebook_set_property):
697 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
698 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
699 (gtk_text_buffer_get_property):
700 * gtk/gtktextview.c: (gtk_text_view_set_property):
701 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
702 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
703 (gtk_tool_button_get_property):
704 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
705 (gtk_tool_item_get_property):
706 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
707 * gtk/gtkwidget.c: (gtk_widget_set_property):
708 * gtk/gtkwindow.c: (gtk_window_set_property):
709 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
712 2008-01-06 Johan Dahlin <johan@gnome.org>
714 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
715 Make sure that --root works for toplevel widgets.
716 (#491847, Phil Lello)
718 2008-01-05 Johan Dahlin <johan@gnome.org>
720 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
721 to make sure that make test-report works properly
723 2008-01-05 Christian Persch <chpe@gnome.org>
725 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
726 GType as integer through gpointer. Bug #507395.
728 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
730 Avoid some compiler warnings (#507000).
732 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
733 for value argument of _gtk_builder_flags_from_string.
734 * gtk/gtkwidget.c: Don't alias the child pointer passed
735 to gdk_window_get_user_data.
737 2008-01-04 Michael Natterer <mitch@imendio.com>
739 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
740 to set the time in the returned GdkTimeCoords.
742 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
744 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
745 correct comparison function (kudos to Christian Persch and
746 Claudio Saavedra for spotting this)
748 * gtk/gtkrecentchooserutils.c:
749 (sort_recent_items_mru),
750 (sort_recent_items_lru): Ditto as above.
752 2008-01-03 Johan Dahlin <johan@gnome.org>
754 * tests/defaultvaluetest.c: Make it pass again.
756 2008-01-02 Johan Dahlin <johan@gnome.org>
758 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
759 make it pass on Ubuntu.
760 (main): Use gtk_test_list_all_types () instead of providing our
762 And it no longer passes.
764 2007-12-30 Johannes Schmid <jhs@gnome.org>
766 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
767 Also reorder menu when reordering tabs by drag & drop
770 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
771 Add a menu to one of the notebooks to have a test-case for
772 the change mentioned above.
774 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
776 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
778 2007-12-31 Christian Persch <chpe@gnome.org>
780 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
781 Plug a mem leak. Bug #506107.
783 2007-12-28 Matthias Clasen <mclasen@redhat.com>
785 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
786 icon cache api change. (#506135, Kazuki Iwamoto)
788 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
790 Consider "wide-separators" and "separator-height" style properties:
791 The separator is drawn using gtk_paint_box instead of cairo, when
792 "wide-separators" is set. Also do not highlight details for previous
793 or next month, if their day matches the selected day. (#339540)
795 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
796 in gtk_calendar_size_request and calendar_paint_day
797 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
798 for selected detail separators in GtkCalendar.
800 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
802 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
804 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
805 a local variable instead in gtk_calendar_size_request.
807 2007-12-28 Matthias Clasen <mclasen@redhat.com>
809 * tests/defaultvaluetest.c: Add enough exclusions to make the
812 2007-12-28 Christian Persch <chpe@gnome.org>
814 * modules/other/gail/Makefile.am:
815 * modules/other/gail/tests/*:
816 * configure.in: Merge tests from standalone gail. Bug #504568.
818 2007-12-28 Matthias Clasen <mclasen@redhat.com>
820 * gtk/gtkclipboard.c: Make the finalizer work when display is
823 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
825 Draw bottom shadow of GtkCalender headings. (#506113)
827 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
829 2007-12-28 Matthias Clasen <mclasen@redhat.com>
831 * gtk/gtkcalendar.c: Document the initial values of year/month/day
834 2007-12-28 Christian Persch <chpe@gnome.org>
836 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
837 a mem leak. Bug #506096.
839 2007-12-28 Matthias Clasen <mclasen@redhat.com>
843 * gtk/gtkprintoperation.c:
844 * gtk/gtkprogressbar.c:
845 * gtk/gtkmessagedialog.c:
850 * gtk/gtklinkbutton.c:
851 * gtk/gtkmenu.c: More default property value corrections.
853 2007-12-28 Matthias Clasen <mclasen@redhat.com>
855 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
856 accel_group unless it is set.
858 2007-12-28 Matthias Clasen <mclasen@redhat.com>
860 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
862 2007-12-28 Matthias Clasen <mclasen@redhat.com>
864 * gtk/gtkhandlebox.c: Fix the default values of shadow and
865 shadow-type properties.
867 * gtk/gtkfontsel.c: Fix the default values of several properties.
869 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
872 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
874 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
877 2007-12-28 Johan Dahlin <johan@gnome.org>
879 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
880 (gtk_dialog_buildable_custom_tag_start): Chain up.
881 This makes it possible to have accelerators tags on GtkDialog
884 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
886 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
887 are shown within the widget, or just as tooltip. (#339540)
889 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
890 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
891 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
894 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
896 Try more decent appearance of calendar details separator. (#339540)
898 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
899 and make it short by one pixel on each side.
901 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
903 Apply trivial code-style changes from attachement 101101. (#339540)
905 * tests/testcalendar.c: Some updates to current GTK+ code-style.
907 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
909 Restructure testcalendar for testing calendar details. (#339540)
911 * tests/testcalendar.c: Push code arround for testing calendar details.
913 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
915 Implement GtkTooltip API for calendar details. (#339540)
917 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
918 Remember detail overflows in calendar_paint_day to show the tooltip
919 only when neccessary.
921 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
923 Without setting "detail-width-chars" and "detail-height-rows"
924 properties not only the widget has to be redrawn on certain
925 conditions, but also its size must be recalculated. (#339540)
927 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
928 that function instead of gtk_widget_queue_draw.
930 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
932 Consider details for size-request and expose-event. (#339540)
934 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
935 is_color_attribute functions. Change gtk_calendar_size_request
936 and calendar_paint_day to consider and show calender details.
938 2007-12-28 Matthias Clasen <mclasen@redhat.com>
940 * gtk/gtkcombobox.c: Introduce local priv variables to
943 2007-12-27 Matthias Clasen <mclasen@redhat.com>
945 * gtk/gtkcombobox.c: Correct the default value for the
946 tearoff-title property.
948 * gtk/gtkcellrenderertext.c: Fix the default value for the
949 wrap-mode and font-scale properties.
951 * gtk/gtkaspectratio.c: Fix the default value for the ratio
954 2007-12-27 Matthias Clasen <mclasen@redhat.com>
956 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
957 defines. (#505708, MINAMI Hirokazu)
959 2007-12-27 Christian Persch <chpe@gnome.org>
961 * Makefile.am: Install gail.pc. Bug #505859.
963 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
965 Add infrastructure for GtkCalendar details. (#339540)
967 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
968 Add "detail-width-chars" and "detail-height-rows" properties,
969 and gtk_calendar_set_detail_func function.
971 2007-12-27 Xan Lopez <xan@gnome.org>
974 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
976 Add gtk_border_new to avoid memory allocator confusions when using
977 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
979 2007-12-27 Christian Persch <chpe@gnome.org>
981 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
982 bug #504886 not to read unitialised memory.
984 2007-12-26 Xan Lopez <xan@gnome.org>
986 * gtk/gtkstatusbar.c (has_extra_children): take into account the
987 modification of the internal frame contents to decide if we have
988 extra children. (#415677)
990 2007-12-22 Christian Persch <chpe@gnome.org>
992 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
994 2007-12-25 Christian Persch <chpe@gnome.org>
996 * modules/other/gail/gailwindow.c: (gail_window_initialize):
997 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1000 2007-12-25 Christian Persch <chpe@gnome.org>
1002 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1004 2007-12-25 Christian Persch <chpe@gnome.org>
1006 * modules/other/gail/*.[ch]: Remove relocations from the atk
1007 factories. Remove unused gail_foo_new() functions. Fix object
1008 instantiation to be derivation safe by moving initialisation code
1009 from the removed gail_foo_new() functions to the
1010 AtkObjectClass::initialize implementation. Bug #505226.
1012 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1014 * modules/other/gail/gailentry.c:
1015 * modules/other/gail/gailimage.c:
1016 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1017 uses of clipboards and settings. (#504722, Christian Persch)
1019 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1021 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1024 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1026 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1027 use the time and button information from the event. (#504901,
1030 2007-12-23 Cody Russell <bratsche@gnome.org>
1032 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1033 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1034 Fixes a regression caused by #164537 patch where transient
1035 windows that are hidden get shown (incorrectly) when their
1036 parents are minimized. (#504984)
1038 2007-12-22 Christian Persch <chpe@gnome.org>
1040 * modules/other/gail/gailcell.c:
1041 * modules/other/gail/gailcontainercell.c:
1042 * modules/other/gail/gailexpander.c:
1043 * modules/other/gail/gailtextcell.c:
1044 * modules/other/gail/gailtextview.c:
1045 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1047 2007-12-22 Christian Persch <chpe@gnome.org>
1049 * modules/other/gail/*.c: Include config.h. Bug #504720.
1051 2007-12-22 Christian Persch <chpe@gnome.org>
1053 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1054 handwritten get_type functions. Bug #504661.
1056 2007-12-23 Xan Lopez <xan@gnome.org>
1058 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1059 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1061 Patch by Sadrul Habib Chowdhury (#504804)
1063 2007-12-22 Christian Persch <chpe@gnome.org>
1065 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1066 #504645, patch by Li Yuan.
1068 2007-12-22 Christian Persch <chpe@gnome.org>
1070 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1072 2007-12-22 Christian Persch <chpe@gnome.org>
1074 * modules/other/gail/gail.c:
1075 * modules/other/gail/gailbutton.c:
1076 * modules/other/gail/gailcell.c:
1077 * modules/other/gail/gailcombo.c:
1078 * modules/other/gail/gailcombo.h:
1079 * modules/other/gail/gailcombobox.c:
1080 * modules/other/gail/gailentry.c:
1081 * modules/other/gail/gailexpander.c:
1082 * modules/other/gail/gailmenuitem.c:
1083 * modules/other/gail/gailnotebook.c:
1084 * modules/other/gail/gailnotebookpage.c:
1085 * modules/other/gail/gailnotebookpage.h:
1086 * modules/other/gail/gailoptionmenu.c:
1087 * modules/other/gail/gailrange.c:
1088 * modules/other/gail/gailtextview.c:
1089 * modules/other/gail/gailtreeview.c:
1090 * modules/other/gail/gailtreeview.h:
1091 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1094 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1096 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1099 2007-12-21 Richard Hult <richard@imendio.com>
1101 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1102 Plug leak of destroyed subviews, fixes bug #504753.
1104 2007-12-20 Johan Dahlin <johan@gnome.org>
1106 * tests/Makefile.am (TEST_PROGS):
1107 * tests/defaultvaluetest.c: Add a test for default values,
1108 based on program by Christan Perch
1110 2007-12-20 Johan Dahlin <johan@gnome.org>
1112 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1113 Refactor to avoid some duplication.
1114 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1115 Fixes #504749, Yuri Pimenov
1117 2007-12-20 Kristian Rietveld <kris@imendio.com>
1119 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1120 the build work again on systems without xrandr 1.2.
1122 2007-12-20 Christian Persch <chpe@gnome.org>
1125 * modules/other/gail/libgail-util/Makefile.am:
1126 Keep the same libtool version as the standalone libgail-util had.
1129 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1131 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1133 2007-12-20 Alexander Larsson <alexl@redhat.com>
1135 * gdk/x11/gdkapplaunchcontext-x11.c:
1136 Update for gio API changes
1138 2007-12-20 Richard Hult <richard@imendio.com>
1140 * gdk/quartz/GdkQuartzWindow.c:
1141 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1142 processing events after changing the size.
1144 2007-12-20 Richard Hult <richard@imendio.com>
1146 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1147 Add stub for quartz to fix build.
1149 2007-12-20 Christian Persch <chpe@gnome.org>
1151 * modules/other/gail/Makefile.am:
1152 * modules/other/gail/gailimage.c: (gail_image_class_init),
1153 (gail_image_init), (elide_underscores), (gail_image_get_name),
1154 (atk_image_interface_init), (gail_image_finalize):
1155 * modules/other/gail/gailimage.h:
1156 R modules/other/gail/gailintl.h:
1157 * po/POTFILES.skip: Use the stock item's label as the name of the
1158 accessible in gailimage.c. Bug #504246.
1160 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1162 Avoid some compiler warnings and remove obsolete code. (#339540)
1164 * gtk/gtkcalendar.c: Change week and year variable in
1165 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1166 0" block from calendar_paint_day: The feature in question is handled
1167 few lines above. Cast data returned by gtk_selection_data_get_text()
1168 to (gchar*) in gtk_calendar_drag_data_received.
1170 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1172 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1174 2007-12-19 Johan Dahlin <johan@gnome.org>
1176 * tests/buildertest.c (test_object_properties):
1177 Add another call to gtk_builder_add_string after using
1178 delayed properties, as reported in #504393 but already
1181 2007-12-18 Christian Persch <chpe@gnome.org>
1184 * docs/reference/Makefile.am:
1185 * docs/reference/libgail-util/*:
1186 * gail-uninstalled.pc.in:
1188 * modules/Makefile.am:
1189 * modules/other/Makefile.am:
1190 * modules/other/gail/*:
1191 * modules/other/gail/libgail-util/*:
1192 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1194 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1196 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1197 * gdk/win32/gdkproperty-win32.c:
1198 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1200 * gtk/gtkimmodule.[hc]:
1201 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1202 look at the gtk-im-module setting, and listen for changes to the
1203 setting. (#502446, Akira Tagoh)
1205 2007-12-17 Kristian Rietveld <kris@imendio.com>
1207 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1208 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1209 to NULL as soon as it's destroyed. (#496546, patch from
1212 2007-12-17 Kristian Rietveld <kris@imendio.com>
1214 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1215 always determine what arrow to show if show_sort_indicator is true.
1216 (#352738, Chris Vine).
1218 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1220 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1221 Sébastien Granjoux)
1223 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1224 gtk_container_foreach in get_child_panes.
1226 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1228 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1230 Plug leak: When reordering the info in the list the old node is
1231 removed but not freed. (#503569)
1233 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1235 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1236 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1237 are deprecated since DirectFB 1.0.0. If compiling with an older
1238 version define the new type name to the old types. Fixes bug #503190.
1240 2007-12-14 Ray Strode <rstrode@redhat.com>
1242 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1243 instead of g_signal_connect_after (..., "realize", ...) as an
1244 alternative to gtk_widget_realize () (bug 503537).
1246 2007-12-14 Michael Natterer <mitch@imendio.com>
1248 * gdk/gdkinternals.h
1249 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1252 * gdk/gdkapplaunchcontext.c
1253 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1254 header already includes everything now.
1256 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1258 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1259 next stable release shall be 2.16, not 2.14 - even if disagree.
1261 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1263 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1265 Change GtkToolItem to retrieve its properties from GtkToolShell
1266 interface, instead of relying on being child of a GtkToolbar.
1269 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1270 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1271 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1272 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1273 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1274 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1275 Take section docs from template file and update them for GtkToolShell.
1276 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1277 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1279 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1281 Extract loading of GtkPageSetup and GtkPrintSettings from their
1282 *_new_*() functions and move that code into separate
1283 *_load_*() functions (#475565).
1285 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1286 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1287 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1288 Change the matching *_new_*() functions to use those functions.
1290 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1293 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1295 2007-12-14 Kristian Rietveld <kris@imendio.com>
1297 * gtk/tests/liststore.c:
1298 * gtk/tests/treestore.c: added tests for insertion functions.
1300 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1302 * Add RandR 1.2 support
1304 - New monitors_changed signal - New API to get width/height of
1305 monitors, and the name of the plug
1307 2007-12-13 Kristian Rietveld <kris@imendio.com>
1309 * gtk/tests/liststore.c:
1310 * gtk/tests/treestore.c: test the move and swap functions on a
1311 store with only one node.
1313 2007-12-13 Kristian Rietveld <kris@imendio.com>
1315 * gtk/gtktestutils.c (gtk_test_init): add a call to
1318 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1321 2007-12-13 Kristian Rietveld <kris@imendio.com>
1323 * gtk/tests/liststore.c:
1324 * gtk/tests/treestore.c: start composing tests for the list and tree
1327 * gtk/tests/treeview-scrolling.c: added automated tests for
1328 GtkTreeView's scrolling "subsystem".
1330 * gtk/tests/Makefile.am: updated; added new test programs.
1332 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1334 Make the code compile again after the GdkAppLaunchContext changes.
1336 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1337 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1339 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1341 * gdk/gdkapplaunchcontext.c: Add docs
1343 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1345 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1346 in gdk, providing startup notification. (#503203)
1348 * gdk/x11/gdkapplaunchcontext-x11.c:
1349 * gdk/win32/gdkapplaunchcontext-win32.c:
1350 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1351 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1352 parts. All but X11 are just empty stubs for now.
1355 * gdk/gdkinternals.h:
1357 * gdk/x11/Makefile.am:
1358 * gdk/win32/Makefile.am:
1359 * gdk/quartz/Makefile.am:
1360 * gdk/directfb/Makefile.am: Necessary glue.
1362 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1364 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1366 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1368 * gdk/directfb/gdktestutils-directfb.c:
1369 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1370 which adds testing functions to the DirectFB backend.
1372 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1374 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1375 Ciccani which fixes the mixing of gdk and cairo rendering.
1377 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1379 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1380 on "drag-motion" handlers. Clearify documentation for
1383 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1385 * buildertest.c: made unnecessarily exported symbols static.
1386 switched g_return_if_fail() statements in tests to assertions.
1387 special cased currently failing Widget/accesibility test to
1388 run only for g_test_thorough(), so it doesn't break make check.
1389 some coding style fixes.
1391 * Makefile.am: added buildertest to TEST_PROGS.
1393 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1395 * docs/tutorial/gtk-tut.sgml:
1396 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1398 2007-12-10 Richard Hult <richard@imendio.com>
1400 * gdk/quartz/Makefile.am:
1401 * gdk/quartz/gdkquartz.h:
1402 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1403 header (bug #405915). Also add a getter for the toplevel nswindow.
1405 2007-12-10 Richard Hult <richard@imendio.com>
1407 * gdk/quartz/gdkdrawable-quartz.c:
1408 (gdk_quartz_drawable_get_context),
1409 (gdk_quartz_drawable_release_context):
1410 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1411 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1412 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1413 used for each drawing context and in prepare, dispatch and poll
1414 with one that exists across each main loop iteration. Fixes leaks
1415 on leopard and protects against future leaks introduce when the
1416 underlying system changes again (bug #492977).
1418 2007-12-10 Richard Hult <richard@imendio.com>
1420 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1421 Fix the check for no changes to position and size.
1423 2007-12-10 Richard Hult <richard@imendio.com>
1425 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1426 sized areas at (0, 0), patch from Paul Davis.
1428 2007-12-10 Richard Hult <richard@imendio.com>
1430 * gdk/quartz/gdkprivate-quartz.h:
1431 * gdk/quartz/gdkeventloop-quartz.c:
1432 (_gdk_quartz_event_loop_get_pending),
1433 (_gdk_quartz_event_loop_check_pending),
1434 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1435 (gdk_event_check), (gdk_event_dispatch):
1436 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1437 (_gdk_events_queue): Fix a bug where we could end up trying to
1438 handle the same event more than once. Based on patch from Paul
1441 2007-12-10 Tor Lillqvist <tml@novell.com>
1443 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1446 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1448 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1449 to avoid further fallout from the fix for bug 388321.
1451 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1453 * gdk/directfb/gdkgc-directfb.c:
1454 * gdk/directfb/gdkdrawable-directfb.c:
1455 * gdk/directfb/gdkdirectfb.h:
1456 * gdk/directfb/gdkwindow-directfb.c:
1457 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1458 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1459 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1460 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1461 which are expected to improve the performance of the DirectFB backend.
1462 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1464 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1466 * gtk/gtkcontainer.c: Correct the documentation of child
1467 property getter arguments. (#501992, David Brigada)
1469 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1471 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1472 leak pixbufs. (#502250, Yevgen Muntyan)
1474 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1476 * gtk/gtkprintunixdialog.c:
1477 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1478 Print and Page Setup dialogs (#502202).
1480 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1482 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1483 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1484 of XVFB_START, since it's the GTESTER invokation that needs this.
1486 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1488 * gdk-pixbuf/gdk-pixbuf.symbols:
1490 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1491 positives in abicheck.sh
1493 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1495 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1496 GDK events generations in the DirectFB backend.
1498 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1500 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1501 set of likely unused display ids, because MacOS has no seq(1) command.
1503 2007-12-06 Richard Hult <richard@imendio.com>
1505 * gdk/quartz/gdkevents-quartz.c:
1506 (synthesize_crossing_events_for_ns_event): Fix warning when
1507 switching spaces in leopard.
1509 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1511 * tests/floatingtest.c: ported to new testing framework.
1513 * tests/Makefile.am: run floatingtest as testing framework test.
1515 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1517 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1518 timeouts and converting main loop sleeps to pending/iterate loops with
1519 very low priority async handlers. eliminate output for non-verbose
1520 tests. assert successfull subtests in all test functions. use testing
1521 framework in main().
1523 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1524 executed inside Xvfb upon make check.
1526 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1528 * tests/objecttests.c: use string comparisons for string property
1529 values and get rid of referencing symbols in array initialization.
1531 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1533 * gtk+/Makefile.decl: run tests in current dir after setting up the
1534 logging directory, so their results get properly merged into the
1537 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1538 tests to loop over registered Gdk/Gtk+ types.
1540 * gtk+/tests/objecttests.c: new test program, implements automated
1541 property tests. several properties are blacklisted because they
1542 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1543 can be used to test blacklisted properties and see which proprty failed.
1545 2007-12-04 Richard Hult <richard@imendio.com>
1547 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1548 Fully initialize the root window, fixes bug #501583.
1550 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1552 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1555 2007-12-03 Richard Hult <richard@imendio.com>
1557 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1558 Don't crash when dragging from a source that doesn't support uri
1559 lists (bug #499868, Paul Davis).
1561 2007-12-03 Richard Hult <richard@imendio.com>
1563 * gdk/quartz/gdkwindow-quartz.c:
1564 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1565 parent relative bg pixmap is set, and no parent has a bg
1566 pixmap. Fixes bug #500804.
1568 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1570 Two optimizations for icon cache lookups.
1572 * gtk/gtkiconcache.[hc]:
1573 * gtk/gtkicontheme.c: Remember the directory index for
1574 subdirectories, instead of running over the directory list
1577 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1578 chain and try it first; this helps with the the usage patterns
1579 in gtkicontheme.c, where the same icon is queried for a lot
1582 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1584 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1585 functions from header files. this should be portable across linux and
1586 Mac OS, unlike the previpous sed expression.
1588 2007-12-1 Cody Russell <bratsche@gnome.org>
1590 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1591 On Windows, queue a redraw of child2 whenever we set
1592 the pane handle position. This is unfortunately kind
1593 of hacky, but solves the visual artifacts that were
1594 occuring on at least certain types of child widgets
1595 (e.g., text views and tree views) that are inside
1596 horizontal or vertical panes. (#144269)
1598 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1600 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1602 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1604 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1607 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1609 * gtk/Makefile.am: Fix ordering of subdirs.
1611 2007-11-28 Tor Lillqvist <tml@novell.com>
1613 A proper build of GNU libintl is supposed to export the variable
1614 _nl_msg_cat_cntr. configure looks for that variable in order to
1615 recognize GNU gettext. If it sees that it is indeed GNU gettext
1616 that is used, it decides to install message catalogs in
1617 share/locale, otherwise in lib/locale. Until now on Windows I have
1618 built GTK+ against a build of GNU gettext that did not export
1619 _nl_msg_cat_cntr. But this will change, so we can't assume message
1620 catalogs are always in lib/locale.
1622 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1623 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1624 before the inclusion of gtkprivate.h so that it sees the original
1627 * gtk-zip.sh.in: Check whether the message catalogs are in
1628 share/locale or lib/locale.
1630 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1631 that the code in _gtk_get_localedir() will find the slashes.
1633 2007-11-28 Tor Lillqvist <tml@novell.com>
1635 * gtk/Makefile.am: Improve portability. The -o option is present
1636 only in newish GNU egreps. Use one more sed in the pipeline
1639 2007-11-28 Tor Lillqvist <tml@novell.com>
1641 Fix #375893, patch by Ben Hague:
1643 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1644 around GetLogicalDrives() that takes also the viewable drive
1645 restrictions in the Registry (which are usually the result of an
1646 Active Directory Group Policy) into account.
1648 (check_volumes, gtk_file_system_win32_list_volumes) Call
1649 get_viewable_logical_drives() instead of GetLogicalDrives().
1651 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1653 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1654 variables to silence valgrind. (#495124, Morten Welinder)
1656 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1658 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1659 that the construct_child function is responsible for returning a
1661 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1662 objects from constructors
1663 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1664 g_object_ref() to this construction function (it's the only
1669 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1671 * gtkbuilder.c: remove concept of root objects and just refcount
1672 all objects in the builder. Fixes #496651.
1674 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1676 * tests/buildertest.c (test_window): fix invalid free
1678 2007-11-26 Josselin Mouette <joss@malsain.org>
1680 reviewed by: Federico Mena Quintero
1682 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1683 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1684 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1685 Make the shortcuts activate with a single click. (#148828)
1686 Fix a few things affected by the change:
1687 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1688 where no shortcut is selected.
1689 - Don't activate a shortcut in the response callback.
1690 - Filter out duplicate entries in volumes and bookmarks to
1691 avoid the selection to change when reordering them with DnD.
1693 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1696 * gtk/gtknotebook.c:
1697 * gtk/gtkplugprivate.h:
1699 * gtk/gtksocketprivate.h:
1700 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1702 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1704 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1705 (#495574, Richard Hult)
1707 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1709 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1710 String change ! (#376361, Sven Neumann)
1712 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1714 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1716 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1719 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1721 * gtk/gtkassistant.c: Improve alternative button
1722 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1724 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1726 * gtk/gtkcalendar.c: Fix a theming problem with colors
1727 in GtkCalendar. (#499703, Michael Hofmann)
1729 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1731 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1733 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1735 Use templates for glib-mkenums calls instead of
1736 complicated commandlines in Makefiles. (#429910)
1738 * gdk-pixbuf/Makefile.am:
1741 * perf/Makefile.am: Use templates for glib-mkenums
1743 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1744 * gdk/gdkenumtypes.[ch].template:
1745 * gtk/gtktypebuiltings.[ch].template:
1746 * perf/typebuiltins.[ch].template: The templates
1748 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1750 * gtk/gtkfilechooserbutton.c:
1751 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1752 some compilers choke on that. (#467722)
1754 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1756 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1757 about hook setup. (#425004, Emmanuele Bassi)
1759 2007-11-26 Tor Lillqvist <tml@novell.com>
1761 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1762 monitor the window currently is on, not always the primary
1763 monitor. (#463865, Tim Evans)
1765 2007-11-26 Tor Lillqvist <tml@novell.com>
1767 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1769 * gdk/win32/Makefile.am: Add it.
1771 2007-11-26 Tor Lillqvist <tml@novell.com>
1773 * configure.in: Don't add jasper to all_loaders if no libjasper.
1775 2007-11-25 Bastien Nocera <hadess@hadess.net>
1777 * configure.in: Add detection for libjasper, used by the
1778 gdk-pixbuf JPEG2000 loader
1780 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1782 * configure.in: Require gtk-doc 1.8
1784 * */*.c: Use gtk-doc abbreviations for examples in docs.
1786 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1788 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1791 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1793 * gtk/gtkdialog.c: Move signal and property documentation inline,
1794 fix a problem with the ::response signal docs. (#499133, Josselin
1797 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1799 * Makefile.decl: initialize automake variables EXTRA_DIST and
1800 TEST_PROGS for unconditional appending via += in other makefiles.
1801 define recursive test targets: test, test-report, perf-report,
1802 full-report, as described here:
1803 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1804 the test targets will execute Gtk+ test programs within an Xvfb session.
1806 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1808 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1809 g_test_run() to run the tests to integrate with the testing framework.
1811 * gtk/tests/Makefile.am: removed exemplary testing rules.
1813 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1814 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1815 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1816 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1817 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1818 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1819 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1820 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1821 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1822 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1823 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1824 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1825 * modules/engines/ms-windows/Theme/Makefile.am:
1826 * modules/engines/ms-windows/Makefile.am:
1827 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1828 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1829 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1830 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1831 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1832 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1833 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1835 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1837 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1838 (#485662, patch by Herbert Valerio Riedel)
1840 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1842 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1844 2007-11-21 Richard Hult <richard@imendio.com>
1846 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1847 stubs for the testing functions to fix the build.
1849 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1851 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1852 (#467711, The Written Word)
1854 2007-11-21 Ross Burton <ross@openedhand.com>
1856 * gdk/x11/gdksettings.c:
1857 Add xsetting for gtk-scrolled-window-placement (#458103).
1859 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1861 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1862 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1863 (#469239, Michael Natterer)
1865 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1867 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1868 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1869 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1870 (#436536, Tommi Komulainen)
1872 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1874 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1875 property. (#489782, Jan Janech)
1877 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1879 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1880 frames. (#107398, Owen Taylor, Miguel Gomez)
1882 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1884 Moved Gdk test functions from Gtk+ to Gdk test utils.
1886 * gdk/Makefile.am: added gdktestutils.h to public includes.
1888 * gdk/gdk.h: added gdktestutils.h to public includes.
1890 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1891 gdk_test_render_sync.
1893 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1894 gdk_test_simulate_key, gdk_test_render_sync.
1896 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1898 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1899 gdk_test_simulate_key, gdk_test_render_sync.
1901 * gtk/gtktestutils.c:
1902 * gtk/gtktestutils.h:
1903 * gtk/gtk.symbols: removed gtk_test_simulate_button
1904 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1906 * gtk/tests/testing.c: call gdk_test_render_sync.
1908 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1910 Added unit tests for Gtk+ testing utilities.
1912 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1913 utility functions. some g_test_* related portions are disabled and need
1914 to be enabled once Gtk+ depends on a new glib with the GLib testing
1915 framework integrated.
1917 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1918 added exemplary test rules to run tests inside Xvfb. this needs to depend
1919 on gtester for full fledged testing.
1921 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1922 collecting _get_type functions to catch e.g. gtk_text_get_type().
1924 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1926 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1928 Added Gtk+ testing utilities.
1930 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1931 for the most part, the functions herein involve navigating and interacting
1932 with dialog elements programatically, to automate user interaction tests of
1933 dialogs and widgets.
1935 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1937 * gtk/gtk.symbols: added gtk_test_* symbols.
1939 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1940 generate gtktypefuncs.c which contains a list of all _get_type functions in
1942 2007-11-20 Bastien Nocera <hadess@hadess.net>
1944 * configure.in: add support for conditional icns gdk-pixbuf loader
1947 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1949 * configure.in: updated version number to 2.15.0 for development.
1951 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1953 === Branch for 2.12 ===