Make sure that buttons in HildonAppMenu receive 'button-release-event'
[hildon] / ChangeLog
index badf912..1fb6197 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,506 @@
+2009-06-15  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu-private.h
+       * hildon/hildon-app-menu.c (hildon_app_menu_insert)
+       (hildon_app_menu_add_filter, +menu_item_button_event)
+       (hildon_app_menu_button_release, hildon_app_menu_init):
+       Make sure that buttons receive 'button-release-event' in spite of
+       the grab held by HildonAppMenu
+
+       Fixes: NB#108337 (Focus mismatch in items of AppMenu)
+
+2009-06-15  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c
+       (hildon_app_menu_apply_style, hildon_app_menu_class_init):
+       New style property to set the size of the group of filter buttons.
+
+       Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
+
+2009-06-15  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.82]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-main.c: Minor documentation fixes.
+
+2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-sections.txt:
+       * hildon/hildon-defines.h: Document the defines, organize them,
+       and mark deprecations as such.
+
+       Fixes: MB#4463 (Hildon size #defines are undocumented)
+
+2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-animation-actor.c:
+       * hildon/hildon-app-menu.c:
+       * hildon/hildon-button.c:
+       * hildon/hildon-date-editor.c:
+       * hildon/hildon-dialog.c:
+       * hildon/hildon-edit-toolbar.c:
+       * hildon/hildon-entry.c:
+       * hildon/hildon-program.c:
+       * hildon/hildon-remote-texture.c:
+       * hildon/hildon-stackable-window.c:
+       * hildon/hildon-text-view.c:
+       * hildon/hildon-touch-selector.c:
+       * hildon/hildon-window-stack.c:
+       * hildon/hildon-window.c:
+
+       Remove redundant "represents" wording from most of the documentation.
+
+       Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
+
+2009-06-12  Alberto Garcia  <agarcia@igalia.com>
+
+       * po/POTFILES.in
+       * doc/Makefile.am
+       * hildon/Makefile.am
+       * hildon/hildon-banner-private.h
+       * hildon/hildon-banner.c:
+       Move HildonBannerPrivate to hildon-banner.c and remove
+       hildon-banner-private.h
+       Use a bit field to store private booleans.
+
+2009-06-12  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_map):
+       Don't install a new idle function if there's already one
+       installed.
+
+       Fixes: NB#122254
+
+2009-06-11  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
+       (+legacy_menu_realized, +legacy_menu_unmapped)
+       (+set_legacy_menu_type):
+       Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
+       they can be identified by the window manager.
+
+       Fixes: NB#101437 (Invoking CSM on the left side of page area is
+       displayed in wrong location)
+
+       Fixes: MB#4563 (Popup menu won't locate at the left side of the
+       screen)
+
+2009-06-11  Alberto Garcia  <agarcia@igalia.com>
+
+       Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
+
+       Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
+       use gtk-doc support)
+
+2009-06-11  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-code-dialog.c
+       * hildon/hildon-date-editor.c
+       * hildon/hildon-number-editor.c
+       * hildon/hildon-seekbar.c
+       * hildon/hildon-stackable-window.c
+       * hildon/hildon-window.c:
+       Misc documentation updates
+
+2009-06-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
+       a G_PARAM_CONSTRUCT property, to allow the default size to be set.
+
+       Fixes: NB#117931 (Theming issues in accounts dialogs)
+
+2009-06-09  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_button_release_cb): Changed the coordinates
+       of the original release in case we want to discard the release,
+       some widgets in Fremantle do not handle the leave-notify.
+
+2009-06-09  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_button_release_cb): Reviewed the logic of
+       the release using the last refactored functions and avoiding the
+       movement if an element was selected.
+
+2009-06-09  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_check_move),
+       (hildon_pannable_area_handle_move),
+       (hildon_pannable_area_motion_notify_cb): Refactored the
+       motion_notify method using a couple of new functions.
+
+2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-date-selector.c:
+       (hildon_date_selector_construct_ui):
+       * hildon/hildon-time-selector.c:
+       (hildon_time_selector_constructor):
+       * hildon/hildon-touch-selector-entry.c:
+       (hildon_touch_selector_entry_set_text_column),
+       (hildon_touch_selector_entry_get_text_column):
+       * hildon/hildon-touch-selector.c: (_default_print_func),
+       (hildon_touch_selector_new_text): Use
+       hildon_touch_selector_set/get_text_column() instead of
+       setting/getting the "text-column" property.
+
+2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-sections.txt: Add the new public methods below.
+
+       * examples/hildon-picker-button-multicolumn-example.c:
+       (create_touch_selector):
+       * examples/hildon-touch-selector-example.c: (create_selector):
+       * examples/hildon-touch-selector-multi-cells-example.c:
+       (create_selector):
+       Use hildon_touch_selector_column_set_text_column()
+
+       * hildon/hildon-touch-selector-column.h:
+       * hildon/hildon-touch-selector.c:
+       (hildon_touch_selector_column_set_text_column),
+       (hildon_touch_selector_column_get_text_column):
+       Make hildon_touch_selector_column_set/get_column() public, use
+       them in the inline example, document them, and reference to them
+       in the docs.
+
+2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-time-selector.c: Fix the docs for
+       hildon_time_selector_new_step().
+
+2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-touch-selector.c: Improve the documentation for
+       hildon_touch_selector_append_column().
+
+       Fixes MB#4641 (Documentation:
+       hildon_touch_selector_append_column() ref-counting)
+
+2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * tests/check-hildon-controlbar.c: (test_set_range_invalid):
+       Comment out test 5, since the hildon_controlbar_set_range() range
+       check is broken and fixing it would have side effects. Also,
+       this finally fixes make distcheck.
+
+       Fixes: NB#101420 (Update unit tests and fix make distcheck)
+
+2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * tests/TEST-CASES.txt: Remove other bogus test.
+       * tests/check-hildon-controlbar.c: (test_set_value_invalid):
+       Remove bogus test that was setting/retrieving a valid value.
+
+2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * tests/TEST-CASES.txt: Remove bogus tests.
+       * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
+       Remove three bogus tests that were actually setting valid colors.
+
+2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump
+       * debian/changelog: post release version bump
+
+2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.80]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-06-08  Christian Dywan  <christian@lanedo.com>
+
+       * debian/changelog:
+       * debian/control:
+       * hildon/hildon-helper.c (hildon_format_file_size_for_display):
+       Correct errors in hildon_format_file-size_for_display and use
+       translations from the hildon-fm package instead of osso-filemanager.
+
+2009-06-08  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_init): Initialized new values to handle the
+       adjustment position.
+       (hildon_pannable_area_adjust_value_changed): Check if the values
+       changed before even call the redraw function.
+       (hildon_pannable_area_size_allocate),
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_scroll),
+       (hildon_pannable_area_jump_to): Improved the diagonal movement
+       case.
+
+       Fixes: NB#113065 (Image viewer image scrolling updates in X, then
+       Y)
+
+2009-06-08  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-banner-example.c:
+       Several style updates
+       (on_animation_clicked, on_animation_idle)
+       (on_progress_clicked, on_progress_idle):
+       Add additional reference for the cases when the parent window is
+       destroyed.
+
+2009-06-08  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * hildon/hildon-pannable-area.c
+       * hildon/hildon-banner.h
+       * hildon/hildon-banner.c: Documentation updates.
+
+       Fixes: MB#4643 (Documentation: hildon_banner_show_information()
+       memory management)
+
+2009-06-05  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-calendar-popup.h:
+       * hildon/hildon-caption.h:
+       * hildon/hildon-code-dialog.h:
+       * hildon/hildon-controlbar.h:
+       * hildon/hildon-date-editor.h:
+       * hildon/hildon-dialog.h:
+       * hildon/hildon-get-password-dialog.h:
+       * hildon/hildon-hvolumebar.h:
+       * hildon/hildon-login-dialog.h:
+       * hildon/hildon-note.h:
+       * hildon/hildon-number-editor.h:
+       * hildon/hildon-range-editor.h:
+       * hildon/hildon-seekbar.h:
+       * hildon/hildon-set-password-dialog.h:
+       * hildon/hildon-sort-dialog.h:
+       * hildon/hildon-time-editor.h:
+       * hildon/hildon-time-picker.h:
+       * hildon/hildon-volumebar-range.h:
+       * hildon/hildon-volumebar.h:
+       * hildon/hildon-vvolumebar.h:
+       * hildon/hildon-weekday-picker.h:
+       * hildon/hildon-window.h:
+       * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
+       macros with the current replacements
+
+       Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
+
+2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-color-button.c (hildon_color_button_init): Use
+       HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
+       itself, to make it fit better with Fremantle style.
+
+       Fixes: NB#109878 (height and width of focus on color icon is not
+       consistent with other item in the application tool bar)
+
+2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * hildon/hildon-touch-selector.c:
+       (hildon_touch_selector_optimal_size_request): use the current requisition
+       as the base, in order to include any possible extra widget, like the
+       hildon entry on HildonTouchSelectorEntry
+
+       Fixes: NB#119805 (Merge conflict picker dialogs are too small)
+
+2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump
+       * debian/changelog: post release version bump
+
+2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.78]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
+       structure.
+       * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
+       to ensure the banner contents are centered, instead of relying on
+       the expand and fill properties in GtkHBox.
+       (hildon_banner_ensure_child): Do not expand nor fill the child widget.
+
+       Fixes: NB#108265 (Animation banner not properly centered)
+
+2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_initial_effect): Remove the initial_effect
+       management, check initial_hint
+       (hildon_pannable_are_expose_event): Remove the initial_hint management,
+       set initial_effect to FALSE
+       (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
+       by launching the fade_timeout if the scrollbars state has changed and are
+       visible
+       * examples/hildon-pannable-area-initial-hint-example.c
+       Modified to allow to remove rows too. Add and remove rows one by one.
+
+2009-05-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
+       Don't close the menu if there's an animation actor below it.
+
+       Fixes: NB#117927 (Application menu not usable with animation
+       actors)
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
+       "focus-on-click" from the dialog button, to avoid stealing the
+       focus from the entry.
+
+       Fixes: NB#118903 (Account setup wizard: Text in Search field
+       should be focused when "Region" touch list picker is reopened
+       again)
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
+       (prepare_action_area): Completely hide the dialog separator.
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-touch-selector-entry.c
+       (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
+       (hildon_touch_selector_entry_changed): Use HildonEntry text API,
+       now that the entry is exposed.
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-touch-selector-entry.c
+       (hildon_touch_selector_entry_init): Change the entry's size
+       to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
+       height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
+       avoid unnecessary scaling.
+
+2009-05-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_map):
+       Create grab transfer window before calling parent's map function.
+
+       Fixes: NB#115988 (hildon_app_menu_popup creates menu with
+       "crushed" button(s) in the top left corner)
+
+2009-05-26  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
+       Check if the window is already realized when pushing it.
+
+2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump
+       * debian/changelog: post release version bump
+
+2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.76]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c: Doc updates.
+
+2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-banner.c: Remove leftover macro.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_scroll_indicator_fade),
+       (hildon_pannable_area_button_release_cb): Reviewed vmin
+       conditions, it could cause problems in the fadeout procedure.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_button_release_cb): Added a threshold to
+       push the animation if the speed is big (MAX_SPEED_THRESHOLD).
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_set_property): Added code to sync the gtk
+       dnd threshold with the panning threshold.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Changed some of the default
+       values, now it should be less responsive and more accurate.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_scroll_indicator_fade),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_timeout),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_button_release_cb): Changed the name of the
+       clicked attribute to button_pressed, it is more clear about its use.
+
+2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
+       to 0
+       (hildon_pannable_area_initial_effect): avoid to compute horizontal and
+       vertical scrollbar visibility, and use the data on private section instead,
+       remove the initial_hint check
+       (hildon_pannable_area_expose_event): add the initial_hint check here
+
+2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_initial_effect): set to FALSE initial_effect
+       if the fadeout effect was used
+       (hildon_pannable_area_expose_event): check if it is required to
+       manage the initial effect on the begining of the function. Previously
+       it was made at the end, but this doesn't ensure that the scrollbars
+       will be painted on the first show. Do not set to FALSE initial_effect,
+       to ensure that the initial hint is showed the first time the pannable
+       becomes scrollable.
+       * examples/Makefile.am
+       * examples/hildon-pannable-area-initial-hint-example.c:
+       New example, to show that the initial-hint is showed when the widget
+       becomes scrollable
+
+       Fixes: NB#116607 (Pannable area should always have scrollbar visible
+       initially if the application can be scrolled)
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
+       Resize table before adding new items to make sure that
+       gtk_table_resize() is called just once.
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu-private.h
+       * hildon/hildon-app-menu.c (item_visibility_changed)
+       (filter_visibility_changed, hildon_app_menu_show_all)
+       (hildon_app_menu_hide_all, hildon_app_menu_init):
+       Rearrange items just once when gtk_widget_show_all()/hide_all()
+       are used.
+
 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
 
        * hildon/hildon-app-menu.c