2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
index 130659e..41e9ed7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,439 @@
+2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: Set back the tarname in AC_INIT to hildon.
+
+2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
+
+       Release 2.1.3
+
+       * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
+       instead of libesd (NB#86876). Volume handling is still an open issue.
+
+       * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
+       cleanups.
+
+2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-touch-selector.c: (hildon_touch_selector_init),
+       (hildon_touch_selector_append_column): Make the widget a GtkVBox
+       derived class to ease placement of an entry widget in
+       HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
+       end, where the selector columns are packed now.
+
+2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-picker-button.c: Removed the simple _text() API.
+       * src/hildon-picker-button.h: Likewise.
+
+       * src/hildon-touch-selector.h:
+       * src/hildon-touch-selector.c:
+       (hildon_touch_selector_new_text),
+       (hildon_touch_selector_append_text),
+       (hildon_touch_selector_prepend_text),
+       (hildon_touch_selector_insert_text):
+
+       Moved the simple _text() API from HildonPickerButton to
+       HildonTouchPicker, to provide better escalability and not to tie
+       that API to HildonPickerButton.
+
+       * examples/hildon-picker-button-example.c: (main): Example updated.
+
+2008-07-31  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c: Updated documentation.
+
+       * examples/hildon-button-example.c: Add the posibility to create
+       the buttons using horizontal layout for title and value.
+
+2008-07-31  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu-private.h
+       * src/hildon-app-menu.c (hildon_app_menu_add_filter)
+       (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
+       GtkSizeGroup for the filters, use the 'homogeneous' property of
+       the box instead.
+
+2008-07-31  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-button-example.c: Updated example.
+
+2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-docs.sgml:
+       * doc/hildon.types:
+
+       Update documentation.
+
+       * examples/Makefile.am: Update renamed examples.
+
+       * examples/hildon-picker-button-multicolumn-example.c:
+       (create_touch_selector), (main): Update after the rename.
+
+       * examples/hildon-touch-picker-example.c: Removed.
+       * examples/hildon-touch-selector-example.c: (value_changed),
+       (create_selector), (get_visible_content), (main): Renamed from
+       hildon-touch-picker-example.c
+
+       * src/Makefile.am: Updated renamed files.
+
+       * src/hildon-date-button.c: (hildon_date_button_init),
+       (hildon_date_button_get_date), (hildon_date_button_set_date):
+       * src/hildon-date-selector.c: (hildon_date_selector_init),
+       (_custom_print_func), (_update_day_model),
+       (_manage_selector_change_cb),
+       (hildon_date_selector_select_current_date),
+       (hildon_date_selector_get_date), (hildon_date_selector_select_day):
+       * src/hildon-date-selector.h:
+       * src/hildon-picker-button.c: (hildon_picker_button_get_property),
+       (hildon_picker_button_set_property),
+       (hildon_picker_button_clicked), (hildon_picker_button_class_init),
+       (hildon_picker_button_init), (hildon_picker_button_new_text),
+       (hildon_picker_button_append_text),
+       (hildon_picker_button_prepend_text),
+       (hildon_picker_button_insert_text),
+       (hildon_picker_button_set_selector),
+       (hildon_picker_button_get_selector):
+       * src/hildon-picker-button.h:
+       * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
+       (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
+       (_update_title_on_selector_changed_cb), (requires_done_button),
+       (_hildon_picker_dialog_set_selector),
+       (hildon_picker_dialog_set_selector),
+       (hildon_picker_dialog_get_selector):
+       * src/hildon-picker-dialog.h:
+       * src/hildon-time-button.c: (hildon_time_button_init),
+       (hildon_time_button_get_time), (hildon_time_button_set_time):
+       * src/hildon-time-selector.c: (hildon_time_selector_init),
+       (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
+       (hildon_time_selector_set_time), (hildon_time_selector_get_time):
+       * src/hildon-time-selector.h:
+       * src/hildon.h:
+
+       Massive code updates after the rename.
+
+       * src/hildon-touch-picker.c: Removed.
+       * src/hildon-touch-picker.h: Removed.
+
+       * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
+       (hildon_touch_selector_init), (hildon_touch_selector_map),
+       (hildon_touch_selector_remove), (_default_print_func),
+       (_selection_changed_cb), (_create_new_column),
+       (hildon_touch_selector_new), (hildon_touch_selector_append_column),
+       (hildon_touch_selector_append_text_column),
+       (hildon_touch_selector_remove_column),
+       (hildon_touch_selector_set_column_attributes),
+       (hildon_touch_selector_insert_column),
+       (hildon_touch_selector_get_num_columns),
+       (hildon_touch_selector_get_column_selection_mode),
+       (hildon_touch_selector_set_column_selection_mode),
+       (hildon_touch_selector_set_print_func),
+       (hildon_touch_selector_get_print_func),
+       (hildon_touch_selector_get_active_iter),
+       (hildon_touch_selector_set_active_iter),
+       (hildon_touch_selector_get_selected_rows),
+       (hildon_touch_selector_get_model),
+       (hildon_touch_selector_set_model),
+       (hildon_touch_selector_get_current_text),
+       (_hildon_touch_selector_center_on_selected_items):
+       * src/hildon-touch-selector.h: Renamed from
+       hildon-touch-picker.[ch]
+
+       Rename HildonTouchPicker to HildonTouchSelector. Updated all the
+       references, code examples, and related documentation.
+
+2008-07-30  Alberto Garcia  <agarcia@igalia.com>
+
+       * doc/hildon-docs.sgml
+       * doc/hildon.types
+       * src/Makefile.am
+       * src/hildon-toggle-button.c
+       * src/hildon-toggle-button.h
+       * src/hildon.h: New HildonToggleButton widget.
+
+2008-07-30  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c: Add API documentation.
+       (hildon_button_set_size_groups): Check input parameters
+
+2008-07-30  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
+       effect after reaching the movement thredshold. This way we start
+       using the distance after passing the thredshold.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-button.c: (hildon_button_set_property): Use the
+       appropriate g_value_get_flags() method.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * doc/hildon-docs.sgml:
+       * doc/hildon.types:
+
+        Add the touch pickers, picker dialogs, and picker button widgets
+       to the documentation.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-button.c: (hildon_button_set_property),
+       (hildon_button_class_init): Make "arrangement-flags" a proper
+       G_TYPE_FLAGS derived property.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * examples/Makefile.am: Add below examples.
+       * examples/hildon-date-button-example.c:
+       * examples/hildon-picker-button-example.c:
+       * examples/hildon-picker-button-multicolumn-example.c:
+       * examples/hildon-time-button-example.c:
+       * examples/hildon-touch-picker-example.c:
+
+       Add examples for the recently added touch pickers,
+       picker dialogs, and picker button widgets.
+
+2008-07-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.c: Add some API documentation
+
+2008-07-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-button.h
+       * src/hildon-button.c
+       (hildon_button_new)
+       (hildon_button_new_with_text): New constructor to create a button
+       with no text at all.
+       (hildon_button_init, hildon_button_set_arrangement)
+       (hildon_button_set_title, hildon_button_set_value)
+       (hildon_button_set_text)
+       (hildon_button_construct_child): Hide the value when it's not used
+       so the rest of the text is properly aligned.
+       Allow creating buttons with arbitrary widgets inside (not just
+       title/value labels).
+
+       * examples/hildon-button-example.c (vertical_buttons_window)
+       (horizontal_buttons_window): Update example to use new API.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonTimeButton.
+       * src/hildon-time-button.c: Added missing LGPL header.
+       * src/hildon-time-button.h: Added missing LGPL header.
+       * src/hildon.h: Add hildon-time-button.h
+
+       Copied HildonTimeButton from sandbox to trunk. Future work on this
+       widget must take place in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonDateButton.
+       * src/hildon-date-button.c: Update includes.
+       * src/hildon.h: Add hildon-date-button.h
+
+       Copied HildonDateButton from sandbox to trunk. Future work on this
+       widget must take place in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonPickerButton.
+       * src/hildon-picker-button.h: Update includes.
+       * src/hildon.h: Add hildon-picker-button.h
+
+       Copied HildonPickerButton from sandbox to trunk. Future work on
+       this widget must take place in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonPickerDialog.
+       * src/hildon-picker-dialog.c: Update includes.
+       * src/hildon.h: Add hildon-picker-dialog.h
+
+       Copied HildonPickerDialog from sandbox to trunk. Future work
+       on this widget must take place in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonTimeSelector.
+       * src/hildon.h: Add hildon-time-selector.h
+
+       Copied HildonTimeSelector widget from sandbox to trunk. Future
+       work on this widget must happen in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonDateSelector.
+       * src/hildon.h: Add hildon-date-selector.h
+
+       Copied HildonDateSelector widget from sandbox to trunk.  Future
+       work on this widget must happen in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/Makefile.am: Added HildonTouchPicker.
+       * src/hildon-touch-picker.c: Update includes.
+       * src/hildon.h: Add hildon-touch-picker.h
+
+       Copied HildonTouchPicker widget from sandbox to trunk. Future work
+       on this widget must happen in trunk.
+
+2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-pannable-area.c:
+       (hildon_pannable_area_motion_notify_cb): Fix a typo.
+
+2008-07-29  Alberto Garcia  <agarcia@igalia.com>
+
+       * examples/hildon-app-menu-example.c (main): Let the window
+       destroy the menu.
+
+2008-07-29  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_class_init): Set the min value of the
+       overshoot properties to zero, which points out that not
+       overshooting allowed.
+
+2008-07-29  Alejandro G. Castro         <alex@igalia.com>
+
+       Modified the procedure to get the widget at a point inside the
+       pannable area when using the movement type signals. Now the user
+       has to call a function to get the child, that way we just
+       calculate the child in case the user really want to use it and not
+       all the time.
+
+       * src/hildon-marshalers.list: Modified the marshallers, now we do
+       not have the widget as a parameter.
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_get_child_widget_at):  Removed the widget
+       parameter from the signal callback. We have also refactored the
+       emission of the signals.
+
+       * src/hildon-pannable-area.h: Added a new method to the API to
+       calculate a widget at a point inside the pannable area,
+       hildon_pannable_get_child_widget_at.
+
+       * examples/hildon-pannable-area-example-4.c
+       (horizontal_movement): Modified the example to use the new API,
+       added condition to control which widget is under the event. This
+       way we can avoid scrolling laterally over other widgets.
+
+2008-07-29  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
+       modes, we stop getting the pointer events due to returning the
+       callback without properly calling the get pointer again. Fixed
+       also an error using the hscroll and vscroll.
+
+2008-07-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-app-menu-private.h
+       * src/hildon-app-menu.c (hildon_app_menu_button_press)
+       (hildon_app_menu_button_release, hildon_app_menu_init)
+       (hildon_app_menu_class_init): Don't hide the menu on button
+       release if the user didn't press outside first.
+
+       * src/hildon-window.h
+       * src/hildon-window.c (hildon_window_toggle_menu)
+       (hildon_window_toggle_menu_real, hildon_window_class_init): Make
+       hildon_window_toggle_menu a virtual function for the stackable
+       window to override it.
+
+       * src/hildon-stackable-window.h
+       * src/hildon-stackable-window-private.h
+       * src/hildon-stackable-window.c
+       (hildon_stackable_window_realize)
+       (hildon_stackable_window_finalize)
+       (hildon_stackable_window_class_init)
+       (hildon_stackable_window_init)
+       (hildon_stackable_window_set_main_menu): New function to set the
+       app menu of a HildonStackableWindow.
+
+       * examples/hildon-app-menu-example.c: Remove the button to show
+       the app menu, now it'll be shown when clicking on the title bar
+       instead.
+
+2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-button.c: (hildon_button_set_arrangement): Do not
+       set the widget name if the arrangement flags do not specify
+       a particular size.
+
+2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * src/hildon-button.c: (hildon_button_set_property),
+       (hildon_button_class_init), (hildon_button_new_full),
+       (hildon_button_set_arrangement): Added "arrangement-flags"
+       property.
+
+       Make the HildonButtonFlags a construction-only property, to allow
+       subclasses to set them properly.
+
+2008-07-21 Tim Janik  <timj@imendio.com>
+
+       * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
+       insertion position after backspace, so additional digits are appended,
+       fixes Bug #85874.
+
+2008-07-17  Alejandro G. Castro         <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_get_topmost): Cleaned the code, removed the
+       TODO list, it was complete and removed the g_debug and g_print
+       lines.
+
+2008-07-17  Alejandro G. Castro         <alex@igalia.com>
+
+       Added the movement modes to the hildon-pannable-area, with this
+       modes the developers can control in which directions the widget
+       can scroll. They can also connect to signals in order to do
+       something when that happens, allowing applications scroll. There
+       is an example uploaded showing how to use it.
+
+       * examples/Makefile.am:
+       * examples/hildon-pannable-area-example-4.c: Added this example of
+       an application using the modes.
+
+       * src/hildon-marshalers.list: Added a new marshaller for the new
+       signals.
+
+       * src/hildon-pannable-area.h: Added new enumerations and flags in
+       order to control the movement modes and the new signals to warn
+       about the movements in the area.
+
+       * src/hildon-pannable-area.c:
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_scroll),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_get_property),
+       (hildon_pannable_area_set_property),
+       (hildon_pannable_area_map),
+       (hildon_pannable_area_class_init),
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_jump_to): Added the modes to control the
+       movement in the widget. We have added properties to control it,
+       signals to warn about the movements and refactored some code.
+
+2008-07-15  Alejandro G. Castro         <alex@igalia.com>
+
+       Changes required in order to allow vfast_factor set to zero to
+       work properly.
+
+       * src/hildon-pannable-area.c:
+       (hildon_pannable_area_button_press_cb): Changed the condition, it
+       is required for not allowing click when vfast_factor is zero.
+       (hildon_pannable_area_timeout): Initialized velocity variables
+       when we stop moving, it was less than 1 but not zero and we need
+       to check zero in some situations.
+       (hildon_pannable_area_class_init): Changed the default value of
+       the speed factor, now the button_press is just sent in case the
+       speed is 2 per cent of the max speed.
+       (hildon_pannable_area_init): Initialization with 0.
+
 2008-07-04  Alejandro G. Castro         <alex@igalia.com>
 
        * src/hildon-pannable-area.c,