X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=ChangeLog;h=90adb7285b5d121a2c34b3ae62917fd67eff2b52;hb=8a95e38835d478bf3d24ee0b6e8dcd6b5175580f;hp=efdffb90f55e24dcddc984c0ead0476509a8ca9a;hpb=845b956b44fac7d758eff5b978546d4c567433f2;p=hildon diff --git a/ChangeLog b/ChangeLog index efdffb9..90adb72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,606 @@ +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 + + * src/hildon-dialog.c + (hildon_dialog_new_with_buttons): New constructor. + + * examples/hildon-dialog-example.c + (main): Update the example to use the new + hildon_dialog_new_with_buttons(). + + * examples/hildon-pannable-area-example.c + (main): Update example. + +2008-05-13 Alberto Garcia + + * doc/hildon-docs.sgml + * doc/hildon.types + Added HildonPannableArea to the documentation. + +2008-05-13 Victor Jaquez + + * doc/visual_index.xml + Fix reference to HildonLoginDialog in documentation + + * doc/hildon-docs.sgml + * doc/hildon.types + * examples/Makefile.am + * examples/hildon-dialog-example.c + * src/Makefile.am + * src/hildon-dialog.c + * src/hildon-dialog.h + * src/hildon.h + New HildonDialog widget. + +2008-05-09 Alberto Garcia + + * src/hildon-pannable-area.c + Merge latest changes (r4318, r4342) from libmokoui trunk + +2008-05-09 Alberto Garcia + + * examples/Makefile.am + * examples/hildon-pannable-area-example.c + * src/Makefile.am + * src/hildon-pannable-area.c + * src/hildon-pannable-area.h + * src/hildon.h + New HildonPannableArea widget. + +2008-04-15 18:05:19 + + * src/hildon-banner.c: revert the recent change, that introduced + gtk_window_present() calls. this reopens: + Bug 78481 - [freetest] information banners are hidden under browser menu + But resolves another variant of: + Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash + +2008-04-15 13:21:13 + + * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly + recreated its layout, spotted by Kris. this fixes all remaining + artefacts and stability issues with the banner code. in particular: + Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash + +2008-04-14 16:52:59 + + * src/hildon-banner.c: guard force_to_wrap_truncated() against + operating on unrealized widgets, fixes: + Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash + + * src/hildon-banner-private.h: coalesce boolean fields into bitfield. + +2008-04-09 Kristian Rietveld + + Fixes: NB#77775: Media Player, Save Now playing list, too long name + makes banner disappear. + Fixes: NB#79182: info banner flickering with certain message lengts. + + * src/hildon-banner.c (hildon_banner_constructor), + (hildon_banner_init), (hildon_banner_set_text), + (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(), + (hildon_banner_reset_wrap_state): new function: reset wrap flags to + FALSE, reset size requests of label and banner, + (force_to_wrap_truncated): when the text is too wide, always enforce + the maximum possible width instead of recalculating it from the + layout; enforce the maximum banner height of 3 lines, + (hildon_banner_init): set WORD_CHAR wrapping, this will result in + nicer wrapping and no truncated chars if space gets tight. + + * src/hildon-banner-private.h: add has_been_wrapped and + has_been_truncated fields. + +2008-04-07 Sven Herzberg + + Fixes: NB#78896: libhildon code inspection/coverity: uninitialised + local values in hildon_date_editor_size_allocate + + * src/hildon-date-editor.c: moved the real allocation code into the + if() branch + +2008-04-07 Sven Herzberg + + Prepares: NB#78896: libhildon code inspection/coverity: uninitialised + local values in hildon_date_editor_size_allocate + + * src/hildon-date-editor.c: merged the two if() branches together + +2008-04-07 Sven Herzberg + + Prepares: NB#78896: libhildon code inspection/coverity: uninitialised + local values in hildon_date_editor_size_allocate + + * src/hildon-date-editor.c: changed the arguments of the if() + conditions + 2008-04-07 Sven Herzberg Prepares: NB#78896: libhildon code inspection/coverity: uninitialised