Make sure that all timeouts in HildonBanner are removed
[hildon] / ChangeLog
index 7289e62..43e76df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,571 @@
+2009-10-01  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-banner.c (hildon_banner_timeout):
+       Remove the timeout, if present, before setting it to 0.
+
+       Fixes: NB#141447 (HildonBanner crashes if a new one is shown
+       during a delete event)
+
+2009-09-30  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-banner.c (screen_size_changed):
+       Don't hide and show the banner when the screen size changes.
+
+       Fixes: NB#141140 (Rotation stops when banner is present)
+
+2009-09-22  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_scroll): Unset the scroll_to in some
+       situations, it was causing the timeout did not stop in some cases.
+
+       Fixes: NB#140186 (HildonPannableArea goes into an infinite loop)
+
+2009-07-02  David King  <davidk@openismus.com>
+
+       * hildon/hildon-animation-actor-private.h
+       (HildonAnimationActorPrivate)
+       * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
+       (hildon_animation_actor_hide)
+       * hildon/hildon-animation-actor.h
+       (hildon_animation_actor_set_show_full)
+       (hildon_animation_actor_set_show): Change "show" parameter type from
+       gint to gboolean.
+
+       Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
+       be a gboolean)
+
+2009-09-18  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Do not return gboolean in GtkButton:clicked signal handlers
+
+       * examples/hildon-banner-example.c:
+       (on_information_clicked), (on_animation_clicked),
+       (on_progress_clicked): GtkButton:clicked handlers do not return
+       gboolean. Fix this.
+
+2009-09-17  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
+       Use the Xlib API to take window screenshots, since the GDK API
+       doesn't allow us to set the event mask.
+
+       Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
+       screenshot)
+
+2009-09-14  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [2.2.0 Release Candidate 6]
+
+       * debian/changelog: bump and updates.
+
+2009-09-14  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
+       free a GList and avoid potential memory corruption.
+
+2009-09-11  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [2.2.0 Release Candidate 5]
+
+       * NEWS: Updates
+       * debian/changelog: bump and updates
+
+2009-09-11  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Do not set any flag for empty legacy menus
+
+       * hildon/hildon-program.c: (hildon_program_set_common_menu):
+       * hildon/hildon-window.c: (hildon_window_update_menu_flag):
+       This will probably not work fine with empty legacy menus added to
+       programs or windows and populated later, but so it's life.
+
+2009-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Update the application menu flag for application-wise windows
+
+       * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
+       (hildon_program_set_common_app_menu): Also take into account the visibility
+       of its items.
+
+2009-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Emit HildonAppMenu::changed when menu items change visibility
+
+       * hildon/hildon-app-menu.c: (item_visibility_changed),
+       (filter_visibility_changed): Also emit ::changed on
+       visibility of items changed.
+
+2009-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Do not set the menu flag in a window when a menu is empty
+
+       * hildon/hildon-window.c: (hildon_window_update_menu_flag),
+       (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
+       (on_menu_changed), (hildon_window_set_main_menu): Update on menu
+       changes by using the HildonAppMenu::changed signal.
+
+2009-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Add HildonAppMenu::changed signal
+
+       * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
+       (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
+       Emit a new HildonAppMenu:changed signal when there are changes in
+       the menu children.
+
+2009-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Add hildon_app_menu_has_visible_children() private method
+
+       * hildon/hildon-app-menu-private.h: Add below private method.
+       * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
+       New method to check the visibility of a HildonAppMenu children.
+
+2009-09-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Set the window menu flag for application-common menus
+
+       * hildon/hildon-program.c:
+       (+hildon_program_window_set_common_menu_flag): Set or remove the
+       menu flag from a window only this doesn't have its own menu.
+       (+hildon_program_set_common_menu_flag): adjust menu flag for
+       all windows in the program.
+       (hildon_program_add_window),
+       (hildon_program_remove_window): add/remove the menu flag when
+       a window is added to the program.
+
+       Fixes: NB#137814 (Indicator for view menu in app title area)
+
+2009-09-08  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Set a special window property for windows with menus
+
+       * hildon/hildon-window-private.h: Add private
+       hildon_window_set_menu_flag()
+       * hildon/hildon-window.c: (+do_set_has_menu),
+       (+hildon_window_set_menu_flag): set
+       "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
+       or remove the property.
+       (hildon_window_set_main_menu),
+       (hildon_window_set_app_menu): call above methods to set or remove
+       the property when a menu is added or removed from the window.
+
+       Partially fixes: NB#137814 (Indicator for view menu in app title area)
+
+2009-09-08  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Rename and move the methods to set flags to hildon-private.h
+
+       * hildon/hildon-gtk.c: (do_set_progress_indicator),
+       (do_set_do_not_disturb), (do_set_portrait_flags): call
+       the new private method hildon_gtk_window_set_clear_window_flag()
+       (hildon_gtk_window_set_progress_indicator),
+       (hildon_gtk_window_set_do_not_disturb),
+       (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
+       * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
+       (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
+       properly.
+       * hildon/hildon-private.h: Add the two new private methds.
+
+2009-09-11  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_size_allocate),
+       (hildon_pannable_area_button_release_cb): More tuning of the
+       speed, adding a way to calculate the acceleration and fast-panning
+       based on the child size.
+
+2009-09-10  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-touch-selector.c
+       (hildon_touch_selector_class_init):
+       Documentation updates
+
+       Fixes: MB#5103
+
+2009-09-10  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-touch-selector.c:
+       Documentation updates
+
+       Fixes: MB#5104 (HildonTouchSelector docs should say no
+       HildonPannableArea is necessary)
+
+2009-09-08  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_timeout): Fixed problem with the timeout
+       function, we need to move before decelerating the first time or we
+       are loosing the first jump.
+
+       Fixes: NB#137604 (Pannable scroll_to does not move correctly)
+
+2009-09-07  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [2.2.0 Release Candidate 3]
+
+       * debian/changelog: updates
+
+2009-09-07  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Increased max speed.
+
+2009-09-07  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [2.2.0 Release Candidate 2]
+
+       * NEWS: Updates
+       * debian/changelog: bump version, updates
+
+2009-09-07  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_button_release_cb): More tuning for the
+       large lists.
+
+2009-09-07  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init):
+       Change the default value of the scrollbar_fade_delay.
+
+       Fixes: NB#127018 (Panning indicator fades out too slowly)
+
+2009-09-04  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [2.2.0 Release Candidate 1]
+
+       * NEWS: Updates
+       * configure.ac: Bump version
+       * debian/changelog: updates
+
+2009-09-04  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_button_release_cb): Added a new acceleration
+       system to help traversing big lists, tuned the stop threshold.
+
+       Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
+
+2009-09-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-window.h:
+       Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
+
+       Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
+
+2009-09-04  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.97]
+
+       * configure.ac: bump version
+       * NEWS: updates
+       * debian/changelog: updates
+
+2009-09-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-entry.c
+       * hildon/hildon-text-view.c:
+       Documentation updates
+
+2009-09-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
+       Redraw menu when the number of items change.
+
+       Fixes: NB#131911 (Appmenu does not resize properly, when number of
+       menu items change)
+
+2009-09-03  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-pannable-area.c:
+       (hildon_pannable_area_launch_fade_timeout),
+       (hildon_pannable_area_motion_event_scroll),
+       (hildon_pannable_area_check_move),
+       (hildon_pannable_area_button_release_cb),
+       (hildon_pannable_area_scroll_to):
+
+       Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
+       area drawing operations, since this is the recommended for drawing
+       operations.
+
+       Fixes: NB#110894 (In event view containing very large description
+       field, application menu is displayed blank while panning)
+       Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
+       for the first time)
+
+2009-09-03  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * hildon/hildon-button.c
+       * hildon/hildon-edit-toolbar.c
+       * hildon/hildon-gtk.[ch]
+       * hildon/hildon-main.c
+       * hildon/hildon-program.c
+       * hildon/hildon-stackable-window.c:
+       Documentation updates
+
+2009-08-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c
+       (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
+       Close the menu if it receives a grab-notify signal.
+
+       Fixes: NB#134533 (UI freezes if we show a dialog with
+       gtk_dialog_run() while a menu is opened)
+
+2009-08-27  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Reverted tuning modifications:
+       "Pannign needs to be faster" and "Pannable kinetics in large lists
+       needs tuning".
+
+2009-08-26  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-sound.c (hildon_play_system_sound):
+       Set "module-stream-restore.id" to "x-maemo-system-sound" when
+       playing system sounds
+
+       Fixes: NB#133767 (Information and confirmation note sound should
+       follow system profile setting)
+
+2009-08-26  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Added more force and increased
+       the max speed threshold.
+
+       Fixes: NB#135344 (Pannign needs to be faster)
+
+2009-08-26  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.96, this time for real]
+
+       * NEWS: updates
+       * debian/changelog: updates
+
+2009-08-26  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_get_topmost): change the computation of the
+       co-ordinates transformed when no one of the children is a topmost
+
+       Fixes: NB#133252 (Opening any feed item from RSS always opens the
+       first feed item in browser)
+
+2009-08-26  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_remove_timeouts): Adding this new function
+       with the code that removes the timeouts of the widget.
+       (hildon_pannable_area_dispose),
+       (hildon_pannable_area_unrealize): Use the new remove function to
+       stop timeouts when unrealizing and disposing.
+       (hildon_pannable_area_scroll_to): Added a CLAMP to the position
+       calculation to avoid negative values in some cases.
+
+       Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
+
+2009-08-24  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-check-button-example.c: (button_toggled_cb):
+       * hildon/hildon-check-button.c: (hildon_check_button_toggled),
+       (hildon_check_button_set_active), (hildon_check_button_new),
+       (hildon_check_button_clicked), (hildon_check_button_class_init):
+       * hildon/hildon-check-button.h:
+       * hildon/hildon-set-password-dialog.c: (create_contents),
+       (hildon_set_password_response_change), (hildon_checkbox_toggled):
+
+       Revert "Make HildonCheckButton derive from GtkToggleButton"
+
+2009-08-21  Alberto Garcia  <agarcia@igalia.com>
+
+       [Release 2.1.96]
+
+       * configure.ac: bump version
+       * NEWS: updates
+       * debian/changelog: updates
+
+2009-08-21  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-check-button.h
+       * hildon/hildon-check-button.c
+       (hildon_check_button_clicked, hildon_check_button_class_init):
+       Make HildonCheckButton derive from GtkToggleButton
+       (hildon_check_button_toggled, hildon_check_button_set_active)
+       (hildon_check_button_get_active):
+       Deprecate unnecessary HildonCheckButton API and use the
+       one from GtkToggleButton instead.
+
+       * hildon/hildon-set-password-dialog.c (create_contents)
+       (hildon_set_password_response_change, hildon_checkbox_toggled)
+       * examples/hildon-check-button-example.c (button_toggled_cb):
+       Update to use the GtkToggleButton API
+
+       Fixes: MB#4739 (HildonCheckButton should inherit from
+       GtkToggleButton)
+
+       Fixes: NB#132661 (HildonCheckButton should inherit from
+       GtkToggleButton)
+
+2009-08-20  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_class_init):
+       Increase default value of HildonPannableArea:velocity_max to 2000
+
+       Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
+
+2009-08-18  Alberto Garcia  <agarcia@igalia.com>
+
+       [Release 2.1.95]
+
+       * configure.ac: bump version
+       * NEWS: updates
+       * debian/changelog: updates
+
+2009-08-11  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_size_allocate): Checked the scrollbars
+       before the first try when defining the layout, avoids two
+       allocations in some situations.
+
+       Fixes: NB#131794 (pannable area produces unnecessary allocations
+       causing performance problems)
+
+2009-08-11  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_button_release_cb): Added unrefs to reduce
+       the spurious ref added in the copy, fixes leak of window.
+
+       Fixes: NB#130900 (HildonPannableArea will leak it's event_window
+       if it's realized without showing and then deleted)
+
+2009-08-10  Alberto Garcia  <agarcia@igalia.com>
+
+       [Release 2.1.94]
+
+       * configure.ac: bump version
+       * NEWS: updates
+       * debian/changelog: updates
+
+2009-08-06  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-hvolumebar-timer-example.c
+       (on_idle, main)
+       * hildon/hildon-banner.c
+       (hildon_banner_timeout, hildon_banner_ensure_timeout)
+       * hildon/hildon-calendar.c
+       (calendar_timer, start_spinning)
+       * hildon/hildon-color-chooser.c
+       (inline_limited_expose)
+       * hildon/hildon-date-editor.c
+       (hildon_date_editor_entry_focus_in)
+       (hildon_date_editor_entry_validate)
+       (hildon_date_editor_entry_select_all)
+       * hildon/hildon-note.c
+       (on_show_cb)
+       * hildon/hildon-number-editor.c
+       (hildon_number_editor_button_pressed)
+       (hildon_number_editor_start_timer, do_mouse_timeout),
+       (add_select_all_idle, hildon_number_editor_select_all)
+       * hildon/hildon-time-editor.c
+       (hildon_time_editor_entry_focus_in)
+       (highlight_callback, hildon_time_editor_validate)
+       (hildon_time_editor_entry_select_all)
+       * hildon/hildon-time-picker.c
+       (hildon_time_picker_arrow_press)
+       (hildon_time_picker_key_repeat_timeout)
+       * hildon/hildon-window.c
+       (hildon_window_key_press_event)
+       (hildon_window_escape_timeout):
+       Replace all calls to g_idle_add/g_timeout_add with their
+       gdk_threads counterparts.
+
+       Fixes: NB#126198 (gdk-threads API should be used to install idle
+       and timeout handlers)
+
+2009-08-06  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Increased the overshooting max
+       speed to get a faster effect.
+       (hildon_pannable_axis_scroll): Increased minimum speed and reduce
+       deceleration of the overshooting
+       (hildon_pannable_area_button_release_cb): Calculate initial
+       overshooting speed when finger on the screen using the distance to
+       launch the effect faster.
+
+       Fixes: NB#126115 (Pannable list overshooting is unusably slow for
+       lists with slow row renderers)
+
+2009-08-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt: Add new functions
+
+2009-08-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-text-view.[ch]
+       * hildon/hildon-entry.[ch]:
+       Add deprecation guards around deprecated functions.
+
+2009-08-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-app-menu.c: Remove leftover function declaration.
+
+2009-08-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Remove the grab from HildonAppMenu
+
+       * hildon/hildon-app-menu.c:
+       Now hildon-desktop places a blocker window behind the menu to handle
+       its closing, so the grab is no longer needed. This simplifies its
+       implementation and allows the system blanking to succeed.
+
+       Fixes: NB#130910 (Screen gets unlocked when menu is open)
+
+2009-08-04  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.93]
+
+       * configure.ac: bump version
+       * NEWS: updates
+       * debian/changelog: updates
+       * debian/control: raise debian dependency on GTK+
+
+2009-08-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-text-view.c
+       * hildon/hildon-entry.c:
+       Remove all placeholder code from HildonEntry and HildonTextView
+       and use the API in GtkEntry and GtkTextView instead.
+
+       * examples/hildon-entry-example.c
+       * examples/hildon-text-view-example.c
+       * examples/hildon-wizard-dialog-example.c
+       * hildon/hildon-get-password-dialog.c
+       * hildon/hildon-login-dialog.c
+       * hildon/hildon-picker-dialog.c
+       * hildon/hildon-set-password-dialog.c
+       * hildon/hildon-touch-selector-entry.c:
+       Replace all deprecated calls to HildonEntry and HildonTextView
+       with their Gtk counterparts.
+
+       Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
+       GtkEntry)
+
 2009-08-03  Alejandro G. Castro  <alex@igalia.com>
 
        * hildon/hildon-pannable-area.c,
 2009-08-03  Alejandro G. Castro  <alex@igalia.com>
 
        * hildon/hildon-pannable-area.c,
@@ -7,6 +575,9 @@
        the timeout, in some situations, slow renderers, the click do not
        make it to the mainloop on time.
 
        the timeout, in some situations, slow renderers, the click do not
        make it to the mainloop on time.
 
+       Fixes NB#131013 (unable to stop panning file manager by tapping on
+       it)
+
 2009-07-30  Claudio Saavedra  <csaavedra@igalia.com>
 
        * configure.ac: bump version
 2009-07-30  Claudio Saavedra  <csaavedra@igalia.com>
 
        * configure.ac: bump version