2007-07-20 Matthias Clasen * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up under the cursor. This fixes tooltip-induced flickering in the tasklist in a bottom panel. 2007-07-20 Matthias Clasen * gtk/gtkpathbar.c (make_directory_button): Don't leak a label. (#455901, Christian Persch, Vincent Geddes) 2007-07-20 Matthias Clasen Apply a patch by Emmanuele Bassi to limit the number of shown recent files. (#439715) * gtk/gtksettings.c: Add a setting for the number of recent files to display by default. * gtk/gtkrecentchooserdefault.c: * gtk/gtkfilechooserdefault.c: Respect the limit. * gtk/gtkrecentmanager.c: Remove the poll timeout in dispose, and do not stat more often than every 5 seconds. * gtk/gtkrecentchooserutils.c: * gtk/gtkrecentchoosermenu.c: Cleanups * tests/testrecentchoosermenu.c: Test limits. 2007-07-20 Matthias Clasen * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele Bassi to add tooltips to the file lists in recent files and search modes. 2007-07-20 Ryan Lortie * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the semantics of this call, when mixed with the new gdk_window_set_composited(), will change in the future. * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage events that belong to us. 2007-07-19 Matthias Clasen * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle keypresses better when there is no completion. (#458298, Christian Persch, patch by Xan Lopez) * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): Small cleanup. 2007-07-19 Matthias Clasen * gtk/gtksettings.c (apply_queued_setting): Merge color scheme before sending notification. 2007-07-19 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Only connect/disconnect signals when necessary, emit change notification. 2007-07-19 Kristian Rietveld * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle no-window and regular widgets seperately. * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should be zero. 2007-07-19 Matthias Clasen * gtk/gtk.symbols: * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context): (gtk_icon_view_[sg]et_tooltip_column: Add more convenience API parallel to the treeview convenience API. 2007-07-19 Matthias Clasen * gtk/gtktextview.c (gtk_text_view_compat_move_focus): Initialized GValues before unsetting them. (#457720) 2007-07-19 Kristian Rietveld * gtk/gtk.symbols: * gtk/gtktreeprivate.h: * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context), (gtk_tree_view_[sg]et_tooltip_column): add more convenience API. * tests/testtooltip.c (query_tooltip_tree_view_cb): use gtk_tree_view_get_tooltip_context(). * demos/gtk-demo/demo.ui: add a tooltip column to the list store, set tooltip-column on the tree view. 2007-07-18 Richard Hult * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref the cursor in the cached case. 2007-07-18 Matthias Clasen * gtk/gtktreeview.c: Correct some mistakes in the documentation of the test-expand/collapse-row signals. (#457774, Olivier Andrieu) 2007-07-18 Matthias Clasen * gtk/gtkicontheme.c: Small cleanups 2007-07-17 Kristian Rietveld * gtk/gtktooltip.c (find_widget_under_pointer): only do the coordinate check if tmp is not NULL. 2007-07-16 Kristian Rietveld * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check if the pointer is really over the returned widget, since the coordinate check may not always be hit in find_widget_under_pointer(). 2007-07-16 Matthias Clasen Fix some issues with some combinations of inline-selection and inline-completion. (#457384, Christian Persch) * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store the completion_prefix here, and be careful when using completion_prefix, because it may be NULL. * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Free completion_prefix here. * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): (gtk_entry_completion_insert_completion_text): Store the completion_prefix here. 2007-07-16 Matthias Clasen * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb): Plug a memleak. (#455721, Christian Persch) 2007-07-16 Matthias Clasen * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau to improve the signal docs. (#456258) 2007-07-16 Matthias Clasen * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document a lot of GtkWidget signals. (#172424) 2007-07-16 Matthias Clasen * gtk/gtk.symbols: * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item): (gtk_icon_view_set_tooltip_cell): Convenience functions to position tooltips on icon view items or cells. 2007-07-14 Richard Hult * gdk/quartz/gdkevents-quartz.c: (_gdk_quartz_events_update_cursor): Plug leak. 2007-07-13 Richard Hult * gdk/quartz/gdkprivate-quartz.h: * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move from here... * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor): ...to here. (_gdk_windowing_window_destroy): Update the mouse window if the destroyed window is an ancestor of the current one, not only if they are the same. (gdk_window_hide): Update the mouse window here too. 2007-07-13 Richard Hult * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc), (gdk_colors_free): Add stubs. 2007-07-13 Matthias Clasen * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid gratitious use of g_strdup_printf(). * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: Mark some strings for translation. (#439480, Murray Cumming) 2007-07-13 Kristian Rietveld #408327, improve tooltip positioning. * gtk/gtk.symbols: updated. * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out positioning code in here, (gtk_tooltip_set_tip_area): new function to set the tooltip area, (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip once the pointer leaves the tip area. * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row), (gtk_tree_view_set_tooltip_cell): convenience functions to set tip area for row/column/cell. * tests/testtooltips.c (query_tooltip_tree_view_cb): use gtk_tree_view_set_tooltip_row. 2007-07-12 Cody Russell * gdk/win32/gdkevents-win32.c * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32 so that when a transient child window is closed (particularly when there are 3 or more levels of transient windows), the correct window receives focus rather than a seemingly random window. (#112404) 2007-07-12 Attilio Fiandrotti * gdk/directfb/gdkevents-directfb.c: * gdk/directfb/gdkwindow-directfb.c: * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing, patch provided by Simon Lanzmich Thu Jul 12 18:03:02 2007 Tim Janik * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example. 2007-07-12 Matthias Clasen * gtk/gtktextivew.c: * gtk/gtkclipboard.c: Add documentation. 2007-07-11 Matthias Clasen * gtk/gtkcelleditable.c: * gtk/gtkcellrenderer.c: * gtk/gtkcellrenderercombo.c: * gtk/gtkcellrenderertext.c: Add more documentation. 2007-07-11 Matthias Clasen * gtk/gtktreeview.c: * gtk/gtktoolitem.[hc]: Make parameter naming consistent. 2007-07-11 Matthias Clasen * gtk/gtkrange.c: * gtk/gtkbindings.c: * gtk/gtkscalebutton.c: Small doc fixes. 2007-07-11 Matthias Clasen * gtk/gtkplug.c: * gtk/gtksocket.c: Move docs inline, and add some missing docs. 2007-07-11 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be changed when converting widget <=> bin_window coordinates, not when bin_window <=> tree_window. 2007-07-11 Matthias Clasen * gtk/gtk.symbols: * gtk/gtkiconview.[hc] (gtk_icon_view_convert_widget_to_bin_window_coords): New function to convert widget coords to what is expected by the at_pos functions. (#455984) 2007-07-11 Matthias Clasen * gtk/gtkwiget.c: Don't include gtktooltips.h, it is not needed anymore. 2007-07-11 Christian Persch * gtk/gtkaction.c: (gtk_action_buildable_set_name), (gtk_action_finalize), (gtk_action_set_property), (gtk_action_get_property): * gtk/gtkactiongroup.c: (gtk_action_group_init), (gtk_action_group_add_action), (gtk_action_group_add_action_with_accel), (gtk_action_group_remove_action): Intern the action's name. Saves two string duplicates of it per action; bug #455645. 2007-07-10 Richard Hult * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new), (show_window_internal), (gdk_window_show), (gdk_window_hide): Add hack to workaround the broken tracking rect implementation in quartz, that doesn't seem to produce events if the window shows up under the mouse. 2007-07-10 Kristian Rietveld * gtk/gtk.symbols: * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add getter/setter pair, slight addition to has-tooltip property documentation, (gtk_widget_real_set_has_tooltip): renamed internal function. 2007-07-10 Christian Persch * gtk/gtkaction.c: (gtk_action_sync_tooltip), (gtk_action_set_tooltip): * gtk/gtkuimanager.c: (update_node): Remove work-around for the old tooltips code, and just set the action tooltip immediately on the proxy widget. Bug #455482. 2007-07-10 Kristian Rietveld * gtk/gtktooltip.c (find_widget_under_pointer), (child_location_foreach): use gtk_container_forall, instead of gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes bug reported by Christian Persch). 2007-07-10 Kristian Rietveld * gtk/gtktooltip.c (child_location_foreach): ignore invisible (!drawable) widgets. (Fixes bug reported by Paolo Borelli). 2007-07-10 Matthias Clasen * README.in: Make sure all deprecations are mentioned. 2007-07-10 Matthias Clasen * gtk/gtkrecentmanager.c: Fix some doc formatting 2007-07-10 Matthias Clasen * gtk/gtk-builder-convert: Fix a typo 2007-07-10 Matthias Clasen * NEWS: Updates 2007-07-09 Matthias Clasen * gtklabel.[ch]: Use a bit of the GtkLabel structure to remember that a pattern has been set. (gtk_label_set_pattern_internal): Don't do anything if a specific pattern has been set. (gtk_label_set_pattern): set the new bit to TRUE when setting a pattern, and recalculate everything if the pattern is unset. Fix gtk_label_set_pattern() not working anymore. (#452861, Vincent Untz) 2007-07-09 Claude Paroz * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz. See bug #451164. 2007-07-09 Matthias Clasen * gtk/gtkvolumebutton.c: Remove deprecated tooltips, use new tooltips API. (#449311, Jan Arne Petersen) 2007-07-09 Matthias Clasen * gtk/gtkselection.c (normalize_to_crlf): Don't ignore the passed-in len parameter. (#430049, Yevgen Muntyan) 2007-07-09 Matthias Clasen * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the handling of broken situations. (#427899, Francesco Montorsi) 2007-07-09 Matthias Clasen * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size requisition so the viewport does not add the border thickness if it has GTK_SHADOW_NONE selected. (#361781, Miguel Gomez) 2007-07-09 Matthias Clasen * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query): Fix a typo in the docs. (#453930, Guillaume Cottenceau) 2007-07-09 Kristian Rietveld Replace non-deprecated API using old tooltips API, deprecate old tooltips API for real. (#451575). * gtk/gtk.symbols: updated. * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call _gtk_tooltips_toggle_keyboard_mode() anymore. * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip): deprecated, (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements. * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use new API, (gtk_tool_item_set_tooltip): deprecated, (gtk_tool_item_set_tooltip_{text,markup): replacements. (GtkToolItemClass:set_tooltip): deprecated. * gtk/gtktooltips.[ch]: strip out all unused parts, made gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(), deprecate all of gtk_tooltips_*. * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return TRUE, (GtkToolbar:tooltips): deprecated, renamed. * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to set the tooltip text. * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now, will be removed GtkFileChooserDefault has been converted. 2007-07-09 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_convert_bin_window_to_widget_coords: Fix a typo in the docs. (#453673, Guillaume Cottenceau) 2007-07-09 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit ::changed when removing the active row. (#452056, Paul Pogonyshev) 2007-07-09 Matthias Clasen * gtk/gtksearchenginesimple.c: Address some thread-safety issues. (#452598) 2007-07-09 Matthias Clasen * modules/printbackends/*/Makefile.am: Fix build problems on Cygwin. (#448604) 2007-07-09 Jaap Haitsma * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use gtk_widget_set_tooltip_text instead 2007-07-09 Johan Dahlin * gtk/gtktooltip.c: * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public. 2007-07-09 Johan Dahlin,,, * demos/gtk-demo/demo.ui: * gtk/gtk-builder-convert: * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init), (gtk_action_group_buildable_add_child), (accelerator_start_element), (gtk_action_group_buildable_custom_tag_start), (gtk_action_group_buildable_custom_tag_end): * gtk/gtkuimanager.c: (child_hierarchy_changed_cb), (gtk_ui_manager_buildable_construct_child): * tests/buildertest.c: (test_uimanager_simple): Add actiongroup/action accelerator support for builder. #454654 2007-07-08 Matthias Clasen * gtk/gtkbuilderparser.c (pgettext): Support old-style message contexts, too. 2007-07-08 Johan Dahlin * gtk/gtk-builder-convert: Improve the way properties are copied over from a menuitem to an action. 2007-07-08 Johan Dahlin * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert GtkMenus which are not part of a GtkMenuBar. Also move over activate signals when converting a GtkMenuItem subclass to an action. (#454830, Bastien Nocera) * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time attribute in tag 2007-07-07 Matthias Clasen * gtk/gtkbuilderprivate.h: * gtk/gtkbuilderparser.c: Support context and comments for properties. 2007-07-07 Matthias Clasen * gtk/gtkwidget.c: Fix some typos, and a memory management bug. 2007-07-08 Johan Dahlin * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): Parse but don't do anything yet. * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not strip atk/accessibility tags * tests/buildertest.c (test_widget): Test this Sun Jul 8 01:33:45 2007 Tim Janik * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703. 2007-07-07 Richard Hult * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) ([GdkQuartzWindow -windowDidBecomeMain:]): * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main) (_gdk_quartz_window_did_become_main, gdk_window_hide) (_gdk_windowing_window_destroy): Keep a stack of main windows and select the most recent one when hiding/closing the current one. 2007-07-07 Johan Dahlin * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): Convert GtkTextView::text properties (GtkBuilderConverter): Refactor; Optimize widget lookups by not traversing the whole tree. Use a common api to create sizegroups, actiongroups and uimanagers to avoid name conflicts. Output newly created objects sorted by id before the old roots under (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty tags (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems and do not set name and action on separators (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id on the action if the menuitem had a stock or label property set 2007-07-06 Richard Hult * gdk/quartz/gdkprivate-quartz.h: * gdk/quartz/gdkwindow-quartz.c: * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient windows, by (un)setting the parent before and after miniaturizing. 2007-07-06 Richard Hult * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add stub. 2007-07-06 Johan Dahlin * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing semi-colon in the doc string, spotted by Johannes Sasonko 2007-07-05 Matthias Clasen * gtk/gtkbuilder.c: Support pixbuf properties by specifying a filename as the property value. (#447966) Wed Jul 4 12:20:23 2007 Tim Janik * gdk/gdkevents.c (gdk_event_request_motions): added usage example to gdk_event_request_motions() docs. 2007-07-04 Tor Lillqvist * gtk/gtkstatusicon.c: On Win32 call gtk_status_icon_button_press() in an idle callback and not directly from the window procedure to avoid "g_main_loop_run(): called recursively from within a source's check() or prepare() member, iteration not possible" warnings. 2007-07-04 Chris Wilson * gtk/gtkrecentchoosermenu.c (idle_populate_func), (idle_populate_clean_up), (gtk_recent_chooser_menu_populate): Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after free in the source destroy notify. (#453033) 2007-07-04 Johan Dahlin * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child): pack children from the start instead of the end, this should probably be made configurable at some point. * gtk/gtk-builder-convert: Add support for converting GtkComboBox items, also make sure that we support more than one GtkAdjustment in a file 2007-07-03 Richard Hult * gdk/quartz/gdkevents-quartz.c: Keep track of button state and include it in key events. Needed for gimp's selection tools and fixes bug #453411. 2007-07-03 Matthias Clasen * gtk/gtkbuilder.c: Fix some typos in docs. (#452278, Adam Schreiber) 2007-07-03 Richard Hult * gdk/quartz/gdkevents-quartz.c (create_key_event): Include modifier state in key release events. Fixes bug #453413. 2007-07-03 Matthias Clasen * gtk/gtkcelllayout.c (attributes_text_element): Report errors about integer parsing back up. (#452988) * tests/buildertest.c: Add an extra check. 2007-07-03 Matthias Clasen * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave priv->image dangling when use-stock is set to FALSE. (#437281, Jochen Baier) 2007-07-03 Tor Lillqvist * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS, i.e. clear it if enable_explicit_deps isn't on. If we build with --with-included-loaders and --enable-explicit-deps=no we don't want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file. 2007-07-03 Tor Lillqvist * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts): Implement. Just return FALSE for now. What should this function actually do? Does keyboards layouts being "in use" mean that such layouts can be switched to on the fly using some extra-GTK+ mechanism? If so we need to actually check that. 2007-07-03 Tristan Van Berkom * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL (bug 452425) 2007-07-03 Johan Dahlin * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a --root option. Filter empty properties. Convert GtkAdjustments. * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior of gtk_dialog_add_action_widget closer, to make clicking on the buttons actually work.