2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
index 1ff0d47..d1ff048 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,487 @@
+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
+       (hildon_font_selection_dialog_class_init),
+       (hildon_font_selection_dialog_init): Remove the preview
+       button and dialog, since previewing with default theming is likely
+       to be overcomplicated. The :preview property has now no effect.
+       Update documentation blurbs to inform about this.
+
+       Fixes: NB#92297 (Preview content is not clearly visible for
+       default colour text)
+
+2009-02-20  Alejandro G. Castro  <alex@igalia.com>
+
+       Reviewed the geometry that handles the children size and
+       scrollbar, now it tries a size and reviews the results depending
+       on the scrollbars visibility.
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_realize): Fixed a typo.
+       (hildon_pannable_area_child_allocate_calculate): Added this
+       function to calculate the child allocation.
+       (hildon_pannable_area_size_allocate): Reviewed the allocation
+       code.
+       (hildon_pannable_area_check_scrollbars),
+       (hildon_pannable_area_refresh): Refactored refresh function, this
+       way we can call the code handling the scrollbars without causing a
+       size_request, it is interesting in the allocate.
+       (hildon_pannable_area_init): Replace the callbacks of the
+       value_changed and changed signals to propertly deal with the
+       geometry.
+       (hildon_pannable_area_grab_notify),
+       (hildon_pannable_area_initial_effect),
+       (hildon_pannable_area_launch_fade_timeout),
+       (hildon_pannable_area_adjust_changed),
+       (hildon_pannable_area_adjust_value_changed),
+       (hildon_pannable_area_redraw),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_button_release_cb),
+       (hildon_pannable_area_scroll_cb),
+       (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
+       code and use the new functions adjust_changed and
+       adjust_value_changed.
+
+       Fixes: NB#101603 (Focus is not even for the text entry boxes in
+       Contact editor dialog)
+
+2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.44]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-02-20  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_get_topmost),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_button_release_cb),
+       (hildon_pannable_get_child_widget_at): Reverted the patch for the
+       topmost function adding the event mask. We have to try a
+       differente approach because it is still causing problems (NB#9745,
+       reopened).
+
+2009-02-19  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-banner.c:
+       Update the maximum width of timed banners.
+       (force_to_wrap_truncated): Enforce the maximum text width if the
+       label is wrapped.
+
+       Fixes: NB#102413 (The text margins (wrapping) in information
+       banner should be HILDON_MARGIN_TRIPLE)
+
+2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
+
+       * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
+       (hildon_pannable_draw_hscroll): Consider the adjustment's lower
+       bound when calculating the scroll indicator position.
+
+       Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
+       treat ->lower correctly)
+
+2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
+
+        * src/hildon-caption.c (hildon_caption_class_init): Remove the
+        expose event handling, since it is not necessary to draw the focus
+        anymore.
+
+        Fixes: NB#102467 (Do not show highlight on the text in
+        HildonCaption)
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
+       full height of the toolbar for the button and the label.
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
+       padding before the label and after the button.
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
+
+       * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
+       Add a GtkVSeparator between the button and the back arrow.
+       Let the button have automatic size.
+       Set a name to the widget for theming handling.
+
+       Fixes: NB#101793 (Make edit toolbar the same height as window
+       title bar (use title area theming))
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-helper.c (attach_new_color_element): Fix memory
+       leak.
+
+       Fixes: NB#102262 (memory leak in hildon_button_set_style())
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-button-example.c (common_buttons_window): Don't
+       leak size groups.
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
+       Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
+
+2009-02-18  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-gtk.c: Check that the window is realized.
+
+       Fixes: NB#102225 (Crash setting the progress indicator to a non
+       visible window)
+
+2009-02-17  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
+       (hildon_pannable_draw_hscroll): Make a copy of the graphic context
+       instead of modifying the one in the widget style.
+
+       Fixes: NB#101043 (Second row of all the command button are
+       displayed in transparent mode.)
+
+2009-02-17  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-date-button.c
+       * src/hildon-time-button.c: Add gettext macros
+
+2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-button.c (hildon_date_button_new):
+       * src/hildon-time-button.c (hildon_time_button_new_step):
+       Use new logical strings to set the button default title.
+
+       Fixes: NB#99915 (Date and Time options are not localised in Date
+       and Time setttings)
+
+2009-02-16  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
+       the PANNING_THRESHOLD.
+
+2009-02-16  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Increased the maximum speed.
+       (hildon_pannable_area_get_property),
+       (hildon_pannable_area_set_property),
+       (hildon_pannable_area_timeout): Added a new low friction mode, it
+       allows the user avoid friction when launching the widget fast
+       enough. It is interesting to traverse long lists.
+
+2009-02-16  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
+       (+hildon_stackable_window_delete_event): Ignore delete events if
+       the window is not the topmost one.
+
+       Fixes: NB#101698 (Back button long press and delete-event handling)
+
+2009-02-16  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_motion_notify_cb): Removed the use of the
+       gtk-dnd-drag-threshold, it was too big. We have defined our own
+       dnd define and set a smaller value: PANNIG_THRESHOLD.
+
+2009-02-16  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
+       user-defined icons, use always the default one.
+
+       Fixes: NB#101916 (Do not allow custom icons on animation banner)
+
+2009-02-13  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.
+
+        * 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. Added
+        also a condition when finding the window to filter windows that do
+        not ask for 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-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * tests/check-hildon-color-button.c (START_TEST): do not leak
+       ret_color.
+
+2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-font-selection-dialog.c
+       (hildon_font_selection_dialog_get_preview_text): Return NULL
+       instead of FALSE on the g_return_val_if_fail().
+
+2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-time-selector.c (hildon_time_selector_set_time):
+       * src/hildon-date-selector.c
+       (hildon_date_selector_select_current_date):
+       Do not compare unsigned integers to be greater than or equal 0,
+       because it's always TRUE.
+
+2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
+       (hildon_date_selector_constructor): Do not select the current
+       date until we are handle the "changed" signal, to avoid having bogus
+       elements in the days model.
+
+2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-date-selector.c (_update_day_model): Use a gint variable
+       for num_days, since _month_days() can return a negative value.
+
+2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-caption.c (hildon_caption_size_allocate):
+       * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
+       * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
+
+       Initialize allocation variables to 0, to avoid eventually using
+       unitialized variables.
+
+2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-bread-crumb-trail.c
+       (hildon_bread_crumb_trail_size_allocate):
+       * src/hildon-calendar.c (hildon_calendar_set_background):
+       * src/hildon-caption.c (hildon_caption_hierarchy_changed):
+       * src/hildon-range-editor.c (hildon_range_editor_get_range):
+       * src/hildon-seekbar.c (hildon_seekbar_init):
+       * src/hildon-time-editor.c (hildon_time_editor_get_time):
+       * src/hildon-time-selector.c (hildon_time_selector_finalize):
+       * src/hildon-touch-selector-entry.c
+       (hildon_touch_selector_get_text_from_model):
+       * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
+       * src/hildon-window.c (hildon_window_finalize):
+
+       Remove many unused variables.
+
+2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-seekbar.c: (hildon_seekbar_init),
+       (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
+
+       Remove unnecessary g_assert() calls.
+
+2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-caption.c: (hildon_caption_expose),
+       (hildon_caption_set_property), (hildon_caption_init),
+       (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
+       (hildon_caption_size_request), (hildon_caption_size_allocate),
+       (hildon_caption_forall), (hildon_caption_set_separator),
+       (hildon_caption_activate), (hildon_caption_set_child_expand),
+       (hildon_caption_set_label_text),
+       (hildon_caption_get_label_alignment):
+
+       Remove unnecessary g_assert() calls.
+
+2009-02-12  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-banner.c
+       (hildon_banner_map, hildon_banner_init): Make banner temporary
+       before mapping it to avoid closing other temporary windows, but
+       make it non-temporary afterwards to avoid being closed by other
+       non-temporary windows.
+       (-hildon_banner_client_event, hildon_banner_init):
+       _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
+
+       Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
+       opened)
+
+2009-02-11  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
+       deprecation guard.
+
 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
 
        * src/hildon-remote-texture.c