2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
index fff2001..3f258ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,480 @@
+2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
+       for the treeview in the new column. This way, the touch list will never
+       grab the focus.
+
+       Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
+       be selected manually for the HW keys to work)
+
+2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
+       comparison instead of using strcmp(). Fixes a compiler warning as well.
+
+2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-docs.sgml: Do not set the library version in the
+       document title, use the releaseinfo tag for that purpose instead.
+
+2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector-entry.c (entry_on_text_changed):
+       Do not jump to the first item if the text in the entry is removed.
+
+2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.52]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-entry.c (hildon_entry_refresh_contents):
+       * src/hildon-text-view.c (hildon_text_view_refresh_contents):
+       Use "ReversedSecondaryTextColor" for the placeholder text.
+
+2009-03-12  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-text-view.c: Fix compilation warning.
+
+2009-03-12  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c (hildon_button_class_init): Don't make
+       "title" and "value" construction properties, to prevent them from
+       overwriting labels set from derived classes.
+
+       * src/hildon-picker-button.c
+       (hildon_picker_button_set_selector): Allow setting a NULL selector.
+       (hildon_picker_button_class_init): Make touch-selector a
+       construction property.
+
+       * src/hildon-date-button.c (hildon_date_button_class_init)
+       (+hildon_date_button_constructed): Add a default date selector if
+       none is provided.
+
+2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector.c: Small documentation fixes.
+
+2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Based on a patch by Daniel Borgmann (danielb@openismus.com)
+
+       * src/hildon-entry.c (hildon_entry_refresh_contents),
+       (hildon_entry_get_text), (hildon_entry_init): Do not use the
+       widget name, set the logical color directly instead and a boolean
+       showing_placeholder instead.
+       * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
+       use the widget name here either.
+
+       Fixes: NB#105678 (HildonTextView should use logical colours
+       instead of setting widget name)
+
+2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Patch by Daniel Elster (danielk@openismus.com)
+
+       * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
+       Add user_data parameter.
+       (hildon_touch_selector_set_print_func_full): New function akin
+       hildon_touch_selector_set_print_func() but with support for user
+       data and a destroy callback.
+       (hildon_touch_selector_dispose): Implement GObjectClass::dispose
+       to clean up the print function user data.
+       (hildon_touch_selector_class_init): Install dispose function.
+       (HildonTouchSelectorPrivate::print_user_data),
+       (HildonTouchSelectorPrivate::print_destroy_func): New private
+       member data.
+       (hildon_touch_selector_init): Initialize new private members.
+       (hildon_touch_selector_get_current_text): Pass along user data
+       to the print function.
+       (_default_print_func): Add dummy user_data to parameter list.
+       * hildon-date-selector.c (_custom_print_func): ditto,
+       * hildon-time-selector.c (_custom_print_func): ditto,
+       * hildon-touch-selector-entry.c
+       (hildon_touch_selector_entry_print_func): ditto.
+
+       Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
+
+2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
+
+2009-03-12  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_motion_notify_cb): We have added code to
+       handle the leave and enter events when using the motion events.
+
+       Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
+
+2009-03-11  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-date-button.c (hildon_date_button_get_date)
+       (hildon_date_button_set_date): Make sure that the button has a
+       selector.
+
+       Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
+
+2009-03-11  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_calculate_velocity): Modify the use of the
+       force and adapt the value.
+
+2009-03-10  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
+       (hildon_app_menu_class_init): Hide the menu if it receives a
+       delete-event, but don't destroy it
+
+       Fixes: NB#104485 (Not able to address the call when application
+       menu is opened at background)
+
+2009-03-10  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c
+       (hildon_app_menu_apply_style, hildon_app_menu_class_init):
+       Remove the "external-border" style property, let the menu take its
+       natural size (or the one set by the window manager)
+       (hildon_app_menu_repack_items):
+       Don't reshow the menu, avoid flickers.
+
+       Partially fixes NB#94957 (Smoothly opened application menu)
+
+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)