[maemo-commits] [maemo-commits] r8279 - in projects/haf/tags/hildon-libs: . 0.14.10-1 0.14.10-1/debian 0.14.10-1/hildon-widgets
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Thu Nov 23 14:47:18 EET 2006
- Previous message: [maemo-commits] r8278 - in projects/haf/trunk/hildon-libs: . debian
- Next message: [maemo-commits] r8280 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: mdk Date: 2006-11-23 14:47:15 +0200 (Thu, 23 Nov 2006) New Revision: 8279 Added: projects/haf/tags/hildon-libs/0.14.10-1/ projects/haf/tags/hildon-libs/0.14.10-1/ChangeLog projects/haf/tags/hildon-libs/0.14.10-1/configure.ac projects/haf/tags/hildon-libs/0.14.10-1/debian/changelog projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/Makefile.am projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-finger.c projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-finger.h projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-number-editor.c Removed: projects/haf/tags/hildon-libs/0.14.10-1/ChangeLog projects/haf/tags/hildon-libs/0.14.10-1/configure.ac projects/haf/tags/hildon-libs/0.14.10-1/debian/changelog projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/Makefile.am projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-number-editor.c Log: Tagging for 0.14.10-1. Copied: projects/haf/tags/hildon-libs/0.14.10-1 (from rev 8198, projects/haf/trunk/hildon-libs) Deleted: projects/haf/tags/hildon-libs/0.14.10-1/ChangeLog =================================================================== --- projects/haf/trunk/hildon-libs/ChangeLog 2006-11-21 09:18:16 UTC (rev 8198) +++ projects/haf/tags/hildon-libs/0.14.10-1/ChangeLog 2006-11-23 12:47:15 UTC (rev 8279) @@ -1,4146 +0,0 @@ -2006-11-08 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-libs.c: - Removed gtk_widget_grab_focus on entry_validate() and added - control on entry_changed() for moving the focus when validate returns - NO_ERROR. Also it's used skip_validation for not validating - twice when entering a valid date in each entry. - Fixes NB#41059 and NB#42579. - -2006-11-01 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.8-1 release] - - * configure.ac: - * debian/changelog: Updating. - - * hildon-widgets/hildon-scroll-area.c: Fixing a silly compilation - breakage. - -2006-10-31 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-scroll-area.c: - * hildon-widgets/hildon-scroll-area.h: When using a GtkTextView inside - the HildonScrollArea try to "compensete" the cursor position - scrolling. Fixes NB#20219. - -2006-10-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: Making the preview - dialog wider when being font sizes are being used. Fixes NB#41501. - -2006-10-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-set-password-dialog.c: Removing - auto-capitalization from the entry used to verify the password. Fixes - NB#39585. - -2006-10-24 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.7-1 release] - - * configure.ac: - * debian/changelog: Updating. - - * hildon-widgets/hildon-time-editor.c: Adding a "skipper" variable - that prevents us from doing validations from within validations. When - skipper == TRUE vallidation step is being skipped. A workaround. - Fixes NB#44610. - -2006-10-24 Daniel Elstner <daniel.kitta at gmail.com> - - * hildon-widgets/hildon-find-toolbar.h (search, close, - invalid_input, history_append): Remove the final user_data - parameter from the signal prototypes. The user_data pointer - is a generic feature of GLib signal handling and not supposed - to be declared explicitely. (MB#185) - -2006-10-23 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c: Removing the extra focus grab, - missing patch from NB#42555. - -2006-10-20 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c: - (hildon_time_editor_entry_keypress): Added check for not allowed keys. - Fixes NB#43926. - - * hildon-widgets/hildon-time-editor.h: - Added INVALID_CHAR to HildonTimeEditorErrorType enumeration. - -2006-10-20 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-find-toolbar.c: Do not grab focus but just - hide the IM context when the toolbar is being closed. Patch by Tomas - Ostman, fixes for good NB#34193. - -2006-10-20 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: Changing the error infobanner - displayed to ckct_ib_illegal_character (when user presses non-numeric - character in the date editor). - -2006-10-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: - (hildon_date_editor_keypress): Added check for not allowed keys. - (hildon_date_editor_date_error): Added banner message for not - allowed keys. Fixes NB#41049. - - * hildon-widgets/hildon-date-editor.h: - Added INVALID_CHAR to HildonDateEditorErrorType enumeration. - -2006-10-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-banner.c: - (force_to_wrap_truncated): Set label size request to its natural - size (it stands fixed after it's wrapped). Fixes NB#38598. - -2006-10-18 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.6-1 release] - - * configure.ac: - * debian/changelog: Updating. - -2006-10-18 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: Fixing the - clipping in the color selector. Fixes NB#43565. - -2006-10-18 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-color-button.c: One more extra to actually fix - NB#39798. - -2006-10-16 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.c: Making the password - text entry 20 characters long. Fixes NB#39586. A workaround. - -2006-10-16 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-name-password-dialog.c: Fixing the - auto-capitalization issues in the name password dialog. Two things - accumulated here -- missing NULL in property set and the lack of - visibility re-set after input method hint setting (this should not be - needed BTW). Fixes NB#37467. - -2006-10-16 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-color-button.c: Correctly fixing NB#39798 -- - the expose event should draw it's bits according to widget's - allocation and not the expose area. - -2006-10-16 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: Changing the way the - dimmed elements of the dialog are being drawn -- fixes NB#41498. - Cache the pre-generated dimmed pixbuf to improve the performance. We could - cache the actual hsv plane too in a similiar way. - -2006-10-11 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: Adding the border - around the color selector. Fixes #NB42007. - -2006-10-10 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: Forcing the dialog to - be more wide. A slightly ugly fix, but fixes NB#41501. Will be fixed - properly once we solve all the label truncating/wrapping/ellipsizing - issues. - -2006-10-10 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: Remove the focus grab after - dialog execution. Fixes NB#42555. - -2006-10-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: - (hildon_date_editor_entry_validate): Set the stored date value - when it's validated with some entry empty. Fixes NB#42504. - -2006-10-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.5-1 release] - - * configure.ac: - * debian/changelog: Update. - - * debian/hildon-libs-dev.install: Removing redundant .la/.a files. - -2006-10-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/copyright: One more license fix. - -2006-10-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: - * hildon-widgets/gtk-infoprint.c: - * hildon-widgets/gtk-infoprint.h: - * hildon-widgets/hildon-add-home-dialog.c: - * hildon-widgets/hildon-add-home-dialog.h: - * hildon-widgets/hildon-app-private.h: - * hildon-widgets/hildon-app.c: - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-appview.c: - * hildon-widgets/hildon-appview.h: - * hildon-widgets/hildon-banner.c: - * hildon-widgets/hildon-banner.h: - * hildon-widgets/hildon-calendar-popup.c: - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-caption.c: - * hildon-widgets/hildon-caption.h: - * hildon-widgets/hildon-code-dialog.c: - * hildon-widgets/hildon-code-dialog.h: - * hildon-widgets/hildon-color-button.c: - * hildon-widgets/hildon-color-button.h: - * hildon-widgets/hildon-color-chooser-button.c: - * hildon-widgets/hildon-color-chooser-button.h: - * hildon-widgets/hildon-color-chooser-dialog.c: - * hildon-widgets/hildon-color-chooser-dialog.h: - * hildon-widgets/hildon-color-chooser.c: - * hildon-widgets/hildon-color-chooser.h: - * hildon-widgets/hildon-color-popup.c: - * hildon-widgets/hildon-color-popup.h: - * hildon-widgets/hildon-color-selector.c: - * hildon-widgets/hildon-color-selector.h: - * hildon-widgets/hildon-composite-widget.c: - * hildon-widgets/hildon-composite-widget.h: - * hildon-widgets/hildon-controlbar.c: - * hildon-widgets/hildon-controlbar.h: - * hildon-widgets/hildon-date-editor.c: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-defines.c: - * hildon-widgets/hildon-defines.h: - * hildon-widgets/hildon-dialoghelp.c: - * hildon-widgets/hildon-dialoghelp.h: - * hildon-widgets/hildon-file-handling-note.c: - * hildon-widgets/hildon-file-handling-note.h: - * hildon-widgets/hildon-find-toolbar.c: - * hildon-widgets/hildon-find-toolbar.h: - * hildon-widgets/hildon-font-selection-dialog.c: - * hildon-widgets/hildon-font-selection-dialog.h: - * hildon-widgets/hildon-get-password-dialog.c: - * hildon-widgets/hildon-get-password-dialog.h: - * hildon-widgets/hildon-grid-item-private.h: - * hildon-widgets/hildon-grid-item.c: - * hildon-widgets/hildon-grid-item.h: - * hildon-widgets/hildon-grid.c: - * hildon-widgets/hildon-grid.h: - * hildon-widgets/hildon-hvolumebar.c: - * hildon-widgets/hildon-hvolumebar.h: - * hildon-widgets/hildon-input-mode-hint.h: - * hildon-widgets/hildon-name-password-dialog.c: - * hildon-widgets/hildon-name-password-dialog.h: - * hildon-widgets/hildon-note.c: - * hildon-widgets/hildon-note.h: - * hildon-widgets/hildon-number-editor.c: - * hildon-widgets/hildon-number-editor.h: - * hildon-widgets/hildon-plugin-widget.c: - * hildon-widgets/hildon-plugin-widget.h: - * hildon-widgets/hildon-private.h: - * hildon-widgets/hildon-program.c: - * hildon-widgets/hildon-program.h: - * hildon-widgets/hildon-range-editor.c: - * hildon-widgets/hildon-range-editor.h: - * hildon-widgets/hildon-scroll-area.c: - * hildon-widgets/hildon-scroll-area.h: - * hildon-widgets/hildon-seekbar.c: - * hildon-widgets/hildon-seekbar.h: - * hildon-widgets/hildon-set-password-dialog.c: - * hildon-widgets/hildon-set-password-dialog.h: - * hildon-widgets/hildon-sort-dialog.c: - * hildon-widgets/hildon-sort-dialog.h: - * hildon-widgets/hildon-system-sound.c: - * hildon-widgets/hildon-system-sound.h: - * hildon-widgets/hildon-telephone-editor.c: - * hildon-widgets/hildon-telephone-editor.h: - * hildon-widgets/hildon-time-editor.c: - * hildon-widgets/hildon-time-editor.h: - * hildon-widgets/hildon-time-picker.c: - * hildon-widgets/hildon-time-picker.h: - * hildon-widgets/hildon-volumebar-private.h: - * hildon-widgets/hildon-volumebar-range.c: - * hildon-widgets/hildon-volumebar-range.h: - * hildon-widgets/hildon-volumebar.c: - * hildon-widgets/hildon-volumebar.h: - * hildon-widgets/hildon-vvolumebar.c: - * hildon-widgets/hildon-vvolumebar.h: - * hildon-widgets/hildon-weekday-picker.c: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-window-private.h: - * hildon-widgets/hildon-window.c: - * hildon-widgets/hildon-window.h: - * hildon-widgets/hildon-wizard-dialog.c: - * hildon-widgets/hildon-wizard-dialog.h: - * timer/timer.c: - * timer/timer.h: - * ut/hildon-clock-widgets_tests.c: - * ut/hildon-widgets_tests.c: - * ut/tc_banner_truncate.c: One again fixing the license headers... - NB#40228. - -2006-10-05 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * common-rcfiles/gtk-2.0/ossomediaplayer: Changing the wizard dialog - enum to equal GTK_RESPONSE_CANCEL for automatic Escape key handling. - Fixes NB#41234. - -2006-10-04 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-caption.c: - * hildon-widgets/hildon-caption.h: Adding a new property: - "icon-position" and helper set/get routine methods. - This propery controls the align/position of the icon in the caption. - The icon can be aligned left or right. - -2006-10-04 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-wizard-dialog.c: Adding an "autotitle" - property that controls the way wizard handles window titles. If set to - TRUE (default) the wizard will automatically update window title when - changing wizard pages. If set to FALSE, no title handling is being - done, and the title can be overriden by the application developer. - -2006-10-05 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c - (validated_conversion): Modifications to check the '-' - input and change value to the default min. Fixes NB#40059. - -2006-10-04 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-set-password-dialog.c: Turning off the - auto-capitalization. Fixes NB#39585. - -2006-10-03 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/rules: Correcting debian debug package generation. Should - really fix NB#40532. - -2006-10-02 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: Make ok - the default response for the dialog. Fixes NB#39909. - -2006-09-29 Tomas Junnonen <tomas.junnonen at nokia.com> - - * hildon-font-selection-dialog.c: Remove extra space in font size - string. Fixes NB#41291. - -2006-09-26 Iain Holmes <iain at openedhand.com> - - * hildon-wizard-dialog.c: Show all created widgets so that a - gtk_widget_show is all that is required to display the dialog - correctly. Fixes MB#432. - -2006-09-25 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-number-editor.c: Applying a patch by Fernando - Herrera to fix the number editor notification signals. Fixes MB#625. - -2006-09-22 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.4-1 release] - - * configure.ac: - * debian/changelog: Update. - -2006-09-21 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-find-toolbar.c - (hildon_find_toolbar_entry_activate): Stop 'activate' signal emission - to prevent focus from moving. NB#40936 - -2006-09-22 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-volumebar.h (HildonVolumebarPrivate) - * hildon-widgets/hildon-volumebar.c (hildon_volumebar_size_allocate, - hildon_volumebar_realize, hildon_volumebar_unrealize, - hildon_volumebar_map, hildon_volumebar_unmap, - hildon_volumebar_notify, hildon_volumebar_class_init): Add a - input-only event window to catch button-press events anywhere in the - widget when the widget is insensitive. NB#6214 - - * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_size_allocate): - * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_size_allocate): - Chain to parent so that the event window is properly resized. - -2006-09-22 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: Changing the name - in witch the borders afre being draw around color selectors. Fixes - NB#40057. - Making the dimmed color bar/plane look a bit nicer. - - * hildon-widgets/hildon-name-password-dialog.c: Changing the 'name' - property of the dialog to 'username'. Fixes #MB772. - -2006-09-21 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: Do not put the - "reference" text in the font preview dialog if the super/subscript - setting has not been selected. Fixes #NB40999. - -2006-09-21 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-number-editor.c: - (hildon_number_editor_validate_value): Modified the condition - for checking if the inputted value is 0 when range minimun is - positive. Fixes #NB30734. - -2006-09-21 Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.c: - (hildon_get_password_get_property): Fix "numbers-only" getter. - Fix #MB769 - -2006-09-21 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: Reverting - the hex -> color func (hsv not supported by the parse function). - Fixing a bug where last character is not appended to the color -> - ascii conversion. Fixes #NB40061. - -2006-09-20 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.c: Fixing the way input - method is set. Fixes #NB37467. - - * hildon-widgets/hildon-name-password-dialog.c: Fixing the way the - password entry is being accessed. Fixes #MB767. Using a patch by - Lorenzo Gil Sanchez. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: - (hildon_date_editor_keypress): On left or right key pressed, it - first takes in consideration the current cursor position inside - the entries. If it's in an edge, focus moves to the widget on the - right or left. Fixes #NB40770. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: Agh... - correcting silly mistake. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: - Replacing a custom hex -> color with a stock gdk func. - - * hildon-widgets/hildon-caption.c: - Ups... a momentary lapse of reason. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c: - (validated_conversion): Added default parameter -- if the field is - empty, sets this value. - (hildon_time_editor_real_validate): Gets current values to pass it - as the default values to forward validation. Fixes #NB39048. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-caption.c: Do not draw the focus border when - the label has no text set. Fixes #NB40649. - Also fixing some memory leaks in properties setting. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c: - (hildon_time_editor_entry_clicked): This function has been - removed. It is not needed any more. - (_hildon_time_editor_entry_select_all): Added in order to perform - the whole text selection into the entry with an idle call. - (hildon_time_editor_entry_focusin): Modified to just add the - function above to the idle queue. - Fixes #NB40665. - - * hildon-widgets/hildon-caption.c (hildon_caption_button_press): - Added condition to return when the widget has already the focus. - Fixes #NB31086. - -2006-09-19 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-color-button.c: Draw insensitive grid over the - color button widget if the widget is insensitive. Fixes #NB40329. - -2006-09-18 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/control: - * debian/rules: Fixing the debug symbols package. Fixes #NB40532. - -2006-09-15 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.3-1 release] - - * configure.ac: - * debian/changelog: Bumping version numbers, adding info about the - fixes. - -2006-09-15 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-window.c: When a new menu is being attached to - the window, call show on the menu itself, not the whole window. Fixes - #NB40566. - -2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: - (hildon_date_editor_entry_released): Removed this function in order - to avoid the selection of the entry with the second click. - (hildon_date_editor_entry_focusin): Removed the test, now we want - to select the entry using the callback in all the situations. - Fixes #NB39612. - - * hildon-widgets/hildon-number-editor.c: renamed {plus,minus}-button - widgets to ne-{plus,minus}-button in order to do the theming without - depending on the HildonNumberEditor widget name. Fixes #MB624. Will - work with new theme config. - -2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-composite-widget.c: Changed the focus - handler -- with hildon-time-editor and hildon-date-editor, if we - are moving up or down, with the focus inside the widget, we return - false to force moving to the next widget outside. Fixes #NB36938. - -2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-defines.c: Ensure the style before setting the - logical color. Fixes #NB40041. - -2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-date-editor.c: Bring focus to date after the - date has been choosen in the calendar popup. - - * hildon-widgets/hildon-time-editor.c: Bring focus to time after - time has been choosen in the time picker. Fixes #NB39565. - -2006-09-13 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [Merging the atk-branch fixes] - - * hildon-widgets/hildon-date-editor.c: Use button instead of event - box for the calendar icon. - - * hildon-widgets/hildon-time-editor.c: Use button instead of the label - for the am/pm switcher. Fixes #NB25602, #NB24411. - -2006-09-12 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/copyright: - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: - * hildon-widgets/gtk-infoprint.c: - * hildon-widgets/gtk-infoprint.h: - * hildon-widgets/hildon-add-home-dialog.c: - * hildon-widgets/hildon-add-home-dialog.h: - * hildon-widgets/hildon-app-private.h: - * hildon-widgets/hildon-app.c: - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-appview.c: - * hildon-widgets/hildon-appview.h: - * hildon-widgets/hildon-banner.c: - * hildon-widgets/hildon-banner.h: - * hildon-widgets/hildon-calendar-popup.c: - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-caption.c: - * hildon-widgets/hildon-caption.h: - * hildon-widgets/hildon-code-dialog.c: - * hildon-widgets/hildon-code-dialog.h: - * hildon-widgets/hildon-color-button.c: - * hildon-widgets/hildon-color-button.h: - * hildon-widgets/hildon-color-chooser-button.c: - * hildon-widgets/hildon-color-chooser-button.h: - * hildon-widgets/hildon-color-chooser-dialog.c: - * hildon-widgets/hildon-color-chooser-dialog.h: - * hildon-widgets/hildon-color-chooser.c: - * hildon-widgets/hildon-color-chooser.h: - * hildon-widgets/hildon-color-popup.c: - * hildon-widgets/hildon-color-popup.h: - * hildon-widgets/hildon-color-selector.c: - * hildon-widgets/hildon-color-selector.h: - * hildon-widgets/hildon-composite-widget.c: - * hildon-widgets/hildon-composite-widget.h: - * hildon-widgets/hildon-controlbar.c: - * hildon-widgets/hildon-controlbar.h: - * hildon-widgets/hildon-date-editor.c: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-defines.c: - * hildon-widgets/hildon-defines.h: - * hildon-widgets/hildon-dialoghelp.c: - * hildon-widgets/hildon-dialoghelp.h: - * hildon-widgets/hildon-file-handling-note.c: - * hildon-widgets/hildon-file-handling-note.h: - * hildon-widgets/hildon-find-toolbar.c: - * hildon-widgets/hildon-find-toolbar.h: - * hildon-widgets/hildon-font-selection-dialog.c: - * hildon-widgets/hildon-font-selection-dialog.h: - * hildon-widgets/hildon-get-password-dialog.c: - * hildon-widgets/hildon-get-password-dialog.h: - * hildon-widgets/hildon-grid-item-private.h: - * hildon-widgets/hildon-grid-item.c: - * hildon-widgets/hildon-grid-item.h: - * hildon-widgets/hildon-grid.c: - * hildon-widgets/hildon-grid.h: - * hildon-widgets/hildon-hvolumebar.c: - * hildon-widgets/hildon-hvolumebar.h: - * hildon-widgets/hildon-input-mode-hint.h: - * hildon-widgets/hildon-name-password-dialog.c: - * hildon-widgets/hildon-name-password-dialog.h: - * hildon-widgets/hildon-note.c: - * hildon-widgets/hildon-note.h: - * hildon-widgets/hildon-number-editor.c: - * hildon-widgets/hildon-number-editor.h: - * hildon-widgets/hildon-plugin-widget.c: - * hildon-widgets/hildon-plugin-widget.h: - * hildon-widgets/hildon-private.h: - * hildon-widgets/hildon-program.c: - * hildon-widgets/hildon-program.h: - * hildon-widgets/hildon-range-editor.c: - * hildon-widgets/hildon-range-editor.h: - * hildon-widgets/hildon-scroll-area.c: - * hildon-widgets/hildon-scroll-area.h: - * hildon-widgets/hildon-seekbar.c: - * hildon-widgets/hildon-seekbar.h: - * hildon-widgets/hildon-set-password-dialog.c: - * hildon-widgets/hildon-set-password-dialog.h: - * hildon-widgets/hildon-sort-dialog.c: - * hildon-widgets/hildon-sort-dialog.h: - * hildon-widgets/hildon-system-sound.c: - * hildon-widgets/hildon-system-sound.h: - * hildon-widgets/hildon-telephone-editor.c: - * hildon-widgets/hildon-telephone-editor.h: - * hildon-widgets/hildon-time-editor.c: - * hildon-widgets/hildon-time-editor.h: - * hildon-widgets/hildon-time-picker.c: - * hildon-widgets/hildon-time-picker.h: - * hildon-widgets/hildon-volumebar-private.h: - * hildon-widgets/hildon-volumebar-range.c: - * hildon-widgets/hildon-volumebar-range.h: - * hildon-widgets/hildon-volumebar.c: - * hildon-widgets/hildon-volumebar.h: - * hildon-widgets/hildon-vvolumebar.c: - * hildon-widgets/hildon-vvolumebar.h: - * hildon-widgets/hildon-weekday-picker.c: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-window-private.h: - * hildon-widgets/hildon-window.c: - * hildon-widgets/hildon-window.h: - * hildon-widgets/hildon-wizard-dialog.c: - * hildon-widgets/hildon-wizard-dialog.h: - * po/en_GB.po: - * timer/timer.c: - * timer/timer.h: - * ut/hildon-clock-widgets_tests.c: - * ut/hildon-widgets_tests.c: - * ut/tc_banner_truncate.c: Fixing the copyright headers. - - * hildon-widgets/hildon-defines.c: Making the disposing of style data - more secure/null-proof. - -2006-09-11 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-defines.h: Reverting back to old key mapping. - -2006-09-11 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c: When user clicked the clock - button, before launching the time picker try to validate the entered - values. Fixes #NB40055. - -2006-09-11 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.2-1 release] - - * configure.ac: - * debian/changelog: Bumping version numbers, adding details about the - fixes. - -2006-09-11 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-time-editor.c: Do an extra validity check when - switching to another field. Fixes #NB40054. - -2006-09-08 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-window.c: Call the - hildon_window_is_topmost_notify before firing the g-object - notification signal. Fixes #NB39202. - -2006-09-07 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.1-2 release] - - * debian/changelog: Bumping version numbers. - -2006-09-07 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-defines.h: Once again reverting the Johan's - patch for new key handling. - -2006-09-07 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-find-toolbar.c: Move focus to the parent - widget when the toolbar is closed. Fixes #NB34193. - -2006-09-07 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-defines.c: Fixing the recursive call in - _set_recursive_from_ld. The container for_each call was missing a - parameter and effectively passing NULL as data. So amateurish. Fixes - #NB39181. - -2006-09-07 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-defines.h: Adding gdkkeysyms.h to includes. - Fixes #NB39714. - -2006-09-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-color-button.c: Redraw the button if cancel - was pressed in the color selection dialog. Fixes #NB39778 but I think - the real cause of the bug lies at a different level. - -2006-09-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.1-1 release] - - * configure.ac: Version bump. Display version string during configure - stage. - - * debian/changelog: Adding release details. - -2006-09-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: Adding a comment - about the new property introduced. Once we have property documentation - we need to mark it with a "Since: 0.14.1" keyword ("font-scaling"). - -2006-09-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * Makefile.am: - * configure.ac: Removing the unit tests (ut/outo) from the build - system. They're introducing an additionall dependency and need to be - fixed/arranged differently anyways. - -2006-09-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-defines.h: Applying Johan's new key mapping - patch back again. WARNING: This breaks compatibility with IT-2006. - - * hildon-widgets/hildon-caption.c: Add specific behaviour for - containers when press button event occurs. Fixes #NB36843. - - * hildon-widgets/hildon-program.c: - * hildon-widgets/hildon-window.c: Adding a patch to fix occassional - BadWindow X errors. Fixes #NB39679. - -2006-09-06 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-sort-dialog.c: Adding a function to add - reversed sort keys. Reversed sort keys present Descending/Ascending - selection instead of Ascending/Descending default. Fixes #NB32544. - -2006-09-05 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-note.c: Fixing the behaviour of - hildon_note_new_confirmation_with_icon_stock. Fixes #NB22825. - -2006-09-05 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: Adding a - "font-scaling" property that allows to customize the output of the - Preview dialog during font selection. By default font-scaling equals - 1.0 = no change. Applications/clients should apply here the - font-scaling they use for user-output/visualization. Fixes #NB19001. - -2006-09-05 Tomas Junnonen <tomas.junnonen at nokia.com> - - * src/hildon-widgets/hildon-find-toolbar.c: Start search on "activate" - entry signal instead of only KP_Enter. - -2006-09-04 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-banner.c: Aling the stock images to 0.0 - position, not to the center. Fixes #NB31168. - -2006-09-04 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-color-selector.c: - * hildon-widgets/hildon-time-picker.c: Applying a small patch by - Tamminen Eero to save some bytes of ram. Fixes #NB22965. - -2006-09-04 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: Excluding some more - hardcoded fonts from the font selection dialog. We need a flexible API - to do that in future, but currently introducing it wouldn't be - feasible. Fixes #NB30530. - -2006-09-01 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/changelog: Small ver. fix. - -2006-09-01 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.14.0-1 release] - -2006-09-01 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/changelog: Adding info about bugs fixed: #NB16830, #NB38487, - #NB36938, #NB34642, #NB32772, #NB38598. - - * doc/design/abstract_vs_modular_plugin_widgets.dia: - * doc/design/abstract_vs_modular_plugin_widgets.png: Adding the - missing design schemes. - -2006-09-01 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * po/POTFILES.in: - * po/en_GB.po: Rebuilding & updating the PO files. - -2006-08-31 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * changelog: Adding one more bug fix from the mergedown. Fixes - #NB38565. - -2006-08-31 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/changelog: - * hildon-widgets/hildon-defines.c: Disconnect the signal before - attaching a new one -- prevents signals from being emitted two times, - fixes a memory leak. Fixes #NB26114. - -2006-08-31 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/changelog: - * hildon-widgets/hildon-wizard-dialog.c: Changing the orded of the - buttons in the wizard dialog to be: finish, previous, next, cancel. - Fixes #NB34613. - -2006-08-31 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - * debian/changelog: - * hildon-widgets/hildon-name-password-dialog.c: Applying a patch by - Fernando to fix the autocaptialization for username/password entries. - Fixes #NB37467. - -2006-08-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [Merging 0.13.1 => TRUNK] - - * ./: Merging the experimental color selector branch. Fixes: #NB37010, - #NB38559, #NB33217, #NB37172. - Maintainer change: - Michael Dominic Kostrzewa - <michael.kostrzewa at nokia.com> - - * configure.ac: Bumping the version number to 0.14.0. - -2006-08-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * ./: Cosmetics. - -2006-08-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * AUTHORS: Adding an AUTHORS file with maintainer/contact information. - - * debian/control: - * debian/copyright: - * hildon-widgets-plugins/hildon-color-chooser-dialog-hsv.c: - * hildon-widgets-plugins/hildon-color-chooser-hsv.c: - * hildon-widgets/gtk-infoprint.c: - * hildon-widgets/gtk-infoprint.h: - * hildon-widgets/hildon-add-home-dialog.c: - * hildon-widgets/hildon-add-home-dialog.h: - * hildon-widgets/hildon-app-private.h: - * hildon-widgets/hildon-app.c: - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-appview.c: - * hildon-widgets/hildon-appview.h: - * hildon-widgets/hildon-banner.c: - * hildon-widgets/hildon-banner.h: - * hildon-widgets/hildon-calendar-popup.c: - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-caption.c: - * hildon-widgets/hildon-caption.h: - * hildon-widgets/hildon-code-dialog.c: - * hildon-widgets/hildon-code-dialog.h: - * hildon-widgets/hildon-color-button.c: - * hildon-widgets/hildon-color-button.h: - * hildon-widgets/hildon-color-chooser-button.c: - * hildon-widgets/hildon-color-chooser-button.h: - * hildon-widgets/hildon-color-chooser-dialog.c: - * hildon-widgets/hildon-color-chooser-dialog.h: - * hildon-widgets/hildon-color-chooser.c: - * hildon-widgets/hildon-color-chooser.h: - * hildon-widgets/hildon-color-popup.c: - * hildon-widgets/hildon-color-popup.h: - * hildon-widgets/hildon-color-selector.c: - * hildon-widgets/hildon-color-selector.h: - * hildon-widgets/hildon-composite-widget.c: - * hildon-widgets/hildon-composite-widget.h: - * hildon-widgets/hildon-controlbar.c: - * hildon-widgets/hildon-controlbar.h: - * hildon-widgets/hildon-date-editor.c: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-defines.c: - * hildon-widgets/hildon-defines.h: - * hildon-widgets/hildon-dialoghelp.c: - * hildon-widgets/hildon-dialoghelp.h: - * hildon-widgets/hildon-file-handling-note.c: - * hildon-widgets/hildon-file-handling-note.h: - * hildon-widgets/hildon-find-toolbar.c: - * hildon-widgets/hildon-find-toolbar.h: - * hildon-widgets/hildon-font-selection-dialog.c: - * hildon-widgets/hildon-font-selection-dialog.h: - * hildon-widgets/hildon-get-password-dialog.c: - * hildon-widgets/hildon-get-password-dialog.h: - * hildon-widgets/hildon-grid-item-private.h: - * hildon-widgets/hildon-grid-item.c: - * hildon-widgets/hildon-grid-item.h: - * hildon-widgets/hildon-grid.c: - * hildon-widgets/hildon-grid.h: - * hildon-widgets/hildon-hvolumebar.c: - * hildon-widgets/hildon-hvolumebar.h: - * hildon-widgets/hildon-input-mode-hint.h: - * hildon-widgets/hildon-name-password-dialog.c: - * hildon-widgets/hildon-name-password-dialog.h: - * hildon-widgets/hildon-note.c: - * hildon-widgets/hildon-note.h: - * hildon-widgets/hildon-number-editor.c: - * hildon-widgets/hildon-number-editor.h: - * hildon-widgets/hildon-plugin-widget.c: - * hildon-widgets/hildon-plugin-widget.h: - * hildon-widgets/hildon-private.h: - * hildon-widgets/hildon-program.c: - * hildon-widgets/hildon-program.h: - * hildon-widgets/hildon-range-editor.c: - * hildon-widgets/hildon-range-editor.h: - * hildon-widgets/hildon-scroll-area.c: - * hildon-widgets/hildon-scroll-area.h: - * hildon-widgets/hildon-seekbar.c: - * hildon-widgets/hildon-seekbar.h: - * hildon-widgets/hildon-set-password-dialog.c: - * hildon-widgets/hildon-set-password-dialog.h: - * hildon-widgets/hildon-sort-dialog.c: - * hildon-widgets/hildon-sort-dialog.h: - * hildon-widgets/hildon-system-sound.c: - * hildon-widgets/hildon-system-sound.h: - * hildon-widgets/hildon-telephone-editor.c: - * hildon-widgets/hildon-telephone-editor.h: - * hildon-widgets/hildon-time-editor.c: - * hildon-widgets/hildon-time-editor.h: - * hildon-widgets/hildon-time-picker.c: - * hildon-widgets/hildon-time-picker.h: - * hildon-widgets/hildon-volumebar-private.h: - * hildon-widgets/hildon-volumebar-range.c: - * hildon-widgets/hildon-volumebar-range.h: - * hildon-widgets/hildon-volumebar.c: - * hildon-widgets/hildon-volumebar.h: - * hildon-widgets/hildon-vvolumebar.c: - * hildon-widgets/hildon-vvolumebar.h: - * hildon-widgets/hildon-weekday-picker.c: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-window-private.h: - * hildon-widgets/hildon-window.c: - * hildon-widgets/hildon-window.h: - * hildon-widgets/hildon-wizard-dialog.c: - * hildon-widgets/hildon-wizard-dialog.h: - * timer/timer.c: - * timer/timer.h: - * ut/hildon-clock-widgets_tests.c: - * ut/hildon-widgets_tests.c: - * ut/tc_banner_truncate.c: Adding myself as the contact - person/maintainer. FIxing copyright notices to include 2006 as new things - were added this year. - -2006-08-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-defines.h: Undoing the Johan's new - key-handling changes from 2006-08-10. That requires a fix at a - different level, waiting for Daniel Stone. - -2006-08-30 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * debian==/changelog: Adding some missing entries about bugs being - fixed. - - * debian/copyright: Adding information about the license version of - the package. - -2006-08-29 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-window.c: Properly ref the attached menus, - allow NULL to be passed to the attach function to remove the existing - menu. Fixes NB#32845. - -2006-08-29 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * debian/control: Removing unnecessary manual dependencies, fixes - NB#34225. - -2006-08-29 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets-plugins/Makefile.am: - * hildon-widgets-plugins/hildon-color-chooser-dialog_hsv.c: - * hildon-widgets-plugins/hildon-color-chooser_hsv.c: - * hildon-widgets-plugins/hildoncolorchooser_hsv.c: - * hildon-widgets-plugins/hildoncolorchooserdialog_hsv.c: Removing - left overs from the old color selector code, making the file names - more sane. - -2006-08-29 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets-plugins/hildon-color-chooser-dialog_hsv.c: - * hildon-widgets-plugins/hildon-color-chooser_hsv.c: - * hildon-widgets-plugins/hildoncolorchooser_hsv.c: - * hildon-widgets/gtk-infoprint.c: - * hildon-widgets/gtk-infoprint.h: - * hildon-widgets/hildon-add-home-dialog.c: - * hildon-widgets/hildon-add-home-dialog.h: - * hildon-widgets/hildon-app-private.h: - * hildon-widgets/hildon-app.c: - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-appview.c: - * hildon-widgets/hildon-appview.h: - * hildon-widgets/hildon-banner.c: - * hildon-widgets/hildon-banner.h: - * hildon-widgets/hildon-calendar-popup.c: - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-caption.c: - * hildon-widgets/hildon-caption.h: - * hildon-widgets/hildon-code-dialog.c: - * hildon-widgets/hildon-code-dialog.h: - * hildon-widgets/hildon-color-button.c: - * hildon-widgets/hildon-color-button.h: - * hildon-widgets/hildon-color-chooser-button.c: - * hildon-widgets/hildon-color-chooser-button.h: - * hildon-widgets/hildon-color-chooser-dialog.c: - * hildon-widgets/hildon-color-chooser-dialog.h: - * hildon-widgets/hildon-color-chooser.h: - * hildon-widgets/hildon-color-popup.c: - * hildon-widgets/hildon-color-popup.h: - * hildon-widgets/hildon-color-selector.c: - * hildon-widgets/hildon-color-selector.h: - * hildon-widgets/hildon-composite-widget.c: - * hildon-widgets/hildon-composite-widget.h: - * hildon-widgets/hildon-controlbar.c: - * hildon-widgets/hildon-controlbar.h: - * hildon-widgets/hildon-date-editor.c: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-defines.c: - * hildon-widgets/hildon-defines.h: - * hildon-widgets/hildon-dialoghelp.c: - * hildon-widgets/hildon-dialoghelp.h: - * hildon-widgets/hildon-file-handling-note.c: - * hildon-widgets/hildon-file-handling-note.h: - * hildon-widgets/hildon-find-toolbar.c: - * hildon-widgets/hildon-find-toolbar.h: - * hildon-widgets/hildon-font-selection-dialog.c: - * hildon-widgets/hildon-font-selection-dialog.h: - * hildon-widgets/hildon-get-password-dialog.c: - * hildon-widgets/hildon-get-password-dialog.h: - * hildon-widgets/hildon-grid-item-private.h: - * hildon-widgets/hildon-grid-item.c: - * hildon-widgets/hildon-grid-item.h: - * hildon-widgets/hildon-grid.c: - * hildon-widgets/hildon-grid.h: - * hildon-widgets/hildon-hvolumebar.c: - * hildon-widgets/hildon-hvolumebar.h: - * hildon-widgets/hildon-input-mode-hint.h: - * hildon-widgets/hildon-name-password-dialog.c: - * hildon-widgets/hildon-name-password-dialog.h: - * hildon-widgets/hildon-note.c: - * hildon-widgets/hildon-note.h: - * hildon-widgets/hildon-number-editor.c: - * hildon-widgets/hildon-number-editor.h: - * hildon-widgets/hildon-plugin-widget.c: - * hildon-widgets/hildon-private.h: - * hildon-widgets/hildon-program.c: - * hildon-widgets/hildon-program.h: - * hildon-widgets/hildon-range-editor.c: - * hildon-widgets/hildon-range-editor.h: - * hildon-widgets/hildon-scroll-area.c: - * hildon-widgets/hildon-scroll-area.h: - * hildon-widgets/hildon-seekbar.c: - * hildon-widgets/hildon-seekbar.h: - * hildon-widgets/hildon-set-password-dialog.c: - * hildon-widgets/hildon-set-password-dialog.h: - * hildon-widgets/hildon-sort-dialog.c: - * hildon-widgets/hildon-sort-dialog.h: - * hildon-widgets/hildon-system-sound.c: - * hildon-widgets/hildon-system-sound.h: - * hildon-widgets/hildon-telephone-editor.c: - * hildon-widgets/hildon-telephone-editor.h: - * hildon-widgets/hildon-time-editor.c: - * hildon-widgets/hildon-time-editor.h: - * hildon-widgets/hildon-time-picker.c: - * hildon-widgets/hildon-time-picker.h: - * hildon-widgets/hildon-volumebar-private.h: - * hildon-widgets/hildon-volumebar-range.c: - * hildon-widgets/hildon-volumebar-range.h: - * hildon-widgets/hildon-volumebar.c: - * hildon-widgets/hildon-volumebar.h: - * hildon-widgets/hildon-vvolumebar.c: - * hildon-widgets/hildon-vvolumebar.h: - * hildon-widgets/hildon-weekday-picker.c: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-window-private.h: - * hildon-widgets/hildon-window.c: - * hildon-widgets/hildon-window.h: - * hildon-widgets/hildon-wizard-dialog.c: - * hildon-widgets/hildon-wizard-dialog.h: - * timer/timer.c: - * timer/timer.h: - * ut/hildon-clock-widgets_tests.c: - * ut/hildon-widgets_tests.c: - * ut/tc_banner_truncate.c: Fixing the license banners (adding them - if missing, correcting "... version 2 or any later version" to "version - 2." - -2006-08-29 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-window.c: Put extra ref on the GdkWindow - before emitting the signal so that we don't lose it in event free - function. Fixes NB#38996. - -2006-08-28 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * configure.ac: Bumping the version number to 0.13.1.6. - - * hildon-widgets-plugins/Makefile.am: Adding the proper symlinks for - default plugin targets during installation. Fixes a crasher bug in the - selector. - - * hildon-widgets/hildon-color-button.c: - * hildon-widgets/hildon-color-chooser-dialog.c: - * hildon-widgets/hildon-plugin-widget.c: Adding some basic sanity checks. - -2006-08-24 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * ./: Merging with the 0.13.1-1_pluged-in-color-selector branch. - -2006-08-24 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-number-editor.c: When a range error occurs, - set the correct value before calling the range-error signal, so that - the widget consumer has a chance to actually adjust the value to it's - liking in the signal. Fixes NB#33260. - -2006-08-24 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-wizard-dialog.c: Fixing a small compilation - whoops. - -2006-08-24 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-time-picker.c: Fixing - NB#37489. - -2006-08-23 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-wizard-dialog.c: - * hildon-widgets/hildon-wizard-dialog.h: Cleaning up, fixing some - bugs. - -2006-08-22 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-add-home-dialog.h: - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-appview.h: - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-code-dialog.h: - * hildon-widgets/hildon-color-button.h: - * hildon-widgets/hildon-color-selector.h: - * hildon-widgets/hildon-controlbar.h: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-file-handling-note.h: - * hildon-widgets/hildon-find-toolbar.h: - * hildon-widgets/hildon-grid-item-private.h: - * hildon-widgets/hildon-grid-item.h: - * hildon-widgets/hildon-grid.h: - * hildon-widgets/hildon-input-mode-hint.h: - * hildon-widgets/hildon-marshalers.h: - * hildon-widgets/hildon-name-password-dialog.h: - * hildon-widgets/hildon-private.h: - * hildon-widgets/hildon-program.h: - * hildon-widgets/hildon-range-editor.h: - * hildon-widgets/hildon-scroll-area.h: - * hildon-widgets/hildon-seekbar.h: - * hildon-widgets/hildon-sort-dialog.h: - * hildon-widgets/hildon-telephone-editor.h: - * hildon-widgets/hildon-time-picker.h: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-window-private.h: - * hildon-widgets/hildon-window.h: - * hildon-widgets/hildon-wizard-dialog.h: - * timer/timer.h: Just cosmetic cleanups in defines for consistency. - - * COPYING: Removing the executable bit from the text file. - -2006-08-22 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - - [0.13.1 branch] - - * Makefile.am: - * doc/Makefile.am: - * hildon-widgets-plugins/Makefile.am: - * hildon-widgets/Makefile.am: - * po/Makefile.am: - * timer/Makefile.am: - * ut/Makefile.am: Fixing the build system so that `make - maintainer-clean` can be used safely. - -2006-08-22 Kuisma Salonen <kuisma.salonen at nokia.com> - - [0.13.1 branch] - - * hildon-widgets-plugins/hildoncolorchooser_hsv.c: - Grayscale dimming re-enabled. - -2006-08-16 Johan Bilien <johan.bilien at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-app.c: - (hildon_app_switch_to_desktop): Removed unused function - (hildon_app_key_snooper): Removed handling of the Home hardware key - - NB#35076 - - * configure.ac: 0.13.1.4 - -2006-08-11 Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-plugin-widget.c - (ascii_decapitalize_without_dashes): Fixed. - -2006-08-10 Johan Bilien <johan.bilien at nokia.com> - - [0.13.1 branch] - - * hildon-widgets/hildon-{app.h,defines.h}: - switched HILDON_MENU_KEY to now match GDK_F10 - WARNING: This breaks compatibility with IT-2006 - - * configure.ac: 0.13.1.3 - -2006-08-08 Luc Pionchon <luc.pionchon at nokia.com> - - [0.13.1 branch] - - * configure.ac: 0.13.1.2 - -2006-08-07 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-program.c - (hildon_program_common_toolbar_topmost_window): Added this - function, it is an internal function created to notify the topmost - window of the topmost program that it has a new common toolbar, it - is supposed to be used inside a foreach call. - (hildon_program_set_common_toolbar): Added a foreach call in case - the program is the topmost in order to notify the topmost window - it should take the common toolbar. Fixed a problem with unparent - call it causes the vbox disappears in some cases, now we are using - container_remove. - - NB#22808 - -2006-08-01 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.22 - -2006-07-31 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-code-dialog.c - (hildon_code_dialog_insert_text): - - Use hildon_banner_show_info instead of deprecated gtk_info_print - - Localize the string in the applet - - NB#36309 - -2006-07-26 Kuisma Salonen <kuisma.salonen at nokia.com> - - [0.13.1 branch] - - Added plugged-in color chooser, - - -- Plugin infrastructure: - - * hildon-widgets/hildon-plugin-widget.[ch]: API to help loading - widgets from plugins. - - * hildon-widgets-plugins/: directory containing widget - implementations which are going to be built into separate shared - object files (plugins) - - * hildon-widgets-plugins/Makefile.am: automake file for the plugins. - - * doc/design/abstract_vs_modular_plugin_widgets.dia: - * doc/design/hildon-plugin-widget.txt: design doc - - - -- ColorChooser plugin: - - * hildon-widgets-plugins/hildoncolorchooser_hsv.c: Implementation of a - HildonColorChooser, HSV based one. - - * hildon-widgets-plugins/hildoncolorchooserdialog_hsv.c: HSV based - implementation of color chooser dialog. - - - -- Uses the plugin infrastructure: - - * hildon-widgets/hildon-color-chooser.[ch] : An abstract class for - color chooser widget. The _new function utilizes plugin widget - helper functions to initialize the widget. - - * hildon-widgets/hildon-color-chooser-dialog.[ch] : Same as color - chooser, but a dialog widget to choose a color. - - * hildon-widgets/hildon-color-button.c: HildonColorButton uses now - HildonColorChooserDialog instead of HildonColorSelector. - -2006-07-25 Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> - - * configure.ac: 0.12.21 - -2006-07-25 Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> - - * hildon-widgets/hildon-number-editor.c: Revert previous patch here - until we get a new release of themes stuff. (M#624) - -2006-07-25 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - (hildon_window_toggle_menu): free the GList returned by - gtk_container_get_children - - NB#34340 - -2006-07-18 Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> - - * hildon-widgets/hildon-number-editor.c: - renamed {plus,minus}-button widgets to ne-{plus,minus}-button in - order to do the theming without depending on the HildonNumberEditor - widget name. Fixes maemo M#624 - -2006-06-13 Luc Pionchon <luc.pionchon at nokia.com> - - [0.13.1 branch] - - * configure.ac: 0.13.1.1 - -2006-06-13 Luc Pionchon <luc.pionchon at nokia.com> - - [0.13.1 branch] - - * added experimental plugged-in color selector - -2006-06-13 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.20 - -2006-06-12 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-button.c - (hildon_color_button_key_pressed): - return FALSE when no key was handled. - - NB#32302 - -2006-06-12 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-banner.c: - (force_to_wrap_truncated): Modified size request of the label - when it is wider than the maximum allowed, using the pango - layout extension instead of the maximum allowed width. - - NB#31256 - -2006-06-05 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.19 - -2006-06-05 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-button.c - (hildon_color_button_init): Moved key handling from key release - event to key press event. - - (hildon_color_button_key_released): Renamed to _key_pressed - (hildon_color_button_key_pressed) : new name from _key_released - - NB#31604 - -2006-06-05 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c - (validated_conversion): return the minimum allowed value for the - entry when the user types an empty text into an entry and moves - the focus, instead of returning -1. This change implies that the - minimum allowed value for the entry is set into the entry instead - of leaving it empty. - - NB#30937 - -2006-06-05 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-grid.c (hildon_grid_class_init): do not - use accumulator for "popup-context-menu" - - NB#29888 / M#483 - -2006-06-05 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-window.c - (hildon_window_toggle_menu): Changed the hide condition of the - menu, now we are using GTK_WIDGET_MAPPED instead of - GTK_WIDGET_VISIBLE, because the menu can be visible but not mapped - in some situations, like the one described in this bug. - - NB#28836 - -2006-06-02 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-app.c (hildon_app_key_snooper): Add code - to control if there is a combobox activated when the menu key is - pressed and stop the menu drawing, this is a new case that happens - when the application is avoiding the focus can go to the combobox. - - NB#26383 (bis) - -2006-06-02 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c - (hildon_time_editor_validate): removed the assinment of the - error_widget, now just the highlight_callback can do it when it - finished with it. Control that if we are already managing an error - we don't start working in other. - - (hildon_time_editor_inserted_text): added a control to stop insert - handle if we are already managing an error, we have also blocked - the focusout event before que grab focus to avoid another - validation of the field. - - NB#30955 - - * hildon-widgets/hildon-time-editor.c - (highlight_callback): Removed the return in the middle of the - function, now that situation is imposible. It was causing the - interlock. - -2006-05-31 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-banner.c - (HILDON_BANNER_LABEL_MAX_PROGRESS): increase even more 320 -> 375 - to satisfy NB#31099. (actually info and anim banners should have - 375 px width and only progress banners should have 265 px) - - NB#31099 (workaround) - -2006-05-30 Luc Pionchon <luc.pionchon at nokia.com> - - [0.13.1 branch] - - * configure.ac: 0.13.1 unstable branch - -2006-05-30 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-libs.pc.in (Description): updated description - -2006-05-29 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.18 - -2006-05-29 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-app.c - (hildon_app_key_snooper): Add code to control if there is a - combobox activated when the menu key is pressed and prevent the - menu drawing. - - NB#26383 - -2006-05-29 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-banner.c - (hildon_banner_set_property): Set max_width hint to -1 instead of - HILDON_BANNER_LABEL_MAX_TIMED when banner is timed to avoid. This - has been done to ensure that the size of the banner will be the - requisition size and avoid the size problem when reusing the - banner window. See NB#24339. - - (hildon_banner_set_text): Removed useless gtk_window_resize after - changing the label text. The size requisition of the banner is - updated when the label text is modified, so there is no need to do - a resize of the window to the requisition size. - (hildon_banner_set_markup): Likewise. - - (hildon_banner_check_position): Added cast to widget argument in - call to force_to_wrap_truncated in order to avoid a compilation - warning. - -2006-05-29 Luc Pionchon <luc.pionchon at nokia.com> - - Added time-error signal - NB#22155 - - * hildon-widgets/hildon-time-editor.c: - (hildon_time_editor_class_init): added time-error signal - (validated_conversion): added 'error_code' output parameter. - (hildon_time_editor_real_validate): use 'error_code' and trigger - 'time-error' signal when apprpriate. - (highlight_callback): avoid revalidation - - * hildon-widgets/hildon-time-editor.h (HildonTimeEditorErrorType): - new enumerative type for error types - (_HildonTimeEditorClass): added time_error signal - - * hildon-widgets/Makefile.am (hildon-libs-enum-types.c): added time-editor.h - -2006-05-23 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.17 - -2006-05-23 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/gtk-infoprint.c - (gtk_confirmation_banner_with_icon_name): wooops, use _with_markup - variant to process markup string. NB#28370 (ter) - -2006-05-22 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.16 - -2006-05-22 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c - (hildon_window_vbox_expose_event): This function has been - removed, now the window has the responsability of painting the - toolbar, because it has that space allocated. - (hildon_window_init): we do not have to connect the - hildon_window_vbox_expose_event function to the expose event of - the toolbar vbox anymore. - (hildon_window_expose): Added the call to paint_toolbar, as we can - see in the allocation function the toolbar decorators are - responsability of the window, and gdk was not sending the proper - events to the vbox because that space is not its responsability. - (hildon_window_remove_toolbar): We don't need a queue_draw here - because we have another call in the expose function when the size - of the container has been changed. - - NB#29461 - -2006-05-21 Luc Pionchon <luc.pionchon at nokia.com> - - Removed hildon-insert-object-dialog NB#8015 - - * hildon-widgets/hildon-insert-object-dialog.[ch]: removed - * doc/tmpl/hildon-insert-object-dialog.sgml: removed - * ut/hildon-widgets_tests.c (test27a, test27b, test27c): removed - - * hildon-widgets/Makefile.am (hildonwidgetsincludeinst_DATA) - * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES) - * doc/hildon-libs-docs.sgml: - * po/POTFILES.in: : removed reference - - * configure.ac: removed check for gnome-vfs - * hildon-widgets/Makefile.am: removed gnome-vfs flags - * doc/Makefile.am: likewise - * ut/Makefile.am: likewise - -2006-05-21 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/gtk-infoprint.c - (gtk_confirmation_banner_with_icon_name): - added bold markup for backward compatibility. NB#28370 (bis) - -2006-05-21 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-grid.c (get_child_index_by_coord): returns - if empty grid. NB#29883 - -2006-05-21 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/gtk-intoprint.c (find_banner_for_parent): Added - check for "is-timed" property. NB#26546 - -2006-05-21 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c - (hildon_window_remove_toolbar) - (hildon_window_size_expose): Removed the - gtk_widget_queue_draw_area call from this functions, because - sometimes the event is not managed in the proper order. - - (hildon_window_size_allocate): Added the - gtk_widget_queue_draw_area call in case the number of the toolbars - has changed, this way we insure an expose event for the proper - region will come after the change of the toolbars. - - NB#26366 - -2006-05-21 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - (hildon_window_size_allocate): Now the window uses all the space - when its state is fullscreen, we avoid to subtract the top and - bottom borders if the window state is fullscreen. - - NB#28925 - -2006-05-18 Tapani Palli <tapani.palli at nokia.com> - - * hildon-widgets/hildon-time-editor.c: block signal handler for - hildon_time_editor_inserted_text, null check for entry widget in - highlight_callback. Fixes NB#28679 - -2006-05-16 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/gtk-infoprint.c (gtk_confirmation_banner): added - bold markup for backward compatibility. NB#28370 - -2006-05-15 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.15 - -2006-05-15 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.[ch]: - - Added clipboad_operation signal used by osso-browser to receive - clipborad operations from hildon-input-method - - Trigger this signal when we receive an clipboard X message - from HIM. related to NB#25502 - -2006-05-11 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-caption.c - (hildon_caption_set_label_alignment) - (hildon_caption_get_label_alignment): added gtk-doc "Since" marker - - * doc/hildon-libs-docs.sgml: added index for 0.12.0 new symbols - -2006-05-10 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c: - (hildon_time_editor_set_ticks) removed block signal handler for - hildon_time_editor_inserted_text. Added block and unblock signal - handler for hildon_time_editor_entry_focusout. - - NB#28027 - -2006-05-10 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-caption.c: - (hildon_caption_size_allocate): add a margin to the start position - of the caption_area (HILDON_CAPTION_SPACING), leaving this way the - space required to the left of the caption. - - (hildon_caption_expose): allocation, subtract the left margin - which we have added to the children widgets when we paint the - selection box. - - NB#28483 - -3006-05-10 Tapani Palli <tapani.palli at nokia.com> - - * hildon-widgets/hildon-time-editor.c: - block signal handler for hildon_time_editor_inserted_text - - NB#28679 - -2006-05-09 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c: - (_hildon_time_editor_get_time_separators) renamed from - _get_time_separator(). Refactored to return h-m and m-s - separators. Now it is independent of the time editor priv - structure and receives two labels that can be NULL. - - (_HildonTimeEditorPrivate): removed hm_sep_symbol and ms_sep_symbol - members: not used anymore. - (hildon_time_editor_init): removed ref to above members. - (hildon_time_editor_finalize): likewise - - (hildon_time_editor_check_locale): use - _hildon_time_editor_get_time_separators() - - * hildon-widgets/hildon-private.h: new file. To be used to use - private functions from other widgets inside the library. - (_hildon_time_editor_get_time_separators): added. - - * hildon-widgets/Makefile.am: - added hildon-private.h to the source list. - - - * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init): - Use _hildon_time_editor_get_time_separators() to get the h-m - separator from the locale (and not from a .po file) - - N#28654 - -2006-05-09 Marius Vollmer <marius.vollmer at nokia.com> - - * hildon-widgets/hildon-find-toolbar.c - (hildon_find_toolbar_class_init): Reverted change from 2006-04-15: - The "search", "close", "invalid_input", "history_append" signals - have always been correctly registered: you don't include the last - 'user data' parameter in the list of argument types passed to - g_signal_new et al. Thanks to Jorn from OpenedHand! - - N#28807 - -2006-05-08 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.14 - -2006-05-04 Luc Pionchon <luc.pionchon at nokia.com> - - gtk-doc config bits... - * autogen.sh: call aclocal first - * configure.ac: enable GTK_DOC_CHECK - * doc/Makefile.am: really "include". "-include" is not followed by - automake, as a result gtk-doc.make would not be processed. - -2006-05-03 Luc Pionchon <luc.pionchon at nokia.com> - - N#27000 (additional fixes to patch from 2006-05-01) - - * hildon-widgets/hildon-banner.c (force_to_wrap_truncated): do not - hardcode pixel scaling factor ("/1000"), use PANGO_PIXELS instead - which deals with rounding (and uses the right factor: 1024). - Thanks Michael Natterer <mitch at imendio.com> - - Force label size also when width_text == width_max. - -2006-05-03 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.13 - -2006-05-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c: - (is_internal_font): new function. Tells if a font family is internal. - (filter_out_internal_fonts): new function. Filters out inernal fonts. - (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts - Fixes N#21854 - -2006-05-01 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-libs/hildon-widgets/hildon-time-editor.c - * hildon-libs/hildon-widgets/hildon-time-picker.c - * hildon-libs/hildon-widgets/hildon-wizard-dialog.h: - added comments to anonymous enums - -2006-05-01 Luc Pionchon <luc.pionchon at nokia.com> - - Hildon banner truncations, - * hildon-widgets/hildon-banner.c - (force_to_wrap_truncated): new function. Force to wrap truncated - label by setting explicit size request. See N#27000 and G#329646 - (hildon_banner_check_position): call force_to_wrap_truncated() - fixes N#27000, N#25305, N#26203 - - * hildon-widgets/hildon-banner.c - (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to - satisfy N#26624, N#26161, N#27875 - - * ut/tc_banner_truncate.c: new file. Test cases for banner truncations. - -2006-05-01 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-banner.[ch]: code cleanup. - -2006-04-29 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - - removed connection to self, replaced with overridding virtual - methods - - removed gtk_widget_set_event in init, legacy from HildonApp - - use gtk_widget_get_child_requisition() instead of - gtk_widget_size_request() in _allocation - - don't allocate space for the child if it is not visible - -2006-04-28 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - - forgot to reinitialize convenience pointers to borders after they - are reinitialised - - replaced a g_return_if_fail with a g_return_val_if_fail now - that toggle_menu returns a g_boolean - -2006-04-28 Johan Bilien <johan.bilien at nokia.com> - - N#28176 - * hildon-widgets/hildon-window.c: Free the borders structure - when the window is destroyed. - -2006-04-27 Tapani Palli <tapani.palli at nokia.com> - - * hildon-widgets/hildon-caption.c : check if ancestor - (still) exists in set-focus handler, fixes N#25501 - -2006-04-27 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c - (hildon_time_editor_check_locale): do not force lower case for - AM/PM symbols. Use the string as it is given by the locale. Makes - it coherent with hildon time picker. Fixes N#27963 - -2006-04-26 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-set-password-dialog.c - (c_): new macro, calls dgettext on "hildon-common-strings" domain. - (hildon_set_password_response_set): use c_ for common strings - (hildon_set_password_response_change): likewise. - Fixes N#27749 - - * hildon-widgets/hildon-set-password-dialog.h: indent cleanup - -2006-04-26 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-file-handling-note.c (gettext macro): use - "hildon-fm" as textual domain. Fixes N#27702 - -2006-04-26 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.12 - - * Makefile.am (clean-all): brutal target to cleanup the - folder. Will do this properly later. - -2006-04-25 Luc Pionchon <luc.pionchon at nokia.com> - - * doc/Makefile.am: use "-include" for gtk-doc.make (ignore - included Makefile if missing). - - * configure.ac: temporarily disable GTK_DOC_CHECK (problem in - integration environement) - - * configure.ac: print configuration summary after processing - -2006-04-24 Marius Vollmer <marius.vollmer at nokia.com> - - From Murray Cumming <murrayc at murrayc.com>, M#183. - - * hildon-widgets/hildon-calendar-popup.c: - (hildon_calendar_popup_new): Use only g_object_new(), passing - it properties, so that language bindings can do the same. - (hildon_calendar_popup_set_date): Veryify the date here, - instead of only in the _new() function. - (hildon_calendar_popup_set_property): Use get/set_date() to - verify the new date and to select it. - (hildon_calendar_popup_get_property): Remove unused variables. - * ut/hildon-widgets_tests.c (test45): New. - - * hildon-widgets/hildon-add-home-dialog.c: - (hildon_add_home_dialog_new): Move code into - hildon_add_home_dialog_init(), - hildon_add_home_dialog_set_old_name(), and - hildon_add_home_dialog_set_new_name(). Supply parameters as - properties values to g_object_new() instead, so that language - bindings can do the same. - (hildon_add_home_dialog_class_init): Added name and new_name - properties. - (hildon_add_home_dialog_init): Create always-needed widgets. - (hildon_add_home_dialog_get_property), - (hildon_add_home_dialog_set_property): Get/Set the name and - new_name properties, recreating widgets if necessary, using new - static helper function. - * ut/hildon-widgets_tests.c (test46): New. - - * hildon-widgets/hildon-grid-item.c - (hildon_grid_item_set_property), (hildon_grid_item_get_property), - (hildon_grid_item_class_init): Add icon-basename property. - (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code - from here to hildon_grid_item_init(), so we can just call - g_object_new(). - (hildon_grid_item_set_label): Convert NULL label to empty string. - Bug fix: don't cast the label widget to a string and compare it - against the new label text, use gtk_label_get_label instead. - Expect priv->label to always be non-NULL. - (update_icon): Don't pass NULL icon name to - gtk_icon_theme_load_icon, use default icon instead in that case. - * hildon-widgets/hildon-grid-item.h: Make - _hildon_grid_item_set_label into public - hildon_grid_item_set_label(), so that language bindings can use - it. - * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon. - (test33a2, test33b4, test33b4): Expect them to succeed now that a - HildonGridItem can handle NULL icons. - -2006-04-21 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.11 - -2006-04-19 Tapani Palli <tapani.palli at nokia.com> - - * thread safety (N#24348), fixed timeout and idle callbacks : - hildon-widgets/hildon-window.c : hildon_window_escape_timeout() - hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout() - hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all() - hildon-widgets/hildon-banner.c : hildon_banner_timeout() - hildon-widgets/hildon-app.c : hildon_app_escape_timeout() - hildon-widgets/hildon-time-editor.c : highlight_callback() - hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all() - -2006-04-19 Tapani Palli <tapani.palli at nokia.com> - - * hildon-widgets/hildon-app.c (hildon_app_key_release): send - correct state for fullscreen, fixes N#26611 - -2006-04-19 Johan Bilien <johan.bilien at nokia.com> - - N#22909 - * hildon-widgets/hildon-window.c: - - hildon_window_toggle_menu now returns whether or not something was - done - - hildon_window_key_press_event(): when handling the menu hard key, - return TRUE if we actually handled it - * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu() - now returns if something was done - * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE - if we actually handled the menu hard key. - -2006-04-19 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation - in fullscreen. - -2006-04-19 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.10 - - -2006-04-17 Luc Pionchon <luc.pionchon at nokia.com> - - * doc/hildon-libs-docs.sgml: added index for new symbols. - -2006-04-17 Luc Pionchon <luc.pionchon at nokia.com> - - * doc/Makefile.am (version.xml): generates version.xml - * doc/hildon-libs-docs.sgml: added &version; entity, and display - the version number in the doc title. - -2006-04-17 Luc Pionchon <luc.pionchon at nokia.com> - - Minor changes for gtk-doc - * hildon-note.c - * hildon-weekday-picker.h - * hildon-name-password-dialog.c - * hildon-calendar-popup.h - * hildon-range-editor.h - * hildon-volumebar-range.h - * hildon-banner.c - * hildon-app.c - * hildon-time-editor.c - * gtk-infoprint.c - * hildon-date-editor.h - -2006-04-16 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c - (hildon_time_editor_set_show_hours) - (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:' - -2006-04-15 Luc Pionchon <luc.pionchon at nokia.com> - - N#22557 - * hildon-widgets/hildon-time-editor.c - (hildon_time_editor_entry_keypress): use - hildon_gtk_button_set_depressed, provided by osso-GTK, since - 2.6.10-1.osso4, instead of GTK private symbol - _gtk_button_set_depressed - -2006-04-15 Marius Vollmer <marius.vollmer at nokia.com> - - From Murray Cummings (M#185 M#283), with slight changes: - - * configure.ac: Add a --rebuilds option, defaulting to yes, so we - can disable the regeneration of hildon-libs-enum-types.[h|c], also - based on the gnome-vfs build. - - * hildon-widgets/Makefile.am: Use glib-mkenums to generate - hildon-libs-enum-types.[h|c], and build them, based on the - gnome-vfs build. This adds GTypes for the enums, needed for - accurate signal registration, needed by bindings. - - * hildon-widgets/hildon-number-editor.h: Rename the error_handler - default signal handler to range_error, so it has the same name as - the signal, as expected by bindings. - - * hildon-widgets/hildon-marshalers.list: Change to the now-used - marshallers. - - * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'. - since hildon_note_type_get_type is defined manually and - glib-mkenums should ignore this enum. - - * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise. - * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise. - - Correct the signal registration for: - - * hildon-widgets/hildon-app.c - (hildon_app_class_init): - "switch_to", - "clipboard_copy", - "clipboard_cut", - "clipboard_paste" - - * hildon-widgets/hildon-date-editor.c - (hildon_date_editor_class_init): - "date_error" - - * hildon-widgets/hildon-find-toolbar.c - (hildon_find_toolbar_class_init): - "search", - "close", - "invalid_input", - "history_append signals" - - * hildon-widgets/hildon-grid.c - (hildon_grid_class_init): - "popup_context_menu" - - * hildon-widgets/hildon-number-editor.c - (hildon_number_editor_class_init): - "range_error". - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - M#90 - Use standard GLib macro names. - Based on a patch from Osvaldo Santana <osvaldo.santana at indt.org.br> - - Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*, - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-range-editor.h: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-volumebar-range.h: - - Updated macro name, - * hildon-widgets/hildon-calendar-popup.c: - * hildon-widgets/hildon-date-editor.c: - * hildon-widgets/hildon-range-editor.c: - * hildon-widgets/hildon-volumebar-range.c: - * hildon-widgets/hildon-weekday-picker.c: - -2006-04-13 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids - for Ok and Cancel buttons. - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.9 - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-button.c - (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT): - updated dimensions. - - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.c - (convert_to_12h): removed m and s paramters (useless) - (convert_to_24h): likewise. - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - Automatic focus movement for HildonTimeEditor (IMP-13) - - * hildon-widgets/hildon-time-editor.c - (hildon_time_editor_init): connect after signal "insert_text" - (hildon_time_editor_inserted_text): new function. - On inserted text, if entry has two digits, jumps to the next field. - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - Pops up the color selector on 'select' hardkey (IMP-15) - - * hildon-widgets/hildon-color-button.c - (hildon_color_button_init): connect "key-release-event" - (hildon_color_button_key_released): new function. - Pops up the color selector on 'select' hardkey release - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - Hildon grid, set items to be focus-and-activate instead of single - tap activation (IMP-14) - - * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus. - * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item. - - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - Fetch hours/minutes/seconds separators from current locale (IMP-8) - N#19061 - - * hildon-widgets/hildon-time-editor.c - (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol' - (hildon_time_editor_init): do not get separator labels from i18n, but from locale - (hildon_time_editor_finalize): free separator symbols - (get_time_separators): new function. Get time separators from locale. - (hildon_time_editor_check_locale): call get_time_separators. - -2006-04-13 Luc Pionchon <luc.pionchon at nokia.com> - - Removed icon for mandatory fields (IMP-3). - Note: the logic and API to specify mandatory fields is preserved. - - * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed. - (struct _HildonCaptionPrivate): removed 'mandatory_icon' field. - (hildon_caption_set_property): case PROP_STATUS, removed related code. - (hildon_caption_set_label_alignment): removed related code. - - -2006-04-07 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.8 - -2006-04-07 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-banner.c: added gtk-doc Since markers. - - -2006-04-07 Tomas Junnonen <tomas.junnonen at nokia.com> - - - Added support for Pango markup - Added hildon_banner_show_information_with_markup - - Removed hildon_banner_show_confirmation - - Re-position the banner when its content changes - - Banner now doesn't truncate strings nor insert linebreaks - - fixes N#24339 - Information banners do not resize - - * hildon-widgets/hildon-banner.[ch] - (hildon_banner_show_information_with_markup): new function. Adds - pango markup support for information banners. - - (hildon_banner_show_confirmation): removed. 'confirmation' was - used only for the taask navigator (at most). It should use - _show_information_with_markup with appropriate markup. - - (hildon_banner_set_markup): new function. - - (hildon_banner_check_position): new function. Factor code from - hildon_banner_realize(), and update position calculation. - - (struct _HildonBannerPrivate): removed max_lines. - Uses as much lines as needed. - - (hildon_banner_init): set banner label to wrap lines. - - (hildon_banner_set_text): do not truncate. Update banner's position. - - (hildon_banner_set_markup): new function. - Set banner's text with Pango markup. - - (_hildon_gtk_label_set_text_n_lines): marked as deprecated. - - - * hildon-widgets/gtk-infoprint.c - (gtk_confirmation_banner): use hildon_banner_show_information - instead of _show_confirmation. - (gtk_confirmation_banner_with_icon_name): likewise. - - -2006-04-07 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-button.c - (hildon_color_field_expose_event): correct parameter order. - - -2006-04-07 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - - Fixed a potential infinite loop when detaching the menus - from the window widget (Closes N#26033) - -2006-04-06 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - - Fixed a bug that made window fullscreen state tracking fail - - Apply correct theming to menus so that they get placed - correctly (Fixes N#24325) - - Redraw the window borders if the size of the toolbar vbox changes - - Reset the program to NULL in hildon_window_destroy - - Stop the ESC key-press timeout when the window loses the focus - - Small cleanups - * hildon-widgets/hildon-program.c: - - Reset the common toolbar to NULL when the program is finalised - -2006-04-04 Marius Vollmer <marius.vollmer at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.h, - hildon-widgets/hildon-get-password-dialog.c - (hildon_get_password_dialog_new, - hildon_get_password_dialog_new_with_default): Renamed - get_old_password_title parameter to "get_old" to correspond with - the property name. This helps the C++ bindings. - * ut/hildon-widgets_tests.c (test43, test44): New. - -2006-04-03 Marius Vollmer <marius.vollmer at nokia.com> - - * ut/hildon-widgets_tests.c: Disabled unimplemented testcases: - test20a, test20b, test20c, test20d, test36a, test36b, test36c, - test36d. - - From Murray Cumming. - - * hildon-libs/hildon-caption.c: - (hildon_caption_init): Do the hildon_caption_set_child_expand() - here. - (hildon_caption_new): Use the child property from GtkContainer - instead of calling gtk_container_add(), because _new() functions - should just use g_object_new(), so that language-bindings can do - the same. - - * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new. - -2006-03-30 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.7 - -2006-03-29 Luc Pionchon <luc.pionchon at nokia.com> - - Fixes N#20917 - * hildon-widgets/hildon-font-selection-dialog.c - (REFERENCE_LINE): removed - (hildon_font_selection_dialog_show_preview): added l10n support - for the reference string (use to differentiate sub/super script in - font preview) - (hildon_font_selection_dialog_show_preview): likewise - - -2006-03-28 Luc Pionchon <luc.pionchon at nokia.com> - - * po/en_GB.po: update - -2006-03-28 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-add-home-dialog.c - (hildon_add_home_dialog_init): removed i18n support (deprecated - widget. Hinder logical ID processing) - (hildon_add_home_dialog_new): likewise. - - * hildon-widgets/hildon-insert-object-dialog.c - (hildon_insert_object_dialog_init): likewise. - - -2006-03-28 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c - (hildon_font_selection_dialog_construct_notebook): logical ID typo - - -2006-03-27 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.[ch]: - - update the title when the window is realized - - added support for long press on the ESC key. Fixes N#24620 - -2006-03-26 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-editor.h: indent, improve readability. - -2006-03-26 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-seekbar.c - (hildon_seekbar_button_press_event): use if statement instead of 's?a:b' - -2006-03-24 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.6 - -2006-03-23 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT): - fixed typo GKD_Left -> GDK_Left, N#24042 - - -2006-03-22 Luc Pionchon <luc.pionchon at nokia.com> - - - Fixed i18n issues: - - - Updated logical id to lower case: Ckct_ -> ckct_ - * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error): - * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler): - * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init) - (hildon_range_editor_init, hildon_range_editor_entry_validate) - (hildon_range_editor_entry_validate): - * hildon-widgets/hildon-time-editor.c (validated_conversion) - (validated_conversion, hildon_time_editor_real_validate): - * hildon-widgets/hildon-grid.c (hildon_grid_class_init) - (hildon_grid_init): - - - Updated logical id to lower case: Ecdg_ -> ecdg_ - * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init): - * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init): - * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init): - * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new) - * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init) - (hildon_wizard_dialog_create_title): - * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init): - (hildon_find_toolbar_init): - * hildon-widgets/hildon-note.c (hildon_note_rebuild) - (hildon_note_rebuild, hildon_note_set_button_text): - - - Removed i18n support for property description, - * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init): - - -2006-03-21 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.5 - -2006-03-21 Tommi Komulainen <tommi.komulainen at nokia.com> - - * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs - * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment - blocks, again. - -2006-03-20 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for - HILDON_IS_APP - -2006-03-20 Johan Bilien <johan.bilien at nokia.com> - - Cleanup wizard dialog, - - * hildon-widgets/hildon-wizard-dialog.c - (struct HildonWizardDialogPrivate): removed 'previous_button' - and 'next_button' (obsolete) - - (hildon_wizard_dialog_response): new private function. Handles the - 'response' signal and replaces direction_button_clicked() in - taking care of notebook page changes and button dimming. - - (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now - added to the dialog as response buttons. This enables the usage of - GtkDialog API for setting their sensitiveness. - - (dimming/undimming): Connected hildon_wizard_dialog_response to - "resonse" signal. Removed useless title creation because it - depends on the notebook which is not yet created. - - (hildon_wizard_dialog_set_property): minor code cleanup - - (hildon_wizard_dialog_create_title): removed useless else-if - statement. - - * hildon-widgets/hildon-wizard-dialog.h - (hildon_wizard_dialog_get_type): added G_GNUC_CONST - - - * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch - adding the page_change signal, as the application can now track - the response signal instead. - - -2006-03-17 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.4 - - -2006-03-16 Luc Pionchon <luc.pionchon at nokia.com> - - * doc/tmpl/* - * hildon-widgets/* - moved widget descriptions to respective source file (*.c) - + minor doc updates - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup color button - - * hildon-widgets/hildon-color-button.c: - - removed unused #include - - removed unused gettext macro - - (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH - (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT - + value updated to match specifications - - (struct _HildonColorButtonPrivate): - removed 'drawing_area' and 'pixbuf' members (unused) - - (hildon_color_button_init): - use drawing_area directly, update COLOR_FILLED_ macro names - - (hildon_color_button_unrealize): new function. - (hildon_color_button_class_init): register unrealize function - (hildon_color_button_finalize): free allocated GC in unrealize - handler instead of in finalize. - - (hildon_color_button_recolor_pixbuf): removed. (use - gdk_draw_rectangle() instead) - (hildon_color_button_draw_pixbuf_borders): likewise - - (hildon_color_field_expose_event): use gdk_draw_rectangle() to - draw the button - (hildon_color_button_set_property): queue the drawing - instead of - calling recolor_pixbuf - - (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog' - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - More cleanup for range editor, - - * hildon-widgets/hildon-range-editor.[ch] - - removed useless includes - (hildon_range_editor_new_with_separator): set char parameter 'const' - - * hildon-widgets/hildon-range-editor.c - - removed useless includes - - rewritten a lot of functions because code was inefficient. - - removed useless g_return_if_fail calls from various functions. - - (hildon_range_editor_init): Romoved unneeded casts, added composite names. - (hildon_range_editor_entry_keypress): rewritten - (hildon_range_editor_entry_focus_out): rewritten - (hildon_range_editor_refresh_widths): New function - (hildon_range_editor_set_range): Make sure that the values are in - correct order - (hildon_range_editor_set_lower): rewritten. - (hildon_range_editor_set_higher): rewritten. - (hildon_range_editor_set_min): rewritten. - (hildon_range_editor_set_max): rewritten. - - (hildon_range_editor_entry_validate): New validator function - (hildon_range_editor_entry_changed): New signal handler for - "changed" for entries, this will now validate whenever entry changes. - - (hildon_range_editor_entry_focus_out): Added g_assert for - editor. Removed call to hildon_range_editor_apply_current_range(). - Added call to the new function hildon_range_editor_entry_validate() - for validation. - - (hildon_range_editor_init): connected - hildon_range_editor_entry_changed to "changed" for entries. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - Major cleanup for time editor - - * hildon-widgets/hildon-time-editor.c - - removed unused #includes. - - Removed useless g_return_if_fail(editor) calls - (HILDON_IS_TIME_EDITOR does this check as well for us). - - (hildon_time_editor_add_style): removed, obsolete. - (hildon_time_editor_mnemonic_activate): removed, obsolete - (hildon_time_editor_get_max_values): removed, obsolete. - - (validated_conversion): New helper function - - (hildon_time_editor_entry_changed): New function, now the widget - interactively validates the inputted contents (not requiring focus - move). - - (ticks_to_time): rewritten, using less arithmetic operations. - (hildon_time_editor_validate): rewritten - (hildon_time_editor_set_ticks): rewritten - (hildon_time_editor_set_duration_mode): rewritten - (hildon_time_editor_entry_keypress): rewritten - - * hildon-widgets/hildon-time-editor.[ch] - (hildon_time_editor_set_show_hours) - (hildon_time_editor_get_show_hours) new functions to show/hide hours - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup number editor - - * hildon-widgets/hildon-number-editor.c: - (SPACE_BORDER): removed - - (hildon_number_editor_size_request): - (hildon_number_editor_size_allocate): updated to use hildondefines - - (hildon_number_editor_mnemonic_activate): function removed, - mnemonic are not used - - (hildon_number_editor_stop_repeat_timer): new function, to avoid - duplicated code - (hildon_number_editor_button_release): - (hildon_number_editor_finalize): updated to use new function - - (hildon_number_editor_entry_keypress): completely rewritten - (change_numbers): likewise - (do_mouse_timeout): likewise - (hildon_number_editor_set_range): likewise - - (hildon_number_editor_validate_value): new function, used for all - validation - (hildon_number_editor_focus_out): - (hildon_number_editor_entry_changed): updated to use previous. - - (hildon_number_editor_real_set_value): new function that formats - given int to field. Used by change_numbers and set_value - - (integer_to_string): removed, we now have one place that - converts numbers and that uses buffer from stack. - (hildon_number_editor_set_value): changed to use new format function. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-time-picker.c: - reorganized how the widgets are stored to reduce code - (HildonTimePickerWidgetGroup): new struct - (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup - (hildon_time_picker_init) - (hildon_time_picker_arrow_press) - (hildon_time_picker_event_box_key_press) - (hildon_time_picker_change_time) - (hildon_time_picker_map) - (hildon_time_picker_event_box_key_release): use new widget organization - - - (hildon_time_picker_init): return value from nl_timeinfo() is - valid only until it's called again, so g_strdup() the value when - storing it. - - (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values - (HILDON_TIME_PICKER_LABEL_X_PADDING) - (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values - (hildon_time_picker_set_time): - (hildon_time_picker_get_time): - (hildon_time_picker_ampm_release): used the new defines - - (struct _HildonTimePickerPrivate) - (hildon_time_picker_init) - (hildon_time_picker_event_box_key_press) - (hildon_time_picker_change_time): - - c12h renamed to show_ampm, - - ampo_pos renamed to ampm_left. - - (hildon_time_picker_timeout): renamed to - hildon_time_picker_key_repeat_timeout(), - and renamed parameter to 'hildon_time_picker' - - (hildon_time_picker_event_box_press): renamed to - hildon_time_picker_event_box_button_press() - - (hildon_time_picker_finalize): Added finalizer to make sure the - key repeat timeout handler gets removed. - - (hildon_time_picker_arrow_press): Placed multipliers into - button_multipliers[] array to avoid multiple if/then/else - blocks. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-libs/hildon-find-toolbar.c (hildon_find_toolbar_filter): - calculates correctly which items will be visible. Fixes N#16991. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-find-toolbar.c - (hildon_find_toolbar_history_append): set "column" property only - after model has been set. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename - the parameter more descriptively - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup HildonApp, - - * hildon-widgets/hildon-app-private.h: use G_*_DECLS - - * hildon-widgets/hildon-app.[ch] - (hildon_zoom_level_get_type): removed G_CONST_RETURN - - * hildon-widgets/hildon-app.c: - - removed HILDON_DISABLE_DEPRECATED flags - - added g_assert'ions to internal functions - - more code comments - - (hildon_app_button): Move the fixed define to the function itself, - add simple autodetection, clean up comments. - - (hildon_app_key_release): Remove bogus argument to signal emission - (not needed), emit the "fullscreen_state_change" directly instead - of calling set_fullscreen. - - (hildon_app_construct_title): removed dead code - - (hildon_app_register_view_with_id): do not call g_slist_nth() to - get the first element... - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-appview.c: - (hildon_appview_init): indented comments properly - (paint_toolbar): indented comments properly - (hildon_appview_expose): indented code properly - (hildon_appview_toolbar_toggle_request): removed dead code - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-caption.c - (hildon_caption_expose): use g_assert instead of g_return_val_if_fail - (hildon_caption_size_allocate): likewise. - (hildon_caption_forall): likewise. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup Find toolbar, - - * hildon-widgets/hildon-find-toolbar.[ch] - (hildon_find_toolbar_new): set 'label' parameter const. - (hildon_find_toolbar_new_with_model): likewise. - - * hildon-widgets/hildon-find-toolbar.c - (struct _HildonFindToolbarPrivate): - changed entry_combo_box type to GtkComboBoxEntry* - - (hildon_find_toolbar_get_list_model): new function, to factor - member access and casting - (hildon_find_toolbar_get_entry): likewise. - (hildon_find_toolbar_apply_filter): removed set_column parameter - since it was used by only one caller, and made the caller do it - instead. Removed unnecessary casts. - - (hildon_find_toolbar_find_string): new function. - (hildon_find_toolbar_history_append): code cleanup. use - hildon_find_toolbar_find_string. - - (hildon_find_toolbar_get_property) - (hildon_find_toolbar_get_entry) - (hildon_find_toolbar_init) - (hildon_find_toolbar_new) - (hildon_find_toolbar_new_with_model) - (hildon_find_toolbar_highlight_entry): Removed unnecessary casts - and changed some of them to use the new convenience functions - instead. - - (hildon_find_toolbar_highlight_entry): use g_return_if_fail() - instead of if-check to validate parameter. - - -2006-03-15 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup hildon-defines, - - * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init) - (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef - - (hildon_logical_data_free): new function. Free logical data. - (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed. - (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed. - - * hildon-widgets/hildon-defines.[ch] - (hildon_gtk_widget_set_logical_font): use const gchar* - (hildon_gtk_widget_set_logical_color): likewise. - - * hildon-widgets/hildon-defines.c: - (hildoniconsizes): set const - (hildoninternaliconsizes): set static, renamed 'iis' - - -2006-03-14 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup Caption widget, - - * hildon-libs/hildon-caption.[ch] - (hildon_caption_status_get_type, hildon_caption_get_type): - G_CONST_RETURN removed, G_GNUC_CONST added - - * hildon-widgets/hildon-caption.c - - (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore. - - (hildon_caption_set_property): removed useless code. - (hildon_caption_button_press): simplified greatly by removing the - unnecessary recursion to locate the first focusable child of a - container - simple gtk_widget_grab_focus achieves the same - (get_first_focusable_child): removed (not used anymore) - - (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it - - (hildon_caption_set_focus_child): removed (not used anymore) - (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child() - - (hildon_caption_hierarchy_changed): type check added - (hildon_caption_forall): callback null check added - (hildon_caption_set_status): type check added - (hildon_caption_set_icon_image): type check added - (hildon_caption_activate): activate_block kludge removed as outdated - (hildon_caption_get_child_expand): argument declared const - (hildon_caption_set_label_text): g_return_if_fail changed to - g_assert since this is not a public function; - Duplicate separator check now uses correct localized separator - instead of assuming ':' - - -2006-03-14 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup AppView, - - * hildon-libs/hildon-appview-c: - (hildon_app_view_init): Fixed a problem that prevented to set an - arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel, - between toolbars). This fix involves a change in the default gtkrc - file, ie. the modification of the 'border' value of the - "toolbar-frame-middle" image in the osso-appview-background style. - - (hildon_appview_add_with_scrollbar): pack in a scrolled window all - widget supporting adjustements, not only viewports. - - (visible_toolbar): use proper parameter names - (find_findtoolbar_index): likewise. - (find_findtoolbar): likewise. - - (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail - (hildon_appview_finalize): likewise. - (hildon_appview_signal_marshal): likewise. - (hildon_appview_forall): likewise. - (hildon_appview_switched_to): likewise. - (hildon_appview_real_fullscreen_state_change): likewise. - - -2006-03-14 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-date-editor.c - (hildon_date_editor_entry_validate): Now, if an invalid date is - entered, date-editor reverts to previous date, instead of setting - the maximum allowed days. - - -2006-03-14 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-date-editor.h - (enum HildonDateEditorErrorType): added NO_ERROR entry. - - * hildon-widgets/hildon-date-editor.c - (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR. - (hildon_date_editor_entry_validate): check error_code against NO_ERROR - - -2006-03-14 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.c: - (hildon_get_password_dialog_set_title): Removed the deprecation - #ifdefs from the .c file. - - * hildon-widgets/hildon-file-handling-note.c: likewise. - - - -2006-03-14 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-selector.c: Removed unused defines. - - * hildon-widgets/hildon-color-selector.c - (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index' - (hildon_color_selector_expose) - (hildon_color_selector_get_color) - (hildon_color_selector_set_color) - (key_pressed) - (select_color) - (modify_focused): Separate selected color and focused color. - Focused color now draws a different colored border around it. - Renamed modify_selected() to modify_focused(). - - * hildon-widgets/hildon-color-selector.c - (hildon_color_selector_expose) - (select_color): Changed the logic in how the box positions are - calculated. The old logic was wrong, but just happened to work - with those specific values. - - * hildon-widgets/hildon-color-selector.c - (hildon_color_selector_expose): Draw the selected-border using - ImageBorderColor color instead of hardcoded black. - - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new): - removed current_color; use initial_color directly. - Disabled select-hardkey from activating to OK-button by default. - - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-date-editor.c - (hildon_date_editor_keypress): removed the unnecessary check for - the position of the cursor in the text-field which was hindering - the Left key from working as expected. - - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal - after setting the toggle_button active. Prevents GLIB_CRITICALs. - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-dialoghelp.c: minor cleanups - - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-font-selection-dialog.c - (hildon_font_selection_dialog_show_preview): set line wrap for - preview label. - - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-date-editor.c - (hildon_child_forall): cast 'container' - (hildon_date_editor_size_allocate): adjusted height allocation. - - -2006-03-13 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup calendar popup, - - * hildon-widgets/hildon-calendar-popup.c: - - updated 'longdesc' comment. - - removed gtk-infoprint.h from included headers (unused). - - (struct HildonCalendarPopupPrivate): removed member - 'can_exit' (useless). - (hildon_calendar_day_selected): removed (useless). - (hildon_calendar_allow_exit): likewise. - (hildon_calendar_deny_exit): likewise. - - (hildon_calendar_selected_date): new function. replaces - hildon_calendar_allow_exit() - - (hildon_calendar_popup_init): - - Removed initialization for 'can_exit'. - - Removed connection to removed useless functions. - - Connect "selected_date" to hildon_calendar_selected_date(). - - Do not grab the focus (useless) - - (hildon_key_pressed): just handle ESC and Return keys. - - (hildon_calendar_popup_get_property): removed unused variables. - - -2006-03-13 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-caption.c - * hildon-widgets/hildon-composite-widget.h - * hildon-widgets/hildon-get-password-dialog.c - * hildon-widgets/hildon-grid.h - * hildon-widgets/hildon-grid-item.h - * hildon-widgets/hildon-volumebar-range.c - * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment - blocks. - (hildon_controlbar_get_type): likewise. - -2006-03-13 Tommi Komulainen <tommi.komulainen at nokia.com> - - * doc/hildon-libs.types: Add missing types - * doc/hildon-libs-docs.sgml: Add missing links and some organization - * doc/tmpl/*: Regenerate and add new files - -2006-03-13 Tommi Komulainen <tommi.komulainen at nokia.com> - - * doc/Makefile.am: - * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml - -2006-03-13 Tommi Komulainen <tommi.komulainen at nokia.com> - - * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags - * doc/Makefile.am: Ignore right files with IGNORE_HFILES - -2006-03-13 Tommi Komulainen <tommi.komulainen at nokia.com> - - * autogen.sh - * configure.ac - * doc/Makefile.am: Update gtk-doc framework bits - * gtk-doc.make (commit generated file) - * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1) - -2006-03-13 Johan Bilien <johan.bilien at nokia.com> - * hildon-widgets/hildon-code-dialog.c: - - Add default title - - Fix l10n - -2006-03-07 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: propagate key-press event to the - parent class (Closes N#23400) - * configure.ac: 0.12.3 - -2006-03-06 Johan Bilien <johan.bilien at nokia.com> - - * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy - of Artem Garmash - * configure.ac: 0.12.2 - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-selector.c (key_pressed): use - g_assert instead of g_return_val_if_fail - - + indent changes - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.[ch]: - (hildon_get_password_dialog_set_title) marked deprecated. - - + cleanup header coding style - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup font selection dialog - - * hildon-widgets/hildon-font-selection-dialog.c - - (hildon_font_selection_dialog_construct_notebook): removed dummy - label - - (color_modified_cb): renamed argument 'data' to 'fsd_priv' - - (hildon_font_selection_dialog_preview_key_press): Renamed argument - 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert. - - (toggle_clicked): renamed argument 'data' to 'unused' - - (hildon_font_selection_dialog_set_preview_text): added proper - argument checking - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound): - removed console messages. - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-sort-dialog.c: removed unused #include - (struct _HildonSortDialogPrivate): - - removed okButton, cancelButton - - removed sort_by_value, sort_order_type - - removed index_first - - renamed combo1 to combo_key - - renamed caption1 to caption_key - - renamed combo2 to combo_order - - renamed caption2 to cpation_order - - (hildon_sort_dialog_init): removed init of unused fields. - use new field names. - (hildon_sort_dialog_get_sort_key): likewise. - (hildon_sort_dialog_get_sort_order): likewise. - (hildon_sort_dialog_set_sort_key): likewise. - (hildon_sort_dialog_set_sort_order): likewise. - (hildon_sort_dialog_add_sort_key): likewise. - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-date-editor.c - (hildon_child_forall): use g_assert instead of g_return_if_fail - (hildon_date_editor_entry_validate): likewise. - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-controlbar.c - (hildon_controlbar_change_value): commented function. - - * hildon-widgets/hildon-wizard-dialog.c - (hildon_wizard_dialog_get_property): likewise. - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup weekday picker, - - * hildon-widgets/hildon-weekday-picker.c - (_): removed unused gettext macro - (button_toggle): use meaningful parameter name - (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail - (hildon_weekday_picker_size_allocate): likewise. - (button_toggle): likewise. - - -2006-03-03 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup time editor, - - * hildon-widgets/hildon-time-editor.c - (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file. - (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes. - (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused) - (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused) - - (struct _HildonTimeEditorPrivate): - - h_entry, m_entry, s_entry replaced by entries[], - allows to remove a lot of code. - - label renamed to hm_label - - label2 renamed to sec_label - - ampm renamed to ampm_label - - show_s renamed to show_seconds - - removed fields: icon, valid_value, validated - - + moved up in the file. - - (enum HildonValidation): removed unused field 'VALIDATION_ERROR' - - (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum) - - (set_widget_allocation): removed - (hildon_time_editor_entry_changed): removed - - (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails - - (hildon_time_editor_forall): removed unnecessary code - (hildon_time_editor_destroy): likewise. - - (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION - - (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]' - - (hildon_time_editor_set_to_current_time): new function. (factorise code) - (hildon_time_editor_init): loop on 'entries[]' (simplifies the code), - use new variable names, - use hildon_time_editor_set_to_current_time - - (hildon_time_editor_mnemonic_activate): uses 'entries[]' - (hildon_time_editor_set_ticks): use g_assert instead of - g_return_if_fails, use - 'entries[]', removed dead code - - (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names - (hildon_time_editor_validate): use 'entries[]', removed dead code - (hildon_time_editor_get_max_values): use 'entries[]' - - - (hildon_time_editor_get_show_seconds): use new variable names - (hildon_time_editor_set_duration_mode): likewise. - - (hildon_time_editor_check_locale): do not g_strdup (fix memory leak) - - (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails - removed dead code - (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails - - (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes. - - (set_widget_allocation): removed (unused) - (hildon_time_editor_entry_changed): removed (unused) - - (IS_VALID_KEYPRESS): new macro - (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails - deleate dead/unnecessary code - use 'entries[]' - use IS_VALID_KEYPRESS - - (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails - - (hildon_time_editor_validate_time): removed 'editor' parameter (unused) - - (hildon_time_editor_size_allocate): cleanup - (convert_to_12h): cleanup code style - - (hildon_time_editor_show_seconds): removed deprecation flag - (hildon_time_editor_enable_duration_mode): likewise. - - -2006-03-02 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup volume bars, - - * hildon-widgets/hildon-volumebar.h: removed unused #include - + coding style cleanup - - * hildon-widgets/hildon-volumebar.c - (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled - signal to widget. - (hildon_child_forall): use g_assert instead of g_return_if_fail - - * hildon-widgets/hildon-volumebar-range.h: removed unused #include - + coding style cleanup - - * hildon-widgets/hildon-volumebar-private.h: - added missing #include. - added _hildon_volumebar_mute_toggled. - (struct _HildonVolumebarPrivate): removed 'orientation' field (unused) - - - - * hildon-widgets/hildon-vvolumebar.h: removed unused #include - + coding style cleanup - - * hildon-widgets/hildon-vvolumebar.c - (hildon_vvolumebar_size_request) - (hildon_vvolumebar_size_allocate) - (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail - - * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused). - - * hildon-widgets/hildon-vvolumebar.c: removed unused #include - (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init - (vvolumebar_init): renamed to hildon_vvolumebar_init - (hildon_vvolumebar_init): removed unused 'orientation' - initialisation. Use _hildon_volumebar_mute_toggled instead of - removed hildon_vvolumebar_mute. - - - - * hildon-widgets/hildon-hvolumebar.h: removed unused #include - - * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init): - renamed to hildon_hvolumebar_class_init - - * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to - hildon_hvolumebar_init - - * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute): - removed (unused). - - * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): - removed unused 'orientation' initialisation. - - * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use - _hildon_volumebar_mute_toggled instead of removed - hildon_hvolumebar_mute. - - -2006-03-02 Luc Pionchon <luc.pionchon at nokia.com> - - More cleanup, - - * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS + - coding style cleanup - - * hildon-widgets/hildon-color-popup.h: likewise. - - * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new): - use const parameter - - * hildon-widgets/hildon-color-selector.c - (hildon_color_selector_new): use g_return_val_if_fail instead of - g_assert. - (select_color): use g_assert instead of g_return_if_fail - - * hildon-widgets/hildon-calendar-popup.c - (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail. - - - -2006-03-02 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am: - added HildonCodeDialog widget - - -2006-03-02 Johan Bilien <johan.bilien at nokia.com> - - * hildon-widgets/hildon-window.c: - - set the toolbar height explicitely - - use show instead of show_all on the common_toolbar - - add the toolbars bottom-up instead of top-down - * hildon-widgets/hildon-program.c: - - don't assume that a window was realized when added to - the program - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup font selection dialog, - - * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS - + coding style cleanup - - * hildon-widgets/hildon-font-selection-dialog.c - (hildon_font_selection_dialog_finalize): use g_return_if_fail - instead of g_assert. - - * hildon-widgets/hildon-font-selection-dialog.c - (hildon_font_selection_dialog_get_text_tag) - (hildon_font_selection_dialog_set_buffer) - (hildon_font_selection_dialog_get_font) - (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef. - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup range editor, - - * hildon-widgets/hildon-range-editor.c - (hildon_range_editor_calss_init):Removed - widget_calss->mnemonic_activate init - - * hildon-widgets/hildon-range-editor.c - (hildon_range_editor_mnemonic_activate): Removed static function - hildon_range_mnemonic_activate and FIXME. It is useless even - through it is overriding function for - GtkWidgetClass->mnemonic_activate. The activation and keyboard - focus will be realized based on different applications. - - * hildon-widgets/hildon-range-editor.c - (is_valid_keyvalue_for_entry_keypress): new function. - - * hildon-widgets/hildon-range-editor.c - (hildon_range_editor_entry_keypress): uses - is_valid_keyvalue_for_entry_keypress - - * hildon-widgets/hildon-range-editor.c - (hildon_range_editor_forall): use g_return_if_fail instead of - g_assert - - * hildon-widgets/hildon-range-editor.cvn - (hildon_range_editor_mnemonic_activate): removed. (unused) - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup hildon-note, - - * hildon-widgets/hildon-note.[ch] - - (hildon_note_five_line_truncate): removed. - (hildon_note_one_line_truncate): removed. - - (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines - instead of _{one|five}_line_truncate() functions. - - - (hildon_note_new_information_with_icon_theme): Deprecated. Turned - into wrapper of "hildon_note_new_information_with_icon_name". - - (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken) - (hildon_note_new_information_with_icon_stock): Deprecated (broken) - - - removed some unnessecary includes. - - - Merged hildon_note_create & hildon_note_create_form and rewrote - the combination as hildon_note_rebuild - - - Added missing g_return_* into public functions. - - - Acquire real references to children which are packed/unpacked, - so we do not need to bother about refcounting while changing the - layout. - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - More cleanup: - - * hildon-widgets/hildon-number-editor.c - - (set_widget_allocation): use const parameter. - - (hildon_number_editor_forall): use g_assert instead of g_return_if_fail - - (struct _HildonNumberEditorPrivate): removed unused member 'negative' - (hildon_number_editor_set_range): removed 'negative' - - - * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init): - use g_assert instead of g_return_if_fail - - - * hildon-widgets/hildon-time-picker.c: - - in several places, replace 1440 by 24*60 - (PROP_AMPM): removed, unused. - (hildon_time_picker_timeout): use significant parameter name, - removed dead code - (hildon_time_picker_init): removed useless call to _change_time() - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup Seekbar, - - * hildon-widgets/hildon-seekbar.c - - (_): Removed dgettext macro definition. - - (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused). - - (hildon_seekbar_finalize): removed. not needed. - (hildon_seekbar_class_init): Removed hildon_seekbar_finalize. - - (hildon_seekbar_size_request): indent cleanup. - - (hildon_seekbar_size_allocate): simplified function. - - (hildon_seekbar_button_press_event): Removed unused variables. - (hildon_seekbar_button_release_event): likewise. - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup date editor, - - * hildon-widgets/hildon-date-editor.c - - (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT - (MAX_DATE_LEN): removed. Specify buffer lenght in code. - - (hildon_date_editor_get_font_width): removed (legacy static - function), use gtk_entry_set_width_chars instead. - - (hildon_date_editor_mnemonic_activate): removed mnemonic - activation handler, since it's no more used by HildonCaption. - - - - Removed some meaningless code (if (somewidget != NULL)) from - size allocate. - - - HEAVILY modified key_press, completely removed if/grab_focus - spaghetti by gtk_widget_child_focus - - - Removed input validation from keypress (that would not work - anyway, since our input method do not generate presses). => This - allows to change default return value to FALSE and remove all cases - that just returned FALSE for some keys. - - - Merged all *_entry_changed callbacks to use the same - function. Again using gtk_widget_child_focus, but now with return - value as well to detect last field. - - - Changed that calendar button is no more implemented through - changing widget hierarchy (old implementation caused critical - issues when you used both stylus and hardkeys at the same time to - popup. => finalize method no longer contained anything => removed - - - Locale type is no longer needed after initial setup. - - - Changed idle_popup to popup_calendar_dialog. Idle was a legacy - hack from the days of background dimming (it was important to - process background updates before the dimming was done). - - - Changed the field order/delimeters to be correcly derived form - the locale. - - - Rewrote validation function, combined it with validation done in - focus_out (since both are now called at the same time). - - - Changed set_date function to set all components at one go - without doing any validation there between (before setting each - component). - - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup set-password dialog - - * hildon-widgets/hildon-set-password-dialog.[ch] - (hildon_set_password_dialog_set_domain): gchar * param is const - (hildon_set_password_dialog_new_with_default): likewise. - - * hildon-widgets/hildon-set-password-dialog.c - - (hildon_set_password_set_property): setting 'modify-protection' - now creates the UI - - (hildon_set_password_get_property): fixed broken 'domain' (missing - break statement!) and 'modify-protection' (was a null operation) - properties; code simplified. - - (hildon_set_password_dialog_constructor), - (create_contents), - (hildon_set_password_dialog_class_init), - (hildon_set_password_dialog_init): - hildon_set_password_dialog_constructor removed as weird and - obsolete and replaced with new function create_contents; fixed - leaking group variable; removed some unused, outdated code that - was already commented out. - - (hildon_set_password_response_change), - (hildon_set_password_response_set): GtkWindow *parent arguments - changed to gpointer unused; cleaned up unnecessary strcmp's - - (hildon_checkbox_toggled): fixed typo in function name (checbox -> - checkbox). gpointer renamed to be more descriptive; Code simplified - - (hildon_set_password_dialog_get_type): empty function argument - list replaced with void keyword. - - (hildon_set_password_dialog_new), - (hildon_set_password_dialow_new_with_default): simplified by - having the simpler constructor call the more complex one, not vice - versa; moved callback connects to create_contents since they - depend on the status of 'modify-protection' property - - (hildon_set_password_dialog_get_password): type check added - (hildon_set_password_dialog_get_protected): likewise - (hildon_set_password_dialog_set_domain): likewise - - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup name-password dialog: - - * hildon-widgets/hildon-name-password-dialog.[ch] - - (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry - types changed from *HildonCaption to *GtkEntry - - (hildon_name_password_dialog_set_property): layout fixes; - duplicated code replaced with calls to relevant public functions - - (hildon_name_password_dialog_get_property): layout fixes; - duplicated code replaced with calls to relevant public functions - - (hildon_name_password_dialog_init): fixed leaking group variable; - reworked to have captions as local variables and captioned entries - in the private struct - - (hildon_name_password_dialog_new_with_default): name and password - arguments declared const - - (hildon_name_password_dialog_get_name): type check added + cleanup - (hildon_name_password_dialog_get_password): likewise. - - (hildon_name_password_dialog_set_domain): domain argument declared - const; type check added + cleanup - -2006-03-01 Luc Pionchon <luc.pionchon at nokia.com> - - Cleanup get-password dialog: - - * hildon-widgets/hildon-get-password-dialog.[ch] - - (HildonGetPasswordDialogPrivate): gboolean get_old added - - (hildon_get_password_set_property): fixed broken 'numbers-only' - and 'max-characters' cases; 'get-old' property added - - (hildon_get_password_get_property): added support for reading - 'numbers-only' properties; added missing break to 'domain' case. - added 'get-old' property - - (hildon_get_password_dialog_class_init): 'domain' and - 'numbers-only' properties are now readable; 'get-old' property - added - - (hildon_get_password_dialog_init, create_contents): everything - that depends on the type of the dialog (i.e. 'get-old' property) - is now done in create_contents after properties are initialized; - fixed leaking group variable - - (hildon_get_password_dialog_get_type): empty function argument - list replaced with void keyword - - (hildon_get_password_dialog_new): moved setting the labels of the - get password dialog to init where it should be done; 'get-old' - property set upon construction to achieve this - - (hildon_get_password_dialog_new_with_default): password argument - declared const - - (hildon_get_password_dialog_get_password): type check added - (hildon_get_password_dialog_set_domain): type check added; domain - argument declared const; duplicate function declaration removed - - (hildon_get_password_dialog_set_title): type check added; - new_title argument declared const - - (hildon_get_password_dialog_set_caption): type check added; - new_caption argument declared const - - (hildon_get_password_dialog_set_max_characters): broken type check fixed - (_invalid_input): gpointer data argument renamed unused - -2006-02-28 Luc Pionchon <luc.pionchon at nokia.com> - - (*_get_type): declared G_GNUC_CONST - - * hildon-widgets/hildon-app.h: - * hildon-widgets/hildon-appview.h: - * hildon-widgets/hildon-calendar-popup.h: - * hildon-widgets/hildon-color-selector.h: - * hildon-widgets/hildon-date-editor.h: - * hildon-widgets/hildon-find-toolbar.h: - * hildon-widgets/hildon-get-password-dialog.h: - * hildon-widgets/hildon-name-password-dialog.h: - * hildon-widgets/hildon-number-editor.h: - * hildon-widgets/hildon-seekbar.h: - * hildon-widgets/hildon-set-password-dialog.h: - * hildon-widgets/hildon-sort-dialog.h: - * hildon-widgets/hildon-time-editor.h: - * hildon-widgets/hildon-weekday-picker.h: - * hildon-widgets/hildon-wizard-dialog.h: - -2006-02-28 Luc Pionchon <luc.pionchon at nokia.com> - - Volume bars cleanup - - * hildon-widgets/hildon-volumebar.c - (hildon_volumebar_class_init): object class casts cleaned up - (hildon_child_forall): removed unnecessary variable vbar; type check added - (hildon_volumebar_set_property): removed unnecessary variable vbar - (hildon_volumebar_set_level): type check added - (hildon_volumebar_get_level): type check added - (hildon_volumebar_set_mute): type check added - (hildon_volumebar_get_mute): type check added - (hildon_volumebar_get_adjustment): type check added - (hildon_volumebar_key_press): removed unnecessary g_return_if_fail - - * hildon-widgets/hildon-volumebar.h - (hildon_volumebar_get_type): declared G_GNUC_CONST - - * hildon-widgets/hildon-volumebar-private.h: - - G_BEGIN_DECLS/G_END_DECLS added - - ownorientation removed from private struct - - * hildon-widgets/hildon-volumebar-range.c - (hildon_volumebar_range_init): vacuous return statement removed - - (hildon_volumebar_range_set_level): removed unnecessary clamping - kludge that violated object oriented principles only to provide an - extremely minor, unnecessary optimization; type check added - - (hildon_volumebar_range_get_level): now accesses adjustment value - with appropriate functions instead of reading it directly from the - struct, which is bad OOP; type check added - - (hildon_volumebar_range_button_press_event): Added more descriptive comments - (hildon_volumebar_range_button_release_event): Added more descriptive comments - - * hildon-widgets/hildon-volumebar-range.h - (hildon_volumebar_range_get_type): declared G_GNUC_CONST - - * hildon-widgets/hildon-hvolumebar.c - (hvolumebar_init): priv->ownorientation and v_ptr removed; - completely removed the gtk_widget_show() call that was already - commented out - - (hildon_hvolumebar_new): empty function parameter list replaced - with void keyword - - (hildon_hvolumebar_map): vbar variable removed; type check added - (hildon_hvolumebar_expose): type check added - (hildon_hvolumebar_size_request): type check added - (hildon_hvolumebar_size_allocate): vbar variable removed; type check added - - * hildon-widgets/hildon-hvolumebar.h - (hildon_hvolumebar_get_type): declared G_GNUC_CONST - - * hildon-widgets/hildon-vvolumebar.c - (vvolumebar_init): priv->ownorientation and v_ptr removed - (hildon_vvolumebar_new): empty function parameter list replaced with void keyword - - (hildon_vvolumebar_expose): type check added - (hildon_vvolumebar_size_request): type check added - (hildon_vvolumebar_size_allocate): vbar variable removed; type check added - - * hildon-widgets/hildon-vvolumebar.h - (hildon_vvolumebar_get_type): declared G_GNUC_CONST - -2006-02-28 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-weekday-picker.c - (_HildonWeekdayPickerPrivate): Removed members: dayorder, days, - last_index; added day_order_buttons - - * (hildon_weekday_picker_mnemonic_activate): removed. - mnemonics are no longer used. - - * (hildon_weekday_picker_class_init): Removed mnemonic_activate - function. Rewritten creation of buttons. Unref'ed size group. - - * (button_toggle): Removed bit mask checking, simplified function - - * (hildon_weekday_picker_set_day): - * (hildon_weekday_picker_unset_day): Removed bit mask checking, date - adjustment, unecessary for loop - - * (hildon_weekday_picker_toggle_day): Removed date adjustment and - unecessary for loop. Simplified button toggling - - * (hildon_weekday_picker_set_all): - * (hildon_weekday_picker_unset_all): Removed bit mask checking and - simplified for loop - - (hildon_weekday_picker_isset_day): Removed date adjustment and - unecessary for loop; - -2006-02-21 Luc Pionchon <luc.pionchon at nokia.com> - - Added hildon-banner, as a clean replacement for gtk-infoprint - * hildon-widgets/hildon-banner.[ch]: implementation and header - * hildon-widgets/Makefile.am: reference new files - * hildon-widgets/gtk-infoprint.c: removed implementation, now just - a compatibility wrapper to hildon-banner - -2006-02-21 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-button.c: added comments - * hildon-widgets/hildon-controlbar.c: Likewise. - * hildon-widgets/hildon-composite-widget.c: Likewise. - * hildon-widgets/hildon-calendar-popup.c: Likewise. - -2006-02-21 Luc Pionchon <luc.pionchon at nokia.com> - - * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for - reference - -2006-02-21 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.1 - -2006-02-21 Johan Bilien <johan.bilien at nokia.com> - - * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch - * doc/tmpl/hildon-window.sgml: likewise. - * hildon-widgets/hildon-program.[ch]: likewise. - * hildon-widgets/hildon-window.[ch]: likewise. - * hildon-widgets/hildon-window-private.h: likewise. - * hildon-widgets/Makefile.am: Added these new files to the build - and distribution. - -2006-02-14 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.12.0 - - Merged hildon-lgpl into hildon-libs (and hildon-fm) - - * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl - * doc/tmpl/hildon-appview.sgml: likewise. - * doc/tmpl/hildon-color-popup.sgml: likewise. - * doc/tmpl/hildon-find-toolbar.sgml: likewise. - * doc/tmpl/hildon-app.sgml: likewise. - * doc/tmpl/hildon-input-mode-hint.sgml: likewise. - * doc/tmpl/hildon-caption.sgml: likewise. - * doc/tmpl/hildon-marshalers.sgml: likewise. - * doc/tmpl/hildon-add-home-dialog.sgml: likewise. - * doc/tmpl/hildon-defines.sgml: likewise. - * doc/tmpl/gtk-infoprint.sgml: likewise. - * doc/tmpl/hildon-composite-widget.sgml: likewise. - - * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl - * hildon-widgets/hildon-app.[ch]:likewise. - * hildon-widgets/hildon-app-private.h:likewise. - * hildon-widgets/hildon-appview.[ch]:likewise. - * hildon-widgets/hildon-caption.[ch]:likewise. - * hildon-widgets/hildon-defines.[ch]:likewise. - * hildon-widgets/hildon-find-toolbar.[ch]:likewise. - * hildon-widgets/hildon-input-mode-hint.h:likewise. - - * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES): - removed hildon-file-details-dialog.[ch] (moved to hildon-fm) - added, - gtk-infoprint.[ch] - hildon-app.[ch] - hildon-app-private.h - hildon-appview.[ch] - hildon-caption.[ch] - hildon-defines.[ch] - hildon-find-toolbar.[ch] - hildon-input-mode-hint.h - - * hildon-widgets/hildon-get-password-dialog.c: corrected #include - path for gtk-infoprint.h and hildon-input-mode-hint.h - - * po/en_GB.po: merged msgstr from hildon-lgpl - - * timer/*: added from hildon-lgpl - - - - Moved hildon-file-details-dialog from hildon-libs to hildon-fm - - * hildon-widgets/hildon-file-details-dialog.[ch]: moved to - hildon-fm - - * ut/hildon-widgets_tests.c (test41a): removed test case for - hildon_file_details_dialog - - * doc/hildon-libs.types: likewise. - * doc/hildon-libs-docs.xml: likewise. - - - - Update build files - - * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore - nor hildon-fm - - * Makefile.am (SUBDIRS): added timer/ - - * configure.ac: do not depend anymore on hildon-lgpl nor - hildon-fm, check for libmb, added Makefile output for timer/ - -2006-01-18 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.10.2 - -2006-01-18 Luc Pionchon <luc.pionchon at nokia.com> - - N#22240 CP: Tapping outside the scroll bar invoke the applet. - * hildon-widgets/hildon-grid.c (adjust_scrollbar_height): - hildon-apps scroll-control property is now handled. - (get_child_index_by_coord): ignores events not matching a grid - item. - -2006-01-11 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.10.1 - -2006-01-11 Luc Pionchon <luc.pionchon at nokia.com> - - Missing/Buggy documentation from, - N#11566 make password dialog customizable (messages) - * hildon-widgets/hildon-get-password-dialog.c - (hildon_get_password_dialog_set_title): typo in gtkdoc function - name - * doc/tmpl/xxx.sgml: updated. - -2006-01-11 Luc Pionchon <luc.pionchon at nokia.com> - - N#19369 TRUE Scketch does not show colour change when using white color - - Color button needs inner border white, and outer border black. - * hildon-widgets/hildon-color-button.c - (hildon_color_button_draw_pixbuf_borders): new function. Paint the - border - * hildon-widgets/hildon-color-button.c (hildon_color_button_init): - (hildon_color_button_realize): call the above function - -2006-01-11 Luc Pionchon <luc.pionchon at nokia.com> - - N#21063 hildon_note_new_confirmation_add_buttons has misleading docs - * hildon-widgets/hildon-note.c: - (hildon_note_new_confirmation_add_buttons): updated doc - (hildon_note_set_button_texts): likewise. - -2006-01-11 Luc Pionchon <luc.pionchon at nokia.com> - - N#21884 Cannot select read-only by using the center of the scroll key - * hildon-widgets/hildon-file-details-dialog.c - (hildon_file_details_dialog_init): Removed dialog default response. - -2006-01-11 Luc Pionchon <luc.pionchon at nokia.com> - - N#8094 5-bit color selector: wrong margins and pixel measurements - M#59 HildonColorSelector needs more space - * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING) - (hildon_color_popup_new): add space between the control bars and - the color preview area. - -2006-01-03 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-calendar-popup.c - * hildon-widgets/hildon-color-button.c - * hildon-widgets/hildon-color-popup.c - * hildon-widgets/hildon-color-selector.c - * hildon-widgets/hildon-composite-widget.c - * hildon-widgets/hildon-controlbar.c - * hildon-widgets/hildon-date-editor.c - * hildon-widgets/hildon-dialoghelp.c - * hildon-widgets/hildon-file-details-dialog.c - * hildon-widgets/hildon-font-selection-dialog.c - * hildon-widgets/hildon-get-password-dialog.c - * hildon-widgets/hildon-grid-item.c - * hildon-widgets/hildon-grid.c - * hildon-widgets/hildon-hvolumebar.c - * hildon-widgets/hildon-name-password-dialog.c - * hildon-widgets/hildon-note.c - * hildon-widgets/hildon-number-editor.c - * hildon-widgets/hildon-range-editor.c - * hildon-widgets/hildon-scroll-area.c - * hildon-widgets/hildon-seekbar.c - * hildon-widgets/hildon-set-password-dialog.c - * hildon-widgets/hildon-sort-dialog.c - * hildon-widgets/hildon-time-editor.c - * hildon-widgets/hildon-time-picker.c - * hildon-widgets/hildon-volumebar-private.h - * hildon-widgets/hildon-volumebar-range.c - * hildon-widgets/hildon-volumebar.c - * hildon-widgets/hildon-vvolumebar.c - * hildon-widgets/hildon-weekday-picker.c - * hildon-widgets/hildon-wizard-dialog.c - commented code - -2005-12-28 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.10.0 - -2005-12-12 Luc Pionchon <luc.pionchon at nokia.com> - - Some more properties for Gazpacho support, - - * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year" - * hildon-widgets/hildon-color-selector.c: "color" - - - * hildon-widgets/hildon-color-selector.[ch] - (hildon_color_selector_get_color): return const pointer to the - color (not a copy). - -2005-11-18 Luc Pionchon <luc.pionchon at nokia.com> - - Gazpacho support, added the following properties: - - * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype" - * hildon-widgets/hildon-seekbar.c: "position", "fraction" - * hildon-widgets/hildon-grid-item.c: "emblem-type" - * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order" - * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos" - * hildon-widgets/hildon-font-selection-dialog.c: "preview-text" - * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters" - * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget) - * hildon-widgets/hildon-number-editor.c: "value" - - * hildon-widgets/hildon-color-button.c: minor cleanup - -2005-11-18 Luc Pionchon <luc.pionchon at nokia.com> - - Started new development - (branche for maintenance continues with versions 0.9.x) - -2005-11-03 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.9.53 - -2005-10-31 Luc Pionchon <luc.pionchon at nokia.com> - - same fix for, - N#19283 Control panel - The values entered are not saved. - N#19648 Hildon Date Editor widget detects values too high - (note: complete fix include also fixes in GTk+) - - * hildon-widgets/hildon-calendar-popup.c - (hildon_calendar_popup_set_property), - (hildon_calendar_popup_class_init), - (init_dmy): Added 'min-year', 'max-year' properties for passing - the information through from HildonDateEditor to GtkCalendar - - * hildon-widgets/hildon-date-editor.c: - (hildon_date_editor_class_init), - (hildon_date_editor_init), - (hildon_date_editor_set_property), - (hildon_date_editor_get_property), - (idle_popup), - (hildon_date_editor_entry_validate), - (hildon_date_editor_date_error): Added 'min-year', 'max-year' - properties and replaced hardcoded constants with them - - * hildon-widgets/hildon-date-editor.c - (hildon_date_editor_d_entry_changed), - (hildon_date_editor_m_entry_changed), - (hildon_date_editor_d_entry_changed): new functions to ensure that - the fields are validated and the focus is moved when maximum - number of characters has been entered. - -2005-10-13 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.9.52 - -2005-10-12 Luc Pionchon <luc.pionchon at nokia.com> - - N#19140 System alerts still audible despite being turned off - - * hildon-widgets/hildon-note.c (sound_handling): - - * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound. - - * hildon-note.c (sound_handling): Changed to use new - hildon_play_system_sound. - (hildon_note_init): Signal handler id is changed to be in private - structure, not in global variable. - - * hildon-note.c: Removed unused defines etc. - - * Makefile.am: Appended new files to build rules. - -2005-10-05 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: 0.9.51 - -2005-10-05 Luc Pionchon <luc.pionchon at nokia.com> - - N#20027 PDF Reader crashes on selecting read only option in the - details dialog box. - - * hildon-widgets/hildon-file-details-dialog.c: - (change_state): Fixed assertion that was causing problems - (check_validity): New function: We now automatically close the - dialog if the displayed file is removed. - (handle_focus): Callback removed: - (init): Now using correct gtk way to bind container and adjustment - together. Not the previous callback. - (set_property): Connecting/disconnecting new handlers (for - change_state). - (finalize): disconnecting new handler. - -2005-10-05 Luc Pionchon <luc.pionchon at nokia.com> - - N#17918 Volumebar widget background image doesn't change when - widget goes into mute state, - - * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget - for drawing - - * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background - using the state of the internal volumebar, not the whole container - - * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background - using the state of the internal volumebar, not the whole container - -2005-09-19 Tapani Palli <tapani.palli at nokia.com> - - * hildon-widgets/hildon-dialoghelp.[ch]: added - gtk_dialog_help_disable and fixed bug N#19468 - -2005-09-14 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: Release 0.9.50 - -2005-09-13 Luc Pionchon <luc.pionchon at nokia.com> - - Part of N#11129, - - * po/en_GB.po: Added "Ckct_wi_grid_no_items" - - * hildon-widgets/hildon-grid.c - (hildon_grid_class_init, hildon_grid_init): Replaced default empty - label by logical name "Ckct_wi_grid_no_items" - -2005-08-31 Luc Pionchon <luc.pionchon at nokia.com> - - * po/en_GB.po (ecdg_ti_verify_password): translation update. - -2005-08-30 Tommi Komulainen <tommi.komulainen at nokia.com> - - * configure.ac: Release 0.9.49 - -2005-08-30 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-number-editor.c (add_select_all_idle, - hildon_number_editor_finalize, hildon_number_editor_entry_changed): - Save the id of the idle callback and remove it when the widget is - destroyed to avoid crashing. N#18096 - -2005-08-30 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-number-editor.c (button_event_id): GSource - id's are unsigned and undefined at zero (instead of signed and -1) - -2005-08-30 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack - that was not working. N#16805 - -2005-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> - - * configure.ac: Release 0.9.48 - -2005-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never - allow area_rows to be 0 (ie. before widget is visible), otherwise the - initial jump_scrollbar_to_focused() scrolls wrong. N#17152 - -2005-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init): - Do not override the week-start property of GtkCalendar according to - the hildon-libs PO file, it is automatically determined from locale - data. N#12176 - -2005-08-17 Tommi Komulainen <tommi.komulainen at nokia.com> - - * configure.ac: Release 0.9.47 - -2005-08-17 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only" - property for setting the password entry accept only numeric values. - N#15212 - -2005-08-17 Tommi Komulainen <tommi.komulainen at nokia.com> - - * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR): - * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING): - * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD): - Use defines rather than magic numbers in the code. - -2005-08-17 Tommi Komulainen <tommi.komulainen at nokia.com> - - Update to new l10n packaging style. po-files (inside this package) - are not used for now, the message catalogs come from separate packages - and including them here would conflict. - - * Makefile.am (SUBDIRS): stop including po-files - * Makefile.am (EXTRA_DIST): - * debian/hildon-libs-l10n-engb.install: - * debian/hildon-libs-l10n-src.install: - * po/debian/*: Removed - -2005-08-09 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-file-details-dialog.c: Added read only - checks to cover gateway content as well. - - * hildon-widgets/hildon-time-editor.c: - (hildon_time_editor_validate): Replace solid numbers with defined - values - (convert_to_12h): Remove "work-around" for the broken 12h timespec - - -2005-08-05 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-color-selector.c (modify_selected): fix - invalid cast from `GdkWindow' to `GtkWindow' - - * hildon-widgets/hildon-color-popup.c - (hildon_popup_palette_expose): removed debug printing - -2005-08-03 Luc Pionchon <luc.pionchon at nokia.com> - - * doc/tmpl/hildon-note.sgml: code example, use slightly less funny - string examples. - - * hildon-widgets/hildon-scroll-area.c - (hildon_scroll_area_destroy): one-instruction function: - removed. Call g_free directly. - + minor cleanup - (hildon_scroll_area_size_allocate):When a scrollbar appears to the - right edge of window, size of the child is also shrinked. 'fixed' - does not automatically update this data -> Doing it manually. - - * hildon-widgets/hildon-date-editor.h: added - HildonDateEditorErrorType error enumeration type, removed signal - "validate-date" virtual function, added signal "date-error" - virtual function. - - * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error): - added custom info prints. - (hildon_date_editor_validate_date): removed - (hildon_date_editor_entry_validate): validate maximum and minimum - limits on each field. - (hildon_date_editor_entry_focus_out): check the date validation - in simpler manner, don't put content if field is empty (spec - doesn't say if there should be anything placed in the entry if - it is empty). - (hildon_date_editor_get_date), - (hildon_date_editor_get_month), - (hildon_date_editor_get_year), - (hildon_date_editor_get_day): use direct entry content, so that 0 - indicates empty entry, and information is more accurate. - -2005-08-01 Luc Pionchon <luc.pionchon at nokia.com> - - * configure.ac: Adjusted CFLAGS and removed -Werror due to the - glib-2.0 flaw. See - http://bugzilla.gnome.org/show_bug.cgi?id=310175 and - http://bugzilla.gnome.org/show_bug.cgi?id=310216 - -2005-07-29 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-controlbar.h: added missing signal when end reached - -2005-07-26 Luc Pionchon <luc.pionchon at nokia.com> - - * hildon-widgets/hildon-number-editor.c: - (hildon_number_editor_select_all): new function, selects all - the text in the entry. - * hildon-widgets/hildon-number-editor.c: added several calls to - hildon_number_editor_select_all with g_idle_add. - - * hildon-controlbar.c : add signal when end reached - - * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned. - - * hildon-time-picker.c : displays valid date at 12:00 am/pm. - -2005-07-25 Luc Pionchon <luc.pionchon at nokia.com> - - Fixed incorrect values in <Filetype> Details Dialog - - Fixed help button usage in dialogs - - * hildon-dialoghelp.c: Added more documentation about the - help signal - - * hildon-file-details-dialog.c: Updated to match - 'File Management in OSSO' version 3.0 - - * Fixed application hang after calling gtk_main_quit - - * hildon-date-editor.c: Fixed HildonDateEditor that caught - ESC presses needlessly - - * hildon-time-editor.c: Fixed memory corruption Copied: projects/haf/tags/hildon-libs/0.14.10-1/ChangeLog (from rev 8278, projects/haf/trunk/hildon-libs/ChangeLog) Deleted: projects/haf/tags/hildon-libs/0.14.10-1/configure.ac =================================================================== --- projects/haf/trunk/hildon-libs/configure.ac 2006-11-21 09:18:16 UTC (rev 8198) +++ projects/haf/tags/hildon-libs/0.14.10-1/configure.ac 2006-11-23 12:47:15 UTC (rev 8279) @@ -1,101 +0,0 @@ -AC_INIT(Makefile.am) -AM_INIT_AUTOMAKE(hildon-libs, 0.14.8) -AM_CONFIG_HEADER(config.h) - -AC_CANONICAL_HOST - -AC_PROG_CC -AC_PROG_CPP -AC_PROG_INSTALL -AC_PROG_AWK -AC_PROG_LIBTOOL - -AC_HEADER_STDC - - -#PKG_CHECK_MODULES(OUTO, outo >= 0.1.1) -#AC_SUBST(OUTO_CFLAGS) - -CFLAGS="$CFLAGS -std=c99 -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations" -# -Werror disabled due to the flaw in glib-2.0 -# See http://bugzilla.gnome.org/show_bug.cgi?id=310175 and -# http://bugzilla.gnome.org/show_bug.cgi?id=310216 - -GTK_VERSION=2.6.10 - -PKG_CHECK_MODULES(GTK, gtk+-2.0) -AC_SUBST(GTK_LIBS) -AC_SUBST(GTK_CFLAGS) -AC_SUBST(GTK_VERSION) - -# ESD is needed for the hildon-note sounds. - -PKG_CHECK_MODULES(ESD, esound) -AC_SUBST(ESD_LIBS) -AC_SUBST(ESD_CFLAGS) - -PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.6) -AC_SUBST(GCONF_CFLAGS) -AC_SUBST(GCONF_LIBS) - -PKG_CHECK_MODULES(LIBMB, libmb >= 1.3) -AC_SUBST(LIBMB_CFLAGS) -AC_SUBST(LIBMB_LIBS) - -ALL_LINGUAS="en_GB" -AC_SUBST(ALL_LINGUAS) -AM_GLIB_GNU_GETTEXT - -################################################## -# Check for gtk-doc. -################################################## -#ifdef(GTK_DOC_CHECK, GTK_DOC_CHECK([1.0])) -GTK_DOC_CHECK([1.0]) - -AC_CHECK_PROG(DOXYGEN_FOUND, doxygen, yes, no) -AM_CONDITIONAL(HAVE_DOXYGEN, [test "$DOXYGEN_FOUND" = "yes"]) - -localedir=${datadir}/locale -#outomoduledir=${libdir}/outo - -AC_SUBST(localedir) - -#AC_SUBST(outomoduledir) - - -# Disable rebuild of glib-mkenum -generated source code: -AC_ARG_ENABLE(rebuilds, [ --disable-rebuilds disable all source autogeneration rules],,enable_rebuilds=yes) - -# define a MAINT-like variable REBUILD which is set if Perl -# is found, so autogenerated sources can be rebuilt -AC_CHECK_PROGS(PERL, perl5 perl) - -REBUILD=\# -if test "x$enable_rebuilds" = "xyes" && \ - test -n "$PERL" && \ - $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then - REBUILD= -fi -AC_SUBST(REBUILD) - - -AC_OUTPUT(Makefile \ - hildon-widgets/Makefile \ - hildon-widgets-plugins/Makefile \ - timer/Makefile \ - po/Makefile \ - po/porules.mk \ - doc/Makefile \ - hildon-libs.pc) - - -echo " -###################################### -Configuration: - -- Version............: ${VERSION} -- Compiler...........: ${CC} -- gtk-doc support....: ${enable_gtk_doc} - -###################################### -" Copied: projects/haf/tags/hildon-libs/0.14.10-1/configure.ac (from rev 8278, projects/haf/trunk/hildon-libs/configure.ac) Deleted: projects/haf/tags/hildon-libs/0.14.10-1/debian/changelog =================================================================== --- projects/haf/trunk/hildon-libs/debian/changelog 2006-11-21 09:18:16 UTC (rev 8198) +++ projects/haf/tags/hildon-libs/0.14.10-1/debian/changelog 2006-11-23 12:47:15 UTC (rev 8279) @@ -1,586 +0,0 @@ -hildon-libs (0.14.8-1) unstable; urgency=low - - * Fixes: NB#39585 - Hildon_set_password dialog has auto-capitalization active - * Fixes: NB#41501 - Last line of text in preview dialog is not shown properly when bold and maximum font is selected - * Fixes: NB#20219 - Scrolling not smooth with HildonScrollArea - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Wed, 01 Nov 2006 10:58:00 +0300 - -hildon-libs (0.14.7-1) unstable; urgency=low - - * Fixes: #NB38598 - Information banners do not resize. - * Fixes: #NB41049 - Info banner is not displaying when characters entered in number fields. - * Fixes: #NB34193 - Tapping on the close button of the findtoolbar does not close the VKB. - * Fixes: #NB43926 - Info banner is not displaying when characters entered in time editor - * Fixes: #NB44610 - Applications crash with an internal error note if a value greater than maximum value is entered in the hour field of the Time editor. - * Fixes: #MB185 - Several signals wrongly registered, some enums not prepared for introspection - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Tue, 24 Oct 2006 20:00:00 +0300 - -hildon-libs (0.14.6-1) unstable; urgency=low - - * Fixes: #NB42504 - Date input fields can be left empty in startup wizard - * Fixes: #NB42555 - Behaviour noted when opening and closing date editor - * Fixes: #NB41501 - Last line of text in preview dialog is not shown properly when bold and maximum font is selected - * Fixes: #NB42007 - Borders missing from the 'Color slider' and 'Color selection area' - * Fixes: #NB41498 - On tapping on the pre-defined colors the dimmed color palette changes to different shades. - * Fixes: #NB39798 - Showing black line in color icon if cancel Font dialog box. - * Fixes: #NB37467 - Hildon name password dialog with autocapitalization. - * Fixes: #NB39586 - Restore dialog "Password needed" is truncated in German. - * Fixes: #NB43565 - Color selector crashes when defining a color on the selector area - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Fri, 18 Oct 2006 18:54:00 +0300 - -hildon-libs (0.14.5-1) unstable; urgency=low - - * Fixes: MB#625 - HildonNumberEditor doesn't notify::changed properly - * Fixes: MB#432 - HildonWizardDialog requires gtk_widget_show_all to work - * Fixes: NB#41291 - Font settings; Extra space in font size (e.g. "12__pt") - * Fixes: NB#39909 - Focus movement at Color selector dialog is not happening with HW key. - * Fixes: NB#40532 - hildon-libs package provides old style debug symbol package - * Fixes: NB#39585 - Hildon_set_password dialog has auto-capitalization active - * Fixes: NB#40059 - Assigning Invalid date in start-up wizard throwing Glib critical errors. - * Fixes: NB#41234 - HildonWizardDialog doesn't not cancel when Escape is pressed - * Fixes: NB#40228 - Hildon libraries-0.14.0: License Issues - - * Adding an "autotitle" property to HildonWizardDialog that controls the way - wizard handles it's title. Can be set to FALSE if the applciation developer - wants to override the default/existing behaviour. - - * Adding an "icon-position" property to HildonCaption. Can be set to - HILDON_CAPTION_POSITION_LEFT or HILDON_CAPTION_POSITION_RIGHT. Controls the - position of the icon vs. label -- on the left or on the right side. Defaults - to right, to not change existing behaviour. - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Fri, 06 Oct 2006 16:00:00 +0300 - -hildon-libs (0.14.4-1) unstable; urgency=low - - * fixes NB#39946 - Focus is not coming always when tap on date - * fixes NB#40633 - Incorrect hour value is shown upon relaunching the date and time applet - * fixes NB#40329 - converting HTML editor to plain editor still retains the color format icon in the toolbar without dimming - * fixes NB#40665 - Time editor focus behaviour - * fixes NB#31086 - Tapping outside selects date and time in dialog box - * fixes NB#40649 - Empty label on the left side of 'Remember password' checkbox on 'Authentication' dialog - * fixes NB#39048 - Value must be between %d and %d info banner is displayed, but old value is not restored - * fixes NB#40770 - Hard keys and focus in date editor - * fixes NB#37467 - Hildon name password dialog with autocapitalization - * fixes MB#767 - HildonGetPasswordDialog 'password' property - * fixes NB#40061 - Custom added colors are shown in different boxes when launced from different applications - * fixes NB#30734 - "Page number must be between %1 and %d info is not coming for boundary value - * fixes NB#40928 - Unable to move the cursor within the fields of the date editor using hardkeys - * fixes MB#772 - HildonNamePasswordDialog's name property conflict with GtkWidget's name property - * fixes NB#40999 - Unnecessary string in Font preview dialog - * fixes MB#40057 - The left and top borders are missing for the colour selector palette - * fixes NB#40936 - Pressing return in an entry focuses next widget - * fixes NB#6214 - Signal "insensitive_press" doesn't work for all widgets - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Fri, 22 Sep 2006 18:00:00 +0300 - -hildon-libs (0.14.3-1) unstable; urgency=low - - * fixes NB#40055 - Modified time in time editor is not updated in the time picker. - * fixes NB#25602 - Accessibility unable to toggle am/pm in hildon time editor. - * fixes NB#24411 - Icon in Hildon date editor is not exposed to accessibility framework. - * fixes NB#40566 - HildonWindow's hildon_window_set_menu calls gtk_widget_show_all to itself. - * fixes NB#35945 - Cannot move the focus to am/pm in the time field in 'Set Alarm' dialog using right HW button. - * fixes NB#37659 - Submenus in ongoing chat need two clicks to open. - * fixes NB#36440 - Unnecessary focus when toggling between AM and PM. - * fixes NB#39565 - Focus is not going to time field. - * fixes NB#40041 - Button's ("AC" and "C") color is not as per spec. - * fixes NB#36938 - UP/Down arrow keys do not move the focus to the previous/next widget in date and time editors. - * fixes NB#39612 - Unable to modify single digit in Date field directly. - * fixes MB#624 - HildonNumberEditor fails to display images if gtk_widget_set_name() is used. - - * Fixing the copyright headers to match the requirements. - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Fri, 15 Sep 2006 14:00:00 +0300 - -hildon-libs (0.14.2-1) unstable; urgency=low - - * fixes NB#39778 - Showing black line in color icon if cancel color dialog box. - * fixes NB#39764 - Application crashed after some sequnce of operation. - * fixes NB#39765 - Application crashed after some sequence of operation. - * fixes NB#39757 - User can able to open clock Menu over setting dialog. - * fixes NB#39714 - Hildon header doesn't include needed file (gdkkeysyms.h) - * fixes NB#39181 - Inet status bar should show an "informational menu element" - * fixes NB#34193 - Tapping on the close button of the findtoolbar does not close the VKB. - * fixes NB#33829 - WLAN IAP settings - Security method is not shown as 'Choice list' in UI - * fixes NB#39202 - Application tool bar does not appear in new browser window - * fixes NB#40054 - No infobanner is shown when "00" is entered in the hour or minutes field of the time editor. - * fixes NB#21151 - Hildon Date Editor repairs out of range number to an illegal date. - * fixes NB#35834 - Focus in date and time field and fieldlets. - * fixes NB#33820 - Mnemonics and accelarators are not hidden when the H/W KB is detached. - - * Changing the top-level notification mechanism in hildon-window to work with new - matchbox. Doesn't brake prev matchbox compatibility. - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Mon, 11 Sep 2006 15:00:00 +0300 - -hildon-libs (0.14.1-2) unstable; urgency=low - - * Removing the new menu key mapping once again - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Thu, 7 Sep 2006 15:00:00 +0300 - -hildon-libs (0.14.1-1) unstable; urgency=low - - * fixes NB#33451 - Drop down arrow missing in all drop down boxes - * fixes NB#30530 - List of fonts in Font selection -dialog doesn't follow the spec - * fixes NB#22965 - Trivial improvements to some static hildonwidgets arrays - * fixes NB#31168 - Icon not appearing at the start of text in a infoprint with long text. - * fixes NB#34122 - Find toolbar widget does not work with HW keyboards - * fixes NB#19001 - Notes font format preview dialog text size doesn't correlate to the Notes text size - * fixes NB#33775 - Vertical Scroll Bar is not in proper position - * fixes NB#22825 - Hildon Note: The api hildon_note_new_confirmation_with_icon_stock() does not display the stock icon - * fixes NB#32544 - Sort dialog : incorrect sort order for date - * fixes NB#36843 - Can get selection around labels for location, device, and read only in details dialog - * fixes NB#39679 - HildonProgram/Window gets BadWindow errors - - * Bringing back the new key mapping by Johan (removed in 0.14.0). That - breaks IT 2006 compatibility - * Removing the outo-based unit tests from the build system - * Adding new property (font-scaling) to font selection dialog - * Adding new function to sort dialog to add sort keys with reverse default order - (ie. date) - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Wed, 6 Sep 2006 16:00:00 +0300 - -hildon-libs (0.14.0-1) unstable; urgency=low - - * fixes NB#38996 - HildonApp/HildonWindow: _escape_timeout() ref.count issue - * fixes NB#37010 - Time pickers in Set alarm and Date and time dialogs - * fixes NB#34225 - hildon-libs0: unneeded library dependency - * fixes NB#32845 - hildon_window_set_menu is buggy - * fixes NB#38559 - Progress banner does not fit enough text - * fixes NB#33217 - No borders for the custom defined color boxes in hildon color selector - * fixes NB#37172 - Colour selector for background color shows logical string - * fixes NB#37467 - Hildon name password dialog with autocapitalization - * fixes NB#34613 - 'Cancel' and 'Finish' in wrong order in Wizard widget - * fixes NB#26114 - hildon_gtk_widget_set_logical_* leak signals - * fixes NB#38565 - Text weirdly centered in the information banner - * fixes NB#16830 - In feed details dialog horizontal alignment is incorrect - * fixes NB#38487 - Focus not set properly when invalid data is entered in a time editor - * fixes NB#36938 - UP/Down arrow keys do not move the focus to the previous/next widget in date and time editors - * fixes NB#34642 - Placeholder appears in place of spaces in file save dialog for file names - * fixes NB#32772 - Labels are partially hidden in Hildon Grid view in large Icons mode - * fixes NB#38598 - Information banners do not resize - - * Merging the new color selector branch (0.13.1) with the main trunk code. - * Maintainer change: Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - * Correcting the license headers - * Removing the redundant files - * Allowing menus to be removed from windows by passing NULL to set_menu - function (documented). - * Removing the Johan's new key handling (introduced in 0.13.1.3) for the - time being. That requires a fix at a different level. - * Changing the order of the buttons in the wizard dialog - * Disconnect the previous notification signal before connecting the new one - (hildon_gtk_widget_set_logical_*) - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Wed, 30 Aug 2006 14:30:00 +0300 - -hildon-libs (0.13.1.6-1) unstable; urgency=low - - * fixes NB#33260 - wrong value set in the enter page number option of page dialog - * fixes NB#37489 - "4" needs little more space - * fixes NB#37257 - color slider and selection area not dimmed when tapping on a predefined color - * fixes NB#30972 - 'set background image' when selected using hard-keys opens the color selector. - * fixes NB#37076 - logical string appears for color selection dialog title - * fixing the symlinks to default plugin targets - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Wed, 30 Aug 2006 09:30:00 +0300 - -hildon-libs (0.13.1.5-1) unstable; urgency=low - - * fixing some package build isssues - * some code cleanups - * integrating the new color selector code - - -- Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> Wed, 25 Aug 2006 19:00:00 +0300 - -hildon-libs (0.13.1.4-1) unstable; urgency=low - - * fixes NB#35076 - hildonapp should not handle the home key - - -- Johan Bilien <johan.bilien at nokia.com> Wed, 16 Aug 2006 15:30:28 +0300 - -hildon-libs (0.13.1.3-1) unstable; urgency=low - - * hildon-widgets/hildon-{app.h,defines.h} - switched HILDON_MENU_KEY to now match GDK_F10 - - -- Johan Bilien <johan.bilien at nokia.com> Thu, 10 Aug 2006 15:35:52 +0300 - -hildon-libs (0.13.1.2-1) unstable; urgency=low - - * reworked the color selector - * fixes bugs related to visual aspect (color boxes with no frame, etc.) - - -- Kuisma Salonen <kuisma.salonen at nokia.com> Mon, 24 Jul 2006 16:28:09 +0300 - -hildon-libs (0.13.1.1-1) unstable; urgency=low - - * INTERNAL RELEASE with experimental plugged-in color selector - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 12 Jun 2006 23:45:04 +0300 - -hildon-libs (0.13.1-1) unstable; urgency=low - - * debian/hildon-libs-dev.install: removed "usr/lib/*.a"hildon-libs (0.12.22-1) unstable; urgency=low - - * fixes NB#36309 - HildonCodeDialog uses untranslated string - - -- Luc Pionchon <luc.pionchon at nokia.com> Tue, 1 Aug 2006 14:06:45 +0300 - -hildon-libs (0.12.21-1) unstable; urgency=low - - * reverted MB#624 - Rename HildonNumberEditor buttons so they can be themed - * fixes NB#34340 - HildonWindow leaks - - -- Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> Tue, 25 Jul 2006 16:44:04 +0300 - -hildon-libs (0.12.20-2) unstable; urgency=low - - * fixes MB#624 - Rename HildonNumberEditor buttons so they can be themed - correctly. - - -- Fernando Herrera <fernando.herrera-de-las-heras at nokia.com> Tue, 18 Jul 2006 17:21:04 +0300 - -hildon-libs (0.12.20-1) unstable; urgency=low - - * fixes NB#32302 - Color button should not pretend handling all the hardware key event - * fixes NB#31256 - banner too large when wrap is forced - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 12 Jun 2006 23:15:34 +0300 - -hildon-libs (0.12.19-1) unstable; urgency=low - - * fixes NB#26383 (bis) - Menu key opens application menu while combo box menu is popped up - * fixes NB#28836 - Need to tap twice to invoke application menu for the first time. - * fixes NB#29888 - Creating instanse of hildon grid widget generates warning - * fixes NB#30937 - Unable to key in again on clearing the hour/minutes field the second time - * fixes NB#30955 - Application crashes when trying to put a wrong minimun time duration - * fixes NB#31099 - Progress banner does not fit enough text -- (workaround) - * fixes NB#31604 - "Background colour"-caption opens opens the Colour selector with Select hardkey up event - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 5 Jun 2006 23:27:53 +0300 - -hildon-libs (0.12.18-1) unstable; urgency=low - - * fixes NB#26383 - Menu key opens application menu while combo box menu is popped up - * fixes NB#24339 - GtkInfoprint: Information banners do not resize - * fixes NB#22155 - Blank info note is shown when time valuesare given negative... - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 29 May 2006 02:23:11 +0300 - -hildon-libs (0.12.17-1) unstable; urgency=low - - * fixes NB#28370 (markup was not processed...) - Text not emphasized in Confirmation note - - -- Luc Pionchon <luc.pionchon at nokia.com> Tue, 23 May 2006 19:10:46 +0300 - -hildon-libs (0.12.16-1) unstable; urgency=low - - * debian/control: removed dependency on gnome-vfs (NB#8015) - - * fixes NB#8015 - Hildonwidgets links hildonfm which takes unnecessary memory - * fixes NB#26366 - Enabling/Disabling the search operation is SLOW - * fixes NB#26546 - Convenience API gtk_banner_close closes infoprints as well. - * fixes NB#28370 - Text not emphasized in Confirmation note - * fixes NB#28679 - On opening "Date and time" dialog for the second time,Clock application closes. - * fixes NB#28925 - Un-filled space at Web's lower edge - * fixes NB#29461 - Chat toolbar skin problem with smiley popup - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 22 May 2006 21:03:36 +0300 - -hildon-libs (0.12.15-1) unstable; urgency=low - - * fixes NB#28027 - HildonTImeEditor: "Maximum value is %d" infoprint not displayed. - * fixes NB#28483 - Caption control missing margins - * fixes NB#28679 - On opening "Date and time" dialog for the second time,Clock application closes. - * fixes NB#28654 - HildonTimePicker: Logical strings displayed for the seperator and close button - * fixes NB#28807 - AB fails if we clicking on any buttons in search toolbar - - * update hildon-widgets/hildon-window.[ch] to support clipborad operations from hildon-input-method - - * debian/control: removed build dependency with 'outo' - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 15 May 2006 15:49:42 +0300 - -hildon-libs (0.12.14-1) unstable; urgency=low - - * update gtk-doc config - * reworked fix for N#27000 - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 8 May 2006 14:13:53 +0300 - -hildon-libs (0.12.13-1) unstable; urgency=low - - * fixes N#27702 - strings moved to another textual domain - * fixes N#27749 - strings moved to another textual domain - * fixes N#27963 - The am/pm indicator differs in the HildonTimeEditor and HildonTimePicker in en_US locale. - * fixes N#25501 - HildonCaption spams GLIB CRITICALS when its ancestor is destroyed - * fixes N#28176 - Memory leak in HildonWindow - * fixes N#27000 - truncated string in infobanner / infoprint ... - * ... and subsecant bugs N#25305, N#26203, N#26624, N#26161, N#27875 - * fixes N#21854 - Nokia Fonts in HildonFontDialog widget - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 3 May 2006 15:32:51 +0300 - -hildon-libs (0.12.12-1) unstable; urgency=low - - * debian/control: Build-Depends, added 'gtk-doc-tools' - - * fixes M#183 - *_new() functions do too much - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 26 Apr 2006 15:56:36 +0300 - -hildon-libs (0.12.11-1) unstable; urgency=low - - * debian/rules (CFLAGS): add thumb flag for compilation, fixes N#26660 - - * fixes N#26611 - Hildon app doesnot toggle to fullscreen on hardware key press (GDKF6) - * fixes N#22909 - Opening Email main menu using hardkey is not working. - * fixes N#24348 - Idle and timeout callbacks calling gtk+ or gdk are not thread aware - - * autogen.sh, do not exit if gtkdocize is missing (quick workaround for autobuilder) - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 19 Apr 2006 17:28:32 +0300 - -hildon-libs (0.12.10-1) unstable; urgency=low - - * debian/rules: tell ./autogen.sh to not launch ./configure - * debian/rules: install docs only if ENABLE_GTK_DOC is set - * debian/rules: ./configure call, put one argument per line for clarity. - * debian/rules: call ./autogen.sh to create ./configure - - * removed autotools generated files from repository - - * fixes N#22557 - Private symbols from gtk+ are not to be used - * debian/control: N#22557, updated dependency to GTK+ (needs 2.6.10-1.osso4) - * fixes - logical strings in CodeDialog OK/Cancel buttons - * fixes M#90 - Use standard GLib macro names. - * fixes M#185 - improvements for bindings - * fixes M#283 - improvements for bindings - - -- Luc Pionchon <luc.pionchon at nokia.com> Sat, 15 Apr 2006 19:16:38 +0300 - -hildon-libs (0.12.9-1) unstable; urgency=low - - * fixes N#19061 - HildonTimeEditor uses LC_MESSAGES for time separator - - * hildon-grid: set items to be focus-and-activate instead of single tap activation - * hildon-caption: removed icon for mandatory fields - * hildon-color-button: pops up selector on 'select' hardkey - * hildon-color-button: updated button/margin dimensions - * hildon-time-editor: add automatic focus movement - - -- Luc Pionchon <luc.pionchon at nokia.com> Thu, 13 Apr 2006 18:19:14 +0300 - -hildon-libs (0.12.8-1) unstable; urgency=low - - * fixes N#24339 - Information banners do not resize - * fixes N#26033 - Periodic applications slowdown - * fixes N#24325 - The menu location is wrong in HildonWindow - * fixes N#14117 - Infoprints cannot display glyphs for HW keys - - * improved code for bindings - * hildon-banner: add pango support - - -- Luc Pionchon <luc.pionchon at nokia.com> Fri, 7 Apr 2006 21:15:28 +0300 - -hildon-libs (0.12.7-2) unstable; urgency=low - - * debian/control: removed -l10n-english dependency (does not exist (yet)) - - -- Natalia Dobrovolskaya <natalia.dobrovolskaya at nokia.com> Fri, 31 Mar 2006 14:22:00 +0300 - -hildon-libs (0.12.7-1) unstable; urgency=low - - * debian/control (Depends): changed l10n dependency according to the - new process (marketing releases 'mr') - - * fixes more obsolete logical IDs - * fixes N#20917 - Unlocalised string in Font Preview window - * fixes N#24620 - HildonWindow lacking HW key API - * updated en_BG.po - * minor code cleanup - - -- Luc Pionchon <luc.pionchon at nokia.com> Tue, 28 Mar 2006 19:00:26 +0300 - -hildon-libs (0.12.6-1) unstable; urgency=low - - * fix logical ids - * fixes N#24042 hildon-lgpl-dev headers, typo in macro - - -- Luc Pionchon <luc.pionchon at nokia.com> Fri, 24 Mar 2006 11:52:40 +0200 - -hildon-libs (0.12.5-1) unstable; urgency=high - - * fix critical: missing macro definition in hildon-grid.c (missing #include) - - -- Luc Pionchon <luc.pionchon at nokia.com> Tue, 21 Mar 2006 18:49:27 +0200 - -hildon-libs (0.12.4-1) unstable; urgency=low - - * major code cleanup - - -- Luc Pionchon <luc.pionchon at nokia.com> Fri, 17 Mar 2006 18:49:10 +0200 - -hildon-libs (0.12.3-2) unstable; urgency=low - - * debian/hildon-libs-dev.docs: refers to correct doc folder (gtk-doc/) - - -- Luc Pionchon <luc.pionchon at nokia.com> Thu, 16 Mar 2006 15:16:21 +0200 - -hildon-libs (0.12.3-1) unstable; urgency=low - - * hildon-widgets/hildon-window.c: propagate key-press event to the - parent class (Closes N#23400) - * Replaces hildon-lgpl0 < 0.12 - - -- Johan Bilien <johan.bilien at nokia.com> Wed, 8 Mar 2006 17:32:18 +0200 - -hildon-libs (0.12.2-1) unstable; urgency=low - - * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for - reference - * hildon-widgets/hildon-color-button.c: added comments - * hildon-widgets/hildon-controlbar.c: Likewise. - * hildon-widgets/hildon-composite-widget.c: Likewise. - * hildon-widgets/hildon-calendar-popup.c: Likewise - * Added hildon-banner, as a clean replacement for gtk-infoprint - * hildon-widgets/hildon-window.c: - - set the toolbar height explicitely - - use show instead of show_all on the common_toolbar - - add the toolbars bottom-up instead of top-down - * hildon-widgets/hildon-program.c: - - don't assume that a window was realized when added to - the program - * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am: - added HildonCodeDialog widget - * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy - of Artem Garmash (Closes M#422) - - -- Johan Bilien <johan.bilien at nokia.com> Mon, 6 Mar 2006 16:15:56 +0200 - -hildon-libs (0.12.1-1) unstable; urgency=low - - * added hildon-window and hildon-program - - -- Luc Pionchon <luc.pionchon at nokia.com> Tue, 21 Feb 2006 16:11:39 +0200 - -hildon-libs (0.12.0-1) unstable; urgency=low - - * Merge hildon-lgpl into hildon-libs and hildon-fm - * Moved hildon-file-details-dialog.[ch] from hildon-libs to hildon-fm - * debian/control: removed dependency on hildon-lgpl and hildon-fm - * debian/control: added missing dependencies - * debian/hildon-libs-dev.install: added "usr/lib/*.a" - - -- Luc Pionchon <luc.pionchon at nokia.com> Tue, 14 Feb 2006 13:02:06 +0200 - -hildon-libs (0.10.2-1) unstable; urgency=low - - * N#22240 CP: Tapping outside the scroll bar invoke the applet. - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 18 Jan 2006 19:54:31 +0200 - -hildon-libs (0.10.1-1) unstable; urgency=low - - * Fixed Missing/Buggy documentation from N#11566 "make password dialog - customizable (messages)" - * N#19369 TRUE Scketch does not show colour change when using white color - * N#21063 hildon_note_new_confirmation_add_buttons has misleading docs - * N#21884 Cannot select read-only by using the center of the scroll key - * N#8094 5-bit color selector: wrong margins and pixel measurements - * M#59 HildonColorSelector needs more space - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 11 Jan 2006 20:03:33 +0200 - -hildon-libs (0.10.0-1) unstable; urgency=low - - * started development branch (maintenance continues with versions 0.9.x) - * added properties for Gazpacho support - - -- Luc Pionchon <luc.pionchon at nokia.com> Mon, 12 Dec 2005 20:50:52 +0200 - -hildon-libs (0.9.53-1) unstable; urgency=low - - * same fix for, - N#19283 Control panel - The values entered are not saved. - N#19648 Hildon Date Editor widget detects values too high - (note: complete fix include also fixes in GTk+) - - -- Luc Pionchon <luc.pionchon at nokia.com> Thu, 3 Nov 2005 19:09:17 +0200 - -hildon-libs (0.9.52-1) unstable; urgency=low - - * Bugs fixed: - N#19140 System alerts still audible despite being turned off - - -- Luc Pionchon <luc.pionchon at nokia.com> Thu, 13 Oct 2005 15:19:19 +0300 - -hildon-libs (0.9.51-1) unstable; urgency=low - - * Bugs fixed: - N#20027 PDF Reader crashes on selecting read only option in the - details dialog box. - N#17918 Volumebar widget background image doesn't change when - widget goes into mute state - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 5 Oct 2005 16:29:12 +0300 - -hildon-libs (0.9.50-2) unstable; urgency=low - - * Added gtk_dialog_help_disable(), fixes #19468 - - -- Tapani Palli <tapani.palli at nokia.com> Tue, 20 Sep 2005 13:17:17 +0300 - -hildon-libs (0.9.50-1) unstable; urgency=low - - * Bugs fixed: - N#11129, added "No Items" localizable string - N#15680, english translation update - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 14 Sep 2005 12:43:36 +0300 - -hildon-libs (0.9.49-1) unstable; urgency=low - - * Bugs fixed: - 16805: problem with setting time in HildonTimeEditor - 18096: hildon_number_editor crashes the PDF viewer - - -- Tommi Komulainen <tommi.komulainen at nokia.com> Tue, 30 Aug 2005 19:17:20 +0300 - -hildon-libs (0.9.48-1) unstable; urgency=low - - * Bugs fixed: - 12176: it_IT Control Panel Date Time: Calendar view in English - 17142: HildonGrid - By default, after calling gtk_widget_show, Second row - is getting displayed instead of first. - - -- Tommi Komulainen <tommi.komulainen at nokia.com> Mon, 22 Aug 2005 18:25:25 +0300 - -hildon-libs (0.9.47-1) unstable; urgency=low - - * Bugs fixed: - 14587: Inconsistency in <filetype> details dialog and File manager - behaviour - - -- Tommi Komulainen <tommi.komulainen at nokia.com> Wed, 17 Aug 2005 19:02:41 +0300 - -hildon-libs (0.9.35-3) unstable; urgency=low - - * debian/control: - * debian/rules: remove l10n packages, add Depends: - hildon-libs-l10n-3.0-engb | hildon-libs-l10n-3.0-english - - -- Tommi Komulainen <tommi.komulainen at nokia.com> Wed, 17 Aug 2005 17:40:47 +0300 - -hildon-libs (0.9.35-2) unstable; urgency=low - - * Maemo dev release - - -- Luc Pionchon <luc.pionchon at nokia.com> Wed, 6 Jul 2005 07:49:38 +0300 Copied: projects/haf/tags/hildon-libs/0.14.10-1/debian/changelog (from rev 8278, projects/haf/trunk/hildon-libs/debian/changelog) Deleted: projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/Makefile.am =================================================================== --- projects/haf/trunk/hildon-libs/hildon-widgets/Makefile.am 2006-11-21 09:18:16 UTC (rev 8198) +++ projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/Makefile.am 2006-11-23 12:47:15 UTC (rev 8279) @@ -1,216 +0,0 @@ -INCLUDES = $(GTK_CFLAGS) $(GCONF_CFLAGS) \ - $(ESD_CFLAGS) $(LIBMB_CFLAGS) -DLOCALEDIR=\"$(localedir)\" -I$(srcdir)/.. - -lib_LTLIBRARIES = libhildonwidgets.la - -MAINTAINERCLEANFILES = \ - Makefile.in hildon-libs-enum-types.c hildon-libs-enum-types.h - -EXTRA_DIST = hildon-marshalers.list - -libhildonwidgets_la_LDFLAGS = -version-info 5:0:5 - -libhildonwidgets_la_LIBADD = $(GTK_LIBS) $(GCONF_LIBS) \ - $(ESD_LIBS) $(LIBMB_LIBS) - -libhildonwidgets_la_SOURCES = \ - hildon-marshalers.c \ - hildon-marshalers.h \ - hildon-composite-widget.c \ - hildon-composite-widget.h \ - hildon-controlbar.c \ - hildon-controlbar.h \ - hildon-seekbar.c \ - hildon-seekbar.h \ - hildon-color-selector.c \ - hildon-color-selector.h \ - hildon-note.c \ - hildon-note.h \ - hildon-volumebar.c \ - hildon-volumebar.h \ - hildon-volumebar-range.c \ - hildon-volumebar-range.h \ - hildon-volumebar-private.h \ - hildon-hvolumebar.c \ - hildon-hvolumebar.h \ - hildon-vvolumebar.c \ - hildon-vvolumebar.h \ - hildon-dialoghelp.c \ - hildon-dialoghelp.h \ - hildon-calendar-popup.c \ - hildon-calendar-popup.h \ - hildon-date-editor.c \ - hildon-date-editor.h \ - hildon-time-editor.c \ - hildon-time-editor.h \ - hildon-private.h \ - hildon-time-picker.c \ - hildon-time-picker.h \ - hildon-weekday-picker.c \ - hildon-weekday-picker.h \ - hildon-telephone-editor.c \ - hildon-telephone-editor.h \ - hildon-number-editor.c \ - hildon-number-editor.h \ - hildon-range-editor.c \ - hildon-range-editor.h \ - hildon-get-password-dialog.c \ - hildon-get-password-dialog.h \ - hildon-set-password-dialog.c \ - hildon-set-password-dialog.h \ - hildon-sort-dialog.c \ - hildon-sort-dialog.h \ - hildon-add-home-dialog.c \ - hildon-add-home-dialog.h \ - hildon-font-selection-dialog.c \ - hildon-font-selection-dialog.h \ - hildon-grid.c \ - hildon-grid.h \ - hildon-grid-item.c \ - hildon-grid-item.h \ - hildon-grid-item-private.h \ - hildon-file-handling-note.c \ - hildon-file-handling-note.h \ - hildon-name-password-dialog.c \ - hildon-name-password-dialog.h \ - hildon-scroll-area.c \ - hildon-scroll-area.h \ - hildon-wizard-dialog.c \ - hildon-wizard-dialog.h \ - hildon-color-popup.c \ - hildon-color-popup.h \ - hildon-color-button.c \ - hildon-color-button.h \ - hildon-system-sound.c \ - hildon-system-sound.h \ - hildon-app.c \ - hildon-app.h \ - hildon-defines.c \ - hildon-defines.h \ - hildon-appview.c \ - hildon-appview.h \ - hildon-find-toolbar.c \ - hildon-find-toolbar.h \ - gtk-infoprint.c \ - gtk-infoprint.h \ - hildon-banner.c \ - hildon-banner.h \ - hildon-input-mode-hint.h \ - hildon-app-private.h \ - hildon-caption.c \ - hildon-caption.h \ - hildon-window.c \ - hildon-window.h \ - hildon-window-private.h \ - hildon-program.c \ - hildon-program.h \ - hildon-code-dialog.c \ - hildon-code-dialog.h \ - hildon-plugin-widget.c \ - hildon-plugin-widget.h \ - hildon-color-chooser.c \ - hildon-color-chooser.h \ - hildon-color-chooser-dialog.c \ - hildon-color-chooser-dialog.h \ - hildon-color-chooser-button.c \ - hildon-color-chooser-button.h \ - $(hildonlibs_built_headers) \ - $(hildonlibs_built_cfiles) - - -hildon-marshalers.h: hildon-marshalers.list - glib-genmarshal --prefix _hildon_marshal --header \ - hildon-marshalers.list >hildon-marshalers.h - -hildon-marshalers.c: hildon-marshalers.list hildon-marshalers.h - echo '#include <hildon-widgets/hildon-marshalers.h>' >hildon-marshalers.c - glib-genmarshal --prefix _hildon_marshal --body \ - hildon-marshalers.list >>hildon-marshalers.c - -hildonwidgetsincludeinstdir=$(includedir)/hildon-widgets -hildonwidgetsincludeinst_DATA = \ - hildon-controlbar.h \ - hildon-note.h \ - hildon-seekbar.h \ - hildon-color-selector.h \ - hildon-volumebar.h \ - hildon-hvolumebar.h \ - hildon-vvolumebar.h \ - hildon-dialoghelp.h \ - hildon-calendar-popup.h \ - hildon-date-editor.h \ - hildon-time-editor.h \ - hildon-time-picker.h \ - hildon-weekday-picker.h \ - hildon-telephone-editor.h \ - hildon-number-editor.h \ - hildon-range-editor.h \ - hildon-get-password-dialog.h \ - hildon-set-password-dialog.h \ - hildon-sort-dialog.h \ - hildon-add-home-dialog.h \ - hildon-font-selection-dialog.h \ - hildon-grid.h \ - hildon-grid-item.h \ - hildon-file-handling-note.h \ - hildon-name-password-dialog.h \ - hildon-scroll-area.h \ - hildon-wizard-dialog.h \ - hildon-color-popup.h \ - hildon-color-button.h \ - hildon-system-sound.h \ - hildon-app.h \ - hildon-defines.h \ - hildon-appview.h \ - hildon-find-toolbar.h \ - gtk-infoprint.h \ - hildon-banner.h \ - hildon-input-mode-hint.h \ - hildon-app-private.h \ - hildon-caption.h \ - hildon-window.h \ - hildon-program.h \ - hildon-window-private.h \ - hildon-code-dialog.h \ - hildon-plugin-widget.h \ - hildon-color-chooser.h \ - hildon-color-chooser-dialog.h \ - hildon-color-chooser-button.h - -headers_to_scan_for_enums = $(hildonwidgetsincludeinst_DATA) - -# Generate the enums source code, with glib-mkenums: -# This is based on the same Makefile.am stuff in pango: -hildonlibs_built_headers = hildon-libs-enum-types.h -hildonlibs_built_cfiles = hildon-libs-enum-types.c - -# Don't build the library until we have built the header that it needs: -$(OBJECTS) $(libhildonwidgets_la_OBJECTS): $(hildonlibs_built_headers) - -hildon-libs-enum-types.h: @REBUILD@ $(headers_to_scan_for_enums) Makefile - (cd $(srcdir) && glib-mkenums \ - --fhead "#ifndef __HILDON_LIBS_ENUM_TYPES_H__\n#define __HILDON_LIBS_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ - --fprod "/* enumerations from \"@filename@\" */\n" \ - --vhead "GType @enum_name at _get_type (void);\n#define HILDON_TYPE_ at ENUMSHORT@ (@enum_name at _get_type())\n" \ - --ftail "G_END_DECLS\n\n#endif /* __HILDON_LIBS_ENUM_TYPES_H__ */" \ - $(headers_to_scan_for_enums)) > $@ - -#FIXME: This would be shorter if there was a hildon-libs.h file: -hildon-libs-enum-types.c: @REBUILD@ $(headers_to_scan_for_enums) Makefile - (cd $(srcdir) && glib-mkenums \ - --fhead "#include <hildon-widgets/hildon-app.h>\n" \ - --fhead "#include <hildon-widgets/hildon-input-mode-hint.h>\n" \ - --fhead "#include <hildon-widgets/hildon-caption.h>\n" \ - --fhead "#include <hildon-widgets/hildon-date-editor.h>\n" \ - --fhead "#include <hildon-widgets/hildon-time-editor.h>\n" \ - --fhead "#include <hildon-widgets/hildon-number-editor.h>\n" \ - --fhead "#include <hildon-widgets/hildon-telephone-editor.h>\n" \ - --fhead "#include <hildon-widgets/hildon-note.h>\n" \ - --fhead "#include <hildon-widgets/hildon-grid.h>\n" \ - --fhead '#include "hildon-libs-enum-types.h"\n' \ - --fhead "#include <glib-object.h>" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "GType\n at enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G at Type@Value values[] = {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n etype = g_ at type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ - $(headers_to_scan_for_enums)) > $@ Copied: projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/Makefile.am (from rev 8205, projects/haf/trunk/hildon-libs/hildon-widgets/Makefile.am) Copied: projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-finger.c (from rev 8205, projects/haf/trunk/hildon-libs/hildon-widgets/hildon-finger.c) Copied: projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-finger.h (from rev 8205, projects/haf/trunk/hildon-libs/hildon-widgets/hildon-finger.h) Deleted: projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-number-editor.c =================================================================== --- projects/haf/trunk/hildon-libs/hildon-widgets/hildon-number-editor.c 2006-11-21 09:18:16 UTC (rev 8198) +++ projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-number-editor.c 2006-11-23 12:47:15 UTC (rev 8279) @@ -1,964 +0,0 @@ -/* - * This file is part of hildon-libs - * - * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved. - * - * Contact: Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; version 2.1 of - * the License. - * - * This library is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA - * - */ - -/** - * SECTION:hildon-number-editor - * @short_description: A widget used to enter a number within a pre-defined range - * - * HildonNumberEditor is used to enter a number from a specific range. - * There are two buttons to scroll the value in number field. - * Manual input is also possible. - */ - -#include <gdk/gdkkeysyms.h> -#include <gtk/gtk.h> - -#include <string.h> -#include <stdio.h> -#include <stdlib.h> - -#include "hildon-number-editor.h" -#include "hildon-marshalers.h" -#include <hildon-widgets/gtk-infoprint.h> -#include "hildon-composite-widget.h" -#include <hildon-widgets/hildon-input-mode-hint.h> -#include <hildon-widgets/hildon-defines.h> -#include "hildon-libs-enum-types.h" - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <libintl.h> -#define _(String) dgettext(PACKAGE, String) - -/*Pixel spec defines*/ -#define NUMBER_EDITOR_HEIGHT 30 - -/* Size of plus and minus buttons */ -#define BUTTON_HEIGHT 30 -#define BUTTON_WIDTH 30 - -#define HILDON_NUMBER_EDITOR_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE ((obj), HILDON_TYPE_NUMBER_EDITOR, \ - HildonNumberEditorPrivate)); - -typedef struct _HildonNumberEditorPrivate HildonNumberEditorPrivate; - -static void -hildon_number_editor_class_init (HildonNumberEditorClass *editor_class); - -static void -hildon_number_editor_init (HildonNumberEditor *editor); - -static gboolean -hildon_number_editor_entry_focusout (GtkWidget *widget, GdkEventFocus *event, - gpointer data); - -static void -hildon_number_editor_entry_changed (GtkWidget *widget, gpointer data); - -static void -hildon_number_editor_size_request (GtkWidget *widget, - GtkRequisition *requisition); - -static void -set_widget_allocation (GtkWidget *widget, GtkAllocation *alloc, - const GtkAllocation *allocation); - -static void -hildon_number_editor_size_allocate (GtkWidget *widget, - GtkAllocation *allocation); - -static gboolean -hildon_number_editor_entry_keypress (GtkWidget *widget, GdkEventKey *event, - gpointer data); - -static gboolean -hildon_number_editor_button_pressed (GtkWidget *widget, GdkEventButton *event, - gpointer data); - -static gboolean -hildon_number_editor_entry_button_released (GtkWidget *widget, - GdkEventButton *event, - gpointer data); -static gboolean -hildon_number_editor_button_released (GtkWidget *widget, - GdkEvent *event, - HildonNumberEditor *editor); -static gboolean -do_mouse_timeout (HildonNumberEditor *editor); - -static void -change_numbers (HildonNumberEditor *editor, gint update); - -static void -hildon_number_editor_forall (GtkContainer *container, gboolean include_internals, - GtkCallback callback, gpointer callback_data); - -static void -hildon_number_editor_destroy (GtkObject *self); - -static gboolean -hildon_number_editor_start_timer (HildonNumberEditor *editor); - -static void -hildon_number_editor_finalize (GObject *self); - -static gboolean -hildon_number_editor_range_error(HildonNumberEditor *editor, - HildonNumberEditorErrorType type); - -static gboolean -hildon_number_editor_select_all (HildonNumberEditorPrivate *priv); - -static void -hildon_number_editor_validate_value(HildonNumberEditor *editor, gboolean allow_intermediate); - -static void hildon_number_editor_set_property(GObject * object, - guint prop_id, - const GValue * value, - GParamSpec * pspec); - -static void hildon_number_editor_get_property(GObject * object, - guint prop_id, - GValue * value, GParamSpec * pspec); - -/* Signal indices */ -enum -{ - RANGE_ERROR, - LAST_SIGNAL -}; - -/* Property indices */ -enum { - PROP_0, - PROP_VALUE -}; - -static GtkContainerClass *parent_class; - -static guint HildonNumberEditor_signal[LAST_SIGNAL] = {0}; - -struct _HildonNumberEditorPrivate -{ - /* Child widgets */ - GtkWidget *num_entry; - GtkWidget *plus; - GtkWidget *minus; - - gint start; /* Minimum */ - gint end; /* Maximum */ - gint default_val; - gint button_type; /* Type of button pressed: 1 = plus, -1 = minus */ - - /* Timer IDs */ - guint button_event_id; /* Repeat change when button is held */ - guint select_all_idle_id; /* Selection repaint hack - see hildon_number_editor_select_all */ -}; - - -GType hildon_number_editor_get_type(void) -{ - static GType editor_type = 0; - - if (!editor_type) - { - static const GTypeInfo editor_info = - { - sizeof(HildonNumberEditorClass), - NULL, /* base_init */ - NULL, /* base_finalize */ - (GClassInitFunc) hildon_number_editor_class_init, - NULL, /* class_finalize */ - NULL, /* class_data */ - sizeof(HildonNumberEditor), - 0, /* n_preallocs */ - (GInstanceInitFunc) hildon_number_editor_init, - }; - editor_type = g_type_register_static(GTK_TYPE_CONTAINER, - "HildonNumberEditor", - &editor_info, 0); - } - return editor_type; -} - -static void -hildon_number_editor_class_init(HildonNumberEditorClass * editor_class) -{ - GtkContainerClass *container_class = GTK_CONTAINER_CLASS(editor_class); - GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(editor_class); - GObjectClass *gobject_class = G_OBJECT_CLASS(editor_class); - - g_type_class_add_private(editor_class, - sizeof(HildonNumberEditorPrivate)); - - parent_class = g_type_class_peek_parent(editor_class); - - widget_class->size_request = hildon_number_editor_size_request; - widget_class->size_allocate = hildon_number_editor_size_allocate; - widget_class->focus = hildon_composite_widget_focus; - - editor_class->range_error = hildon_number_editor_range_error; - - /* Because we derived our widget from GtkContainer, we should override - forall method */ - container_class->forall = hildon_number_editor_forall; - GTK_OBJECT_CLASS(editor_class)->destroy = hildon_number_editor_destroy; - gobject_class->finalize = hildon_number_editor_finalize; - gobject_class->set_property = hildon_number_editor_set_property; - gobject_class->get_property = hildon_number_editor_get_property; - - g_object_class_install_property(gobject_class, PROP_VALUE, - g_param_spec_int("value", - "Value", - "The current value of number editor", - G_MININT, - G_MAXINT, - 0, G_PARAM_READWRITE)); - - HildonNumberEditor_signal[RANGE_ERROR] = - g_signal_new("range_error", HILDON_TYPE_NUMBER_EDITOR, - G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET - (HildonNumberEditorClass, range_error), - g_signal_accumulator_true_handled, NULL, - _hildon_marshal_BOOLEAN__ENUM, - G_TYPE_BOOLEAN, 1, HILDON_TYPE_NUMBER_EDITOR_ERROR_TYPE); -} - -static void -hildon_number_editor_forall(GtkContainer *container, gboolean include_internals, - GtkCallback callback, gpointer callback_data) -{ - HildonNumberEditorPrivate *priv = - HILDON_NUMBER_EDITOR_GET_PRIVATE(container); - - g_assert(callback != NULL); - - if (!include_internals) - return; - - /* Enumerate child widgets */ - (*callback) (priv->minus, callback_data); - (*callback) (priv->num_entry, callback_data); - (*callback) (priv->plus, callback_data); -} - -static void -hildon_number_editor_destroy(GtkObject *self) -{ - HildonNumberEditorPrivate *priv; - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(self); - - /* Free child widgets */ - if (priv->minus) - { - gtk_widget_unparent(priv->minus); - priv->minus = NULL; - } - if (priv->num_entry) - { - gtk_widget_unparent(priv->num_entry); - priv->num_entry = NULL; - } - if (priv->plus) - { - gtk_widget_unparent(priv->plus); - priv->plus = NULL; - } - - if (GTK_OBJECT_CLASS(parent_class)->destroy) - GTK_OBJECT_CLASS(parent_class)->destroy(self); -} - -static void -hildon_number_editor_stop_repeat_timer(HildonNumberEditorPrivate *priv) -{ - if (priv->button_event_id) - { - g_source_remove(priv->button_event_id); - priv->button_event_id = 0; - } -} - -static void -hildon_number_editor_finalize (GObject *self) -{ - HildonNumberEditorPrivate *priv; - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(self); - - /* Free timers */ - hildon_number_editor_stop_repeat_timer(priv); - - if (priv->select_all_idle_id) - g_source_remove (priv->select_all_idle_id); - - /* Call parent class finalize, if have one */ - if (G_OBJECT_CLASS (parent_class)->finalize) - G_OBJECT_CLASS (parent_class)->finalize(self); -} - -static void -hildon_number_editor_init (HildonNumberEditor *editor) -{ - HildonNumberEditorPrivate *priv; - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - GTK_WIDGET_SET_FLAGS(GTK_WIDGET(editor), GTK_NO_WINDOW); - - /* Create child widgets */ - priv->num_entry = gtk_entry_new(); - priv->minus = gtk_button_new(); - priv->plus = gtk_button_new(); - - gtk_widget_set_name( priv->minus, "ne-minus-button" ); - gtk_widget_set_name( priv->plus, "ne-plus-button" ); - gtk_widget_set_size_request( priv->minus, BUTTON_WIDTH, BUTTON_HEIGHT ); - gtk_widget_set_size_request( priv->plus, BUTTON_WIDTH, BUTTON_HEIGHT ); - gtk_entry_set_alignment (GTK_ENTRY(priv->num_entry), 1); - - GTK_WIDGET_UNSET_FLAGS( priv->minus, GTK_CAN_FOCUS ); - GTK_WIDGET_UNSET_FLAGS( priv->plus, GTK_CAN_FOCUS ); - - priv->button_event_id = 0; - priv->select_all_idle_id = 0; - - gtk_widget_set_parent(priv->minus, GTK_WIDGET(editor)); - gtk_widget_set_parent(priv->num_entry, GTK_WIDGET(editor)); - gtk_widget_set_parent(priv->plus, GTK_WIDGET(editor)); - - /* Connect child widget signals */ - g_signal_connect(GTK_OBJECT(priv->num_entry), "changed", - G_CALLBACK(hildon_number_editor_entry_changed), - editor); - - g_signal_connect(GTK_OBJECT(priv->num_entry), "focus-out-event", - G_CALLBACK(hildon_number_editor_entry_focusout), - editor); - - g_signal_connect(GTK_OBJECT(priv->num_entry), "key-press-event", - G_CALLBACK(hildon_number_editor_entry_keypress), - editor); - - g_signal_connect(GTK_OBJECT(priv->num_entry), "button-release-event", - G_CALLBACK(hildon_number_editor_entry_button_released), - NULL); - - g_signal_connect(GTK_OBJECT(priv->minus), "button-press-event", - G_CALLBACK(hildon_number_editor_button_pressed), - editor); - - g_signal_connect(GTK_OBJECT(priv->plus), "button-press-event", - G_CALLBACK(hildon_number_editor_button_pressed), - editor); - - g_signal_connect(GTK_OBJECT(priv->minus), "button-release-event", - G_CALLBACK(hildon_number_editor_button_released), - editor); - - g_signal_connect(GTK_OBJECT(priv->plus), "button-release-event", - G_CALLBACK(hildon_number_editor_button_released), - editor); - - g_signal_connect(GTK_OBJECT(priv->minus), "leave-notify-event", - G_CALLBACK(hildon_number_editor_button_released), - editor); - - g_signal_connect(GTK_OBJECT(priv->plus), "leave-notify-event", - G_CALLBACK(hildon_number_editor_button_released), - editor); - - g_object_set( G_OBJECT(priv->num_entry), - "input-mode", HILDON_INPUT_MODE_HINT_NUMERIC, NULL ); - - gtk_widget_show(priv->num_entry); - gtk_widget_show(priv->minus); - gtk_widget_show(priv->plus); - - hildon_number_editor_set_range(editor, G_MININT, G_MAXINT); -} - -static gboolean -hildon_number_editor_entry_button_released (GtkWidget *widget, - GdkEventButton *event, - gpointer data) -{ - gtk_editable_select_region(GTK_EDITABLE(widget), 0, -1); - return FALSE; -} - -static gboolean -hildon_number_editor_button_released (GtkWidget *widget, GdkEvent *event, - HildonNumberEditor *editor) -{ - HildonNumberEditorPrivate *priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - hildon_number_editor_stop_repeat_timer(priv); - return FALSE; -} - -/* Format given number to editor field, no checks performed, all signals - are sent normally. */ -static void -hildon_number_editor_real_set_value (HildonNumberEditorPrivate *priv, gint value) -{ - gchar buffer[32]; - - /* Update text in entry to new value */ - g_snprintf(buffer, sizeof(buffer), "%d", value); - gtk_entry_set_text(GTK_ENTRY(priv->num_entry), buffer); -} - -static gboolean -hildon_number_editor_button_pressed (GtkWidget *widget, GdkEventButton *event, - gpointer data) -{ - /* FIXME: XXX Why aren't we using hildon_number_editor_start_timer here? XXX */ - /* Need to fetch current value from entry and increment or decrement - it */ - HildonNumberEditor *editor; - HildonNumberEditorPrivate *priv; - GtkSettings *settings; - guint timeout; - - g_assert(HILDON_IS_NUMBER_EDITOR(data)); - - editor = HILDON_NUMBER_EDITOR(data); - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - settings = gtk_settings_get_default(); - g_object_get(settings, "gtk-initial-timeout", &timeout, NULL); - - /* Save type of button pressed */ - if (GTK_BUTTON(widget) == GTK_BUTTON(priv->plus)) - priv->button_type = 1; - else - priv->button_type = -1; - - /* Start repetition timer */ - if (!priv->button_event_id) - { - do_mouse_timeout(editor); - priv->button_event_id = g_timeout_add (timeout, - (GSourceFunc) hildon_number_editor_start_timer, - editor); - } - - return FALSE; -} - -static gboolean -hildon_number_editor_start_timer (HildonNumberEditor *editor) -{ - HildonNumberEditorPrivate *priv; - GtkSettings *settings; - guint timeout; - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - settings = gtk_settings_get_default(); - g_object_get(settings, "gtk-update-timeout", &timeout, NULL); - - priv->button_event_id = g_timeout_add(timeout, - (GSourceFunc) do_mouse_timeout, - editor); - return FALSE; -} - -static gboolean -do_mouse_timeout (HildonNumberEditor *editor) -{ - HildonNumberEditorPrivate *priv; - - GDK_THREADS_ENTER (); - - g_assert(HILDON_IS_NUMBER_EDITOR(editor)); - - /* Update value based on button held */ - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - change_numbers(editor, priv->button_type); - - GDK_THREADS_LEAVE (); - - return TRUE; -} - -/* Changes the current number value by the amount of update - and verifies the result. */ -static void -change_numbers (HildonNumberEditor *editor, gint update) -{ - HildonNumberEditorPrivate *priv; - gint current_value; - - g_assert(HILDON_IS_NUMBER_EDITOR(editor)); - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - current_value = hildon_number_editor_get_value(editor); - - /* We need to rerun validation by hand, since validation - done in "changed" callback allows intermediate values */ - hildon_number_editor_real_set_value(priv, current_value + update); - hildon_number_editor_validate_value(editor, FALSE); - g_object_notify (G_OBJECT(editor), "value"); -} - -static void -add_select_all_idle (HildonNumberEditorPrivate *priv) -{ - if (!priv->select_all_idle_id) - { - priv->select_all_idle_id = - g_idle_add((GSourceFunc) hildon_number_editor_select_all, priv); - } -} - -static void -hildon_number_editor_validate_value(HildonNumberEditor *editor, gboolean allow_intermediate) -{ - HildonNumberEditorPrivate *priv; - gint error_code, fixup_value; - const gchar *text; - long value; - gchar *tail; - gboolean r; - - g_assert(HILDON_IS_NUMBER_EDITOR(editor)); - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - text = gtk_entry_get_text(GTK_ENTRY(priv->num_entry)); - error_code = -1; - fixup_value = priv->default_val; - - if (text && text[0]) - { - /* Try to convert entry text to number */ - value = strtol(text, &tail, 10); - - /* Check if conversion succeeded */ - if (tail[0] == 0) - { - /* Check if value is in allowed range. This is tricky in those - cases when user is editing a value. - For example: Range = [100, 500] and user have just inputted "4". - This should not lead into error message. Otherwise value is - resetted back to "100" and next "4" press will reset it back - and so on. */ - if (allow_intermediate) - { - /* We now have the following error cases: - * If inputted value as above maximum and - maximum is either positive or then maximum - negative and value is positive. - * If inputted value is below minimum and minimum - is negative or minumum positive and value - negative or zero. - In all other cases situation can be fixed just by - adding new numbers to the string. - */ - if (value > priv->end && (priv->end >= 0 || (priv->end < 0 && value >= 0))) - { - error_code = MAXIMUM_VALUE_EXCEED; - fixup_value = priv->end; - } - else if (value < priv->start && (priv->start < 0 || (priv->start >= 0 && value <= 0))) - { - error_code = MINIMUM_VALUE_EXCEED; - fixup_value = priv->start; - } - } - else - { - if (value > priv->end) { - error_code = MAXIMUM_VALUE_EXCEED; - fixup_value = priv->end; - } - else if (value < priv->start) { - error_code = MINIMUM_VALUE_EXCEED; - fixup_value = priv->start; - } - } - } - /* The only valid case when conversion can fail is when we - have plain '-', intermediate forms are allowed AND - minimum bound is negative */ - else if (!allow_intermediate || strcmp(text, "-") != 0 || priv->start >= 0) - error_code = ERRONEOUS_VALUE; - } - else if (!allow_intermediate) - error_code = ERRONEOUS_VALUE; - - if (error_code != -1) - { - /* If entry is empty and intermediate forms are nor allowed, - emit error signal */ - /* Change to default value */ - hildon_number_editor_set_value(editor, fixup_value); - g_signal_emit(editor, HildonNumberEditor_signal[RANGE_ERROR], - 0, error_code, &r); - add_select_all_idle(priv); - } -} - -static void -hildon_number_editor_entry_changed(GtkWidget *widget, gpointer data) -{ - g_assert(HILDON_IS_NUMBER_EDITOR(data)); - hildon_number_editor_validate_value(HILDON_NUMBER_EDITOR(data), TRUE); - g_object_notify (G_OBJECT(data), "value"); -} - -static void -hildon_number_editor_size_request (GtkWidget *widget, - GtkRequisition *requisition) -{ - HildonNumberEditor *editor; - HildonNumberEditorPrivate *priv; - GtkRequisition req; - - editor = HILDON_NUMBER_EDITOR(widget); - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - - /* Requested size is size of all child widgets plus border space */ - gtk_widget_size_request(priv->minus, &req); - requisition->width = req.width; - - gtk_widget_size_request(priv->num_entry, &req); - requisition->width += req.width; - - gtk_widget_size_request(priv->plus, &req); - requisition->width += req.width; - - requisition->width += HILDON_MARGIN_DEFAULT * 2; - - /* FIXME: XXX Height is fixed */ - requisition->height = NUMBER_EDITOR_HEIGHT; -} - -/* Update @alloc->width so widget fits, update @alloc->x to point to free space */ -static void -set_widget_allocation (GtkWidget *widget, GtkAllocation *alloc, - const GtkAllocation *allocation) -{ - GtkRequisition child_requisition; - - gtk_widget_get_child_requisition(widget, &child_requisition); - - /* Fit to widget width */ - if (allocation->width + allocation->x > - alloc->x + child_requisition.width) - alloc->width = child_requisition.width; - else - { - alloc->width = allocation->width - (alloc->x - allocation->x); - if (alloc->width < 0) - alloc->width = 0; - } - - gtk_widget_size_allocate(widget, alloc); - /* Update x position */ - alloc->x += alloc->width; -} - -static void -hildon_number_editor_size_allocate (GtkWidget *widget, - GtkAllocation *allocation) -{ - HildonNumberEditor *editor; - HildonNumberEditorPrivate *priv; - GtkAllocation alloc; - - editor = HILDON_NUMBER_EDITOR(widget); - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - - widget->allocation = *allocation; - - /* Add upper border */ - alloc.y = widget->allocation.y + widget->style->ythickness; - - /* Fix height */ - if (widget->allocation.height > NUMBER_EDITOR_HEIGHT) - { - alloc.height = NUMBER_EDITOR_HEIGHT - widget->style->ythickness * 2; - alloc.y += (widget->allocation.height - NUMBER_EDITOR_HEIGHT) / 2; - } - else - alloc.height = widget->allocation.height - widget->style->ythickness * 2; - - if (alloc.height < 0) - alloc.height = 0; - - /* Add left border */ - alloc.x = allocation->x + widget->style->xthickness; - - /* Allocate positions for widgets (left-to-right) */ - set_widget_allocation(priv->minus, &alloc, &widget->allocation); - alloc.x += HILDON_MARGIN_DEFAULT; - - set_widget_allocation(priv->num_entry, &alloc, &widget->allocation); - alloc.x += HILDON_MARGIN_DEFAULT; - - set_widget_allocation(priv->plus, &alloc, &widget->allocation); -} - -static gboolean -hildon_number_editor_entry_focusout (GtkWidget *widget, GdkEventFocus *event, - gpointer data) -{ - g_assert(HILDON_IS_NUMBER_EDITOR(data)); - hildon_number_editor_validate_value(HILDON_NUMBER_EDITOR(data), FALSE); - return FALSE; -} - -static gboolean -hildon_number_editor_entry_keypress (GtkWidget *widget, GdkEventKey *event, - gpointer data) -{ - GtkEditable *editable; - gint cursor_pos; - - g_assert(HILDON_IS_NUMBER_EDITOR(data)); - - editable = GTK_EDITABLE(widget); - cursor_pos = gtk_editable_get_position(editable); - - switch (event->keyval) - { - case GDK_Left: - /* If the cursor is on the left, try to decrement */ - if (cursor_pos == 0) { - change_numbers(HILDON_NUMBER_EDITOR(data), -1); - return TRUE; - } - break; - - case GDK_Right: - /* If the cursor is on the right, try to increment */ - if (cursor_pos >= g_utf8_strlen(gtk_entry_get_text(GTK_ENTRY(widget)), -1)) - { - change_numbers(HILDON_NUMBER_EDITOR(data), 1); - gtk_editable_set_position(editable, cursor_pos); - return TRUE; - } - break; - - default: - break; - }; - - return FALSE; -} - -static gboolean -hildon_number_editor_range_error(HildonNumberEditor *editor, - HildonNumberEditorErrorType type) -{ - - gint min, max; - gchar *err_msg = NULL; - HildonNumberEditorPrivate *priv; - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - min = priv->start; - max = priv->end; - - /* Construct error message */ - switch (type) - { - case MAXIMUM_VALUE_EXCEED: - err_msg = g_strdup_printf(_("ckct_ib_maximum_value"), max, max); - break; - case MINIMUM_VALUE_EXCEED: - err_msg = g_strdup_printf(_("ckct_ib_minimum_value"), min, min); - break; - case ERRONEOUS_VALUE: - err_msg = - g_strdup_printf(_("ckct_ib_set_a_value_within_range"), min, max); - break; - } - - /* Infoprint error */ - if (err_msg) - { - gtk_infoprint(GTK_WINDOW(gtk_widget_get_ancestor(GTK_WIDGET(editor), - GTK_TYPE_WINDOW)), err_msg); - g_free(err_msg); - } - - return TRUE; -} - - -/** - * hildon_number_editor_new: - * @min: minimum accepted value - * @max: maximum accepted value - * - * Creates new number editor - * - * Returns: a new #HildonNumberEditor widget - */ -GtkWidget * -hildon_number_editor_new (gint min, gint max) -{ - HildonNumberEditor *editor = - g_object_new(HILDON_TYPE_NUMBER_EDITOR, NULL); - - /* Set user inputted range to editor */ - hildon_number_editor_set_range(editor, min, max); - - return GTK_WIDGET(editor); -} - -/** - * hildon_number_editor_set_range: - * @editor: a #HildonNumberEditor widget - * @min: minimum accepted value - * @max: maximum accepted value - * - * Sets accepted number range for editor - */ -void -hildon_number_editor_set_range (HildonNumberEditor *editor, gint min, gint max) -{ - HildonNumberEditorPrivate *priv; - gchar buffer_min[32], buffer_max[32]; - gint a, b; - - g_return_if_fail(HILDON_IS_NUMBER_EDITOR(editor)); - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - - /* Set preferences */ - priv->start = MIN(min, max); - priv->end = MAX(min, max); - - /* Find maximum allowed length of value */ - g_snprintf(buffer_min, sizeof(buffer_min), "%d", min); - g_snprintf(buffer_max, sizeof(buffer_max), "%d", max); - a = strlen(buffer_min); - b = strlen(buffer_max); - - /* Set maximum size of entry */ - gtk_entry_set_width_chars(GTK_ENTRY(priv->num_entry), MAX(a, b)); - hildon_number_editor_set_value(editor, priv->start); -} - -/** - * hildon_number_editor_get_value: - * @editor: pointer to #HildonNumberEditor - * - * Returns: current NumberEditor value - */ -gint -hildon_number_editor_get_value (HildonNumberEditor *editor) -{ - HildonNumberEditorPrivate *priv; - - g_return_val_if_fail(HILDON_IS_NUMBER_EDITOR(editor), 0); - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - return atoi(gtk_entry_get_text(GTK_ENTRY(priv->num_entry))); -} - -/** - * hildon_number_editor_set_value: - * @editor: pointer to #HildonNumberEditor - * @value: numeric value for number editor - * - * Sets numeric value for number editor - */ -void -hildon_number_editor_set_value (HildonNumberEditor *editor, gint value) -{ - HildonNumberEditorPrivate *priv; - - g_return_if_fail(HILDON_IS_NUMBER_EDITOR(editor)); - - priv = HILDON_NUMBER_EDITOR_GET_PRIVATE(editor); - - g_return_if_fail(value <= priv->end); - g_return_if_fail(value >= priv->start); - - priv->default_val = value; - hildon_number_editor_real_set_value(priv, value); - g_object_notify (G_OBJECT(editor), "value"); -} - -/* When calling gtk_entry_set_text, the entry widget does things that can - * cause the whole widget to redraw. This redrawing is delayed and if any - * selections are made right after calling the gtk_entry_set_text the - * setting of the selection might seem to have no effect. - * - * If the selection is delayed with a lower priority than the redrawing, - * the selection should stick. Calling this function with g_idle_add should - * do it. - */ -static gboolean -hildon_number_editor_select_all (HildonNumberEditorPrivate *priv) -{ - GDK_THREADS_ENTER (); - gtk_editable_select_region(GTK_EDITABLE(priv->num_entry), 0, -1); - priv->select_all_idle_id = 0; - GDK_THREADS_LEAVE (); - return FALSE; -} - -static void -hildon_number_editor_set_property(GObject * object, - guint prop_id, - const GValue * value, GParamSpec * pspec) -{ - HildonNumberEditor *editor; - - editor = HILDON_NUMBER_EDITOR(object); - - switch (prop_id) { - case PROP_VALUE: - hildon_number_editor_set_value(editor, g_value_get_int(value)); - break; - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); - break; - } -} - -static void -hildon_number_editor_get_property(GObject * object, - guint prop_id, GValue * value, GParamSpec * pspec) -{ - HildonNumberEditor *editor; - - editor = HILDON_NUMBER_EDITOR(object); - - switch (prop_id) { - case PROP_VALUE: - g_value_set_int(value, hildon_number_editor_get_value(editor)); - break; - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); - break; - } -} Copied: projects/haf/tags/hildon-libs/0.14.10-1/hildon-widgets/hildon-number-editor.c (from rev 8276, projects/haf/trunk/hildon-libs/hildon-widgets/hildon-number-editor.c)
- Previous message: [maemo-commits] r8278 - in projects/haf/trunk/hildon-libs: . debian
- Next message: [maemo-commits] r8280 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]