Alberto Garcia [Tue, 10 Mar 2009 16:42:57 +0000 (16:42 +0000)]
2009-03-10 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c
(hildon_app_menu_apply_style, hildon_app_menu_class_init):
Remove the "external-border" style property, let the menu take its
natural size (or the one set by the window manager)
(hildon_app_menu_repack_items):
Don't reshow the menu, avoid flickers.
Partially fixes NB#94957 (Smoothly opened application menu)
Claudio Saavedra [Tue, 10 Mar 2009 15:05:18 +0000 (15:05 +0000)]
2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.50]
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Claudio Saavedra [Tue, 10 Mar 2009 15:05:16 +0000 (15:05 +0000)]
Fixing ChangeLog entry
Alejandro G. Castro [Tue, 10 Mar 2009 13:13:12 +0000 (13:13 +0000)]
2009-03-10 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_motion_notify_cb): We control that the
direction error margin is used just in case the movement is
allowed in the other direction.
Fixes: NB#105012 (Check boxes don't change state when toggled)
Alejandro G. Castro [Tue, 10 Mar 2009 11:03:25 +0000 (11:03 +0000)]
2009-03-10 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_initial_effect),
(hildon_pannable_axis_scroll),
(hildon_pannable_area_button_release_cb): Reviewed the
overshooting effect, now it has its own max
speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
speed when bouncing.
Claudio Saavedra [Mon, 9 Mar 2009 09:34:58 +0000 (09:34 +0000)]
2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.48]
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Alejandro G. Castro [Mon, 9 Mar 2009 09:32:31 +0000 (09:32 +0000)]
2009-03-09 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Changed the max speed, now
users can launch the widget very fast. Reduced the default force,
that way it is easier to control the launch speed.
Alejandro G. Castro [Mon, 9 Mar 2009 09:32:23 +0000 (09:32 +0000)]
2009-03-09 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_button_release_cb): Removed this check
because it causes problems when the device is overloaded.
Claudio Saavedra [Fri, 6 Mar 2009 17:07:28 +0000 (17:07 +0000)]
2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.c (hildon_picker_dialog_init):
add a current_text field to store the text entered in the
touch selector entry.
(_clean_current_selection): clean up the current text as well.
(_save_current_selection), (_restore_current_selection):
Save/restore the text in the entry if the selector is a
HildonTouchSelectorEntry.
Fixes: NB#102541 (value entered in the touch selector entry is not
shown when opened for second time)
Claudio Saavedra [Fri, 6 Mar 2009 17:07:22 +0000 (17:07 +0000)]
2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
* doc/hildon-sections.txt:
* src/hildon-touch-selector-entry.c
(+hildon_touch_selector_entry_get_entry):
* src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
Fixes: NB#104815 (I need accessor to the entry inside
HildonTouchSelectorEntry)
Alberto Garcia [Fri, 6 Mar 2009 15:32:13 +0000 (15:32 +0000)]
2009-03-06 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_apply_style)
(hildon_app_menu_class_init):
New "filter-vertical-spacing" style property.
Alberto Garcia [Fri, 6 Mar 2009 15:17:31 +0000 (15:17 +0000)]
2009-03-06 Alberto Garcia <agarcia@igalia.com>
* src/hildon-find-toolbar.c
(hildon_find_toolbar_emit_close)
(hildon_find_toolbar_emit_invalid_input)
(hildon_find_toolbar_entry_activate):
Use g_signal_emit() instead of g_signal_emit_by_name()
Alberto Garcia [Fri, 6 Mar 2009 15:02:58 +0000 (15:02 +0000)]
2009-03-06 Alberto Garcia <agarcia@igalia.com>
Patch by Mox Soini (ext-mox.soini@nokia.com)
* tests/TEST-CASES.txt
* tests/check-hildon-banner.c
* tests/check-hildon-note.c
* src/hildon-banner.c
* src/hildon-code-dialog.c
* src/hildon-date-editor.c (real_set_calendar_icon_state)
* src/hildon-time-editor.c
* examples/hildon-lookup-example.c (main):
Replace obsolete icon names with new ones.
* src/hildon-find-toolbar-private.h:
* src/hildon-find-toolbar.c (hildon_find_toolbar_init)
(-hildon_find_toolbar_emit_search):
Remove find button and change icon of close button.
Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
Alberto Garcia [Thu, 5 Mar 2009 18:22:34 +0000 (18:22 +0000)]
2009-03-05 Alberto Garcia <agarcia@igalia.com>
* src/hildon-time-button.c (hildon_time_button_new_step):
Use the "touch-selector" property to set the selector directly
when creating the object.
Alejandro G. Castro [Thu, 5 Mar 2009 17:50:44 +0000 (17:50 +0000)]
2009-03-05 Alejandro G. Castro <alex@igalia.com>
Added a new example application that allows tuning the pannable
area and replaced defines with properties in order to simplify the
tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
PROP_DIRECTION_ERROR_MARGIN.
* examples/hildon-pannable-area-tuning-example.c: New example
application.
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(hildon_pannable_area_init),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_launch_fade_timeout),
(hildon_pannable_area_adjust_value_changed),
(hildon_pannable_axis_scroll),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_scroll_cb),
(hildon_pannable_area_button_release_cb): We have converted some
of the defines that control the widget to properties to simplify
the tuning.
Alberto Garcia [Thu, 5 Mar 2009 15:17:55 +0000 (15:17 +0000)]
2009-03-05 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_map)
(hildon_app_menu_unmap): Make the menu temporary when it's mapped,
so it's closed if a new window appears.
Fixes: NB#104485 (Not able to address the call when application
menu is opened at background)
Claudio Saavedra [Thu, 5 Mar 2009 14:56:09 +0000 (14:56 +0000)]
2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-color-button.c (hildon_color_button_get_property):Add
missing 'break' statement in in 'case' construct to avoid
incorrect warnings.
Claudio Saavedra [Thu, 5 Mar 2009 14:53:43 +0000 (14:53 +0000)]
2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector-entry.c
(hildon_touch_selector_entry_get_property),
(hildon_touch_selector_entry_set_property): Add missing 'break'
statements in in 'case' constructs to avoid incorrect warnings.
Claudio Saavedra [Thu, 5 Mar 2009 14:47:36 +0000 (14:47 +0000)]
2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-time-editor.c
(hildon_time_editor_get_time_separators): Do not crash if
the first label is NULL.
Claudio Saavedra [Thu, 5 Mar 2009 11:13:14 +0000 (11:13 +0000)]
2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-date-selector.c (_month_days): Check for month to be
strictly less than 12, since otherwise we may overrun the array.
Alberto Garcia [Thu, 5 Mar 2009 10:50:39 +0000 (10:50 +0000)]
2009-03-04 Alberto Garcia <agarcia@igalia.com>
* src/hildon-date-button.c (+hildon_date_button_new_full)
(hildon_date_button_new, hildon_date_button_new_with_year_range)
(hildon_date_button_init): Set the date selector using a
construction property, to make it happen after HildonButton's
"value" property is set.
Fixes: NB#104439 (hildon_date_button_new() isn't set to the
current date by default)
Alberto Garcia [Thu, 5 Mar 2009 10:50:33 +0000 (10:50 +0000)]
2009-03-04 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-sections.txt
* src/hildon-program.c
* src/hildon-stackable-window.c
* src/hildon-window.c:
Documentation updates
Alberto Garcia [Wed, 4 Mar 2009 17:32:41 +0000 (17:32 +0000)]
2009-03-04 Alberto Garcia <agarcia@igalia.com>
* src/hildon-window-stack.c (hildon_window_stack_get_default)
(hildon_window_stack_new, +hildon_window_stack_set_property)
(+hildon_window_stack_get_property)
(hildon_window_stack_class_init)
(+hildon_window_stack_set_window_group)
(+hildon_window_stack_get_window_group):
Make the window group a construction property.
Alberto Garcia [Wed, 4 Mar 2009 15:52:04 +0000 (15:52 +0000)]
2009-03-04 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-sections.txt
* src/hildon-stackable-window-private.h
* src/hildon-stackable-window.h
* src/hildon-stackable-window.c
(-hildon_stackable_window_set_app_menu)
(-hildon_stackable_window_get_app_menu)
(-hildon_stackable_window_toggle_menu)
(-hildon_stackable_window_finalize)
(hildon_stackable_window_class_init)
(hildon_stackable_window_init)
* src/hildon-window-private.h
* src/hildon-window.h
* src/hildon-window.c (hildon_window_init)
(hildon_window_destroy, +hildon_window_toggle_gtk_menu)
(+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
(hildon_window_get_main_menu, hildon_window_set_main_menu)
(+hildon_window_set_app_menu, +hildon_window_get_app_menu):
Moved all HildonAppMenu code to HildonWindow. The menu does not
require a HildonStackableWindow anymore.
* src/hildon-app-menu.c
* src/hildon-program.c
* examples/hildon-app-menu-example.c (main):
Update examples and documentation to reflect HildonAppMenu
changes.
Alberto Garcia [Wed, 4 Mar 2009 14:48:30 +0000 (14:48 +0000)]
2009-03-04 Alberto Garcia <agarcia@igalia.com>
* src/hildon-remote-texture.c
* src/hildon-animation-actor.c:
Don't include unused private headers.
Alberto Garcia [Wed, 4 Mar 2009 14:15:54 +0000 (14:15 +0000)]
2009-03-04 Alberto Garcia <agarcia@igalia.com>
* src/hildon-program-private.h
* src/hildon-program.c
(hildon_program_set_common_menu)
(hildon_program_get_common_menu)
(hildon_program_set_common_app_menu)
(hildon_program_get_common_app_menu):
Change common menu pointers from GtkWidget* to GtkMenu* and
HildonAppMenu* to avoid unnecessary casts.
Alberto Garcia [Tue, 3 Mar 2009 11:07:02 +0000 (11:07 +0000)]
2009-03-03 Alberto Garcia <agarcia@igalia.com>
* src/hildon-window.c (hildon_window_set_main_menu):
Removed incorrect 'Since:' tag
Alejandro G. Castro [Tue, 3 Mar 2009 09:47:24 +0000 (09:47 +0000)]
2009-03-03 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_calculate_velocity): We use now the
RATIO_TOLERANCE here to check the distance, fixed typo in the
algorithm.
(hildon_pannable_area_motion_notify_cb): We have to set the type
and time even if we are not sending the motion.
Alberto Garcia [Mon, 2 Mar 2009 15:58:13 +0000 (15:58 +0000)]
Fix compilation warnings
Alberto Garcia [Mon, 2 Mar 2009 13:32:12 +0000 (13:32 +0000)]
2009-03-02 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-sections.txt
* src/hildon-app-menu.h
* src/hildon-app-menu.c (+hildon_app_menu_get_items)
(+hildon_app_menu_get_filters): New methods to get the contents of
a HildonAppMenu.
Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
children)
Alberto Garcia [Mon, 2 Mar 2009 13:32:05 +0000 (13:32 +0000)]
2009-03-02 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_popup):
Add "Since" tag.
Alberto Garcia [Mon, 2 Mar 2009 12:39:30 +0000 (12:39 +0000)]
2009-03-02 Alberto Garcia <agarcia@igalia.com>
* src/hildon-window.h
* src/hildon-window.c (+hildon_window_get_main_menu)
(hildon_window_get_menu): Created hildon_window_get_main_menu()
and deprecated hildon_window_get_menu().
* src/hildon-stackable-window.h
* src/hildon-stackable-window.c
(+hildon_stackable_window_set_app_menu)
(+hildon_stackable_window_get_app_menu)
(hildon_stackable_window_set_main_menu): Created
hildon_stackable_window_{get,set}_app_menu() and deprecated
hildon_stackable_window_set_main_menu().
* doc/hildon-sections.txt
* examples/hildon-app-menu-example.c (main)
* src/hildon-app-menu.c
* src/hildon-program.c:
Updated examples and documentation.
Fixes: NB#103758 (No way to obtain a menu from a
HildonStackableWindow)
Claudio Saavedra [Mon, 2 Mar 2009 10:03:20 +0000 (10:03 +0000)]
2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.46]
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Claudio Saavedra [Mon, 2 Mar 2009 10:03:18 +0000 (10:03 +0000)]
2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
* examples/hildon-remote-texture-example.c: Include
hildon-remote-texture.h explicitely.
* src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
applications not defining _XOPEN_SOURCE which don't require this header.
Alberto Garcia [Fri, 27 Feb 2009 15:36:16 +0000 (15:36 +0000)]
2009-02-27 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-sections.txt
* src/hildon-app-menu.h
* src/hildon-app-menu.c (+hildon_app_menu_popup):
New function to pop up a HildonAppMenu
* src/hildon-stackable-window.c
(hildon_stackable_window_toggle_menu):
Use hildon_app_menu_popup() to show the menu.
Alberto Garcia [Fri, 27 Feb 2009 14:22:06 +0000 (14:22 +0000)]
2009-02-27 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_show)
(hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
menu if there's another window between it and its parent window.
Fixes: NB#100468 (Application menu window is launched even when a
new secondary-window/dialog is pending to be shown/realized)
Alberto Garcia [Fri, 27 Feb 2009 13:15:28 +0000 (13:15 +0000)]
2009-02-27 Alberto Garcia <agarcia@igalia.com>
* src/hildon-window-stack.c (hildon_window_stack_push)
(hildon_window_stack_pop_and_push):
Don't forget to push/pop the first window.
Reverse the window list before calling _push_list()
Alberto Garcia [Fri, 27 Feb 2009 11:16:16 +0000 (11:16 +0000)]
2009-02-27 Alberto Garcia <agarcia@igalia.com>
* src/hildon-picker-button.h
* src/hildon-picker-button.c (hildon_picker_button_class_init):
Remove "value_changed" slot to avoid ABI breakage
Alejandro G. Castro [Thu, 26 Feb 2009 13:25:23 +0000 (13:25 +0000)]
2009-02-26 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_realize),
(hildon_pannable_area_unrealize),
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll): Changed the method to handle the
GC used to draw the transparent scrollbar, this way we avoid
creating the GC all the time when drawing the scrollbars.
Alejandro G. Castro [Thu, 26 Feb 2009 12:32:16 +0000 (12:32 +0000)]
2009-02-26 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_init),
(hildon_pannable_area_remove): Removed some unnecessary casts.
(hildon_pannable_area_dispose): Disconnected some signals before
releasing the adjustments.
Alberto Garcia [Thu, 26 Feb 2009 10:57:24 +0000 (10:57 +0000)]
2009-02-26 Alberto Garcia <agarcia@igalia.com>
* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
Make sure that all widgets contained in the toolbar are shown.
Alberto Garcia [Wed, 25 Feb 2009 18:25:58 +0000 (18:25 +0000)]
2009-02-25 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-sections.txt
* src/hildon-picker-button.h
* src/hildon-picker-button.c (+hildon_picker_button_value_changed)
(_selection_changed, hildon_picker_button_on_dialog_response)
(hildon_picker_button_class_init, hildon_picker_button_set_selector):
New hildon_picker_button_value_changed() method.
* src/Makefile.am
* src/hildon-picker-button-private.h
* src/hildon-picker-button.c (hildon_picker_button_init)
(+hildon_picker_button_disable_value_changed): Add protected
function for disabling the "value-changed" signal.
* src/hildon-date-button.c (hildon_date_button_set_date):
Don't emit "value-changed" for each one of the three columns.
Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
before actual change of values)
Alejandro G. Castro [Tue, 24 Feb 2009 15:26:01 +0000 (15:26 +0000)]
2009-02-24 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
for the treeview overshooting.
Claudio Saavedra [Tue, 24 Feb 2009 14:22:45 +0000 (14:22 +0000)]
2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-banner.c (+hildon_banner_bind_style):
Renamed from hildon_banner_bind_label_style(), now naming the
banner itself as well.
(hildon_banner_show_information),
(hildon_banner_show_information_with_markup),
(hildon_banner_show_animation), (hildon_banner_show_progress):
Name the widgets and labels, based on their type.
See NB#98597 (Hildon Note and Hildon Banner should use themeable
background image)
Claudio Saavedra [Tue, 24 Feb 2009 14:22:43 +0000 (14:22 +0000)]
2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-note.c (hildon_note_set_property): call
hildon_note_rename() on HildonNote:note-type set.
(hildon_note_rename): Name the note and its label, based on the
HildonNote:note-type property.
See NB#98597 (Hildon Note and Hildon Banner should use themeable
background image)
Alejandro G. Castro [Tue, 24 Feb 2009 13:10:11 +0000 (13:10 +0000)]
2009-02-24 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(hildon_pannable_area_motion_notify_cb): Reviewed the default
panning parameters, increased SPS and deceleration factor. Added
also a margin to control fake directions.
Claudio Saavedra [Mon, 23 Feb 2009 17:33:06 +0000 (17:33 +0000)]
2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
Patch by Sven Herzberg (sven@imendio.com)
* configure.ac: Add missing AM_PROG_CC_C_0
* tests/Makefile.am: Use an appropriate variable name instead of TESTS.
See NB#101420 (Update unit tests and fix make check)
Alejandro G. Castro [Mon, 23 Feb 2009 17:16:57 +0000 (17:16 +0000)]
2009-02-23 Alejandro G. Castro <alex@igalia.com>
This patch was applied before but reverted because it caused
problems, we have changed the main condition and tested the
regressions we detected before and they work ok. We have done a
complete review of the topmost algorithm in order to get a more
general solution.
* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost): Added a new parameter to
filter the the windows that do not include those events.
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_get_child_widget_at): Reviewed the call the the
topmost function, we have added the new parameter.
Fixes: NB#97458 (Pannable area prevents propagation of button
press events)
Claudio Saavedra [Mon, 23 Feb 2009 16:35:49 +0000 (16:35 +0000)]
2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
if all columns in the selector have an item selected.
(_on_dialog_response): Stop "response" signal emission if there is
any selector column without selected items.
Fixes: NB#101889 (Picker dialog should not close when nothing is
selected in multiple selection list)
Claudio Saavedra [Mon, 23 Feb 2009 11:18:15 +0000 (11:18 +0000)]
2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-font-selection-dialog.c
(hildon_font_selection_dialog_class_init),
(hildon_font_selection_dialog_init): Remove the preview
button and dialog, since previewing with default theming is likely
to be overcomplicated. The :preview property has now no effect.
Update documentation blurbs to inform about this.
Fixes: NB#92297 (Preview content is not clearly visible for
default colour text)
Alejandro G. Castro [Fri, 20 Feb 2009 14:11:47 +0000 (14:11 +0000)]
2009-02-18 Alejandro G. Castro <alex@igalia.com>
Reviewed the geometry that handles the children size and
scrollbar, now it tries a size and reviews the results depending
on the scrollbars visibility.
* src/hildon-pannable-area.c,
(hildon_pannable_area_realize): Fixed a typo.
(hildon_pannable_area_child_allocate_calculate): Added this
function to calculate the child allocation.
(hildon_pannable_area_size_allocate): Reviewed the allocation
code.
(hildon_pannable_area_check_scrollbars),
(hildon_pannable_area_refresh): Refactored refresh function, this
way we can call the code handling the scrollbars without causing a
size_request, it is interesting in the allocate.
(hildon_pannable_area_init): Replace the callbacks of the
value_changed and changed signals to propertly deal with the
geometry.
(hildon_pannable_area_grab_notify),
(hildon_pannable_area_initial_effect),
(hildon_pannable_area_launch_fade_timeout),
(hildon_pannable_area_adjust_changed),
(hildon_pannable_area_adjust_value_changed),
(hildon_pannable_area_redraw),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_area_scroll_cb),
(hildon_pannable_area_scroll_to): Refactor the fade timeout launch
code and use the new functions adjust_changed and
adjust_value_changed.
Fixes: NB#101603 (Focus is not even for the text entry boxes in
Contact editor dialog)
Claudio Saavedra [Fri, 20 Feb 2009 13:48:51 +0000 (13:48 +0000)]
Fix the debian/changelog format
Claudio Saavedra [Fri, 20 Feb 2009 13:19:18 +0000 (13:19 +0000)]
2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.44]
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Alejandro G. Castro [Fri, 20 Feb 2009 13:16:26 +0000 (13:16 +0000)]
2009-02-20 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_get_child_widget_at): Reverted the patch for the
topmost function adding the event mask. We have to try a
differente approach because it is still causing problems (NB#9745,
reopened).
Alberto Garcia [Thu, 19 Feb 2009 14:42:46 +0000 (14:42 +0000)]
2009-02-19 Alberto Garcia <agarcia@igalia.com>
* src/hildon-banner.c:
Update the maximum width of timed banners.
(force_to_wrap_truncated): Enforce the maximum text width if the
label is wrapped.
Fixes: NB#102413 (The text margins (wrapping) in information
banner should be HILDON_MARGIN_TRIPLE)
Claudio Saavedra [Thu, 19 Feb 2009 10:24:31 +0000 (10:24 +0000)]
2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
* src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll): Consider the adjustment's lower
bound when calculating the scroll indicator position.
Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
treat ->lower correctly)
Claudio Saavedra [Thu, 19 Feb 2009 10:24:29 +0000 (10:24 +0000)]
Fix ChangeLog.
Claudio Saavedra [Thu, 19 Feb 2009 10:04:26 +0000 (10:04 +0000)]
2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-caption.c (hildon_caption_class_init): Remove the
expose event handling, since it is not necessary to draw the focus
anymore.
Fixes: NB#102467 (Do not show highlight on the text in
HildonCaption)
Alberto Garcia [Wed, 18 Feb 2009 13:56:53 +0000 (13:56 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
full height of the toolbar for the button and the label.
Alberto Garcia [Wed, 18 Feb 2009 13:12:45 +0000 (13:12 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
padding before the label and after the button.
Alberto Garcia [Wed, 18 Feb 2009 10:29:04 +0000 (10:29 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* src/hildon-window.c (paint_edit_toolbar): Fix style detail.
* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
Add a GtkVSeparator between the button and the back arrow.
Let the button have automatic size.
Set a name to the widget for theming handling.
Fixes: NB#101793 (Make edit toolbar the same height as window
title bar (use title area theming))
Alberto Garcia [Wed, 18 Feb 2009 10:19:53 +0000 (10:19 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* src/hildon-helper.c (attach_new_color_element): Fix memory
leak.
Fixes: NB#102262 (memory leak in hildon_button_set_style())
Alberto Garcia [Wed, 18 Feb 2009 10:02:07 +0000 (10:02 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* examples/hildon-button-example.c (common_buttons_window): Don't
leak size groups.
Alberto Garcia [Wed, 18 Feb 2009 08:05:25 +0000 (08:05 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* src/hildon-pannable-area.c (hildon_pannable_area_class_init):
Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
Alberto Garcia [Wed, 18 Feb 2009 07:52:18 +0000 (07:52 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>
* src/hildon-gtk.c: Check that the window is realized.
Fixes: NB#102225 (Crash setting the progress indicator to a non
visible window)
Alberto Garcia [Tue, 17 Feb 2009 15:18:56 +0000 (15:18 +0000)]
2009-02-17 Alberto Garcia <agarcia@igalia.com>
* src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
(hildon_pannable_draw_hscroll): Make a copy of the graphic context
instead of modifying the one in the widget style.
Fixes: NB#101043 (Second row of all the command button are
displayed in transparent mode.)
Alberto Garcia [Tue, 17 Feb 2009 08:41:13 +0000 (08:41 +0000)]
2009-02-17 Alberto Garcia <agarcia@igalia.com>
* src/hildon-date-button.c
* src/hildon-time-button.c: Add gettext macros
Claudio Saavedra [Mon, 16 Feb 2009 16:40:14 +0000 (16:40 +0000)]
2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-date-button.c (hildon_date_button_new):
* src/hildon-time-button.c (hildon_time_button_new_step):
Use new logical strings to set the button default title.
Fixes: NB#99915 (Date and Time options are not localised in Date
and Time setttings)
Alejandro G. Castro [Mon, 16 Feb 2009 16:37:08 +0000 (16:37 +0000)]
2009-02-16 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c
(hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
the PANNING_THRESHOLD.
Alejandro G. Castro [Mon, 16 Feb 2009 16:37:06 +0000 (16:37 +0000)]
2009-02-16 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Increased the maximum speed.
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_timeout): Added a new low friction mode, it
allows the user avoid friction when launching the widget fast
enough. It is interesting to traverse long lists.
Alberto Garcia [Mon, 16 Feb 2009 14:30:05 +0000 (14:30 +0000)]
2009-02-16 Alberto Garcia <agarcia@igalia.com>
* src/hildon-stackable-window.c (hildon_stackable_window_class_init)
(+hildon_stackable_window_delete_event): Ignore delete events if
the window is not the topmost one.
Fixes: NB#101698 (Back button long press and delete-event handling)
Alejandro G. Castro [Mon, 16 Feb 2009 12:56:14 +0000 (12:56 +0000)]
2009-02-16 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_motion_notify_cb): Removed the use of the
gtk-dnd-drag-threshold, it was too big. We have defined our own
dnd define and set a smaller value: PANNIG_THRESHOLD.
Alberto Garcia [Mon, 16 Feb 2009 10:15:01 +0000 (10:15 +0000)]
2009-02-16 Alberto Garcia <agarcia@igalia.com>
* src/hildon-banner.c (hildon_banner_show_animation): Don't allow
user-defined icons, use always the default one.
Fixes: NB#101916 (Do not allow custom icons on animation banner)
Alejandro G. Castro [Fri, 13 Feb 2009 16:33:39 +0000 (16:33 +0000)]
2009-02-13 Alejandro G. Castro <alex@igalia.com>
This patch was applied before but reverted because it caused
problems, we have changed the main condition and tested the
regressions we detected before and they work ok.
* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost): Added a new parameter to
filter the the windows that do not include those events. Added
also a condition when finding the window to filter windows that do
not ask for those events.
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_get_child_widget_at): Reviewed the call the the
topmost function, we have added the new parameter.
Fixes: NB#97458 (Pannable area prevents propagation of button
press events)
Claudio Saavedra [Fri, 13 Feb 2009 12:47:22 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
* tests/check-hildon-color-button.c (START_TEST): do not leak
ret_color.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:20 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-font-selection-dialog.c
(hildon_font_selection_dialog_get_preview_text): Return NULL
instead of FALSE on the g_return_val_if_fail().
Claudio Saavedra [Fri, 13 Feb 2009 12:47:19 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-time-selector.c (hildon_time_selector_set_time):
* src/hildon-date-selector.c
(hildon_date_selector_select_current_date):
Do not compare unsigned integers to be greater than or equal 0,
because it's always TRUE.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:18 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-date-selector.c (hildon_date_selector_construct_ui),
(hildon_date_selector_constructor): Do not select the current
date until we are handle the "changed" signal, to avoid having bogus
elements in the days model.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:16 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-date-selector.c (_update_day_model): Use a gint variable
for num_days, since _month_days() can return a negative value.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:15 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-caption.c (hildon_caption_size_allocate):
* src/hildon-pannable-area.c (hildon_pannable_area_size_request):
* src/hildon-range-editor.c (hildon_range_editor_size_allocate):
Initialize allocation variables to 0, to avoid eventually using
unitialized variables.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:13 +0000 (12:47 +0000)]
2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-bread-crumb-trail.c
(hildon_bread_crumb_trail_size_allocate):
* src/hildon-calendar.c (hildon_calendar_set_background):
* src/hildon-caption.c (hildon_caption_hierarchy_changed):
* src/hildon-range-editor.c (hildon_range_editor_get_range):
* src/hildon-seekbar.c (hildon_seekbar_init):
* src/hildon-time-editor.c (hildon_time_editor_get_time):
* src/hildon-time-selector.c (hildon_time_selector_finalize):
* src/hildon-touch-selector-entry.c
(hildon_touch_selector_get_text_from_model):
* src/hildon-touch-selector.c (hildon_touch_selector_class_init):
* src/hildon-window.c (hildon_window_finalize):
Remove many unused variables.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:11 +0000 (12:47 +0000)]
2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-seekbar.c: (hildon_seekbar_init),
(hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
Remove unnecessary g_assert() calls.
Claudio Saavedra [Fri, 13 Feb 2009 12:47:10 +0000 (12:47 +0000)]
2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-caption.c: (hildon_caption_expose),
(hildon_caption_set_property), (hildon_caption_init),
(hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
(hildon_caption_size_request), (hildon_caption_size_allocate),
(hildon_caption_forall), (hildon_caption_set_separator),
(hildon_caption_activate), (hildon_caption_set_child_expand),
(hildon_caption_set_label_text),
(hildon_caption_get_label_alignment):
Remove unnecessary g_assert() calls.
Alberto Garcia [Thu, 12 Feb 2009 10:38:22 +0000 (10:38 +0000)]
2009-02-12 Alberto Garcia <agarcia@igalia.com>
* src/hildon-banner.c
(hildon_banner_map, hildon_banner_init): Make banner temporary
before mapping it to avoid closing other temporary windows, but
make it non-temporary afterwards to avoid being closed by other
non-temporary windows.
(-hildon_banner_client_event, hildon_banner_init):
_GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
opened)
Alberto Garcia [Wed, 11 Feb 2009 17:44:38 +0000 (17:44 +0000)]
2009-02-11 Alberto Garcia <agarcia@igalia.com>
* src/hildon-banner.h: Mark hildon_banner_show_animation() with a
deprecation guard.
Gordon Williams [Wed, 11 Feb 2009 17:01:31 +0000 (17:01 +0000)]
* src/hildon-remote-texture.c * src/hildon-remote-texture.h * src/hildon-remote-texture-private.h * examples/hildon-remote-texture-example.c: Updates/fixes to remote-texture and its example.
Claudio Saavedra [Wed, 11 Feb 2009 13:53:06 +0000 (13:53 +0000)]
2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
Patch by Mox Soini (ext-mox.soini@nokia.com)
* src/hildon-code-dialog.c: Update logical id.
* src/hildon-set-password-dialog.c: Update logical id.
Fixes: NB#100646 (Logical strings is shown for ok in set
password,Password needed dialogs)
Gordon Williams [Wed, 11 Feb 2009 11:00:00 +0000 (11:00 +0000)]
* src/hildon.h * src/hildon-remote-texture.c * src/hildon-remote-texture.h * src/hildon-remote-texture-private.h * src/Makefile.am Added remote texture widget (for Clutter shared memory textures)
* examples/hildon-remote-texture-example.c
* examples/Makefile.am
Added example file for remote texture usage
Claudio Saavedra [Tue, 10 Feb 2009 14:17:18 +0000 (14:17 +0000)]
2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post release version bump.
* debian/changelog: version bump.
Claudio Saavedra [Tue, 10 Feb 2009 14:13:45 +0000 (14:13 +0000)]
2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.42]
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Alberto Garcia [Fri, 6 Feb 2009 15:49:07 +0000 (15:49 +0000)]
2009-02-06 Alberto Garcia <agarcia@igalia.com>
* src/hildon-date-selector.c (hildon_date_selector_init)
(hildon_date_selector_constructor): Don't connect to the "changed"
signal until the selector is completely constructed.
Claudio Saavedra [Thu, 5 Feb 2009 17:01:26 +0000 (17:01 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (_create_new_column),
(hildon_touch_selector_append_column),
(hildon_touch_selector_set_column_selection_mode),
(hildon_touch_selector_set_active),
(hildon_touch_selector_select_iter):
Emit the HildonTouchSelector::changed signal every time selection
is changed in any of the methods above. This behavior was already
documented but not fully functional.
Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
selection is programmatically changed)
Claudio Saavedra [Thu, 5 Feb 2009 15:45:42 +0000 (15:45 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
* doc/hildon-sections.txt: Remove obsolete icon
sizes from here as well.
Alberto Garcia [Thu, 5 Feb 2009 14:58:23 +0000 (14:58 +0000)]
2009-02-05 Alberto Garcia <agarcia@igalia.com>
* examples/hildon-stackable-window-example.c (add_window): Remove
unnecessary return.
Alberto Garcia [Thu, 5 Feb 2009 13:29:48 +0000 (13:29 +0000)]
2009-02-05 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c
(hildon_app_menu_show): Check whether the parent window of a menu
is topmost before popping it up.
Fixes: NB#100468 (Application menu window is launched even when a
new secondary-window/dialog is pending to be shown/realized.)
Claudio Saavedra [Thu, 5 Feb 2009 13:17:53 +0000 (13:17 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
* examples/hildon-icon-sizes-example.c: (main): Remove obsolete
icon sizes.
Claudio Saavedra [Thu, 5 Feb 2009 12:45:52 +0000 (12:45 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
Patch by Mox Soini (ext-mox.soini@nokia.com)
* src/hildon-banner.c: (hildon_banner_show_animation):
use stylus size instead of obsolete note size.
* src/hildon-defines.h: Update icon sizes.
Claudio Saavedra [Thu, 5 Feb 2009 11:59:11 +0000 (11:59 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_init): Disable unsupported
input modes.
(hildon_touch_selector_entry_get_text_column): Emit a warning
if an unsupported input modes is used and explicitile state
these modes in the documentation.
Fixes: NB#99802 (Hildon touch selector entry not working properly
for some of the input modes)
Alejandro G. Castro [Thu, 5 Feb 2009 11:24:32 +0000 (11:24 +0000)]
2009-02-05 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pannable-area.c,
(hildon_pannable_area_init): Added the changed signal handlers of
the adjustments.
Fixes: NB#100320 (HildonPannableArea does not listen to
GtkAdjustment "change" signals)
Alberto Garcia [Wed, 4 Feb 2009 19:39:39 +0000 (19:39 +0000)]
2009-02-04 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-sections.txt
* src/hildon-window-private.h
* src/hildon-window.h
* src/hildon-window.c (hildon_window_init)
(hildon_window_realize, hildon_window_unrealize)
(hildon_window_map, hildon_window_unmap, hildon_window_expose)
(hildon_window_size_request, hildon_window_size_allocate)
(hildon_window_forall, hildon_window_show_all)
(hildon_window_destroy, +paint_edit_toolbar)
(+hildon_window_set_edit_toolbar):
New hildon_window_set_edit_toolbar() method, to add a
HildonEditToolbar to a window without having to pack it manually.
Reorganize hildon_window_size_allocate()
* src/hildon-edit-toolbar.c: Update documentation.
* examples/hildon-edit-toolbar-example.c (edit_window): Update
example to use the new API.
Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())