hildon
14 years ago* Patch to test the composited windows, it requires a patch in gdkwindow offscreen-viewport
Alejandro G. Castro [Wed, 6 May 2009 16:25:51 +0000 (18:25 +0200)]
* Patch to test the composited windows, it requires a patch in gdkwindow

14 years ago* Initial patch applied when the src directory was moved to hildon
Alejandro G. Castro [Mon, 4 May 2009 12:20:32 +0000 (14:20 +0200)]
* Initial patch applied when the src directory was moved to hildon

14 years agoDon't make HildonAppMenu a modal window
Alberto Garcia [Wed, 6 May 2009 16:52:22 +0000 (18:52 +0200)]
Don't make HildonAppMenu a modal window

* hildon/hildon-app-menu.c (hildon_app_menu_init):
Don't make the menu a modal window, it causes strange interactions
with the pointer grab and it's not really needed.

Fixes: NB#105529 (Empty App menu is launched in a scenario.)

14 years agoFixed the hard-coded height in HildonPickerDialog
Alejandro Piñeiro [Wed, 6 May 2009 16:20:11 +0000 (18:20 +0200)]
Fixed the hard-coded height in HildonPickerDialog

* hildon/hildon-touch-selector.[ch]
(hildon_touch_selector_optimal_size_request): function added to get a
optimal size request from the touch selector, when you want a dialog to
show as much of the selector
* hildon/hildon-picker-dialog.c:
Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
(hildon_app_menu_class_init):
New "max-height-landscape" and "max-height-portrait" style properties
(hildon_picker_dialog_size_request): redefined GtkWidget::size_request
(hildon_picker_dialog_get_max_height): returns the maximum height using
the style properties defined and checking the current portrait/landscape
status
(_hildon_picker_dialog_set_selector): removed the set_size_request

Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)

14 years agoMention some replacements for deprecated widgets.
Claudio Saavedra [Wed, 6 May 2009 12:13:42 +0000 (15:13 +0300)]
Mention some replacements for deprecated widgets.

* hildon/hildon-bread-crumb-trail.c:
* hildon/hildon-bread-crumb.c:
* hildon/hildon-seekbar.c:
Add reference to replacements for these deprecated widgets.

Fixes: MB#4461 (Documentation: All deprecations should mention
replacements)

14 years agoFix a include on the hildon-remote-texture-example
Alejandro Piñeiro [Wed, 6 May 2009 11:36:36 +0000 (13:36 +0200)]
Fix a include on the hildon-remote-texture-example

* examples/hildon-remote-texture-example.c

Change the include to the hildon-remote-texture in order to compile
properly the examples on the installed libhildon1-examples package

14 years agoAdd three simple tests for HildonPickerButton
Claudio Saavedra [Tue, 5 May 2009 12:13:17 +0000 (15:13 +0300)]
Add three simple tests for HildonPickerButton

* tests/Makefile.am: Add check for HildonPickerButton.
* tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
(START_TEST), (create_hildon_picker_button_suite): Add three simple
checks for the HildonPickerButton.
* tests/check_test.c (configure_tests): Add the test suite.
* tests/test_suites.h: likewise.

14 years agoEmit HildonTouchSelector:changed when a selected row changes
Claudio Saavedra [Tue, 5 May 2009 11:35:46 +0000 (14:35 +0300)]
Emit HildonTouchSelector:changed when a selected row changes

* hildon/hildon-touch-selector.c
(+on_row_changed): Emit HildonTouchSelector:changed when the
contents of a selected row change.
(_create_new_column), (_hildon_touch_selector_set_model): connect
to GtkTreeModel:row-changed on a newly set model.

Fixes: NB#114253 (HildonPickerButton not refreshing its value)

14 years agoReplace the progress bar in HildonBanner with a progress indicator
Alberto Garcia [Tue, 5 May 2009 10:45:25 +0000 (12:45 +0200)]
Replace the progress bar in HildonBanner with a progress indicator

Based on a patch by Mox Soini (ext-mox.soini@nokia.com)

* hildon/hildon-banner.c (hildon_banner_destroy)
(hildon_banner_show_progress, hildon_banner_set_fraction):
Remove the progress bar from HildonBanner and use a progress
indicator instead.

Fixes: NB#113761 (Update progress banner to use progress
indicator)

14 years agoCalculate max label size of HildonBanner using the actual screen width
Alberto Garcia [Mon, 4 May 2009 18:00:43 +0000 (20:00 +0200)]
Calculate max label size of HildonBanner using the actual screen width

* hildon/hildon-banner.c:
Calculate size of the banner label using the actual screen width
rather than using a fixed value.

Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
is truncated)

