Modified the procedure to get the widget at a point inside the pannable area when...
[hildon] / ChangeLog
index 130659e..a672e34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,143 @@
+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,