2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
index e08a18f..d1f2152 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,471 @@
+2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.50]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-03-10  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_motion_notify_cb): We control that the
+       direction error margin is used just in case the movement is
+       allowed in the other direction.
+
+       Fixes: NB#105012 (buttons inside a pannable area not getting
+       release event when dragging/releasing)
+
+2009-03-10  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_get_property),
+       (hildon_pannable_area_set_property),
+       (hildon_pannable_area_initial_effect),
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_button_release_cb): Reviewed the
+       overshooting effect, now it has its own max
+       speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
+       speed when bouncing.
+
+2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.48]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-03-09  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Changed the max speed, now
+       users can launch the widget very fast. Reduced the default force,
+       that way it is easier to control the launch speed.
+
+2009-03-09  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_button_release_cb): Removed this check
+       because it causes problems when the device is overloaded.
+
+2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
+       add a current_text field to store the text entered in the
+       touch selector entry.
+       (_clean_current_selection): clean up the current text as well.
+       (_save_current_selection), (_restore_current_selection):
+       Save/restore the text in the entry if the selector is a
+       HildonTouchSelectorEntry.
+
+       Fixes: NB#102541 (value entered in the touch selector entry is not
+       shown when opened for second time)
+
+2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-sections.txt:
+       * src/hildon-touch-selector-entry.c
+       (+hildon_touch_selector_entry_get_entry):
+       * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
+
+       Fixes: NB#104815 (I need accessor to the entry inside
+       HildonTouchSelectorEntry)
+
+2009-03-06  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (hildon_app_menu_apply_style)
+       (hildon_app_menu_class_init):
+       New "filter-vertical-spacing" style property.
+
+2009-03-06  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-find-toolbar.c
+       (hildon_find_toolbar_emit_close)
+       (hildon_find_toolbar_emit_invalid_input)
+       (hildon_find_toolbar_entry_activate):
+       Use g_signal_emit() instead of g_signal_emit_by_name()
+
+2009-03-06  Alberto Garcia  <agarcia@igalia.com>
+
+       Patch by Mox Soini (ext-mox.soini@nokia.com)
+
+       * tests/TEST-CASES.txt
+       * tests/check-hildon-banner.c
+       * tests/check-hildon-note.c
+       * src/hildon-banner.c
+       * src/hildon-code-dialog.c
+       * src/hildon-date-editor.c (real_set_calendar_icon_state)
+       * src/hildon-time-editor.c
+       * examples/hildon-lookup-example.c (main):
+       Replace obsolete icon names with new ones.
+
+       * src/hildon-find-toolbar-private.h:
+       * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
+       (-hildon_find_toolbar_emit_search):
+       Remove find button and change icon of close button.
+
+       Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
+
+2009-03-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-time-button.c (hildon_time_button_new_step):
+       Use the "touch-selector" property to set the selector directly
+       when creating the object.
+
+2009-03-05  Alejandro G. Castro  <alex@igalia.com>
+
+       Added a new example application that allows tuning the pannable
+       area and replaced defines with properties in order to simplify the
+       tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
+       PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
+       PROP_DIRECTION_ERROR_MARGIN.
+
+       * examples/hildon-pannable-area-tuning-example.c: New example
+       application.
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_get_property),
+       (hildon_pannable_area_set_property),
+       (hildon_pannable_area_launch_fade_timeout),
+       (hildon_pannable_area_adjust_value_changed),
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_scroll_cb),
+       (hildon_pannable_area_button_release_cb): We have converted some
+       of the defines that control the widget to properties to simplify
+       the tuning.
+
+2009-03-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (hildon_app_menu_map)
+       (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
+       so it's closed if a new window appears.
+
+       Fixes: NB#104485 (Not able to address the call when application
+       menu is opened at background)
+
+2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-color-button.c (hildon_color_button_get_property):Add
+       missing 'break' statement in in 'case' construct to avoid
+       incorrect warnings.
+
+2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector-entry.c
+       (hildon_touch_selector_entry_get_property),
+       (hildon_touch_selector_entry_set_property): Add missing 'break'
+       statements in in 'case' constructs to avoid incorrect warnings.
+
+2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-time-editor.c
+       (hildon_time_editor_get_time_separators): Do not crash if
+       the first label is NULL.
+
+2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-selector.c (_month_days): Check for month to be
+       strictly less than 12, since otherwise we may overrun the array.
+
+2009-03-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-date-button.c (+hildon_date_button_new_full)
+       (hildon_date_button_new, hildon_date_button_new_with_year_range)
+       (hildon_date_button_init): Set the date selector using a
+       construction property, to make it happen after HildonButton's
+       "value" property is set.
+
+       Fixes: NB#104439 (hildon_date_button_new() isn't set to the
+       current date by default)
+
+2009-03-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * src/hildon-program.c
+       * src/hildon-stackable-window.c
+       * src/hildon-window.c:
+       Documentation updates
+
+2009-03-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window-stack.c (hildon_window_stack_get_default)
+       (hildon_window_stack_new, +hildon_window_stack_set_property)
+       (+hildon_window_stack_get_property)
+       (hildon_window_stack_class_init)
+       (+hildon_window_stack_set_window_group)
+       (+hildon_window_stack_get_window_group):
+       Make the window group a construction property.
+
+2009-03-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * src/hildon-stackable-window-private.h
+       * src/hildon-stackable-window.h
+       * src/hildon-stackable-window.c
+       (-hildon_stackable_window_set_app_menu)
+       (-hildon_stackable_window_get_app_menu)
+       (-hildon_stackable_window_toggle_menu)
+       (-hildon_stackable_window_finalize)
+       (hildon_stackable_window_class_init)
+       (hildon_stackable_window_init)
+       * src/hildon-window-private.h
+       * src/hildon-window.h
+       * src/hildon-window.c (hildon_window_init)
+       (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
+       (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
+       (hildon_window_get_main_menu, hildon_window_set_main_menu)
+       (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
+       Moved all HildonAppMenu code to HildonWindow. The menu does not
+       require a HildonStackableWindow anymore.
+
+       * src/hildon-app-menu.c
+       * src/hildon-program.c
+       * examples/hildon-app-menu-example.c (main):
+       Update examples and documentation to reflect HildonAppMenu
+       changes.
+
+2009-03-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-remote-texture.c
+       * src/hildon-animation-actor.c:
+       Don't include unused private headers.
+
+2009-03-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-program-private.h
+       * src/hildon-program.c
+       (hildon_program_set_common_menu)
+       (hildon_program_get_common_menu)
+       (hildon_program_set_common_app_menu)
+       (hildon_program_get_common_app_menu):
+       Change common menu pointers from GtkWidget* to GtkMenu* and
+       HildonAppMenu* to avoid unnecessary casts.
+
+2009-03-03  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window.c (hildon_window_set_main_menu):
+       Removed incorrect 'Since:' tag
+
+2009-03-03  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_calculate_velocity): We use now the
+       RATIO_TOLERANCE here to check the distance, fixed typo in the
+       algorithm.
+       (hildon_pannable_area_motion_notify_cb): We have to set the type
+       and time even if we are not sending the motion.
+
+2009-03-02  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * src/hildon-app-menu.h
+       * src/hildon-app-menu.c (+hildon_app_menu_get_items)
+       (+hildon_app_menu_get_filters): New methods to get the contents of
+       a HildonAppMenu.
+
+       Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
+       children)
+
+2009-03-02  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (hildon_app_menu_popup):
+       Add "Since" tag.
+
+2009-03-02  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window.h
+       * src/hildon-window.c (+hildon_window_get_main_menu)
+       (hildon_window_get_menu): Created hildon_window_get_main_menu()
+       and deprecated hildon_window_get_menu().
+
+       * src/hildon-stackable-window.h
+       * src/hildon-stackable-window.c
+       (+hildon_stackable_window_set_app_menu)
+       (+hildon_stackable_window_get_app_menu)
+       (hildon_stackable_window_set_main_menu): Created
+       hildon_stackable_window_{get,set}_app_menu() and deprecated
+       hildon_stackable_window_set_main_menu().
+
+       * doc/hildon-sections.txt
+       * examples/hildon-app-menu-example.c (main)
+       * src/hildon-app-menu.c
+       * src/hildon-program.c:
+       Updated examples and documentation.
+
+       Fixes: NB#103758 (No way to obtain a menu from a
+       HildonStackableWindow)
+
+2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.46]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-remote-texture-example.c: Include
+       hildon-remote-texture.h explicitely.
+       * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
+       applications not defining _XOPEN_SOURCE which don't require this header.
+
+2009-02-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * src/hildon-app-menu.h
+       * src/hildon-app-menu.c (+hildon_app_menu_popup):
+       New function to pop up a HildonAppMenu
+
+       * src/hildon-stackable-window.c
+       (hildon_stackable_window_toggle_menu):
+       Use hildon_app_menu_popup() to show the menu.
+
+2009-02-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (hildon_app_menu_show)
+       (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
+       menu if there's another window between it and its parent window.
+
+       Fixes: NB#100468 (Application menu window is launched even when a
+       new secondary-window/dialog is pending to be shown/realized)
+
+2009-02-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window-stack.c (hildon_window_stack_push)
+       (hildon_window_stack_pop_and_push):
+       Don't forget to push/pop the first window.
+       Reverse the window list before calling _push_list()
+
+2009-02-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-picker-button.h
+       * src/hildon-picker-button.c (hildon_picker_button_class_init):
+       Remove "value_changed" slot to avoid ABI breakage
+
+2009-02-26  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_realize),
+       (hildon_pannable_area_unrealize),
+       (hildon_pannable_draw_vscroll),
+       (hildon_pannable_draw_hscroll): Changed the method to handle the
+       GC used to draw the transparent scrollbar, this way we avoid
+       creating the GC all the time when drawing the scrollbars.
+
+2009-02-26  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_remove): Removed some unnecessary casts.
+       (hildon_pannable_area_dispose): Disconnected some signals before
+       releasing the adjustments.
+
+2009-02-26  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
+       Make sure that all widgets contained in the toolbar are shown.
+
+2009-02-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * src/hildon-picker-button.h
+       * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
+       (_selection_changed, hildon_picker_button_on_dialog_response)
+       (hildon_picker_button_class_init, hildon_picker_button_set_selector):
+       New hildon_picker_button_value_changed() method.
+
+       * src/Makefile.am
+       * src/hildon-picker-button-private.h
+       * src/hildon-picker-button.c (hildon_picker_button_init)
+       (+hildon_picker_button_disable_value_changed): Add protected
+       function for disabling the "value-changed" signal.
+
+       * src/hildon-date-button.c (hildon_date_button_set_date):
+       Don't emit "value-changed" for each one of the three columns.
+
+       Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
+       before actual change of values)
+
+2009-02-24  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
+       for the treeview overshooting.
+
+2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-banner.c (+hildon_banner_bind_style):
+       Renamed from hildon_banner_bind_label_style(), now naming the
+       banner itself as well.
+       (hildon_banner_show_information),
+       (hildon_banner_show_information_with_markup),
+       (hildon_banner_show_animation), (hildon_banner_show_progress):
+       Name the widgets and labels, based on their type.
+
+       See NB#98597 (Hildon Note and Hildon Banner should use themeable
+       background image)
+
+2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-note.c (hildon_note_set_property): call
+       hildon_note_rename() on HildonNote:note-type set.
+       (hildon_note_rename): Name the note and its label, based on the
+       HildonNote:note-type property.
+
+       See NB#98597 (Hildon Note and Hildon Banner should use themeable
+       background image)
+
+2009-02-24  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_motion_notify_cb): Reviewed the default
+       panning parameters, increased SPS and deceleration factor. Added
+       also a margin to control fake directions.
+
+2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Patch by Sven Herzberg (sven@imendio.com)
+
+       * configure.ac: Add missing AM_PROG_CC_C_0
+       * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
+
+       See NB#101420 (Update unit tests and fix make check)
+
+2009-02-23  Alejandro G. Castro  <alex@igalia.com>
+
+       This patch was applied before but reverted because it caused
+       problems, we have changed the main condition and tested the
+       regressions we detected before and they work ok. We have done a
+       complete review of the topmost algorithm in order to get a more
+       general solution.
+
+        * src/hildon-pannable-area.c,
+        (hildon_pannable_area_get_topmost): Added a new parameter to
+        filter the the windows that do not include those events.
+        (hildon_pannable_area_button_press_cb),
+        (hildon_pannable_area_button_release_cb),
+        (hildon_pannable_get_child_widget_at): Reviewed the call the the
+        topmost function, we have added the new parameter.
+
+        Fixes: NB#97458 (Pannable area prevents propagation of button
+        press events)
+
+2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
+       if all columns in the selector have an item selected.
+       (_on_dialog_response): Stop "response" signal emission if there is
+       any selector column without selected items.
+
+       Fixes: NB#101889 (Picker dialog should not close when nothing is
+       selected in multiple selection list)
+
 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
 
        * src/hildon-font-selection-dialog.c