2009-02-18 Alberto Garcia <agarcia@igalia.com>
[hildon] / ChangeLog
index f429f22..7f53d9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,539 @@
+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
+       * src/hildon-remote-texture.h
+       * src/hildon-remote-texture-private.h
+       * examples/hildon-remote-texture-example.c:
+       Updates/fixes to remote-texture and its example.
+
+2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Patch by Mox Soini (ext-mox.soini@nokia.com)
+
+       * src/hildon-code-dialog.c: Update logical id.
+       * src/hildon-set-password-dialog.c: Update logical id.
+
+       Fixes: NB#100646 (Logical strings is shown for ok in set
+       password,Password needed dialogs)
+
+2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
+
+       * src/hildon.h
+       * src/hildon-remote-texture.c
+       * src/hildon-remote-texture.h
+       * src/hildon-remote-texture-private.h
+       * src/Makefile.am
+       Added remote texture widget (for Clutter shared memory textures)
+
+       * examples/hildon-remote-texture-example.c
+       * examples/Makefile.am
+       Added example file for remote texture usage
+
+2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump.
+       * debian/changelog: version bump.
+
+2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.42]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-02-06  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-date-selector.c (hildon_date_selector_init)
+       (hildon_date_selector_constructor): Don't connect to the "changed"
+       signal until the selector is completely constructed.
+
+2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector.c: (_create_new_column),
+       (hildon_touch_selector_append_column),
+       (hildon_touch_selector_set_column_selection_mode),
+       (hildon_touch_selector_set_active),
+       (hildon_touch_selector_select_iter):
+       Emit the HildonTouchSelector::changed signal every time selection
+       is changed in any of the methods above.  This behavior was already
+       documented but not fully functional.
+
+       Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
+       selection is programmatically changed)
+
+2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-sections.txt: Remove obsolete icon
+       sizes from here as well.
+
+2009-02-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-stackable-window-example.c (add_window): Remove
+       unnecessary return.
+
+2009-02-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c
+       (hildon_app_menu_show): Check whether the parent window of a menu
+       is topmost before popping it up.
+
+       Fixes: NB#100468 (Application menu window is launched even when a
+       new secondary-window/dialog is pending to be shown/realized.)
+
+2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
+       icon sizes.
+
+2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Patch by Mox Soini (ext-mox.soini@nokia.com)
+
+       * src/hildon-banner.c: (hildon_banner_show_animation):
+       use stylus size instead of obsolete note size.
+       * src/hildon-defines.h: Update icon sizes.
+
+2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector-entry.c:
+       (hildon_touch_selector_entry_init): Disable unsupported
+       input modes.
+       (hildon_touch_selector_entry_get_text_column): Emit a warning
+       if an unsupported input modes is used and explicitile state
+       these modes in the documentation.
+
+       Fixes: NB#99802 (Hildon touch selector entry not working properly
+       for some of the input modes)
+
+2009-02-05  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_init): Added the changed signal handlers of
+       the adjustments.
+
+       Fixes: NB#100320 (HildonPannableArea does not listen to
+       GtkAdjustment "change" signals)
+
+2009-02-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-sections.txt
+       * src/hildon-window-private.h
+       * src/hildon-window.h
+       * src/hildon-window.c (hildon_window_init)
+       (hildon_window_realize, hildon_window_unrealize)
+       (hildon_window_map, hildon_window_unmap, hildon_window_expose)
+       (hildon_window_size_request, hildon_window_size_allocate)
+       (hildon_window_forall, hildon_window_show_all)
+       (hildon_window_destroy, +paint_edit_toolbar)
+       (+hildon_window_set_edit_toolbar):
+       New hildon_window_set_edit_toolbar() method, to add a
+       HildonEditToolbar to a window without having to pack it manually.
+
+       Reorganize hildon_window_size_allocate()
+
+       * src/hildon-edit-toolbar.c: Update documentation.
+
+       * examples/hildon-edit-toolbar-example.c (edit_window): Update
+       example to use the new API.
+
+       Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
+
+2009-02-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-stackable-window.c (hildon_stackable_window_hide):
+       Remove from stack before calling parent's hide.
+
+2009-02-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-window-stack.c (hildon_window_stack_remove): When a
+       window is removed from the middle of the stack, update the
+       transiency of the previous one.
+
+       Fixes: NB#100487 (HildonStackableWindow transiency becomes
+       incoherent)
+
+2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
+       block/unblock the signal handler if it's not actually being used.
+       Fixes some critical warnings.
+
+2009-02-02  Alberto Garcia  <agarcia@igalia.com>
+
+       Based on a patch by Iván Gómez (igomez@igalia.com)
+
+       * src/hildon-banner.c
+       * src/hildon-gtk.c
+       * src/hildon-main.c
+       * src/hildon-note.c
+       * src/hildon-pannable-area.c
+       * src/hildon-picker-dialog.c
+       * src/hildon-wizard-dialog.h
+       * src/hildon-wizard-dialog.c: Documentation updates.
+
+       * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
+       gtk_dialog_add_button() instead of hildon_dialog_add_button().
+
+2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump.
+       * debian/changelog: version bump.
+
+2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.40]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-01-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
+       a stock icon nor change the relief of the back arrow.
+
+       Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
+       graphics from theme)
+
+2009-01-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c (hildon_button_set_alignment): Use
+       priv->alignment if the button has no child yet.
+
+2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-button.c: (hildon_button_init): Set the
+       button style during initialization to give it the proper
+       label color.
+
+       Fixes: NB#99713 (HildonButton value label color is wrong)
+
+2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector.c: Document
+       hildon_touch_selector_center_on_selected()
+
+2009-01-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (+hildon_app_menu_show_all)
+       (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
+       all menu items, but not the menu itself.
+       (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
+       (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
+       items after adding them to the menu so keyboard accelerators work.
+       (hildon_app_menu_show): Don't show the menu if it contains items
+       but none of them are visible.
+
+       * examples/hildon-app-menu-example.c (create_menu): Use
+       gtk_widget_show_all() to show all menu items.
+
+2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-dialog.c:
+       (-_update_title_on_selector_changed_cb),
+       (-_dialog_update_title): Removed.
+       (_select_on_selector_changed_cb), (_on_dialog_response),
+       (on_selector_columns_changed): Do not update the dialog title.
+       (setup_interaction_mode): Do not connect to
+       HildonTouchSelector::changed signal if there's a "done" button, as
+       the dialog title doesn't need to be updated.
+
+       Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
+       contents in title)
+
+2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Patch by Kristian Rietveld (kris@imendio.com)
+
+       * src/hildon-touch-selector.c: (_create_new_column): Use new
+       GtkTreeView::hildon-row-tapped signal to react to user interactions
+       instead of ::changed.
+
+       Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
+       with some dynamic tree model)
+
+2009-01-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
+       (+screen_size_changed, +label_size_request)
+       (hildon_note_class_init): Make the Hildon information note have a
+       minimum height, and make its text hvae a maximum width.
+
+       Fixes: NB#98614 (Hildon information note (background) should have
+       minimum height and maximum text width)
+
+2009-01-26  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-banner.h
+       * src/hildon-banner.c (hildon_banner_show_information)
+       (hildon_banner_show_informationf)
+       (hildon_banner_show_information_with_markup): Update documentation
+       to reflect that the icon_name parameter is not used anymore.
+       (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
+       Remove all code from these functions and mark them as deprecated.
+       (hildon_banner_show_progress): Mark as deprecated.
+
+       Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
+
+2009-01-26  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (tranparency_color),
+       (hildon_pannable_draw_vscroll),
+       (hildon_pannable_draw_hscroll),
+       (hildon_pannable_area_expose_event): Added a new way to render the
+       scrollbars of the pannable area avoiding using cairo at all. This
+       way we improve the performance of the pannable area rendering. The
+       cairo rendering procedure is still in the code, we can control
+       which one to use changing the value of the define
+       USE_CAIRO_SCROLLBARS.
+
+2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump.
+       * debian/changelog: version bump.
+
+2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.38]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-01-23  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-banner.c (hildon_banner_button_press_event): Hide
+       banners instead of destroying them when they receive a button
+       press.
+
+2009-01-23  Alejandro G. Castro  <alex@igalia.com>
+
+       Reverted commit 34028, it was causing regressions, probably the
+       topmost condition is not correct, we have to check it in more
+       detail. We have reponed the bug: NB#97458 (Pannable area prevents
+       propagation of button press events)
+
+2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
+       that the selection is not empty before attempting to retrieve the
+       current ampm selection.
+
+2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-button.c:
+       (hildon_picker_button_on_dialog_response): Directly update the
+       button contents when required instead of calling _selection_changed.
+
+2009-01-23  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-program.c (hildon_program_update_top_most): Update
+       'is-topmost' property also when wm_hints is not set.
+
+       Fixes: NB#98383 (is-topmost signal is not emitted when task
+       switcher is clicked.)
+
+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