14 years agoMinor style fixes
Alberto Garcia [Mon, 4 May 2009 14:15:22 +0000 (16:15 +0200)]
Minor style fixes

14 years agoFixed documentation
Alejandro G. Castro [Mon, 4 May 2009 11:24:06 +0000 (13:24 +0200)]
Fixed documentation

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Fixed signals documentation
typo.

14 years agoPost release version bump
Claudio Saavedra [Mon, 4 May 2009 08:50:55 +0000 (11:50 +0300)]
Post release version bump

14 years agoRelease 2.1.70 2.1.70-1
Claudio Saavedra [Mon, 4 May 2009 08:44:44 +0000 (11:44 +0300)]
Release 2.1.70

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

14 years agoDon't let buttons in HildonEditToolbar receive focus
Alberto Garcia [Fri, 1 May 2009 16:26:14 +0000 (18:26 +0200)]
Don't let buttons in HildonEditToolbar receive focus

* hildon/hildon-edit-toolbar.c
(hildon_edit_toolbar_init):
Don't let buttons in HildonEditToolbar receive focus.

Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
typing on an HW arrows key)

15 years agoBuild fix
Claudio Saavedra [Thu, 30 Apr 2009 14:42:10 +0000 (17:42 +0300)]
Build fix

* doc/Makefile.am: Fix build.

15 years agoDo no redefine content_files in doc/Makefile.am
Claudio Saavedra [Thu, 30 Apr 2009 12:41:56 +0000 (15:41 +0300)]
Do no redefine content_files in doc/Makefile.am

* doc/Makefile.am: Do not redefine content_files.

15 years agoRenamed src/ to hildon/
Alberto Garcia [Thu, 30 Apr 2009 11:10:26 +0000 (13:10 +0200)]
Renamed src/ to hildon/

* src/
* Makefile.am
* configure.ac
* doc/Makefile.am
* doc/hildon.types
* po/POTFILES.in:
Renamed src/ to hildon/

