2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
index 5758e78..19a5610 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,567 @@
+2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * po/POTFILES.in: Add missing files with translatable strings.
+       Partially fixes NB#88287.
+
+2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-pannable-area-example-2.c: (main): No need to
+       set the cellrenderer height inside hildon touch lists, the theme does
+       that for us.
+
+2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
+       they are integrated in the theme.
+
+2008-09-09  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-entry-example.c: Update the example adding
+       widgets to modify the text and the placeholder of the HildonEntry.
+
+       * src/hildon-entry.c: Show the placeholder everytime the widget
+       is empty and loses the focus.
+
+2008-09-09  Alejandro G. Castro         <alex@igalia.com>
+
+       Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_size_request): Fixed bug in height
+       requisition, avoid increasing size and add border twice.
+
+2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: postrelease version bump.
+
+2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Release 2.1.8-1.
+
+       * configure.ac: Prerelease version bump.
+       * debian/changelog: update.
+       * debian/rules: make -dbg package contain useful debugging symbols.
+
+2008-09-08  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-dialog.h
+       * src/hildon-dialog.c
+       (hildon_dialog_add_button, hildon_dialog_add_buttons):
+       New methods to add buttons with finger size.
+       (hildon_dialog_new_with_buttons):
+       Create buttons with finger size.
+
+       * examples/hildon-dialog-example.c (main): Use HildonDialog
+       methods to add buttons.
+
+2008-09-08  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-entry.c: Updated HildonButton documentation.
+
+2008-09-08  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c (hildon_button_set_arrangement): Pack the
+       button value label with (FALSE, FALSE) to prevent NB#88126 from
+       being triggered.
+
+2008-09-08  Alejandro G. Castro         <alex@igalia.com>
+
+       * examples/hildon-pannable-area-example.c,
+       (main): Removed examples panning a vbox inside a pannable
+       area. Check bug NB#87965
+
+2008-09-08  Alejandro G. Castro         <alex@igalia.com>
+
+       Patch contributed by Kris Rietveld (kris@imendio.com)
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_get_topmost): replaced the get_geometry with
+       get_size and get_position, this saves an X server roundtrip.
+
+2008-09-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-docs.sgml
+       * doc/hildon.types
+       * examples/Makefile.am
+       * examples/hildon-entry-example.c
+       * src/Makefile.am
+       * src/hildon-entry.c
+       * src/hildon-entry.h
+       * src/hildon.h:
+       New HildonEntry widget, with example.
+
+2008-09-05  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c (hildon_button_construct_child): Pack the
+       image with expand == fill == FALSE. This is a workaround for a bug
+       in GtkBox.
+
+2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-pannable-area-example-2.c: (main): Use the stock
+       labels for the text column, to make it more look more dynamic.
+
+2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * src/hildon-time-selector.c
+       Define gettext auxiliar macro N_
+       (_create_minutes_model)
+       (_create_hours_model)
+       (_create_ampm_model): use of strftime in order to fill the model
+       * src/hildon-date-selector.c
+       (hildon_date_selector_finalize):
+       (_locales_init): remove the logic related to get the name of the months
+       using nl_langinfo, as it is not required anymore
+       (_create_day_model)
+       (_create_year_model)
+       (_create_month_model)
+       (_update_day_model): use of strftime in order to fill the model properly
+
+
+2008-09-04  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.h
+       * src/hildon-button.c (hildon_button_get_image): New method to
+       retrieve the image.
+
+2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector.c:
+       (hildon_touch_selector_remove_column): Remove from the correct parent
+       and also remove the list element and free it.
+       Fixes: NB#88049
+
+2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * src/hildon-time-selector.c
+       (_create_hours_model): change the range on 12h ampm format in order to use
+       a 12-11 range instead of previous 01-12 range
+       (hildon_time_selector_set_time): change the way to select the current time
+       on 12h ampm format, due the change on the range
+       (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
+       Fixes: NB#88036
+
+2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * src/hildon-touch-selector.c
+       (hildon_date_touch_selector_get_selected): fix the selection mode check,
+       in order to allow use this function on multiple row selection mode if
+       the column is different that the first one
+       Fixes: NB#88047
+
+2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
+       to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
+
+2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * src/hildon-date-selector.h: clean some comments, now on the .c
+       * src/hildon-date-selector.c
+       (hildon_date_selector_select_month): first implementation
+       (hildon_date_selector_select_day): added documentation, reimplemented
+       using hildon_date_selector_select_current_date to avoid repeat code
+       Fixes: NB#88027
+
+2008-09-02  Alejandro G. Castro         <alex@igalia.com>
+
+       Reviewed interaction logic based on device experiences, refactored
+       code.
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Updated default vmax speed.
+       (hildon_pannable_area_calculate_velocity): Added this function, it
+       avoids duplicate valocity calculation. Adjusted calculation to
+       avoid problems with zero dist events.
+
+       (hildon_pannable_area_motion_notify_cb): Now we use the
+       calculate_velocity function.
+
+2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * src/hildon-date-selector.c
+       (hildon_date_selector_select_current_date): fix the day range check
+       as it failed using the last day of the current month
+       Fixes NB#88023
+
+2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * src/hildon-touch-selector.c
+       (hildon_touch_selector_get_num_columns): added a parameter validation
+       Fixes: NB#88022
+
+2008-08-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/Makefile.am
+       * examples/hildon-edit-toolbar-example.c: Example of the
+       HildonEditToolbar widget.
+
+2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: postrelease version bump.
+
+2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Release 2.1.6-1.
+
+       * configure.ac: prerelease version bump.
+       * debian/changelog: update.
+
+2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
+       renderer to display stock icons in the touch list. Also, set the sizes
+       to the recommended in the style guide.
+
+2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
+       * src/hildon-touch-selector.h
+       (hildon_touch_selector_set_active_iter): renamed, now is
+       hildon_touch_selector_select_iter
+       (hildon_touch_selector_get_active_iter): renamed, now is
+       hildon_touch_selector_get_selected
+       (hildon_touch_selector_unselect_iter): added
+       * src/hildon-touch-selector.c
+       Update after API modification (methods renamed)
+       (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
+       order to avoid problems selecting multiple elements on the column
+       (hildon_touch_selector_unselect_iter): added the implementation
+       * src/hildon-time-selector.c
+       * src/hildon-date-selector.c
+       * src/hildon-touch-selector-entry.c
+       Update methods calls after hildon-touch-selector.h API modification (methods
+       renamed)
+
+2008-08-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-stackable-window.c
+       (hildon_stackable_window_finalize): Call the parent class's finalize.
+
+2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-touch-selector-example.c: (create_selector): Use
+       gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
+       cell height.
+
+2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-touch-selector-example.c: (create_selector): Do not
+       set a cell background color, to respect theming.
+
+2008-08-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-docs.sgml
+       * doc/hildon.types
+       * src/Makefile.am
+       * src/hildon-edit-toolbar.c
+       * src/hildon-edit-toolbar.h
+       * src/hildon.h: New HildonEditToolbar widget.
+
+2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded 
+       extra GtkVBox.
+
+2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
+       * src/hildon-touch-selector.c
+       (_create_new_column): use g_object_set instead of two g_object_set_property
+       
+2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
+       * src/hildon-touch-selector.c
+       (_create_new_column): use of hildon_gtk_tree_view_new to create
+       the treeview, instead of use directly g_object_new
+       (_create_new_column): update the property name "vindicator-mode" for the
+       new one "vscrollbar-policy" 
+       * examples/hildon-date-button-example.c
+       * examples/hildon-picker-button-multicolumn-example.c
+       * examples/hildon-touch-selector-entry-example.c
+       * examples/hildon-touch-selector-example.c
+       * examples/hildon-time-button-example.c
+       * examples/hildon-picker-button-example.c
+       Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
+       to all the treeviews inside a pannable area. 
+       
+2008-08-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.h
+       * src/hildon-button.c (hildon_button_init)
+       (hildon_button_set_arrangement, hildon_button_set_alignment)
+       (hildon_button_set_title_alignment)
+       (hildon_button_set_value_alignment)
+       (hildon_button_set_image_alignment)
+       (hildon_button_construct_child): New methods to set the alignment
+       of the individual components of the button (title, value,
+       image). Also, new method to alter the xscale and yscale properties
+       of the GtkAlignment inside the button, so more complex layouts can
+       be created.
+
+2008-08-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c (hildon_button_style_set)
+       (hildon_button_class_init, hildon_button_set_arrangement)
+       (hildon_button_construct_child): Apply style properties
+       correctly. Use the 'image-spacing' style property too.
+
+2008-08-26  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c (hildon_app_menu_style_set)
+       (hildon_app_menu_init, hildon_app_menu_class_init): Set style
+       correctly.
+
+2008-08-26  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_size_request): Fixed problem with
+       pannable-area size_request.
+
+2008-08-26  Alejandro G. Castro         <alex@igalia.com>
+
+       Added management for the grab-focus to a child widget, like a
+       range, we need to fade out the scrollbar when releasing.
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_init): Connected the grab-focus signal to
+       the callback.
+       (hildon_pannable_area_grab_notify): Added this function in order
+       to manage the situation when the grab-focus ends. We have to
+       fade-out the scrollbar.
+
+2008-08-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c: Minor documentation update.
+
+2008-08-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu.c
+       * examples/hildon-app-menu-example.c (create_menu): Update
+       examples and documentation to explain how to connect callbacks.
+
+2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * examples/hildon-button-example.c
+       (vertical_buttons_window) (horizontal_buttons_window) (main): use of
+       hildon_stackable_window_new instead of gtk_window_new
+
+2008-08-22  Alejandro G. Castro         <alex@igalia.com>
+
+       * 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_dispose), (hildon_pannable_area_realize),
+       (hildon_pannable_area_unrealize),
+       (hildon_pannable_area_size_request),
+       (hildon_pannable_area_size_allocate),
+       (hildon_pannable_area_style_set), (hildon_pannable_area_map),
+       (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
+       (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
+       (hildon_pannable_area_initial_effect),
+       (hildon_pannable_area_redraw),
+       (hildon_pannable_area_scroll_indicator_fade),
+       (hildon_pannable_area_expose_event),
+       (hildon_pannable_area_get_topmost), (synth_crossing),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_button_release_cb),
+       (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
+       (hildon_pannable_area_remove),
+       (hildon_pannable_calculate_vel_factor): Widget refactorization,
+       chage the code layout to a more GtkWidget like. Review the use of
+       variables.
+
+2008-08-21  Alejandro G. Castro         <alex@igalia.com>
+
+       * examples/hildon-pannable-area-example-4.c,
+       (main): Modified the name of the hindicator_mode to
+       hscrollbar_visible
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
+       we have reduced the amount of signals and managed reviewed its
+       rationale. Changed the default decelerate value.
+
+       (hildon_pannable_area_add),
+       (hildon_pannable_area_redraw): Refactored functions.
+
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_get_property),
+       (hildon_pannable_area_set_property):
+       (hildon_pannable_draw_vscroll),
+       (hildon_pannable_draw_hscroll),
+       (hildon_pannable_area_initial_effect),
+       (hildon_pannable_area_expose_event),
+       (hildon_pannable_area_scroll),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_realize): Replaced the names hindicator_mode
+       and vindicator_mode with hscrollbar_policy and
+       vscrollbar_policy. Replaced hscroll and vscroll with
+       hscroll_visible and vscroll_visible.
+
+       (hildon_pannable_area_refresh): Refactor the function, remove
+       variables and check the calls to this function, added resize
+       conditions in case the children change their layout.
+
+       (hildon_pannable_area_size_request): Added more detailed
+       size_request calculation.
+
+
+2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * src/hildon-color-chooser.c
+       (init_borders): use the correct gtk_border_free instead of g_free, to
+       avoid a crash when this widget is used (ie: the three color selection
+       examples)
+
+2008-08-20  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-check-button.c,
+       (hildon_check_button_set_active): Fixed problem when setting the
+       active value, the widget was not redrawn.
+
+2008-08-20  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_refresh),
+       (hildon_pannable_area_scroll),
+       (hildon_pannable_area_motion_notify_cb): Small code style change.
+
+       (hildon_pannable_area_class_init): Default initial_hint set to
+       FALSE, it is not in the specs.
+
+       (hildon_pannable_area_initial_effect),
+       (hildon_pannable_area_expose_event),
+       (hildon_pannable_area_map),
+       (hildon_pannable_area_init): Moved the launching point of the
+       initial effect, it was in map but the sizes where not correct in
+       that method so we do not know if we have the reproduce it. Now it
+       is placed in the expose_event method and uses a variable to
+       reproduce it just once.
+
+2008-08-19  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_draw_vscroll),
+       (hildon_pannable_draw_hscroll): Fix error calculating the maximum
+       position allowed for the scrollbars.
+
+       (hildon_pannable_area_size_allocate): Small style change.
+
+2008-08-19  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_scroll_indicator_fade),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_button_release_cb),
+       (hildon_pannable_area_scroll_cb),
+       (hildon_pannable_area_expose_event),
+       (hildon_pannable_area_init): Added the define parameter
+       SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
+       and refactor the fade variable.
+
+2008-08-19  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_redraw),
+       (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
+       lines, we were reimplemeting the redraw code.
+
+2008-08-18  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_scroll_cb),
+       (hildon_pannable_area_realize),
+       (hildon_pannable_area_class_init): Added scroll_event management
+       for pannable area, now we can scroll the usual desktop method.
+
+       (hildon_pannable_area_jump_to): Fixed the logic of the method, the
+       initialization of the parameters should depend on idle_id.
+
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_map): Small code style modifications
+
+2008-08-18  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_button_release_cb),
+       (hildon_pannable_area_size_allocate),
+       (hildon_pannable_area_scroll_to): Improved the timeouts
+       management, we avoid creating them each time.
+
+2008-08-14  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c:
+       (hildon_pannable_area_refresh),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_class_init):
+       * src/hildon-pannable-area.h:
+       * src/hildon-touch-selector.c
+       (_create_new_column):
+       * examples/hildon-pannable-area-example-4.c:
+       (horizontal_movement),
+       (vertical_movement),
+       (main):
+       Replaced the names of enums in the HildonPannableArea:
+          -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
+             HILDON_MOVEMENT_MODE_*
+          -  HILDON_PANNABLE_AREA_MOV_* ->
+             HILDON_MOVEMENT_*
+          - Removed HildonPannableAreaIndicatorMode, now we
+            use GtkPolicyType
+
+2008-08-14  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-pannable-area-touch-grid-example.c
+       * examples/hildon-pannable-area-touch-list-example.c: Fix
+       compilation warnings.
+
+2008-08-14  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-gtk.c (hildon_gtk_button_new)
+       (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
+       (hildon_gtk_radio_button_new_from_widget): Make buttons show their
+       images overriding the value of the "gtk-button-images" setting.
+
+2008-08-14  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-check-button.c (hildon_check_button_new):
+       Instead of using a custom container, display the label and the
+       checkbox using the standard GtkButton API.
+
+       * examples/hildon-check-button-example.c (main): Don't use
+       hildon_check_button_set_label() anymore
+
+       * src/hildon-check-button.h
+       * src/hildon-check-button.c
+       (hildon_check_button_set_label, hildon_check_button_get_label):
+       Set as deprecated, now we're using gtk_button_{get,set}_label()
+
+2008-08-14  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_get_topmost): Fixed bug with click in the
+       GtkTreeview first line we detected it after the inclusion of the
+       GtkWindowImpl in gtk+. We now check if the window is visible, not
+       just if the pointer is over the window.
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_expose_event): Small style changes.
+
+2008-08-13  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c: Update documentation.
+
+2008-08-13  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-button-example.c: Add a switch to show images in
+       the buttons.
+
+2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-docs.sgml: Some docs reorganization.
+
 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
 
        * examples/hildon-pannable-area-touch-list-example.c
        * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
        documentation comment.
 
-2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
-
-       reviewed by: <delete if not using a buddy>
-
-       * doc/hildon.types:
-       * src/hildon-check-button.c: (hildon_check_button_new):
-       * src/hildon-window.c: (hildon_window_class_init):
-
 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
 
        * doc/Makefile.am: Complete list of private headers.