A ChangeLog entry was accidentaly removed in the previous commit. Reverting
[hildon] / ChangeLog
index 0bff2c4..539d5cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,311 @@
+2009-01-23  Alejandro G. Castro  <alex@igalia.com>
+
+       Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
+
+       * src/Makefile.am,
+       * src/hildon.h,
+       * src/hildon-animation-actor.c,
+       * src/hildon-animation-actor.h: Added the animation actor class,
+       this widget represents an animation actor for WM-assisted
+       animation effects in the Hildon framework.
+
+2009-01-23  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window-stack-private.h
+       * src/hildon-window-stack.c
+       * src/hildon-stackable-window.c (hildon_stackable_window_show):
+       Avoid calling gtk_widget_show() again indirectly from
+       hildon_stackable_window_show()
+
+2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-time-selector.c: (hildon_time_selector_constructor),
+       (hildon_time_selector_init): Move the construction of the hours and
+       ampm columns to the constructor to preserve the order the columns
+       are appended.
+
+2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-dialog.c:
+       (hildon_picker_dialog_class_init): Connect a realize method.
+       (+hildon_picker_dialog_realize): Setup the interaction mode here
+       and not before.
+       (hildon_picker_dialog_show): Do not call setup_interaction_mode()
+       yet, do it during the realize instead.
+       (_on_dialog_response):
+       (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
+       if the widget is not realized, to avoid the dialog response before it
+       is even shown.
+
+       Avoid premature responses in the HildonPickerDialog that can cause it
+       to be hidden before it's even shown.
+
+2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
+       (on_selector_columns_changed), (requires_done_button),
+       (+prepare_action_area), (setup_interaction_mode),
+       (_hildon_picker_dialog_set_selector):
+
+       Split the interaction mode setup into preparation of the
+       action area (prepare_action_area()) and the connection of
+       the signals in setup_interaction_mode() and update the code to
+       reflect this.
+
+2009-01-22  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Reduced the amount of scrolls
+       per second to 15, we will check if this is ok regarding
+       smoothness.
+
+2009-01-22  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_axis_scroll): Avoid resize if we already have
+       reached overshoot_max.
+
+2009-01-22  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_realize),
+       (hildon_pannable_area_size_allocate),
+       (hildon_pannable_area_map),
+       (hildon_pannable_area_unmap),
+       (hildon_pannable_draw_vscroll),
+       (hildon_pannable_draw_hscroll),
+       (hildon_pannable_area_expose_event),
+       (hildon_pannable_area_refresh): Added a new GdkWindow to the
+       pannable are to avoid the expose events go to the window and
+       redraw the window. We save this way that part of the stack and the
+       paint_boxes. We had to change the positions of the elements when
+       drawing.
+
+2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
+       * src/hildon-color-chooser-dialog.c:
+       (hildon_color_chooser_dialog_init):
+       * src/hildon-font-selection-dialog.c:
+       (hildon_font_selection_dialog_init),
+       (hildon_font_selection_dialog_show_preview):
+       * src/hildon-get-password-dialog.c:
+       * src/hildon-login-dialog.c:
+       * src/hildon-set-password-dialog.c:
+       * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
+       * src/hildon-time-picker.c: (hildon_time_picker_init):
+
+       Remove obsolete logical string IDs and update to the appropriate ones.
+
+       Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
+
+2009-01-21  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window.c (hildon_window_update_topmost): Fix warning
+       that happens if the window hasn't been realized yet.
+
+       Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
+       - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
+
+2009-01-20  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (hildon_app_menu_class_init)
+       (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
+       by another grab.
+
+       Fixes: NB#98537 (Device hangs in account settings dialog)
+
+2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump.
+       * debian/changelog: version bump
+
+2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.36]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-01-20  Alejandro G. Castro  <alex@igalia.com>
+
+       Added a new function to the HildonTimeButton widget that allows to
+       change the step of the minutes in the selector associated with the
+       button: hildon_time_button_new_step
+
+       * src/hildon-time-button.c,
+       (hildon_time_button_init),
+       (hildon_time_button_new),
+       (hildon_time_button_new_step):
+       * src/hildon-time-button.h: Added the new function and refactored
+       the code.
+       * examples/hildon-time-button-example.c,
+       (main): We have replaced the function without parameters with the
+       function with the steps set to 5
+
+       Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
+
+2009-01-20  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-time-selector.c,
+       (hildon_time_selector_class_init),
+       (hildon_time_selector_constructor),
+       (hildon_time_selector_get_property),
+       (hildon_time_selector_set_property),
+       (_create_minutes_model),
+       (hildon_time_selector_new_step),
+       (hildon_time_selector_set_time),
+       * src/hildon-time-selector.h: Added a new property to the
+       HildonTimeSelector (minutes-step), we use that property to control
+       the steps between the minutes in the list of the selector. We have
+       added a new function to the API to create a widget changing the
+       step: hildon_time_selector_new_step.
+
+2009-01-20  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-time-selector.c,
+       (hildon_time_selector_class_init),
+       (hildon_time_selector_constructor),
+       (hildon_time_selector_init): Overrided the construct function when
+       creating the time selector object. We have moved the minutes model
+       handling code from the init to the new construction function:
+       hildon_time_selector_constructor.
+
+2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-date-button-example.c: (main): Use the new
+       hildon_date_button_new_with_year_range() method in the example.
+       * src/hildon-date-button.c:
+       (+hildon_date_button_new_with_year_range): New public method
+       to conveniently create a HildonDateButton with a custom year range
+       in its HildonDateSelector.
+       * src/hildon-date-button.h: Add the new public method definition.
+
+       Fixes: NB#97908 (Not possible to change the year range in
+       HildonDateSelector/HildonDateButton)
+
+2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-selector.c:
+       (+hildon_date_selector_set_property),
+       (+hildon_date_selector_get_property),
+       (hildon_date_selector_class_init): Install new properties "min-year"
+       and "max-year" to define boundaries for the year column.
+       (_create_year_model): Use the boundary properties to populate the model.
+       (+hildon_date_selector_new_with_year_range): New public method to
+       create a HildonDateSelector with a user defined year range.
+       (hildon_date_selector_select_current_date): Use the new boundaries to
+       calculate the iterator of current year.
+       * src/hildon-date-selector.h: Add the new public method definition.
+
+2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
+       Install a constructor method.
+       (+hildon_date_selector_construct_ui): construct the widget.
+       (+hildon_date_selector_constructor): new constructor.
+       (+hildon_date_selector_init): move out widget construction code to
+       the new constructor.
+
+2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
+       that there's actually a month or year selected before obtaining them.
+       * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
+       of the HildonTouchSelector::changed signal, as it was emitted on every
+       single item selection.
+
+       Fix some warnings and possible crashers due to the selection restoring.
+
+2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
+       the signal handlers only after creating the dialog instead of on every
+       button click.
+
+2009-01-19  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c (hildon_button_init)
+       * src/hildon-check-button.c (hildon_check_button_init)
+       * src/hildon-gtk.c (button_common_init): Don't let buttons get the
+       focus when clicked by default.
+
+2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
+       g_object_unref().
+
+2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
+       Alejandro G. Castro  (alex@igalia.com)
+
+       * src/hildon-picker-dialog.c:
+       (hildon_picker_dialog_class_init): install new "center-on-show"
+       property.
+       (hildon_picker_dialog_init): initialize center_on_show to TRUE.
+       (hildon_picker_dialog_set_property): add setter code for the new
+       property.
+       (hildon_picker_dialog_get_property): add getter code for the new
+       property.
+       (hildon_picker_dialog_show): Ensure visibility of selected items in the
+       HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
+       default.
+
+       Fixes: NB#92849 (Selected item is not always visible when
+       HildonTouchSelector is shown)
+
+2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
+       Alejandro G. Castro  (alex@igalia.com)
+
+       * src/hildon-touch-selector.c:
+       (_create_new_column): Do not connect to the "realize" signal of the
+       pannable area.
+       (hildon_touch_selector_append_column): center on the selected items
+       when a new column is appended.
+       (hildon_touch_selector_select_iter): Factor out the code to select a
+       column to hildon_touch_selector_scroll_to().
+       (+search_nearest_element): Method to retrieve the nearest selected
+       element to the visible area of the pannable area in a column.
+       (+on_realize_cb): scroll to the initially selected item.
+       (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
+       the pannable area is realized, otherwise delay this until it is.
+       (+_hildon_touch_selector_center_on_selected_items): Centers on the
+       selected items of a given column.
+       (+hildon_touch_selector_center_on_selected): Public method to center
+       all columns on the nearest selected item.
+       * src/hildon-touch-selector.h: Add definition for
+       hildon_touch_selector_center_on_selected().
+
+       Implement public API to ensure visibility of all selected items in
+       a HildonTouchSelector.
+
+2009-01-16  Alejandro G. Castro  <alex@igalia.com>
+
+       Fixed a problem in the fading when calling the scroll_to API, and
+       improve scrollbar fading handling.
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_grab_notify): avoid the timeout when the
+       alpha is zero.
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_motion_notify_cb): Code style changes.
+       (hildon_pannable_area_button_release_cb): Review the conditions
+       when releasing the mouse button to avoid unrequired fading
+       timeouts.
+       (hildon_pannable_area_scroll_to): Do not calculate and set the
+       velocity if the scroll is not required.
+
+2009-01-15  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
+       Don't check whether the new selector is NULL: it cannot be.
+       Hold a reference to the selector while doing the replacement.
+
 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
 
        * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove