* examples/hildon-stackable-window-example.c (new_window): * src/Makefile.am (noinst_...
[hildon] / ChangeLog
index 9bdb1c7..90adb72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,270 @@
+2008-06-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * 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 <alex@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_button_release_cb): Fix overshooting in
+       accel mode.
+
+2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * 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  <csaavedra@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * src/hildon-stackable-window.c: Fixed typos in doc
+
+2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * 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  <csaavedra@igalia.com>
+
+       * 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  <csaavedra@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * src/hildon-note.c (hildon_note_button_release):
+       Close information notes also when tapping on them
+
+2008-06-12  Alejandro G. Castro <alex@igalia.com>
+
+       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  <csaavedra@igalia.com>
+
+       * src/hildon-stackable-window.c: Fix some typos in the
+       documentation.
+
+2008-06-12  Alberto Garcia  <agarcia@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * 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  <agarcia@igalia.com>
+
+       * 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  <agarcia@igalia.com>
 
+       * 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)