* examples/*.c
* debian/changelog
* debian/rules:
Include <hildon/hildon.h> directly in all examples.

15 years agoPost release version bump
Alberto Garcia [Thu, 30 Apr 2009 11:31:58 +0000 (13:31 +0200)]
Post release version bump

* configure.ac: post release version bump.
* debian/changelog: version bump.

15 years agoAdd safety checks to hildon-sort-dialog.c
Alejandro Piñeiro [Wed, 29 Apr 2009 17:19:57 +0000 (19:19 +0200)]
Add safety checks to hildon-sort-dialog.c

* src/hildon-sort-dialog.c
(hildon_sort_dialog_add_sort_key_with_sorting)
(sort_key_changed)
Add safety checks

15 years agoMove generated sources under src/ to CLEANFILES
Claudio Saavedra [Wed, 29 Apr 2009 16:07:29 +0000 (19:07 +0300)]
Move generated sources under src/ to CLEANFILES

* src/Makefile.am: Move generated sources to CLEANFILES, so that
make distcheck passes.

15 years agoEnable gtk-doc during distcheck
Claudio Saavedra [Wed, 29 Apr 2009 15:57:38 +0000 (18:57 +0300)]
Enable gtk-doc during distcheck

* Makefile.am: Enable gtk-doc during distcheck.

15 years agoDo not distribute the debian/ directory
Claudio Saavedra [Wed, 29 Apr 2009 15:53:49 +0000 (18:53 +0300)]
Do not distribute the debian/ directory

* Makefile.am: Do not distribute the debian/ directory.

15 years agoDistribute properly extra SGML files in the documentation
Claudio Saavedra [Wed, 29 Apr 2009 15:21:14 +0000 (18:21 +0300)]
Distribute properly extra SGML files in the documentation

* doc/Makefile.am: Add the extra SGML files to content_files,
so that they are distributed properly.

15 years agoAdd missing files to the tests SOURCES
Claudio Saavedra [Wed, 29 Apr 2009 13:02:01 +0000 (16:02 +0300)]
Add missing files to the tests SOURCES

* tests/Makefile.am: Add missing test_suites.h and check_utils.h
to the SOURCES.

15 years agoSet "icon" property in hildon_note_new_information/note_with_icon_name
Claudio Saavedra [Wed, 29 Apr 2009 11:08:44 +0000 (14:08 +0300)]
Set "icon" property in hildon_note_new_information/note_with_icon_name

* src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
(hildon_note_new_information_with_icon_name): Set the "icon" property
to preserve soundness.

15 years agoFail if HildonFontSelectionDialog:family is set to NULL
Claudio Saavedra [Wed, 29 Apr 2009 10:38:01 +0000 (13:38 +0300)]
Fail if HildonFontSelectionDialog:family is set to NULL

* src/hildon-font-selection-dialog.c
(hildon_font_selection_dialog_set_property): Fail when the "family"
property is set to NULL.

15 years agoAdd safety checks to hildon_color_chooser_set_color()
Claudio Saavedra [Tue, 28 Apr 2009 17:56:45 +0000 (20:56 +0300)]
Add safety checks to hildon_color_chooser_set_color()

* src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
safety checks.

15 years agoNew API to change format policy on HildonTimeSelector
Alejandro Piñeiro [Tue, 28 Apr 2009 17:42:11 +0000 (19:42 +0200)]
New API to change format policy on HildonTimeSelector

* src/hildon-time-selector.h:
Added HildonTimeSelectorFormatPolicy
* src/hildon-time-selector.c:
Added PROP_TIME_FORMAT_POLICY
(_check_ampm_format): renamed to check_automatic_ampm_format
(update_format_policy), (update_format_dependant_columns): new functions
(hildon_time_selector_class_init)
(hildon_time_selector_contructor)
(hildon_time_selector_init)
(hildon_time_selector_get_property)
(hildon_time_selector_set_property)
(hildon_time_selector_get_time)
(hildon_time_selector_set_time)
* src/hildon-touch-selector.h: new file
* src/hildon-touch-selector.c
(hildon_touch_selector_emit_changed)
(hildon_touch_selector_block_changed)
(hildon_touch_selector_unblock_changed)
Added functions to allow to block the emission of the "changed" signal
* src/hildon-picker-dialog.c
(hildon_picker_dialog_show): call the parent show before the custom code
* examples/hildon-time-button-example.c
Modified, so now you can configure the time format using the new property

Added a new property "time-format-policy" that allow to choose the time
format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
case it uses gconf in order to check if the time selector must use
AM/PM or 24H.

Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm mode)

15 years agoLabel in HildonNote must be left aligned, not centered
Alberto Garcia [Tue, 28 Apr 2009 14:29:04 +0000 (16:29 +0200)]
Label in HildonNote must be left aligned, not centered

* src/hildon-note.c (hildon_note_init):
Label in HildonNote must be left aligned, not centered. This
reverts the last commit in HildonNote.

Fixes: NB#112933 (text is not left aligned in confirmation dialog
is connectivity dialog)

15 years agoMinor doc updates and style fixes
Alberto Garcia [Mon, 27 Apr 2009 16:48:13 +0000 (18:48 +0200)]
Minor doc updates and style fixes

* src/hildon-gtk.c:
Minor style fixes

* doc/hildon-sections.txt:
Added hildon_gtk_window_set_do_not_disturb()

15 years agoCenter label of HildonNote
Alberto Garcia [Mon, 27 Apr 2009 10:36:20 +0000 (12:36 +0200)]
Center label of HildonNote

* src/hildon-note.c (hildon_note_init): Center label.

Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
properly)

15 years agoRelease 2.1.68 2.1.68-1
Claudio Saavedra [Mon, 27 Apr 2009 08:42:45 +0000 (11:42 +0300)]
Release 2.1.68

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years agoAdd portrait mode support to confirmation notes
Claudio Saavedra [Fri, 24 Apr 2009 16:45:44 +0000 (19:45 +0300)]
Add portrait mode support to confirmation notes

* src/hildon-note-private.h: Add button-width to the private data.
* src/hildon-note.c (+resize_button),
(+hildon_note_orientation_update): methods to repack widgets on orientation
changes.
(screen_size_changed): Call above method for confirmation notes.
(hildon_note_realize): Always connect to the "screen-size" changed signal.
(hildon_note_rebuild): Store the original width request from buttons.

Fixes: NB#109635 (Confirmation notes do not support portrait)

15 years agoOnly set double spacing in progress notes
Claudio Saavedra [Fri, 24 Apr 2009 16:13:02 +0000 (19:13 +0300)]
Only set double spacing in progress notes

* src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
when it is a progress note.

15 years agoUse always a GtkVBox in HildonNote contents
Claudio Saavedra [Fri, 24 Apr 2009 16:02:32 +0000 (19:02 +0300)]
Use always a GtkVBox in HildonNote contents

* src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
in the note, since there are no horizontally arranged contents.

15 years agoUse a generic method to set window flags to avoid redundance
Claudio Saavedra [Fri, 24 Apr 2009 12:50:41 +0000 (15:50 +0300)]
Use a generic method to set window flags to avoid redundance

* src/hildon-gtk.c (+set_flag): new generic method to
set/delay a flag setting in a window.
(hildon_gtk_window_set_progress_indicator):
(hildon_gtk_window_set_do_not_disturb),
(hildon_gtk_window_set_portrait_flags): use set_flag() to
avoid code redundance.

15 years agoAllow setting window flags when the window is not realized
Claudio Saavedra [Fri, 24 Apr 2009 11:51:34 +0000 (14:51 +0300)]
Allow setting window flags when the window is not realized

Based on a patch by Alberto Garcia (agarcia@igalia.com)

* src/hildon-gtk.c (set_clear_window_flag),
(do_set_progress_indicator), (do_set_do_not_disturb),
(do_set_portrait_flags),
(hildon_gtk_window_set_progress_indicator),
(hildon_gtk_window_set_do_not_disturb),
(hildon_gtk_window_set_portrait_flags):
Allow setting dnd-flag, progress indicator, and portrait flags
when the window is not realized.

15 years agoAdd the deprecated define to the size request policy
Alejandro G. Castro [Fri, 24 Apr 2009 08:17:21 +0000 (10:17 +0200)]
Add the deprecated define to the size request policy

* src/hildon-pannable-area.c,
* src/hildon-pannable-area.h: Add the hildon deprecated define to
the size request policy function and defines.

15 years agoAdd new method to set the portrait flags.
Claudio Saavedra [Thu, 23 Apr 2009 15:00:31 +0000 (18:00 +0300)]
Add new method to set the portrait flags.

* doc/hildon-sections.txt: Add the new API.
* src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
method to set the portrait flags.
* src/hildon-gtk.h: Add HildonPortraitFlags enum.

Fixes: NB#112328 (Adding helpers for setting portrait properties)

15 years agoAdd an Atom parameter to set_clear_window_flags()
Claudio Saavedra [Thu, 23 Apr 2009 14:23:27 +0000 (17:23 +0300)]
Add an Atom parameter to set_clear_window_flags()

* src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
to allow using this method with other flags.
(hildon_gtk_window_set_progress_indicator): Update accordingly.
(hildon_gtk_window_set_do_not_disturb): Update accordingly.

15 years agoMake text cell renderer in touch selector use the smallest width possible.
Alberto Garcia [Wed, 22 Apr 2009 13:38:45 +0000 (15:38 +0200)]
Make text cell renderer in touch selector use the smallest width possible.

2009-04-22  Alberto Garcia  <agarcia@igalia.com>

* src/hildon-touch-selector.c
(hildon_touch_selector_append_text_column):
Make the cell renderer have the smallest width possible.

Fixes: NB#108470 (Selected items in multiple selection are either
having a tick that is cut or not visible at all.)

15 years agoCode cleanups in HildonTouchSelector
Alberto Garcia [Wed, 22 Apr 2009 13:37:43 +0000 (15:37 +0200)]
Code cleanups in HildonTouchSelector

2009-04-22  Alberto Garcia  <agarcia@igalia.com>

* src/hildon-touch-selector.c
(hildon_touch_selector_append_text_column):
Code cleanups

15 years agoUse g_strdup_printf() instead of a fixed size buffer.
Claudio Saavedra [Wed, 22 Apr 2009 11:01:20 +0000 (14:01 +0300)]
Use g_strdup_printf() instead of a fixed size buffer.

* src/hildon-number-editor.c (hildon_number_editor_real_set_value):
Use g_strdup_printf() instead of a fixed size buffer.

15 years agoClose banners when a HildonAppMenu is popped up.
Alberto Garcia [Tue, 21 Apr 2009 15:20:04 +0000 (17:20 +0200)]
Close banners when a HildonAppMenu is popped up.

2009-04-21  Alberto Garcia  <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_find_intruder):
Close banners when a HildonAppMenu is popped up.

Fixes: NB#111027 (Title menu closed immediately if activated when
"Invalid e-mail address" banner is shown)

15 years agoRelease 2.1.66 2.1.66-1
Claudio Saavedra [Tue, 21 Apr 2009 11:12:28 +0000 (14:12 +0300)]
Release 2.1.66

15 years agoMark HildonBanner as supporting portrait mode.
Alberto Garcia [Mon, 20 Apr 2009 16:45:59 +0000 (18:45 +0200)]
Mark HildonBanner as supporting portrait mode.

2009-04-20  Alberto Garcia  <agarcia@igalia.com>

* src/hildon-banner.c (hildon_banner_realize):
Mark HildonBanner as supporting portrait mode.
Use GDK to set window properties insetad of direct Xlib calls.

Fixes: NB#111830 (HildonBanner should be marked as supporting
portrait)

15 years agoHide action area in information notes.
Alberto Garcia [Mon, 20 Apr 2009 15:14:44 +0000 (17:14 +0200)]
Hide action area in information notes.

2009-04-20  Alberto Garcia  <agarcia@igalia.com>

* src/hildon-note.c (hildon_note_rebuild):
Hide action area in information notes. Prevents text from being
slightly aligned to the left.

Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
properly)

15 years agoUse stylus-sized icons in animation banner.
Alberto Garcia [Mon, 20 Apr 2009 13:57:02 +0000 (15:57 +0200)]
Use stylus-sized icons in animation banner.

2009-04-20  Alberto Garcia  <agarcia@igalia.com>

Patch by Mox Soini (ext-mox.soini@nokia.com)

* src/hildon-banner.c (hildon_banner_create_animation):
Use stylus-sized icons in animation banner.

Fixes: NB#111206 (stylus sized icon for animation banner)

15 years ago2009-04-20 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 20 Apr 2009 10:40:52 +0000 (12:40 +0200)]
2009-04-20 Alberto Garcia <agarcia@igalia.com>

* src/hildon-gtk.h
* src/hildon-gtk.c
(+hildon_gtk_window_set_do_not_disturb):
New API to set the do-not-disturb flag.

Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)

15 years ago2009-04-20 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 20 Apr 2009 10:24:05 +0000 (12:24 +0200)]
2009-04-20 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-progress-indicator-example.c: Fix example

* src/hildon-gtk.c (set_clear_window_flag)
(hildon_gtk_window_set_progress_indicator):
Create a generic function for setting flags to a window.
Use GDK instead of direct Xlib calls.

15 years ago2009-04-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 14 Apr 2009 13:21:14 +0000 (13:21 +0000)]
2009-04-14 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_set_arrangement):
Due to NB#88126, if one of the labels is too long it will be
painted outside the button. The 'value' label is more likely to be
the longest one, so we change its packing options in order to
truncate it if necessary. As a side effect, the 'title' label will
no longer be truncated.

Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)

15 years ago2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 14 Apr 2009 10:07:57 +0000 (10:07 +0000)]
2009-04-14 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.64]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years ago2009-04-13 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 13 Apr 2009 07:58:24 +0000 (07:58 +0000)]
2009-04-13 Alejandro G. Castro <alex@igalia.com>

Deprecation of the hildon_pannable_area_set_size_request_policy
API, the only policy properly supported in gtk+ nowadays is the
minimum size.

* src/hildon-pannable-area.c,
(hildon_pannable_area_size_request): Added a workaround for the
size_request to avoid the problems of huge pixmaps in case someone
is still using the function.
* src/hildon-pannable-area.h: Deprecated the enum with the
policies.

Fixes: NB#110244 (Problems with the
hildon_pannable_area_set_size_request_policy API)

15 years ago2009-04-08 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Wed, 8 Apr 2009 08:47:55 +0000 (08:47 +0000)]
2009-04-08 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_init),
(hildon_pannable_area_size_request),
(hildon_pannable_area_style_set),
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll),
(hildon_pannable_area_check_scrollbars): Replaced area_width with
indicator_width to clarify the use of the attribute.

15 years ago2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 8 Apr 2009 06:56:16 +0000 (06:56 +0000)]
2009-04-08 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.62]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years agoFix ChangeLog entry.
Claudio Saavedra [Wed, 8 Apr 2009 06:56:14 +0000 (06:56 +0000)]
Fix ChangeLog entry.

15 years ago2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Tue, 7 Apr 2009 18:54:53 +0000 (18:54 +0000)]
2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-picker-dialog.c
* src/hildon-touch-selector.c
Reverting the change that tried to avoid the hardcoded height on
the picker dialog, as causes problems on the hildon-touch-selector
initial-hint

Fixes NB#110029 (selectors not scrolling to selected value)

15 years ago2009-04-07 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 7 Apr 2009 17:10:18 +0000 (17:10 +0000)]
2009-04-07 Alberto Garcia <agarcia@igalia.com>

* src/hildon-touch-selector.c: Fix typos

15 years ago2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 7 Apr 2009 13:10:01 +0000 (13:10 +0000)]
2009-04-07 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
Use the event coordinates instead of gdk_window_get_pointer(). Also,
request more motions after using it. This fixes x and y variables being
potentially uninitialized.

15 years ago2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 7 Apr 2009 13:09:57 +0000 (13:09 +0000)]
2009-04-07 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-calendar.c (hildon_calendar_expose),
(hildon_calendar_paint_main), (hildon_calendar_enter_notify):
Remove unused variables.

15 years ago2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 7 Apr 2009 13:09:56 +0000 (13:09 +0000)]
2009-04-07 Claudio Saavedra <csaavedra@igalia.com>

* tests/check-hildon-color-chooser.c (START_TEST): Remove unused
variable assignment.

15 years ago2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 7 Apr 2009 13:09:54 +0000 (13:09 +0000)]
2009-04-07 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c (hildon_touch_selector_get_active):
Check the return value of gtk_tree_selection_get_selected() for
safety.

15 years ago2009-04-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 6 Apr 2009 17:53:46 +0000 (17:53 +0000)]
2009-04-06 Alberto Garcia <agarcia@igalia.com>

* src/hildon-animation-actor.c
* src/hildon-button.c
* src/hildon-main.c
* src/hildon-pannable-area.c
* src/hildon-picker-button.c
* src/hildon-program.c
* src/hildon-remote-texture.c
* src/hildon-text-view.c
* src/hildon-touch-selector.c
* src/hildon-window-stack.c
* src/hildon-window.c:
Add missing 'Since: 2.2' tags.

* doc/hildon-sections.txt:
Add some missing symbols.

* doc/hildon-docs.sgml:
New 'Other' section for HildonAnimationActor and
HildonRemoteTexture

15 years ago2009-04-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 6 Apr 2009 15:34:14 +0000 (15:34 +0000)]
2009-04-06 Alberto Garcia <agarcia@igalia.com>

Patch by Iván Gómez (igomez@igalia.com)

* doc/building.sgml
* doc/compiling.sgml
* doc/hildon-docs.sgml
* doc/hildon-sections.txt
* doc/migration.sgml
* doc/resources.sgml
* doc/running.sgml:
New chapters on using the Hildon library.
Updated the general structure of the reference manual.
Other minor documentation fixes.

* src/hildon-calendar-popup.c
* src/hildon-calendar.c
* src/hildon-controlbar.c
* src/hildon-date-editor.c
* src/hildon-dialog.c
* src/hildon-hvolumebar.c
* src/hildon-number-editor.c
* src/hildon-range-editor.c
* src/hildon-sort-dialog.c
* src/hildon-time-editor.c
* src/hildon-time-picker.c
* src/hildon-volumebar-range.c
* src/hildon-volumebar.c
* src/hildon-vvolumebar.c
* src/hildon-weekday-picker.c:
Add deprecation notes

* src/hildon-pannable-area.c (hildon_pannable_area_class_init):
Document 'horizontal-movement' and 'vertical-movement' signals.

15 years ago2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 6 Apr 2009 12:41:04 +0000 (12:41 +0000)]
2009-04-06 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.60]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years ago2009-04-06 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 6 Apr 2009 12:34:51 +0000 (12:34 +0000)]
2009-04-06 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): increased the minimum velocity.
(hildon_pannable_area_button_release_cb): Updated the
CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
setup. Review the code to control that last event.

Fixes: NB#109790 (Releasing finger in pannable area easily causes
unwanted scrolling)

15 years ago2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 3 Apr 2009 12:34:57 +0000 (12:34 +0000)]
2009-04-03 Claudio Saavedra <csaavedra@igalia.com>

Based on a patch by Mox Soini (ext-mox.soini@nokia.com)

* src/hildon-get-password-dialog.c
(hildon_get_password_set_property),
(hildon_get_password_get_property), (create_contents):
* src/hildon-login-dialog-private.h:
* src/hildon-login-dialog.c (hildon_login_dialog_set_property),
(hildon_login_dialog_init), (hildon_login_dialog_get_username),
(hildon_login_dialog_get_password):
* src/hildon-set-password-dialog-private.h:
* src/hildon-set-password-dialog.c
(hildon_set_password_set_property),
(hildon_set_password_get_property), (create_contents),
(hildon_set_password_response_change),
(hildon_set_password_response_set), (hildon_checkbox_toggled):

Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
instead and look more Fremantle style.

Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)

15 years ago2009-04-03 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 3 Apr 2009 12:12:23 +0000 (12:12 +0000)]
2009-04-03 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt
* src/hildon-window-stack.h
* src/hildon-window-stack.c
(+hildon_window_stack_get_windows):
New API to obtain the list of windows on a stack.

15 years ago2009-04-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 2 Apr 2009 17:18:00 +0000 (17:18 +0000)]
2009-04-02 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_popup)
(hildon_app_menu_class_init, -hildon_app_menu_show):
Remove hildon_app_menu_show() and move all its checks to
hildon_app_menu_popup()

15 years ago2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 2 Apr 2009 14:41:08 +0000 (14:41 +0000)]
2009-04-02 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-window.c (hildon_window_map): Check for vbox to be
not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
browser crash.

15 years ago2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Thu, 2 Apr 2009 13:04:45 +0000 (13:04 +0000)]
2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
(_hildon_picker_dialog_set_selector): removed call to
gtk_widget_set_size_request
* src/hildon-touch-selector.c
(_create_new_column): change the pannable size request policy

Avoid to use a hardcoded height for the hildon picker dialog. In order
to get that, we needed to change the hildon pannable size request
policy
Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)

15 years ago2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 2 Apr 2009 12:15:23 +0000 (12:15 +0000)]
2009-04-02 Claudio Saavedra <csaavedra@igalia.com>

* debian/control: Depend on osso-system-lock localization package.
* src/hildon-code-dialog.c: Obtain the secu_application_title
translation from osso-system-lock.
* src/hildon-get-password-dialog.c (create_contents): Do not mark
for translation the atk related strings, that's not necessary.
* src/hildon-set-password-dialog.c (create_contents): Ditto.
* src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
cancel button, it is not required.

15 years ago2009-04-02 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 2 Apr 2009 10:44:05 +0000 (10:44 +0000)]
2009-04-02 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Modified the default value of
the overshooting max speed, we have reduced it.

15 years ago2009-03-20 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 2 Apr 2009 10:14:07 +0000 (10:14 +0000)]
2009-03-20 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt
* src/hildon-window-private.h
* src/hildon-window.h
* src/hildon-window.c (hildon_window_class_init)
(hildon_window_init, hildon_window_finalize)
(hildon_window_realize, hildon_window_get_property)
(hildon_window_set_property, hildon_window_update_markup)
(hildon_window_get_markup, hildon_window_set_markup):
New "markup" property and hildon_window_{get,set}_markup() methods.

* examples/hildon-stackable-window-example.c (new_window):
Update example to use hildon_window_set_markup()

Fixes: NB#106375 (Need API to retitle a window with a title
including markup)

15 years ago2009-04-01 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Wed, 1 Apr 2009 16:07:23 +0000 (16:07 +0000)]
2009-04-01 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Changed the default value of
the initial_hint to TRUE.
(hildon_pannable_area_initial_effect): Changed the initial effect,
not the effect is just the fade-out of the scrollbars.

Fixes: NB#107775 (No scrollbars can be seen when several items are
available in a dialog)

15 years ago2009-04-01 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Apr 2009 13:38:17 +0000 (13:38 +0000)]
2009-04-01 Alberto Garcia <agarcia@igalia.com>

* src/hildon-program.c (hildon_program_update_top_most):
Fix memory leak.

Fixes: NB#109179 (Memory leak in Hildon program)

15 years ago2009-04-01 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Apr 2009 13:20:03 +0000 (13:20 +0000)]
2009-04-01 Alberto Garcia <agarcia@igalia.com>

* src/hildon-banner.c (-get_current_app_window):
Remove unused function.

15 years ago2009-04-01 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Wed, 1 Apr 2009 12:50:11 +0000 (12:50 +0000)]
2009-04-01 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c: Modified the documentation of the
get adjustments functions to explain the problem of using the
adjustment directly.
(hildon_pannable_area_class_init): Improved the explanation about
the velocity.

15 years ago2009-04-01 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Apr 2009 10:55:46 +0000 (10:55 +0000)]
2009-04-01 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu-private.h
* src/hildon-app-menu.c
(hildon_app_menu_class_init):
Bring back the 'external-border' style property
(hildon_app_menu_class_init, hildon_app_menu_init)
(hildon_app_menu_apply_style, hildon_app_menu_size_request):
Set a fixed width-request for the menu, independent of the number
of items.

Fixes: NB#94957 (Smoothly opened application menu)

15 years ago2009-03-30 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Apr 2009 10:13:52 +0000 (10:13 +0000)]
2009-03-30 Alberto Garcia <agarcia@igalia.com>

* src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT

* src/hildon-banner.c
Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
(hildon_banner_map)
Make sure that the banner is correctly placed the first time it's
shown.
(hildon_banner_check_position, -check_fullscreen_state):
Show the banner in the same place no matter if the window is in
fullscreen mode or not.

Fixes: NB#107386 (Odd stacking behaviour for information banners)

15 years ago2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 1 Apr 2009 08:49:11 +0000 (08:49 +0000)]
2009-04-01 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c (_default_print_func): reorder
concatenation for clarity.

15 years ago2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 1 Apr 2009 08:49:05 +0000 (08:49 +0000)]
2009-04-01 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
for multicolumn selectors.

Fixes: NB#109099 (Memory leak in Hildon touch selector)

15 years ago2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 30 Mar 2009 10:05:51 +0000 (10:05 +0000)]
2009-03-30 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.58]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years agoBackfold debian/changelog from tag.
Claudio Saavedra [Mon, 30 Mar 2009 10:05:50 +0000 (10:05 +0000)]
Backfold debian/changelog from tag.

15 years ago2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 27 Mar 2009 13:33:37 +0000 (13:33 +0000)]
2009-03-27 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
coding style fixes.

15 years ago2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
Alejandro Piñeiro [Thu, 26 Mar 2009 14:56:46 +0000 (14:56 +0000)]
2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>

* configure.ac: removed libcangerra-gtk dependency
* debian/control: removed libcanberra-gtk dependency
* src/Makefile.am: removed libcanberra gtk related flags
* src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
context, and manage a global canberra context instead

Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)

15 years ago2009-03-26 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 26 Mar 2009 11:02:19 +0000 (11:02 +0000)]
2009-03-26 Alberto Garcia <agarcia@igalia.com>

Patch by Daniel Borgmann (danielb@openismus.com)

* src/hildon-edit-toolbar.c:
Adjust the left padding.
(hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
Paint background of the edit toolbar.

Fixes: NB#107897 (Patch to make editmodetoolbar background
themeable and adjust margin)

15 years ago2009-03-25 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 25 Mar 2009 18:45:47 +0000 (18:45 +0000)]
2009-03-25 Alberto Garcia <agarcia@igalia.com>

Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)

* src/hildon-program.c (hildon_program_update_top_most):
Update is-topmost when _MB_CURRENT_APP_WINDOW is 0

Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
change when the user tasks in/out of an application)

15 years ago2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
Alejandro Piñeiro [Wed, 25 Mar 2009 18:18:25 +0000 (18:18 +0000)]
2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>

* configure.ac: added libcangerra-gtk dependency
* debian/control: added libcanberra-gtk dependency
* src/Makefile.am: added libcanberra gtk related flags
* src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
instead of use it.

Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)

15 years ago2009-03-25 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 25 Mar 2009 10:17:51 +0000 (10:17 +0000)]
2009-03-25 Alberto Garcia <agarcia@igalia.com>

* src/hildon-program.c (hildon_program_remove_window)
(hildon_program_add_window): Add checks for the window
parameter. Don't decrease the window counter if the window is not
registered.

15 years ago2009-03-24 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 24 Mar 2009 18:55:21 +0000 (18:55 +0000)]
2009-03-24 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_realize): Fixed position of the event_window
in the realize method.

15 years ago2009-03-24 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 24 Mar 2009 16:58:02 +0000 (16:58 +0000)]
2009-03-24 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu-private.h
* src/hildon-app-menu.c (hildon_app_menu_find_intruder)
(hildon_app_menu_map, hildon_app_menu_hide_idle)
(hildon_app_menu_key_press, hildon_app_menu_init)
(hildon_app_menu_finalize):
Make sure that all idle functions are removed when the widget is
destroyed.

Fixes: NB#107583 (Hildon app menu crashes in various applications)

15 years ago2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 24 Mar 2009 15:30:00 +0000 (15:30 +0000)]
2009-03-24 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.56]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years ago2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 24 Mar 2009 15:29:54 +0000 (15:29 +0000)]
2009-03-24 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-entry.c
(+hildon_entry_show_placeholder),
(+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
that replace hildon_entry_update_contents().
(hildon_entry_set_text),
(hildon_entry_set_placeholder),
(hildon_entry_focus_in_event),
(hildon_entry_focus_out_event): Determine when it is needed
either to show or hide the placeholder and call the above methods.

Fixes: NB#107471 (hildon_entry_set_text() not setting the text
when the placeholder text is already set)

15 years ago2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 24 Mar 2009 15:29:48 +0000 (15:29 +0000)]
2009-03-24 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-banner.c (+hildon_banner_create_animation): Build a
simple GdkPixbufAnim using the new icons for the banner.
(hildon_banner_show_animation): Use the above mentioned method to
create the animation widget.

Fixes: NB#103564 (Make hildon animation banner use individual
image files as the animation)

15 years ago2009-03-24 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 24 Mar 2009 12:18:53 +0000 (12:18 +0000)]
2009-03-24 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_leave_notify_event): Check if the child is NULL
to avoid sending the leave.

15 years ago2009-03-24 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 24 Mar 2009 11:45:25 +0000 (11:45 +0000)]
2009-03-24 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(hildon_pannable_leave_notify_event): Added a handler of the
leave-notify-signal to consider when no motion notify before
leaving.

Fixes: NB#107494 (Items stay selected when clicking and moving
away when inside pannable area)

15 years ago2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 23 Mar 2009 09:35:56 +0000 (09:35 +0000)]
2009-03-23 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.54]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years agoTag for release 2.1.52-2
Alejandro G. Castro [Thu, 19 Mar 2009 14:35:48 +0000 (14:35 +0000)]
Tag for release 2.1.52-2

* Reverted some changes that were causing problems in the date-button creation