X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=ChangeLog;h=a972ca033050c65447b0cd560cc16aa33b08acdc;hb=fa6252f8a479ea5f9b7b3880d26f2382d21770ef;hp=8629896e237bce745d40396312950873d6b3888a;hpb=2b96a5e07d0f9c3ba79cbdd7e424563b9c3e9d28;p=hildon diff --git a/ChangeLog b/ChangeLog index 8629896..a972ca0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,889 @@ -2008-05-15 Alberto Garcia +2008-07-29 Claudio Saavedra + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * src/hildon-pannable-area.c: + (hildon_pannable_area_motion_notify_cb): Fix a typo. + +2008-07-29 Alberto Garcia + + * examples/hildon-app-menu-example.c (main): Let the window + destroy the menu. + +2008-07-29 Alejandro G. Castro + + * 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 + + 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + 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 + + 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 + + * src/hildon-pannable-area.c, + (hildon_pannable_area_get_topmost): replaced + gdk_window_get_children with gdk_window_peek_children, this way we + do not have to free the list because it is not a copy. + + (hildon_pannable_axis_scroll), + (hildon_pannable_area_scroll), + (hildon_pannable_area_timeout), + (hildon_pannable_area_motion_notify_cb): Code refactoring, removed + two parameters that were only used inside the + hildon_pannable_area_scroll function. + + * examples/hildon-pannable-area-example.c, + (get_sawtooth_label): Fixed small memory leak. + +2008-07-03 Alejandro G. Castro + + More checks for the case where the overshoot is bigger than the + size of the widget. + + * src/hildon-pannable-area.c: + (hildon_pannable_draw_vscroll), + (hildon_pannable_draw_hscroll): with this new calculation we avoid + to draw the slider of the scrollbar under the other scrollbar. + (hildon_pannable_area_expose_event): added new checks to control + the drawing of the overshooting area rectangle, in case it is too + big for the area of the widget. + (hildon_pannable_area_size_allocate): add more checks to avoid + setting a position to the child widget outside the area. + +2008-07-03 Alejandro G. Castro + + * src/hildon-pannable-area.c + (hildon_pannable_area_size_allocate): Added conditions to control + when overshooting is bigger than the allocated space for the + children, this avoids negative allocations. + +2008-07-02 Alberto Garcia + + * doc/hildon-docs.sgml + * doc/hildon.types + * examples/Makefile.am + * examples/hildon-button-example.c + * src/Makefile.am + * src/hildon-button.c + * src/hildon-button.h + * src/hildon.h: Initial version of the new HildonButton widget, + with examples. + +2008-07-02 Claudio Saavedra + + * src/hildon-pannable-area.c: + (hildon_pannable_area_button_press_cb), + (hildon_pannable_area_refresh), (hildon_pannable_area_scroll), + (hildon_pannable_area_motion_notify_cb), + (hildon_pannable_area_button_release_cb), + (hildon_pannable_area_expose_event), (hildon_pannable_area_remove), + (hildon_pannable_area_jump_to_child): + + Use gtk_bin_get_child() instead of accessing GtkBin.child directly. + +2008-07-01 Alberto Garcia + + * examples/Makefile.am + * examples/hildon-pannable-area-touch-grid-example.c + * examples/hildon-pannable-area-touch-list-example.c: Examples of + the Hildon Touch List and Hildon Touch Grid using the + HildonPannableArea widget. + +2008-06-27 Alejandro G. Castro + + * src/hildon-pannable-area.c, + (hildon_pannable_area_button_press_cb), + (hildon_pannable_area_refresh), + (hildon_pannable_area_scroll), + (hildon_pannable_area_motion_notify_cb), + (hildon_pannable_area_button_release_cb), + (hildon_pannable_area_expose_event), + (hildon_pannable_area_add), + (hildon_pannable_area_remove), + (hildon_pannable_area_realize), + (hildon_pannable_area_size_allocate), + (hildon_pannable_area_class_init), + (hildon_pannable_area_init), + (hildon_pannable_area_scroll_to_child), + (hildon_pannable_area_jump_to_child): Fixed the problem of + removing the child from the GtkBin, we have rearranged the widget + hierarchy, now there is no GtkAlignment which was not doing + anything interesting but breaking some of the assumptions of + GtkContainer. Now developers if they want to add a GtkAlignment + they could, but it is not inside the area. + + We had to review the whole allocation/expose process, now it is + improved and we save at least three signals which would be saving + some time when rendering the widget. The allocation of the + scrollbars is now made in the allocate method as usual. + + We have also added some conditions in order to control when there + is no child of the pannable area. Maybe we will need more work + here. + +2008-06-27 Alejandro G. Castro + + * src/hildon-pannable-area.c, + (hildon_pannable_area_dispose): Released the fade-out timeout when + disposing the widget. + +2008-06-27 Alejandro G. Castro + + * src/hildon-pannable-area.c: Fixed problem when overshoot_max is + zero, we are going to use that property in order to deactivate the + overshooting + (hildon_pannable_axis_scroll), + (hildon_pannable_area_size_allocate): Added conditions to control + when overshoot_max is zero. Moved the gtk_adjustment_set_value + call, now it is called in all situations and we can remove calls + in the allocate method. + (hildon_pannable_area_map): Control the situation when + overshoot_max is zero, we do not need the timeout. + (hildon_pannable_area_class_init): Added documentation in order to + point out that setting zero to overshoot_max means deactivate + overshooting. + + NOTE: removed trailing whitespaces from my previous comments of + the Changelog. + +2008-06-26 Claudio Saavedra + + * src/hildon-pannable-area.c + (hildon_pannable_area_get_property), + (hildon_pannable_area_set_property), + (hildon_pannable_area_map), + (hildon_pannable_area_class_init), + (hildon_pannable_area_init): Add a boolean "initial-hint" property + to cause the widget give a hint about its panning abilities upon + realization. + +2008-06-26 Claudio Saavedra + + * src/hildon-pannable-area.c: Several documentation improvements. + +2008-06-26 Alberto Garcia + + * src/hildon-program.c + * src/hildon-stackable-window.c: Update documentation. + +2008-06-26 Alberto Garcia + + * src/hildon-stackable-window.c (get_previous_window_if_last): + Renamed get_last_window() + (hildon_stackable_window_map, hildon_stackable_window_unmap) + (hildon_stackable_window_unset_program): + Simplified code. + (get_previous_window_if_last): + Detect if the window hasn't been added to a HildonProgram. + +2008-06-26 Alejandro G. Castro + + contributed and reviewed by: Claudio Saavedra + + * src/hildon-pannable-area.c + (hildon_pannable_area_button_press_cb), + (hildon_pannable_axis_scroll), + (hildon_pannable_area_scroll), + (hildon_pannable_area_timeout), + (hildon_pannable_calculate_vel_factor), + (hildon_pannable_area_get_property), + (hildon_pannable_area_set_property), + (hildon_pannable_area_class_init), + (hildon_pannable_area_init), + (hildon_pannable_area_scroll_to), + (hildon_pannable_area_jump_to), + (hildon_pannable_area_scroll_to_child), + (hildon_pannable_area_jump_to_child): + * src/hildon-pannable-area.h: Added the new API functions: + hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to, + hildon_pannable_area_scroll_to_child, + hildon_pannable_area_jump_to_child + + + * examples/Makefile.am + * examples/hildon-pannable-area-example-2.c + * examples/hildon-pannable-area-example-3.c: Added these two new + examples in order to test and show how the new APIs work. + +2008-06-25 Alberto Garcia + + * examples/hildon-stackable-window-example.c (new_window): + * src/Makefile.am (noinst_HEADERS): + * src/hildon-program.c (hildon_program_go_to_root_window): + * src/hildon-program.h: + * src/hildon-stackable-window-private.h: + * src/hildon-stackable-window.c: + * src/hildon-stackable-window.h: + Create hildon-stackable-window-private.h + Move hildon_stackable_window_go_to_root_window() to HildonProgram + + * examples/hildon-app-menu-example.c (create_menu): + * examples/hildon-hvolumebar-insensitive-example.c (main): + * examples/hildon-hvolumebar-timer-example.c (on_idle): + * examples/hildon-toolbar-seekbar-example.c (main): + * src/hildon-app-menu.c (hildon_app_menu_add_filter): + * src/hildon-banner.c (hildon_banner_set_property): + * src/hildon-dialog.c (hildon_dialog_new_with_buttons): + Fix compilation warnings + + * src/hildon-window.c: + Fix typo in doc + +2008-06-24 Alberto Garcia + + * src/hildon-stackable-window.c + (hildon_stackable_window_unset_program): + Calculate correctly whether to show the previous window if the + last one is removed from the stack. + (hildon_stackable_window_go_to_root_window): + Send delete events starting from the topmost window. + Stop if one of the windows is not destroyed. + Update doc. + (hildon_stackable_window_delete_event) + (hildon_stackable_window_class_init): + Ignore the delete event if the window is not the topmost one. + +2008-06-24 Alejandro G. Castro + + * src/hildon-pannable-area.c + (hildon_pannable_area_expose_event): Fixed a problem when + selecting the background color of the scrollbars. + +2008-06-23 Alberto Garcia + + * examples/hildon-stackable-window-example.c + * src/hildon-stackable-window.c + * src/hildon-stackable-window.h + hildon_stackable_window_go_home() renamed to + hildon_stackable_window_go_to_root_window() + Send delete events to windows rather than closing them with + gtk_widget_destroy() + +2008-06-19 Alberto Garcia + + * src/hildon-pannable-area.c + (hildon_pannable_area_button_release_cb): Fix overshooting in + accel mode. + +2008-06-19 Claudio Saavedra + + * src/hildon-pannable-area.c + (hildon_pannable_area_init): Initially show the scroll indicators. + (hildon_pannable_area_map): Fade the scroll indicators out upon mapping. + + Add initial effect showing the widget is pannable. + +2008-06-19 Alberto Garcia + + * src/hildon-pannable-area.c + (hildon_pannable_area_class_init) + (hildon_pannable_area_set_property) + (hildon_pannable_area_get_property) + (hildon_pannable_area_button_press_cb): + New 'velocity_fast_factor' property to decide which velocity is + considered fast. + +2008-06-19 Claudio Saavedra + + * src/hildon-pannable-area.c + (hildon_pannable_draw_hscroll) + (hildon_pannable_draw_vscroll): + Use float variables to calculate the size of the scrollbars to + avoid error propagation and resizing during scrolling. + +2008-06-19 Alberto Garcia + + * src/hildon-pannable-area.c + (hildon_pannable_draw_vscroll) + (hildon_pannable_draw_hscroll): + Define a minimum size for the scroll bars + + * src/hildon-stackable-window.c + (hildon_stackable_window_go_home): Fix compilation warning + (get_last_window): Minor optimizations + (hildon_stackable_window_class_init): Fix initialization of + private structure. + +2008-06-18 Alberto Garcia + + * src/hildon-stackable-window.c: Fixed typos in doc + +2008-06-18 Claudio Saavedra + + * src/hildon-pannable-area.c + (hildon_pannable_area_scroll): + Calculate here whether we need to scroll instead of using the booleans + that tell us whether to /draw/ the scrolling bars. + +2008-06-17 Claudio Saavedra + + * src/hildon-app-menu.h + Update API. + * src/hildon-app-menu.c + (hildon_app_menu_init, hildon_app_menu_class_init): Remove + multiple filter groups related code and API. Now we support only + one filter group. + * examples/hildon-app-menu-example.c: + (create_menu): + Update to reflect API changes. + +2008-06-16 Claudio Saavedra + + * src/hildon-stackable-window.c + (hildon_stackable_window_class_init): + Add hildon_stackable_window_realize. + (hildon_stackable_window_realize): + Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to + the _NET_WM_WINDOW_TYPE hint. Window managers should use this type + to apply theming and behavior specific to HildonStackableWindow + windows. + +2008-06-12 Alberto Garcia + + * src/hildon-note.c (hildon_note_button_release): + Close information notes also when tapping on them + +2008-06-12 Alejandro G. Castro + + Added BOUNCE_STEPS define to control the overshoot effect. Removed + ELASTICITY, refactor and review, fix some issues with drawing + scrollbars. + + * src/hildon-pannable-area.c: + (hildon_pannable_area_button_press_cb): removed the conditions to + avoid clicks when overshooting. It is not required + + (hildon_pannable_axis_scroll): Added BOUNCE_STEPS + define. Refatored and reviewed the code, now we do not need to + manage velocity in motion_notify. + + (hildon_pannable_area_motion_notify_cb): We have moved the code + that controls the area_scroll to the axis_scroll function and get + rid of duplicated code. + + (hildon_pannable_area_scroll): Remove the ELASTICITY define. + + (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS. + + (hildon_pannable_draw_vscroll), + (hildon_pannable_draw_hscroll): Fixed the problems with the + scrollbar drawing, now we do not use two surfaces, it is easier + and saves resources. + + (hildon_pannable_area_get_property): Style modification. + + (hildon_pannable_area_class_init): Changed some default values. + +2008-06-12 Claudio Saavedra + + * src/hildon-stackable-window.c: Fix some typos in the + documentation. + +2008-06-12 Alberto Garcia + + * src/hildon-dialog.c: + Change indentation style + + * src/hildon-note.c + (hildon_note_button_release): + Use root coordinates to check if the release event happened + outside the widget. + + * src/hildon-app-menu.c + (hildon_app_menu_button_release): + Remove unnecessary check + + * examples/hildon-app-menu-example.c + (button_clicked): + Add cast to fix warning + + * src/hildon-app-menu.c + (hildon_app_menu_class_init): + New inner-border style property. + Set all default spacings to 16 + (hildon_app_menu_init): + Use vertical-spacing to set the space between filter buttons and + regular menu buttons. + Set the default container border using the inner-border value. + + * examples/hildon-app-menu-example.c + (create_menu): + Don't set the menu border explicitly, now we have the inner-border + style property for that. + +2008-06-11 Alberto Garcia + + * src/hildon-app-menu.c (hildon_app_menu_init): + Make the window modal + + * src/hildon-note.c (hildon_note_map) + * src/hildon-app-menu.c (hildon_app_menu_map): + Destroy the grab window if we're unable to grab the pointer + + * src/hildon-app-menu-private.h + * src/hildon-app-menu.c + (hildon_app_menu_init, hildon_app_menu_finalize) + (hildon_app_menu_map, hildon_app_menu_unmap) + (hildon_app_menu_button_release) + (grab_transfer_window_get): + Bring back the grab window + (hildon_app_menu_realize): + Decorate the window, set WM hint for Matchbox + + * src/hildon-note.c (hildon_note_realize): + * src/hildon-banner.c (hildon_banner_realize): + Add WM hints for Matchbox + +2008-06-10 Alberto Garcia + + * src/hildon-app-menu-private.h + * src/hildon-app-menu.c + (hildon_app_menu_init, hildon_app_menu_finalize) + (hildon_app_menu_map, hildon_app_menu_unmap) + (hildon_app_menu_button_release): + Remove the grab window, it's not needed anymore + + * src/hildon-program.c + Fixed typo in documentation + + * src/hildon-app-menu.h + * src/hildon-app-menu.c + * examples/hildon-app-menu-example.c + Remove hildon_app_menu_popup(), use gtk_widget_show() instead + +2008-06-09 Alberto Garcia + + * src/hildon-note.c + Added new transfer_window and close_if_pressed_outside private + attributes. + (hildon_note_rebuild): + Don't add a cancel button to the information note. It will be + closed when tapping outside + Remove the comment about the OK button in the documentation + (hildon_note_realize): + Set the notification type hint + (hildon_note_map, hildon_note_unmap, grab_transfer_window_get): + Grab/ungrab pointer and keyboard if the note has to be closed when + tapping outside + (hildon_note_button_release): + Close the note when tapping outside (if applicable) + + * src/hildon-app-menu.c + Grab/ungrab pointer and keyboard on map/unmap + (hildon_app_menu_button_release, hildon_app_menu_class_init): + Close the menu on button release, not button press + + * src/hildon-banner.c + (hildon_banner_set_property) + (hildon_banner_check_position): + Make the banner use the full width of the screen + (hildon_banner_show_information) + (hildon_banner_show_information_with_markup): + Don't display an icon by default + +2008-06-09 Alejandro G. Castro + + Added fading scrollbars and adapted all the overshooting code to + horizontal scrolling. We have also fixed bugs with overshooting + and current fading implementation. + + * src/hildon-pannable-area.c + (hildon_pannable_area_scroll_indicator_fade): Time out function + used to change the transparency of the scrollbars. + + (hildon_pannable_area_button_press_cb): Added horizontal overshot + control and fixed a problem with fading, we now remove the fade + timeout before adding a new one. + + (hildon_pannable_axis_scroll): + (hildon_pannable_area_scroll): + (hildon_pannable_area_timeout): Added this functions so we can use + the scroll code both for vertical and horizontal. + + (hildon_pannable_area_motion_notify_cb): + (hildon_pannable_area_button_release_cb): Added the horizontal + scrolling control, fixed a problem with the overshooting timeout. + + (rgb_from_gdkcolor): Added this function, it is used in the cairo + painting of the scrolls. + + (hildon_pannable_draw_vscroll): + (hildon_pannable_draw_hscroll): + (hildon_pannable_area_expose_event): + Draw both scrollbars and rectangles in the overshooting area. + + (hildon_pannable_area_get_property): + (hildon_pannable_area_set_property): + Modified the overshoot property to overshoot_max + + (hildon_pannable_area_map): + Replaced the comments symbols. + + (hildon_pannable_area_size_allocate): + (hildon_pannable_area_class_init): + (hildon_pannable_area_init): Added horizontal scroll, fading + effect properties, fixed a problem when overshooting in the bottom + of the widget. + + * examples/hildon-pannable-area-example.c: + (get_sawtooth_label): Now we use smaller sawtooths, the effect + looks better in the example. + +2008-06-03 Alberto Garcia + + * src/hildon-window.c + * src/hildon-window.h + (hildon_window_class_init) + (hildon_window_unset_program) + (hildon_window_unset_program_real): + Make unset_program a virtual function + + * src/hildon-stackable-window.c + * src/hildon-stackable-window.h + Added hildon_stackable_window_go_home() + + * examples/Makefile.am + * examples/hildon-stackable-window-example.c + HildonStackableWindow example + +2008-06-03 Alejandro G. Castro + + * hildon-pannable-area.c: Added the overshoot property and removed + the OVERSHOOT define. Fixed an indent style error. + (hildon_pannable_area_motion_notify_cb): + (hildon_pannable_area_get_property): + (hildon_pannable_area_set_property): Add overshoot property. + + (hildon_pannable_area_scroll): replaced OVERSHOOT define with + overshoot property. + + (hildon_pannable_area_class_init): Installed the new property. + + * hildon-pannable-area-example.c: Added a sawtooth function, this + way it is easier to check the movement in the pannable. + (get_sawtooth_label): Added this function. + (main): Now we get the labels from the new get_sawtooth_label + function. + +2008-05-26 Alberto Garcia + + * src/hildon-app-menu.h + * src/hildon-app-menu.c + Renamed API variables for consistency + + (hildon_app_menu_popup): Use also the default window size to + decide where to place the menu + + (hildon_app_menu_init, hildon_app_menu_class_init): New + external-border style property + +2008-05-26 Michael Natterer + + * src/hildon-time-editor.c (hildon_time_editor_class_init): The + widget_class->tap_and_hold_setup signal slot doesn't exist any + longer, stop overriding it. + + (hildon_time_editor_init): g_signal_connect() to the + tap-and-hold-setup signal instead. + + (hildon_time_editor_entry_keypress): add cast to fix warning. + +2008-05-23 Alberto Garcia + + * doc/hildon-docs.sgml + * doc/hildon.types + * examples/Makefile.am + * examples/hildon-app-menu-example.c + * src/Makefile.am + * src/hildon-app-menu-private.h + * src/hildon-app-menu.c + * src/hildon-app-menu.h + * src/hildon.h + New HildonAppMenu widget + +2008-05-21 Alejandro G. Castro + + Rearranged the inheritance of the pannable area, now it inherits + from GtkBin. This will allow us to control the event_window and + the allocation process of the widget, required for some effects. + + * src/hildon-pannable-area.h: Replaced GtkEventBox structures with + GtkBin structures. * src/hildon-pannable-area.c: Added the + event_window variable. + (hildon_pannable_area_button_press_cb): + (hildon_pannable_area_button_release_cb): + (hildon_pannable_area_motion_notify_cb): + Changed the signature of the method, now we override the event + callback instead of connecting to the signal. + + (hildon_pannable_area_realize): + (hildon_pannable_area_unrealize): + (hildon_pannable_area_map): + (hildon_pannable_area_unmap): + (hildon_pannable_area_size_allocate): + Added functions to control the widget construction. We add a + INPUT_ONLY window and we put it over the widgets inside the + container, this event_window handles the events. + + (hildon_pannable_area_class_init): + Replaced the signal connections with overrides of the event + callbacks. + +2008-05-20 Alejandro G. Castro + + Bouncing effect added when touching the borders, you can change + the elasticity of the border changing the ELASTICITY define. + + * src/hildon-pannable-area.c: Added ELASTICITY define. + (hildon_pannable_area_timeout): Added inverse velocity when + touching the border of the child widget, that causes a bounce. + +2008-05-20 Alejandro G. Castro + + Improved performance, we now do not go to the X server in order to + get the list of window children. Apparently the effect is the + same, we have to be careful and check if this breaks something in + any corner case. + + * src/hildon-pannable-area.c: + (get_ordered_children): Removed this function. + (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of + the children windows function with gdk_window_get_children. + +2008-05-20 Alejandro G. Castro + + * src/hildon-pannable-area.c: + (hildon_pannable_area_dispose): Fixed a crash when closing the + window and kinetics is activated. + +2008-05-19 Alberto Garcia + + * src/hildon-pannable-area.h + * src/hildon-pannable-area.c + Changed indentation style to meet the one used in Hildon + +2008-05-19 Alejandro G. Castro + + Reviewed the interaction of the AUTO mode, now we use the time + attribute of the events and calculate the velocity in the motion, + doing a gimp like calculation. The velocity is calculated in each + motion event using the last velocity and the current one, the + SMOOTH_FACTOR controls the percentage of the new velocity we use. + + * src/hildon-pannable-area.c: Replaced the time based algorithm + for the AUTO mode. + (hildon_pannable_area_motion_notify_cb): now we do not launch the + timeout for the AUTO mode when we are still moving the cursor. We + added also the velocity calculation in this function. + (hildon_pannable_area_button_release_cb): launch the timeout in + case we are in AUTO mode. There are still some constants here that + come from the old implementation that should be reviewed and + handled properly. + +2008-05-15 Alberto Garcia + + * doc/hildon-docs.sgml + * doc/hildon.types + * src/Makefile.am + * src/hildon-stackable-window.c + * src/hildon-stackable-window.h + * src/hildon.h + New HildonStackableWindow widget * examples/hildon-dialog-example.c * examples/hildon-pannable-area-example.c Updated copyright -2008-05-14 Alberto Garcia +2008-05-14 Alberto Garcia * src/hildon-dialog.c (hildon_dialog_new_with_buttons): New constructor. @@ -16,13 +895,13 @@ * examples/hildon-pannable-area-example.c (main): Update example. -2008-05-13 Alberto Garcia +2008-05-13 Alberto Garcia * doc/hildon-docs.sgml * doc/hildon.types Added HildonPannableArea to the documentation. -2008-05-13 Victor Jaquez +2008-05-13 Victor Jaquez * doc/visual_index.xml Fix reference to HildonLoginDialog in documentation @@ -37,12 +916,12 @@ * src/hildon.h New HildonDialog widget. -2008-05-09 Alberto Garcia +2008-05-09 Alberto Garcia * src/hildon-pannable-area.c Merge latest changes (r4318, r4342) from libmokoui trunk -2008-05-09 Alberto Garcia +2008-05-09 Alberto Garcia * examples/Makefile.am * examples/hildon-pannable-area-example.c