1 2008-02-15 Matthias Clasen <mclasen@redhat.com>
4 * modules/other/gail/tests/Makefile.am:
5 * modules/other/gail/libgail-util/Makefile.am:
6 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
7 builds. (#516254, Yevgen Muntyan)
9 2008-02-15 Matthias Clasen <mclasen@redhat.com>
14 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
15 instead of hardcoded target tables. (#516092, Christian Persch)
17 2008-02-15 Matthias Clasen <mclasen@redhat.com>
19 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
20 add the same target atom twice. (#516087, Christian Persch)
22 2008-02-15 Matthias Clasen <mclasen@redhat.com>
24 * tests/testfilechooser.c: Add a --backend option.
25 (#516073, Christian Persch)
27 2008-02-16 Richard Hult <richard@imendio.com>
29 * gdk/quartz/gdkprivate-quartz.h:
30 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
33 2008-02-15 Matthias Clasen <mclasen@redhat.com>
35 * configure.in: Go back to 2.13.0 as version for now,
36 as there was no consensus to do the jump.
38 * many other places: Update Since: tags.
40 2008-02-15 Matthias Clasen <mclasen@redhat.com>
42 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
44 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
46 2008-02-15 Richard Hult <richard@imendio.com>
48 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
49 instead of bounds when resizing windows.
51 2008-02-15 Matthias Clasen <mclasen@redhat.com>
53 * gdk/x11/gdkkeys-x11.c:
54 * gdk/x11/gdkcolor-x11.c:
55 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
57 2008-02-15 Matthias Clasen <mclasen@redhat.com>
59 * gdk/x11/gdktestutils-x11.c:
60 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
62 2008-02-15 Tor Lillqvist <tml@novell.com>
64 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
65 leak Registry key handles. (#516578)
67 2008-02-14 Richard Hult <richard@imendio.com>
69 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
70 makeKeyWindow unfortunately doesn't work in all cases, we must use
73 2008-02-14 Richard Hult <richard@imendio.com>
75 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
76 (gdk_window_hide), (gdk_window_fullscreen),
77 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
80 2008-02-14 Richard Hult <richard@imendio.com>
82 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
83 resizing to be consistent and to avoid introducing an internal
84 transform in the view.
86 2008-02-14 Richard Hult <richard@imendio.com>
88 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
91 2008-02-14 Johan Dahlin <johan@gnome.org>
94 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
96 2008-02-13 Richard Hult <richard@imendio.com>
98 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
99 Remove unused variables.
100 (gtk_clipboard_set_contents),
101 (gtk_clipboard_get_owner), (clipboard_unset),
102 (gtk_clipboard_request_targets): Notify the previous clipboard
103 owner when the owner changes. Fixes bug #493406.
105 2008-02-13 Richard Hult <richard@imendio.com>
107 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
108 the return value (return number of colors that failed), and handle
110 (gdk_colormap_free_colors): Fix typo in comment.
112 2008-02-13 Kristian Rietveld <kris@imendio.com>
114 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
115 queue a redraw if the rubber banding has actually been active.
117 2008-02-12 Matthias Clasen <mclasne@redhat.com>
119 * gtk/gtkpapersize.c:
120 * gtk/gtkprintoperation.c:
121 * gtk/gtkvolumebutton.c:
122 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
123 out by Behdad Esfahbod.
125 2008-02-12 Federico Mena Quintero <federico@novell.com>
127 Merged from gtk-2-12:
129 Don't focus the file list when shortcuts get activated. This
130 removes a lot of ambiguity in when the file selection should
131 change, and makes the overall code flow simpler.
133 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
134 file/save dialog clears the filename entry when changing
137 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
138 focus should not go to the file list when a shortcut is activated.
140 * gtk/gtkfilechooserdefault.c
141 (shortcuts_activate_volume_mount_cb): Don't focus the file list
142 (shortcuts_activate_get_info_cb): Likewise.
144 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
145 the file list (this was the last place where we would focus the
146 file list explicitly). If you are in the location entry, for
147 example, you don't want Alt-Home to take you to the file list; you
148 just want the current folder to change. Thanks to Olle Bergkvist
149 <olle.bergkvist@yahoo.se> for pointing this out in
150 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
151 (focus_browse_tree_view_if_possible): Removed.
153 2008-02-12 Matthias Clasen <mclasen@redhat.com>
155 Skip exensions when selecting filenames in the save-as dialog.
156 (#362516, Carlos Garnacho)
158 * gtk/gtkfilechooserentry.h:
159 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
160 New function to skip the extension part when selecting a filename.
161 (_gtk_file_chooser_entry_set_base_folder): Use it here.
163 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
166 2008-02-12 Matthias Clasen <mclasen@redhat.com>
168 * gtk/gtkiconview.c: Fix state change reporting for
169 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
171 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
173 * gtk/gtkrecentchooser.c:
174 (gtk_recent_chooser_class_init): Set the default value of the
175 :show-not-found property to TRUE, as every implementation sets
178 * gtk/gtkrecentchooserdefault.c:
179 (_gtk_recent_chooser_default_init): Sync show_tips to the
180 default value of the :show-tips property.
182 2008-02-12 Matthias Clasen <mclasen@redhat.com>
184 * gtk/gtkclipboard-quartz.c:
186 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
189 2008-02-12 Kristian Rietveld <kris@imendio.com>
191 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
192 (gtk_tree_view_real_toggle_cursor_row): guard against people
193 deleting the row in question in the selection-changed callback.
194 (#514621, Andreas Koehler).
196 2008-02-12 Matthias Clasen <mclasen@redhat.com>
198 * gtk/*.c: Unify the handling of various "Enter" keysyms
199 all over the place. (#515047, Christian Persch)
201 2008-02-12 Matthias Clasen <mclasen@redhat.com>
203 * gtk/gtkfilesystemmodel.c:
205 * gtk/gtkwidget.c: Use g_value_set_static_string() where
206 appropriate. (#515042, Christian Persch)
208 2008-02-12 Matthias Clasen <mclasen@redhat.com>
210 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
212 2008-02-12 Matthias Clasen <mclasen@redhat.com>
214 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
216 2008-02-12 Matthias Clasen <mclasen@redhat.com>
218 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
219 (recent_model_sort_drag_data_get):
220 (search_model_sort_drag_data_get):
221 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
222 * gtk/gtkpathbar.c (button_drag_data_get_cb):
223 Use gtk_selection_data_set_uris() instead of doing it
224 by hand. (#514890, Christian Persch)
226 2008-02-12 Michael Natterer <mitch@imendio.com>
228 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
229 gtk_get_current_event_time().
231 2008-02-12 Michael Natterer <mitch@imendio.com>
233 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
234 gtk_window_get_key_hash() to get the hash instead of manually
235 fiddling with quarks and gtk_window_keys_changed(). Also add
236 g_return_if_fail() to this public function.
238 2008-02-11 Matthias Clasen <mclasen@redhat.com>
240 Support keynav in status icons. (#473786, Li Yuan)
242 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
244 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
246 2008-02-11 Kristian Rietveld <kris@imendio.com>
248 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
249 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
250 wrt. link deletion from list; contination of fix for #503569.
252 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
254 * gtk/gtkrecentchoosermenu.c:
255 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
256 on the placeholder menu item.
258 * tests/testrecentchoosermenu.c:
259 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
260 whether the placeholder menu item gets shown.
262 2008-02-10 Cody Russell <bratsche@gnome.org>
264 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
265 Check the return value of _gtk_file_chooser_get_file_system () for
266 NULL before passing it to gtk_file_system_path_to_uri ().
267 (#515667, Francesco Montorsi)
269 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
271 * gtk/gtkbuilder.c: Improve the documentation for
272 gtk_builder_connect_signals. (#514471)
274 2008-02-10 Matthias Clasen <mclasen@redhat.com>
276 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
279 2008-02-08 Cody Russell <bratsche@gnome.org>
281 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
282 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
284 2008-02-08 Richard Hult <richard@imendio.com>
286 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
287 delta from the NSEvent for now, generating multiple scroll events
288 results in a lot of events getting queued up and things get really
291 2008-02-08 Sven Herzberg <sven@imendio.com>
293 Adjust the code to match the documentation, examples, "common sense"
294 and existing applications.
296 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
297 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
300 2008-02-07 Cody Russell <bratsche@gnome.org>
302 * gdk/win32/gdkevents-win32.c
303 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
304 of a block that were causing compile problems on old
305 compilers. (#515053, reported by Kazuki IWAMOTO)
307 2008-02-07 Michael Natterer <mitch@imendio.com>
316 * gtk/gtkoptionmenu.c
320 * gtk/gtkradiomenuitem.c
322 * gtk/gtkscrolledwindow.c
323 * gtk/gtksocket.c: remove g_return_if_fail() from private
324 functions and virtual function implementations.
326 2008-02-07 Michael Natterer <mitch@imendio.com>
333 * gtk/gtkcellrenderercombo.c
336 * gtk/gtkdrawingarea.c
337 * gtk/gtkentrycompletion.c
343 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
344 functions and virtual function implementations.
346 2008-02-07 Christian Persch <chpe@gnome.org>
348 * gdk/gdkpixbuf-render.c:
349 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
350 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
351 otherwise there will be random pixel values in the semi-transparent
352 area of the pixbuf within the mask. Bug #487865.
354 2008-02-06 Cody Russell <bratsche@gnome.org>
356 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
357 otherwise things get wonky when you click on a menu. This fixes
358 a regression caused in #505928. Thanks to Tor for spotting this
361 2008-02-06 Michael Natterer <mitch@imendio.com>
372 * gtk/gtkseparatortoolitem.c
374 * gtk/gtktextlayout.c
375 * gtk/gtktoggletoolbutton.c
376 * gtk/gtktoolbutton.c
379 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
382 2008-02-05 Matthias Clasen <mclasen@redhat.com>
384 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
385 Allow to store half-open ranges.
387 2008-02-05 Cody Russell <bratsche@gnome.org>
389 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
390 down the stack until we get to a window that is mapped.
391 Otherwise hiding a window will cause all windows in the app
392 to be blocked. (#514643)
394 2008-02-05 Matthias Clasen <mclasen@redhat.com>
396 * gtk/updateiconcache.c: Ignore images in the toplevel theme
397 directory, avoiding one source of invalid caches that has been
400 2008-02-05 Matthias Clasen <mclasen@redhat.com>
402 * gtk/updateiconcache.c: Fix the previous commit to compile.
404 2008-02-05 Matthias Clasen <mclasen@redhat.com>
406 * gtk/updateiconcache.c: Install a printerr handler that
407 prepends the program name, since gtk-update-icon-cache output
408 often appears in the middle of other output, e.g. rpm update logs.
410 2008-02-05 Cody Russell <bratsche@gnome.org>
412 * gdk/win32/gdkprivate-win32.h
413 * gdk/win32/gdkevents-win32.c
414 * gdk/win32/gdkwindow-win32.c
415 * gdk/win32/gdkwindow-win32.h
416 * gdk/win32/gdkwin32.h:
417 Modal window rework. (#455627 and #511111)
419 2008-02-04 Michael Natterer <mitch@imendio.com>
421 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
422 g_return_if_fail() if the cell is not part of the combo instead of
423 crashing in the next line.
425 2008-02-01 Cody Russell <cody@jhu.edu>
427 * modules/engines/ms-windows/xp_theme.[ch]
428 * modules/engines/ms-windows/xp_theme_defs.h
429 * modules/engines/ms-windows/msw_rc_style.c
430 * modules/engines/ms-windows/msw_theme_main.c
431 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
432 attempted to stylize more like the rest of the gtk+ stack's code.
434 2008-02-01 Michael Natterer <mitch@imendio.com>
436 * tests/testgtk.c: initialize GdkColor structs to fix warning
437 about uninitialized "pixel" member.
439 * tests/testactions.c: connect the toolbar_style() callback so it
440 does something useful and doesn't warn about being defined but not
443 2008-01-31 Cody Russell <bratsche@gnome.org>
445 * gdk/win32/gdkevents-win32.c:
446 Refactored some of the window hiding/showing code from
447 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
448 under WM_ACTIVATE was causing the application to go into
449 a weird state when the user right-clicked on the taskbar
450 entry of a window that was minimized. (#505928)
452 2008-01-31 Cody Russell <bratsche@gnome.org>
454 * gtk/gtkpaned.c (gtk_paned_set_position):
455 Change queue_resize() to queue_draw(), and add a check for
456 child2 != NULL in case someone calls this before there is
457 a child packed in there. (#144269 again)
459 2008-01-31 Sven Neumann <sven@gimp.org>
461 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
462 applied patch from Denis Oliver Kropp <dok@directfb.org>.
464 2008-01-31 Sven Neumann <sven@gimp.org>
466 * gdk/directfb/gdkdisplay-directfb.c
467 * gdk/directfb/gdkdrawable-directfb.c
468 * gdk/directfb/gdkprivate-directfb.h
469 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
470 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
472 2008-01-31 Richard Hult <richard@imendio.com>
474 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
475 issues with undecorated windows. Revert the change done on
476 2008-01-25 and fix it by using the view's bounds instead. The
477 bounds will always be up to date when setting up the tracking
478 rect, so this should be more robust.
480 2008-01-30 Sven Neumann <sven@gimp.org>
482 * gdk/directfb/gdkdrawable-directfb.c
483 * gdk/directfb/gdkwindow-directfb.c
484 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
485 Oliver Kropp <dok@directfb.org>. Adds debug messages using
486 DirectFB's debugging system
488 2008-01-30 Sven Neumann <sven@gimp.org>
490 * gdk/directfb/gdkdirectfb.h
491 * gdk/directfb/gdkdisplay-directfb.c
492 * gdk/directfb/gdkdrawable-directfb.c
493 * gdk/directfb/gdkim-directfb.c
494 * gdk/directfb/gdkimage-directfb.c
495 * gdk/directfb/gdkinput-directfb.c
496 * gdk/directfb/gdkmain-directfb.c
497 * gdk/directfb/gdkpixmap-directfb.c
498 * gdk/directfb/gdktestutils-directfb.c
499 * gdk/directfb/gdkvisual-directfb.c
500 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
501 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
502 errors and has some cleanups.
504 2008-01-30 Michael Natterer <mitch@imendio.com>
506 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
507 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
510 * gtk/updateiconcache.c (add_string): cast const gchar* to
511 gpointer when inserting in a GHashTable.
513 * tests/testcalendar.c (calendar_detail_cb): remove const from
514 return value since it's a newly allocated string.
516 (calendar_update_details): free the detail.
518 2008-01-29 Johan Dahlin <johan@gnome.org>
520 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
522 * demos/gtk-demo/demo.ui:
523 Move the about dialog to the glade file, add accessible tags
524 examples to the markup file.
526 2008-01-28 Paolo Borelli <pborelli@katamail.com>
528 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
529 layout, fixes #512375.
531 2008-01-28 Michael Natterer <mitch@imendio.com>
534 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
536 2008-01-28 Michael Natterer <mitch@imendio.com>
538 * demos/gtk-demo/builder.c (about_activate): use
539 gtk_about_dialog_set_program_name() instead of the deprecated
542 2008-01-28 Michael Natterer <mitch@imendio.com>
545 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
548 2008-01-26 Johan Dahlin <johan@gnome.org>
551 * tests/textbuffertest.c:
552 Rename textbuffer test and port it to the new test framework
554 2008-01-25 Johan Dahlin <johan@gnome.org>
556 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
557 unsetting of GTK_MODULES.
559 * gtk/gtk-builder-convert
560 (GtkBuilderConverter._convert_adjustment): Handle the case where
561 there is no child text node.
562 (GtkBuilderConverter): Allow xml comments in most places.
564 2008-01-25 Johan Dahlin <johan@gnome.org>
566 * gtk/gtk-builder-convert
567 (GtkBuilderConverter._convert_combobox_items): Remove the items
568 even if there are no items set.
569 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
570 signals and tooltips for all menu items subclasses and
571 GtkImageMenuItem:label.
572 Makes it possible to fully convert and run Jokosher.glade.
574 2008-01-25 Johan Dahlin <johan@gnome.org>
576 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
577 (gtk_widget_buildable_get_internal_child), (free_action),
578 (free_relation), (gtk_widget_buildable_parser_finished),
579 (accessibility_start_element),
580 (gtk_widget_buildable_custom_tag_start),
581 (gtk_widget_buildable_custom_finished):
582 Implement accessible support, fixes #454653.
584 * gtk/gtk-builder-convert:
585 Add support for migrating old glade files
587 * tests/buildertest.c: (test_widget), (test_file):
588 Add accessible tests and imprve the test_file function to display
589 toplevels and run dialogs.
591 2008-01-25 Richard Hult <richard@imendio.com>
593 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
594 didn't change, fixes focus event issues for undecorated windows.
596 2008-01-25 Richard Hult <richard@imendio.com>
598 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
599 const and remove unused variables).
601 2008-01-25 Michael Natterer <mitch@imendio.com>
604 * gtk/gtkcellrenderer.h
609 * gtk/gtktreeprivate.h
610 * gtk/gtktreeviewcolumn.h
611 * gtk/gtkwidget.h: add const to constant structs which are passed
612 into GTK+. Also add some forgotten const for const strings.
616 * gtk/gtkcellrenderer.c
622 * gtk/gtktreeviewcolumn.c
623 * gtk/gtkwidget.c: changed accordingly.
625 2008-01-25 Sven Herzberg <sven@imendio.com>
627 Reviewed by Johan Dahlin.
629 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
630 this is called with something that's not a GtkUIManager
632 2008-01-24 Johan Dahlin <johan@gnome.org>
634 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
635 Chain up to parent, so widgets can have internal children.
637 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
639 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
642 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
644 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
646 Use pango_layout_set_height() for calendar details (#506049).
648 * configure.in: Require 1.19.3 for pango_layout_set_height().
649 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
651 2008-01-18 Johan Dahlin <johan@gnome.org>
653 * gtk/gtk-builder-convert (get_property_node): New method
654 (GtkBuilderConverter._create_object): Conditionally take a node as
655 a property value, so don't lose translate/context attributes if they
657 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
658 property values instead of strings.
659 (#509153, Erik van Pienbroek)
661 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
663 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
665 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
666 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
667 * tests/testcalendar.c: Duplicate calendar details before returning.
669 2008-01-16 Christian Persch <chpe@gnome.org>
671 * gtk/gtkwidget.c: Store the event mask and extension event mode
672 directly in the gobject data pointer, instead of in an allocated
675 2008-01-16 Michael Natterer <mitch@imendio.com>
677 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
678 gdk-pixbuf now uses gio functions.
680 2008-01-16 Matthias Clasen <mclasen@redhat.com>
682 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
683 the notify::model signal. (#509819, David Zeuthen)
685 2008-01-15 Michael Natterer <mitch@imendio.com>
693 * gdk/gdkwindow.h: made more struct pointer and array parameters
694 const. GDK should now be constified as far as possible without
695 breaking source compatibility. Includes some minor cleanup like
696 indentation and s/nfoo/n_foo/ (bug #508544).
702 * gdk/gdkregion-generic.c
704 * gdk/directfb/gdkdisplay-directfb.c
705 * gdk/directfb/gdkwindow-directfb.c
706 * gdk/quartz/gdkdisplay-quartz.c
707 * gdk/quartz/gdkwindow-quartz.c
708 * gdk/win32/gdkdisplay-win32.c
709 * gdk/win32/gdkwindow-win32.c
710 * gdk/x11/gdkdisplay-x11.c
711 * gdk/x11/gdkwindow-x11.c: changed accordingly.
713 2008-01-14 Michael Natterer <mitch@imendio.com>
715 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
718 (gtk_rc_parse_any): change variables to const and introduce
719 another local variable to fix const warnings.
721 2008-01-14 Michael Natterer <mitch@imendio.com>
723 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
724 of gdk_screen_get_font_options() to gpointer to get rid of const
727 2008-01-14 Michael Natterer <mitch@imendio.com>
729 * tests/testdnd.c (source_drag_data_get): fix another call to
730 gtk_selection_data_set().
732 2008-01-14 Michael Natterer <mitch@imendio.com>
734 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
737 2008-01-14 Michael Natterer <mitch@imendio.com>
739 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
741 2008-01-14 Michael Natterer <mitch@imendio.com>
743 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
744 "uris" to guchar* when passing it to gtk_selection_data_set().
746 2008-01-14 Michael Natterer <mitch@imendio.com>
754 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
755 parameters const (bug #508544).
761 * gdk/gdkpolyreg-generic.c
762 * gdk/gdkregion-generic.c
763 * gdk/directfb/gdkcolor-directfb.c
764 * gdk/directfb/gdkgc-directfb.c
765 * gdk/directfb/gdkgeometry-directfb.c
766 * gdk/directfb/gdkwindow-directfb.c
767 * gdk/quartz/gdkcolor-quartz.c
768 * gdk/quartz/gdkgc-quartz.c
769 * gdk/quartz/gdkgeometry-quartz.c
770 * gdk/quartz/gdkwindow-quartz.c
771 * gdk/win32/gdkcolor-win32.c
772 * gdk/win32/gdkgc-win32.c
773 * gdk/win32/gdkgeometry-win32.c
774 * gdk/win32/gdkprivate-win32.h
775 * gdk/win32/gdkwindow-win32.c
776 * gdk/x11/gdkcolor-x11.c
777 * gdk/x11/gdkgc-x11.c
778 * gdk/x11/gdkgeometry-x11.c
779 * gdk/x11/gdkmain-x11.c
780 * gdk/x11/gdkprivate-x11.h
781 * gdk/x11/gdkwindow-x11.c: changed accordingly.
783 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
786 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
788 Explain name choice for gtk_tool_item_toolbar_reconfigured.
790 * gtk/gtktoolitem.c: Add comment expaining name choice for
791 gtk_tool_item_toolbar_reconfigured.
793 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
795 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
796 implementations to notify its children, when some aspect of their
797 configuration changed (#509042).
799 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
800 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
801 Rename _gtk_tool_item_toolbar_reconfigured.
803 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
805 Include <gtk/gtktoolshell.h> from gtk.h.
807 * gtk/gtk.h: Add gtktoolshell.h
809 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
811 Print angle brackets arround e-mail addresses in the about dialog
812 (#409520, Mariano Suárez-Alvarez).
814 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
816 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
818 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
819 special casing so test widgets are always queues for destruction
822 * gtk/tests/testing.c: removed bits left-over from testing without
825 2008-01-10 Tor Lillqvist <tml@novell.com>
827 * modules/other/gail/libgail-util/Makefile.am
828 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
831 2008-01-10 Tor Lillqvist <tml@novell.com>
833 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
834 uses gtkprintunixdialog API.
836 2008-01-10 Tor Lillqvist <tml@novell.com>
838 * gdk/win32/gdkdisplay-win32.c
839 * gdk/win32/gdkglobals-win32.c
840 * gdk/win32/gdkprivate-win32.h
841 * gdk/win32/gdkscreen-win32.c
842 * gdk/win32/gdkwindow-win32.c: Implement
843 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
844 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
847 2008-01-10 Cody Russell <bratsche@gnome.org>
849 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
850 Properly ref/unref windows and parents. (#506769)
852 2008-01-10 Richard Hult <richard@imendio.com>
854 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
855 (gdk_window_hide), (move_resize_window_internal): Move the
856 tracking rect workaround from here...
858 * gdk/quartz/GdkQuartzWindow.c:
859 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
860 movements during showing/hiding operations. Fixes bug #508516.
862 2008-01-10 Michael Natterer <mitch@imendio.com>
864 * gdk/directfb/gdkscreen-directfb.c
865 (gdk_screen_get_monitor_width_mm)
866 (gdk_screen_get_monitor_height_mm)
867 (gdk_screen_get_monitor_plug_name): add these functions to make
870 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
872 * gtk/gtkrecentchoosermenu.c:
873 (idle_populate_func), (idle_populate_clean_up): Fix possible
874 recursion by resetting the idle source id. (#507605, William
877 2008-01-10 Kristian Rietveld <kris@imendio.com>
879 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
880 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
881 avoid valgrind warnings. (#507751, patch from Christian Persch).
883 2008-01-10 Kristian Rietveld <kris@imendio.com>
885 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
886 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
888 2008-01-10 Kristian Rietveld <kris@imendio.com>
890 Fix #477175, reported by Juri Pakaste.
892 * gtk/gtktreeprivate.h:
893 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
894 tree_view->priv->dy here directly, just calculate the new value
895 and set it on the adjustment,
896 (gtk_tree_view_adjustment_changed): add guards to not call
897 gtk_tree_view_dy_to_top_row() if we are currently in
898 gtk_tree_view_top_row_to_dy(),
899 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
900 coordinates, not tree coordinates,
901 (gtk_tree_view_real_start_editing): add cast.
903 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
904 position of the editable in the "create new row and start editing"
907 2008-01-09 Michael Natterer <mitch@imendio.com>
909 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
912 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
913 * gtk/gtkicontheme.c (theme_list_contexts)
914 (gtk_icon_theme_lookup_icon)
915 * gtk/gtkimcontextsimple.c (beep_window)
916 * gtk/gtklinkbutton.c (set_link_color)
917 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
920 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
921 variable and add const to another to fix a warning.
923 2008-01-07 Matthias Clasen <mclasen@redhat.com>
925 * gtk/gtkassistant.c (remove_page): Be more robust when removing
926 the current page. (#499951, Andreas Sandberg)
928 2008-01-06 Johan Dahlin <johan@gnome.org>
930 * gtk/gtkspinbutton.c: Declare value in the example code for
931 GtkSpinButton::output, as pointed out by Anders Carlsson.
933 2008-01-06 Christian Persch <chpe@gnome.org>
935 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
936 and remove an obsolete event box. Bug #506760.
938 2008-01-06 Johan Dahlin <johan@gnome.org>
940 * tests/buildertest.c (test_domain):
941 Update, GtkBuilder::translation-domain is no longer set
943 * gtk/gtkbuilderparser.c (parse_interface):
944 Allow domains to be overridden in <interface>'s if a translation-domain
945 is set in the builder.
946 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
947 of the builder, make the domain set in the <interface> apply only to strings
949 (#496831, Ryan Lortie)
951 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
954 * gtk/gtktreestore.c (tree_model_end_element):
955 Remove an unused variable
957 2008-01-06 Matthias Clasen <mclasen@redhat.com>
959 * gtk/gtkspinbutton.c: Document the ::output signal and
960 add an example. (#507566, example by Owen Taylor)
962 2008-01-06 Johan Dahlin <johan@gnome.org>
964 * gtk/gtkcellrenderercombo.c:
965 (gtk_cell_renderer_combo_get_property),
966 (gtk_cell_renderer_combo_set_property):
967 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
968 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
969 * gtk/gtknotebook.c: (gtk_notebook_set_property):
970 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
971 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
972 (gtk_text_buffer_get_property):
973 * gtk/gtktextview.c: (gtk_text_view_set_property):
974 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
975 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
976 (gtk_tool_button_get_property):
977 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
978 (gtk_tool_item_get_property):
979 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
980 * gtk/gtkwidget.c: (gtk_widget_set_property):
981 * gtk/gtkwindow.c: (gtk_window_set_property):
982 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
985 2008-01-06 Johan Dahlin <johan@gnome.org>
987 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
988 Make sure that --root works for toplevel widgets.
989 (#491847, Phil Lello)
991 2008-01-05 Johan Dahlin <johan@gnome.org>
993 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
994 to make sure that make test-report works properly
996 2008-01-05 Christian Persch <chpe@gnome.org>
998 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
999 GType as integer through gpointer. Bug #507395.
1001 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1003 Avoid some compiler warnings (#507000).
1005 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1006 for value argument of _gtk_builder_flags_from_string.
1007 * gtk/gtkwidget.c: Don't alias the child pointer passed
1008 to gdk_window_get_user_data.
1010 2008-01-04 Michael Natterer <mitch@imendio.com>
1012 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1013 to set the time in the returned GdkTimeCoords.
1015 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1017 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1018 correct comparison function (kudos to Christian Persch and
1019 Claudio Saavedra for spotting this)
1021 * gtk/gtkrecentchooserutils.c:
1022 (sort_recent_items_mru),
1023 (sort_recent_items_lru): Ditto as above.
1025 2008-01-03 Johan Dahlin <johan@gnome.org>
1027 * tests/defaultvaluetest.c: Make it pass again.
1029 2008-01-02 Johan Dahlin <johan@gnome.org>
1031 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1032 make it pass on Ubuntu.
1033 (main): Use gtk_test_list_all_types () instead of providing our
1035 And it no longer passes.
1037 2007-12-30 Johannes Schmid <jhs@gnome.org>
1039 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1040 Also reorder menu when reordering tabs by drag & drop
1043 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1044 Add a menu to one of the notebooks to have a test-case for
1045 the change mentioned above.
1047 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1049 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1051 2007-12-31 Christian Persch <chpe@gnome.org>
1053 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1054 Plug a mem leak. Bug #506107.
1056 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1058 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1059 icon cache api change. (#506135, Kazuki Iwamoto)
1061 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1063 Consider "wide-separators" and "separator-height" style properties:
1064 The separator is drawn using gtk_paint_box instead of cairo, when
1065 "wide-separators" is set. Also do not highlight details for previous
1066 or next month, if their day matches the selected day. (#339540)
1068 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1069 in gtk_calendar_size_request and calendar_paint_day
1070 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1071 for selected detail separators in GtkCalendar.
1073 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1075 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1077 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1078 a local variable instead in gtk_calendar_size_request.
1080 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1082 * tests/defaultvaluetest.c: Add enough exclusions to make the
1085 2007-12-28 Christian Persch <chpe@gnome.org>
1087 * modules/other/gail/Makefile.am:
1088 * modules/other/gail/tests/*:
1089 * configure.in: Merge tests from standalone gail. Bug #504568.
1091 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1093 * gtk/gtkclipboard.c: Make the finalizer work when display is
1096 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1098 Draw bottom shadow of GtkCalender headings. (#506113)
1100 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1102 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1104 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1107 2007-12-28 Christian Persch <chpe@gnome.org>
1109 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1110 a mem leak. Bug #506096.
1112 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1115 * gtk/gtktreeview.c:
1116 * gtk/gtkprintoperation.c:
1117 * gtk/gtkprogressbar.c:
1118 * gtk/gtkmessagedialog.c:
1119 * gtk/gtknotebook.c:
1123 * gtk/gtklinkbutton.c:
1124 * gtk/gtkmenu.c: More default property value corrections.
1126 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1128 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1129 accel_group unless it is set.
1131 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1133 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1135 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1137 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1138 shadow-type properties.
1140 * gtk/gtkfontsel.c: Fix the default values of several properties.
1142 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1145 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1147 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1150 2007-12-28 Johan Dahlin <johan@gnome.org>
1152 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1153 (gtk_dialog_buildable_custom_tag_start): Chain up.
1154 This makes it possible to have accelerators tags on GtkDialog
1157 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1159 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1160 are shown within the widget, or just as tooltip. (#339540)
1162 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1163 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1164 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1167 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1169 Try more decent appearance of calendar details separator. (#339540)
1171 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1172 and make it short by one pixel on each side.
1174 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1176 Apply trivial code-style changes from attachement 101101. (#339540)
1178 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1180 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1182 Restructure testcalendar for testing calendar details. (#339540)
1184 * tests/testcalendar.c: Push code arround for testing calendar details.
1186 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1188 Implement GtkTooltip API for calendar details. (#339540)
1190 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1191 Remember detail overflows in calendar_paint_day to show the tooltip
1192 only when neccessary.
1194 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1196 Without setting "detail-width-chars" and "detail-height-rows"
1197 properties not only the widget has to be redrawn on certain
1198 conditions, but also its size must be recalculated. (#339540)
1200 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1201 that function instead of gtk_widget_queue_draw.
1203 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1205 Consider details for size-request and expose-event. (#339540)
1207 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1208 is_color_attribute functions. Change gtk_calendar_size_request
1209 and calendar_paint_day to consider and show calender details.
1211 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1213 * gtk/gtkcombobox.c: Introduce local priv variables to
1216 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1218 * gtk/gtkcombobox.c: Correct the default value for the
1219 tearoff-title property.
1221 * gtk/gtkcellrenderertext.c: Fix the default value for the
1222 wrap-mode and font-scale properties.
1224 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1227 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1229 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1230 defines. (#505708, MINAMI Hirokazu)
1232 2007-12-27 Christian Persch <chpe@gnome.org>
1234 * Makefile.am: Install gail.pc. Bug #505859.
1236 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1238 Add infrastructure for GtkCalendar details. (#339540)
1240 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1241 Add "detail-width-chars" and "detail-height-rows" properties,
1242 and gtk_calendar_set_detail_func function.
1244 2007-12-27 Xan Lopez <xan@gnome.org>
1247 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1249 Add gtk_border_new to avoid memory allocator confusions when using
1250 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1252 2007-12-27 Christian Persch <chpe@gnome.org>
1254 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1255 bug #504886 not to read unitialised memory.
1257 2007-12-26 Xan Lopez <xan@gnome.org>
1259 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1260 modification of the internal frame contents to decide if we have
1261 extra children. (#415677)
1263 2007-12-22 Christian Persch <chpe@gnome.org>
1265 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1267 2007-12-25 Christian Persch <chpe@gnome.org>
1269 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1270 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1273 2007-12-25 Christian Persch <chpe@gnome.org>
1275 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1277 2007-12-25 Christian Persch <chpe@gnome.org>
1279 * modules/other/gail/*.[ch]: Remove relocations from the atk
1280 factories. Remove unused gail_foo_new() functions. Fix object
1281 instantiation to be derivation safe by moving initialisation code
1282 from the removed gail_foo_new() functions to the
1283 AtkObjectClass::initialize implementation. Bug #505226.
1285 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1287 * modules/other/gail/gailentry.c:
1288 * modules/other/gail/gailimage.c:
1289 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1290 uses of clipboards and settings. (#504722, Christian Persch)
1292 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1294 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1297 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1299 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1300 use the time and button information from the event. (#504901,
1303 2007-12-23 Cody Russell <bratsche@gnome.org>
1305 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1306 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1307 Fixes a regression caused by #164537 patch where transient
1308 windows that are hidden get shown (incorrectly) when their
1309 parents are minimized. (#504984)
1311 2007-12-22 Christian Persch <chpe@gnome.org>
1313 * modules/other/gail/gailcell.c:
1314 * modules/other/gail/gailcontainercell.c:
1315 * modules/other/gail/gailexpander.c:
1316 * modules/other/gail/gailtextcell.c:
1317 * modules/other/gail/gailtextview.c:
1318 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1320 2007-12-22 Christian Persch <chpe@gnome.org>
1322 * modules/other/gail/*.c: Include config.h. Bug #504720.
1324 2007-12-22 Christian Persch <chpe@gnome.org>
1326 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1327 handwritten get_type functions. Bug #504661.
1329 2007-12-23 Xan Lopez <xan@gnome.org>
1331 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1332 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1334 Patch by Sadrul Habib Chowdhury (#504804)
1336 2007-12-22 Christian Persch <chpe@gnome.org>
1338 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1339 #504645, patch by Li Yuan.
1341 2007-12-22 Christian Persch <chpe@gnome.org>
1343 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1345 2007-12-22 Christian Persch <chpe@gnome.org>
1347 * modules/other/gail/gail.c:
1348 * modules/other/gail/gailbutton.c:
1349 * modules/other/gail/gailcell.c:
1350 * modules/other/gail/gailcombo.c:
1351 * modules/other/gail/gailcombo.h:
1352 * modules/other/gail/gailcombobox.c:
1353 * modules/other/gail/gailentry.c:
1354 * modules/other/gail/gailexpander.c:
1355 * modules/other/gail/gailmenuitem.c:
1356 * modules/other/gail/gailnotebook.c:
1357 * modules/other/gail/gailnotebookpage.c:
1358 * modules/other/gail/gailnotebookpage.h:
1359 * modules/other/gail/gailoptionmenu.c:
1360 * modules/other/gail/gailrange.c:
1361 * modules/other/gail/gailtextview.c:
1362 * modules/other/gail/gailtreeview.c:
1363 * modules/other/gail/gailtreeview.h:
1364 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1367 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1369 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1372 2007-12-21 Richard Hult <richard@imendio.com>
1374 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1375 Plug leak of destroyed subviews, fixes bug #504753.
1377 2007-12-20 Johan Dahlin <johan@gnome.org>
1379 * tests/Makefile.am (TEST_PROGS):
1380 * tests/defaultvaluetest.c: Add a test for default values,
1381 based on program by Christan Perch
1383 2007-12-20 Johan Dahlin <johan@gnome.org>
1385 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1386 Refactor to avoid some duplication.
1387 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1388 Fixes #504749, Yuri Pimenov
1390 2007-12-20 Kristian Rietveld <kris@imendio.com>
1392 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1393 the build work again on systems without xrandr 1.2.
1395 2007-12-20 Christian Persch <chpe@gnome.org>
1398 * modules/other/gail/libgail-util/Makefile.am:
1399 Keep the same libtool version as the standalone libgail-util had.
1402 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1404 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1406 2007-12-20 Alexander Larsson <alexl@redhat.com>
1408 * gdk/x11/gdkapplaunchcontext-x11.c:
1409 Update for gio API changes
1411 2007-12-20 Richard Hult <richard@imendio.com>
1413 * gdk/quartz/GdkQuartzWindow.c:
1414 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1415 processing events after changing the size.
1417 2007-12-20 Richard Hult <richard@imendio.com>
1419 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1420 Add stub for quartz to fix build.
1422 2007-12-20 Christian Persch <chpe@gnome.org>
1424 * modules/other/gail/Makefile.am:
1425 * modules/other/gail/gailimage.c: (gail_image_class_init),
1426 (gail_image_init), (elide_underscores), (gail_image_get_name),
1427 (atk_image_interface_init), (gail_image_finalize):
1428 * modules/other/gail/gailimage.h:
1429 R modules/other/gail/gailintl.h:
1430 * po/POTFILES.skip: Use the stock item's label as the name of the
1431 accessible in gailimage.c. Bug #504246.
1433 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1435 Avoid some compiler warnings and remove obsolete code. (#339540)
1437 * gtk/gtkcalendar.c: Change week and year variable in
1438 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1439 0" block from calendar_paint_day: The feature in question is handled
1440 few lines above. Cast data returned by gtk_selection_data_get_text()
1441 to (gchar*) in gtk_calendar_drag_data_received.
1443 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1445 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1447 2007-12-19 Johan Dahlin <johan@gnome.org>
1449 * tests/buildertest.c (test_object_properties):
1450 Add another call to gtk_builder_add_string after using
1451 delayed properties, as reported in #504393 but already
1454 2007-12-18 Christian Persch <chpe@gnome.org>
1457 * docs/reference/Makefile.am:
1458 * docs/reference/libgail-util/*:
1459 * gail-uninstalled.pc.in:
1461 * modules/Makefile.am:
1462 * modules/other/Makefile.am:
1463 * modules/other/gail/*:
1464 * modules/other/gail/libgail-util/*:
1465 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1467 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1469 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1470 * gdk/win32/gdkproperty-win32.c:
1471 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1473 * gtk/gtkimmodule.[hc]:
1474 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1475 look at the gtk-im-module setting, and listen for changes to the
1476 setting. (#502446, Akira Tagoh)
1478 2007-12-17 Kristian Rietveld <kris@imendio.com>
1480 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1481 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1482 to NULL as soon as it's destroyed. (#496546, patch from
1485 2007-12-17 Kristian Rietveld <kris@imendio.com>
1487 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1488 always determine what arrow to show if show_sort_indicator is true.
1489 (#352738, Chris Vine).
1491 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1493 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1494 Sébastien Granjoux)
1496 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1497 gtk_container_foreach in get_child_panes.
1499 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1501 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1503 Plug leak: When reordering the info in the list the old node is
1504 removed but not freed. (#503569)
1506 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1508 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1509 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1510 are deprecated since DirectFB 1.0.0. If compiling with an older
1511 version define the new type name to the old types. Fixes bug #503190.
1513 2007-12-14 Ray Strode <rstrode@redhat.com>
1515 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1516 instead of g_signal_connect_after (..., "realize", ...) as an
1517 alternative to gtk_widget_realize () (bug 503537).
1519 2007-12-14 Michael Natterer <mitch@imendio.com>
1521 * gdk/gdkinternals.h
1522 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1525 * gdk/gdkapplaunchcontext.c
1526 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1527 header already includes everything now.
1529 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1531 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1532 next stable release shall be 2.16, not 2.14 - even if disagree.
1534 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1536 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1538 Change GtkToolItem to retrieve its properties from GtkToolShell
1539 interface, instead of relying on being child of a GtkToolbar.
1542 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1543 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1544 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1545 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1546 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1547 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1548 Take section docs from template file and update them for GtkToolShell.
1549 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1550 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1552 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1554 Extract loading of GtkPageSetup and GtkPrintSettings from their
1555 *_new_*() functions and move that code into separate
1556 *_load_*() functions (#475565).
1558 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1559 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1560 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1561 Change the matching *_new_*() functions to use those functions.
1563 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1566 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1568 2007-12-14 Kristian Rietveld <kris@imendio.com>
1570 * gtk/tests/liststore.c:
1571 * gtk/tests/treestore.c: added tests for insertion functions.
1573 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1575 * Add RandR 1.2 support
1577 - New monitors_changed signal - New API to get width/height of
1578 monitors, and the name of the plug
1580 2007-12-13 Kristian Rietveld <kris@imendio.com>
1582 * gtk/tests/liststore.c:
1583 * gtk/tests/treestore.c: test the move and swap functions on a
1584 store with only one node.
1586 2007-12-13 Kristian Rietveld <kris@imendio.com>
1588 * gtk/gtktestutils.c (gtk_test_init): add a call to
1591 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1594 2007-12-13 Kristian Rietveld <kris@imendio.com>
1596 * gtk/tests/liststore.c:
1597 * gtk/tests/treestore.c: start composing tests for the list and tree
1600 * gtk/tests/treeview-scrolling.c: added automated tests for
1601 GtkTreeView's scrolling "subsystem".
1603 * gtk/tests/Makefile.am: updated; added new test programs.
1605 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1607 Make the code compile again after the GdkAppLaunchContext changes.
1609 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1610 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1612 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1614 * gdk/gdkapplaunchcontext.c: Add docs
1616 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1618 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1619 in gdk, providing startup notification. (#503203)
1621 * gdk/x11/gdkapplaunchcontext-x11.c:
1622 * gdk/win32/gdkapplaunchcontext-win32.c:
1623 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1624 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1625 parts. All but X11 are just empty stubs for now.
1628 * gdk/gdkinternals.h:
1630 * gdk/x11/Makefile.am:
1631 * gdk/win32/Makefile.am:
1632 * gdk/quartz/Makefile.am:
1633 * gdk/directfb/Makefile.am: Necessary glue.
1635 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1637 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1639 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1641 * gdk/directfb/gdktestutils-directfb.c:
1642 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1643 which adds testing functions to the DirectFB backend.
1645 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1647 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1648 Ciccani which fixes the mixing of gdk and cairo rendering.
1650 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1652 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1653 on "drag-motion" handlers. Clearify documentation for
1656 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1658 * buildertest.c: made unnecessarily exported symbols static.
1659 switched g_return_if_fail() statements in tests to assertions.
1660 special cased currently failing Widget/accesibility test to
1661 run only for g_test_thorough(), so it doesn't break make check.
1662 some coding style fixes.
1664 * Makefile.am: added buildertest to TEST_PROGS.
1666 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1668 * docs/tutorial/gtk-tut.sgml:
1669 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1671 2007-12-10 Richard Hult <richard@imendio.com>
1673 * gdk/quartz/Makefile.am:
1674 * gdk/quartz/gdkquartz.h:
1675 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1676 header (bug #405915). Also add a getter for the toplevel nswindow.
1678 2007-12-10 Richard Hult <richard@imendio.com>
1680 * gdk/quartz/gdkdrawable-quartz.c:
1681 (gdk_quartz_drawable_get_context),
1682 (gdk_quartz_drawable_release_context):
1683 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1684 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1685 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1686 used for each drawing context and in prepare, dispatch and poll
1687 with one that exists across each main loop iteration. Fixes leaks
1688 on leopard and protects against future leaks introduce when the
1689 underlying system changes again (bug #492977).
1691 2007-12-10 Richard Hult <richard@imendio.com>
1693 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1694 Fix the check for no changes to position and size.
1696 2007-12-10 Richard Hult <richard@imendio.com>
1698 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1699 sized areas at (0, 0), patch from Paul Davis.
1701 2007-12-10 Richard Hult <richard@imendio.com>
1703 * gdk/quartz/gdkprivate-quartz.h:
1704 * gdk/quartz/gdkeventloop-quartz.c:
1705 (_gdk_quartz_event_loop_get_pending),
1706 (_gdk_quartz_event_loop_check_pending),
1707 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1708 (gdk_event_check), (gdk_event_dispatch):
1709 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1710 (_gdk_events_queue): Fix a bug where we could end up trying to
1711 handle the same event more than once. Based on patch from Paul
1714 2007-12-10 Tor Lillqvist <tml@novell.com>
1716 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1719 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1721 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1722 to avoid further fallout from the fix for bug 388321.
1724 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1726 * gdk/directfb/gdkgc-directfb.c:
1727 * gdk/directfb/gdkdrawable-directfb.c:
1728 * gdk/directfb/gdkdirectfb.h:
1729 * gdk/directfb/gdkwindow-directfb.c:
1730 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1731 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1732 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1733 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1734 which are expected to improve the performance of the DirectFB backend.
1735 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1737 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1739 * gtk/gtkcontainer.c: Correct the documentation of child
1740 property getter arguments. (#501992, David Brigada)
1742 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1744 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1745 leak pixbufs. (#502250, Yevgen Muntyan)
1747 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1749 * gtk/gtkprintunixdialog.c:
1750 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1751 Print and Page Setup dialogs (#502202).
1753 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1755 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1756 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1757 of XVFB_START, since it's the GTESTER invokation that needs this.
1759 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1761 * gdk-pixbuf/gdk-pixbuf.symbols:
1763 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1764 positives in abicheck.sh
1766 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1768 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1769 GDK events generations in the DirectFB backend.
1771 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1773 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1774 set of likely unused display ids, because MacOS has no seq(1) command.
1776 2007-12-06 Richard Hult <richard@imendio.com>
1778 * gdk/quartz/gdkevents-quartz.c:
1779 (synthesize_crossing_events_for_ns_event): Fix warning when
1780 switching spaces in leopard.
1782 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1784 * tests/floatingtest.c: ported to new testing framework.
1786 * tests/Makefile.am: run floatingtest as testing framework test.
1788 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1790 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1791 timeouts and converting main loop sleeps to pending/iterate loops with
1792 very low priority async handlers. eliminate output for non-verbose
1793 tests. assert successfull subtests in all test functions. use testing
1794 framework in main().
1796 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1797 executed inside Xvfb upon make check.
1799 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1801 * tests/objecttests.c: use string comparisons for string property
1802 values and get rid of referencing symbols in array initialization.
1804 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1806 * gtk+/Makefile.decl: run tests in current dir after setting up the
1807 logging directory, so their results get properly merged into the
1810 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1811 tests to loop over registered Gdk/Gtk+ types.
1813 * gtk+/tests/objecttests.c: new test program, implements automated
1814 property tests. several properties are blacklisted because they
1815 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1816 can be used to test blacklisted properties and see which proprty failed.
1818 2007-12-04 Richard Hult <richard@imendio.com>
1820 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1821 Fully initialize the root window, fixes bug #501583.
1823 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1825 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1828 2007-12-03 Richard Hult <richard@imendio.com>
1830 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1831 Don't crash when dragging from a source that doesn't support uri
1832 lists (bug #499868, Paul Davis).
1834 2007-12-03 Richard Hult <richard@imendio.com>
1836 * gdk/quartz/gdkwindow-quartz.c:
1837 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1838 parent relative bg pixmap is set, and no parent has a bg
1839 pixmap. Fixes bug #500804.
1841 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1843 Two optimizations for icon cache lookups.
1845 * gtk/gtkiconcache.[hc]:
1846 * gtk/gtkicontheme.c: Remember the directory index for
1847 subdirectories, instead of running over the directory list
1850 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1851 chain and try it first; this helps with the the usage patterns
1852 in gtkicontheme.c, where the same icon is queried for a lot
1855 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1857 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1858 functions from header files. this should be portable across linux and
1859 Mac OS, unlike the previpous sed expression.
1861 2007-12-1 Cody Russell <bratsche@gnome.org>
1863 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1864 On Windows, queue a redraw of child2 whenever we set
1865 the pane handle position. This is unfortunately kind
1866 of hacky, but solves the visual artifacts that were
1867 occuring on at least certain types of child widgets
1868 (e.g., text views and tree views) that are inside
1869 horizontal or vertical panes. (#144269)
1871 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1873 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1875 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1877 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1880 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1882 * gtk/Makefile.am: Fix ordering of subdirs.
1884 2007-11-28 Tor Lillqvist <tml@novell.com>
1886 A proper build of GNU libintl is supposed to export the variable
1887 _nl_msg_cat_cntr. configure looks for that variable in order to
1888 recognize GNU gettext. If it sees that it is indeed GNU gettext
1889 that is used, it decides to install message catalogs in
1890 share/locale, otherwise in lib/locale. Until now on Windows I have
1891 built GTK+ against a build of GNU gettext that did not export
1892 _nl_msg_cat_cntr. But this will change, so we can't assume message
1893 catalogs are always in lib/locale.
1895 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1896 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1897 before the inclusion of gtkprivate.h so that it sees the original
1900 * gtk-zip.sh.in: Check whether the message catalogs are in
1901 share/locale or lib/locale.
1903 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1904 that the code in _gtk_get_localedir() will find the slashes.
1906 2007-11-28 Tor Lillqvist <tml@novell.com>
1908 * gtk/Makefile.am: Improve portability. The -o option is present
1909 only in newish GNU egreps. Use one more sed in the pipeline
1912 2007-11-28 Tor Lillqvist <tml@novell.com>
1914 Fix #375893, patch by Ben Hague:
1916 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1917 around GetLogicalDrives() that takes also the viewable drive
1918 restrictions in the Registry (which are usually the result of an
1919 Active Directory Group Policy) into account.
1921 (check_volumes, gtk_file_system_win32_list_volumes) Call
1922 get_viewable_logical_drives() instead of GetLogicalDrives().
1924 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1926 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1927 variables to silence valgrind. (#495124, Morten Welinder)
1929 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1931 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1932 that the construct_child function is responsible for returning a
1934 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1935 objects from constructors
1936 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1937 g_object_ref() to this construction function (it's the only
1942 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1944 * gtkbuilder.c: remove concept of root objects and just refcount
1945 all objects in the builder. Fixes #496651.
1947 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1949 * tests/buildertest.c (test_window): fix invalid free
1951 2007-11-26 Josselin Mouette <joss@malsain.org>
1953 reviewed by: Federico Mena Quintero
1955 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1956 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1957 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1958 Make the shortcuts activate with a single click. (#148828)
1959 Fix a few things affected by the change:
1960 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1961 where no shortcut is selected.
1962 - Don't activate a shortcut in the response callback.
1963 - Filter out duplicate entries in volumes and bookmarks to
1964 avoid the selection to change when reordering them with DnD.
1966 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1969 * gtk/gtknotebook.c:
1970 * gtk/gtkplugprivate.h:
1972 * gtk/gtksocketprivate.h:
1973 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1975 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1977 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1978 (#495574, Richard Hult)
1980 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1982 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1983 String change ! (#376361, Sven Neumann)
1985 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1987 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1989 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1992 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1994 * gtk/gtkassistant.c: Improve alternative button
1995 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1997 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1999 * gtk/gtkcalendar.c: Fix a theming problem with colors
2000 in GtkCalendar. (#499703, Michael Hofmann)
2002 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2004 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2006 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2008 Use templates for glib-mkenums calls instead of
2009 complicated commandlines in Makefiles. (#429910)
2011 * gdk-pixbuf/Makefile.am:
2014 * perf/Makefile.am: Use templates for glib-mkenums
2016 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2017 * gdk/gdkenumtypes.[ch].template:
2018 * gtk/gtktypebuiltings.[ch].template:
2019 * perf/typebuiltins.[ch].template: The templates
2021 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2023 * gtk/gtkfilechooserbutton.c:
2024 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2025 some compilers choke on that. (#467722)
2027 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2029 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2030 about hook setup. (#425004, Emmanuele Bassi)
2032 2007-11-26 Tor Lillqvist <tml@novell.com>
2034 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2035 monitor the window currently is on, not always the primary
2036 monitor. (#463865, Tim Evans)
2038 2007-11-26 Tor Lillqvist <tml@novell.com>
2040 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2042 * gdk/win32/Makefile.am: Add it.
2044 2007-11-26 Tor Lillqvist <tml@novell.com>
2046 * configure.in: Don't add jasper to all_loaders if no libjasper.
2048 2007-11-25 Bastien Nocera <hadess@hadess.net>
2050 * configure.in: Add detection for libjasper, used by the
2051 gdk-pixbuf JPEG2000 loader
2053 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2055 * configure.in: Require gtk-doc 1.8
2057 * */*.c: Use gtk-doc abbreviations for examples in docs.
2059 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2061 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2064 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2066 * gtk/gtkdialog.c: Move signal and property documentation inline,
2067 fix a problem with the ::response signal docs. (#499133, Josselin
2070 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2072 * Makefile.decl: initialize automake variables EXTRA_DIST and
2073 TEST_PROGS for unconditional appending via += in other makefiles.
2074 define recursive test targets: test, test-report, perf-report,
2075 full-report, as described here:
2076 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2077 the test targets will execute Gtk+ test programs within an Xvfb session.
2079 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2081 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2082 g_test_run() to run the tests to integrate with the testing framework.
2084 * gtk/tests/Makefile.am: removed exemplary testing rules.
2086 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2087 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2088 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2089 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2090 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2091 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2092 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2093 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2094 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2095 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2096 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2097 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2098 * modules/engines/ms-windows/Theme/Makefile.am:
2099 * modules/engines/ms-windows/Makefile.am:
2100 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2101 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2102 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2103 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2104 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2105 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2106 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2108 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2110 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2111 (#485662, patch by Herbert Valerio Riedel)
2113 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2115 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2117 2007-11-21 Richard Hult <richard@imendio.com>
2119 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2120 stubs for the testing functions to fix the build.
2122 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2124 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2125 (#467711, The Written Word)
2127 2007-11-21 Ross Burton <ross@openedhand.com>
2129 * gdk/x11/gdksettings.c:
2130 Add xsetting for gtk-scrolled-window-placement (#458103).
2132 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2134 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2135 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2136 (#469239, Michael Natterer)
2138 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2140 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2141 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2142 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2143 (#436536, Tommi Komulainen)
2145 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2147 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2148 property. (#489782, Jan Janech)
2150 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2152 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2153 frames. (#107398, Owen Taylor, Miguel Gomez)
2155 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2157 Moved Gdk test functions from Gtk+ to Gdk test utils.
2159 * gdk/Makefile.am: added gdktestutils.h to public includes.
2161 * gdk/gdk.h: added gdktestutils.h to public includes.
2163 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2164 gdk_test_render_sync.
2166 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2167 gdk_test_simulate_key, gdk_test_render_sync.
2169 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2171 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2172 gdk_test_simulate_key, gdk_test_render_sync.
2174 * gtk/gtktestutils.c:
2175 * gtk/gtktestutils.h:
2176 * gtk/gtk.symbols: removed gtk_test_simulate_button
2177 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2179 * gtk/tests/testing.c: call gdk_test_render_sync.
2181 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2183 Added unit tests for Gtk+ testing utilities.
2185 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2186 utility functions. some g_test_* related portions are disabled and need
2187 to be enabled once Gtk+ depends on a new glib with the GLib testing
2188 framework integrated.
2190 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2191 added exemplary test rules to run tests inside Xvfb. this needs to depend
2192 on gtester for full fledged testing.
2194 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2195 collecting _get_type functions to catch e.g. gtk_text_get_type().
2197 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2199 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2201 Added Gtk+ testing utilities.
2203 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2204 for the most part, the functions herein involve navigating and interacting
2205 with dialog elements programatically, to automate user interaction tests of
2206 dialogs and widgets.
2208 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2210 * gtk/gtk.symbols: added gtk_test_* symbols.
2212 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2213 generate gtktypefuncs.c which contains a list of all _get_type functions in
2215 2007-11-20 Bastien Nocera <hadess@hadess.net>
2217 * configure.in: add support for conditional icns gdk-pixbuf loader
2220 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2222 * configure.in: updated version number to 2.15.0 for development.
2224 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2226 === Branch for 2.12 ===