2006-05-04 Luc Pionchon 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 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 Force label size also when width_text == width_max. 2006-05-03 Luc Pionchon * configure.ac: 0.12.13 2006-05-03 Luc Pionchon * 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 * 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 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 * hildon-widgets/hildon-banner.[ch]: code cleanup. 2006-04-29 Johan Bilien * 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 * 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 N#28176 * hildon-widgets/hildon-window.c: Free the borders structure when the window is destroyed. 2006-04-27 Tapani Palli * hildon-widgets/hildon-caption.c : check if ancestor (still) exists in set-focus handler, fixes N#25501 2006-04-27 Luc Pionchon * 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 * 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 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use "hildon-fm" as textual domain. Fixes N#27702 2006-04-26 Luc Pionchon * 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 * 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 From Murray Cumming , 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 * configure.ac: 0.12.11 2006-04-19 Tapani Palli * 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 * hildon-widgets/hildon-app.c (hildon_app_key_release): send correct state for fullscreen, fixes N#26611 2006-04-19 Johan Bilien 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 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation in fullscreen. 2006-04-19 Luc Pionchon * configure.ac: 0.12.10 2006-04-17 Luc Pionchon * doc/hildon-libs-docs.sgml: added index for new symbols. 2006-04-17 Luc Pionchon * 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 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 * 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 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 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 M#90 - Use standard GLib macro names. Based on a patch from Osvaldo Santana 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 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids for Ok and Cancel buttons. 2006-04-13 Luc Pionchon * configure.ac: 0.12.9 2006-04-13 Luc Pionchon * hildon-widgets/hildon-color-button.c (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT): updated dimensions. 2006-04-13 Luc Pionchon * hildon-widgets/hildon-time-editor.c (convert_to_12h): removed m and s paramters (useless) (convert_to_24h): likewise. 2006-04-13 Luc Pionchon 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 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 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 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 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 * configure.ac: 0.12.8 2006-04-07 Luc Pionchon * hildon-widgets/hildon-banner.c: added gtk-doc Since markers. 2006-04-07 Tomas Junnonen - 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 * hildon-widgets/hildon-color-button.c (hildon_color_field_expose_event): correct parameter order. 2006-04-07 Johan Bilien * 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 * 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 * 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 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases: test20a, test20b, test20c, test20d, test36a, test36b, test36c, test36d. From Murray Cumming. * hildon-lgpl/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 * configure.ac: 0.12.7 2006-03-29 Luc Pionchon 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 * po/en_GB.po: update 2006-03-28 Luc Pionchon * 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 * hildon-widgets/hildon-font-selection-dialog.c (hildon_font_selection_dialog_construct_notebook): logical ID typo 2006-03-27 Johan Bilien * 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 * hildon-widgets/hildon-time-editor.h: indent, improve readability. 2006-03-26 Luc Pionchon * hildon-widgets/hildon-seekbar.c (hildon_seekbar_button_press_event): use if statement instead of 's?a:b' 2006-03-24 Luc Pionchon * configure.ac: 0.12.6 2006-03-23 Luc Pionchon * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT): fixed typo GKD_Left -> GDK_Left, N#24042 2006-03-22 Luc Pionchon 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 * configure.ac: 0.12.5 2006-03-21 Tommi Komulainen * 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 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for HILDON_IS_APP 2006-03-20 Johan Bilien 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 * configure.ac: 0.12.4 2006-03-16 Luc Pionchon * doc/tmpl/* * hildon-widgets/* moved widget descriptions to respective source file (*.c) + minor doc updates 2006-03-15 Luc Pionchon 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 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 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 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 * 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 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter): calculates correctly which items will be visible. Fixes N#16991. 2006-03-15 Luc Pionchon * 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 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename the parameter more descriptively 2006-03-15 Luc Pionchon 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 * 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 * 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 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 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 Cleanup Caption widget, * hildon-lgpl/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 Cleanup AppView, * hildon-lgpl/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 * 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 * 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 * 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 * 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 * 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 * 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 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal after setting the toggle_button active. Prevents GLIB_CRITICALs. 2006-03-13 Luc Pionchon * hildon-widgets/hildon-dialoghelp.c: minor cleanups 2006-03-13 Luc Pionchon * hildon-widgets/hildon-font-selection-dialog.c (hildon_font_selection_dialog_show_preview): set line wrap for preview label. 2006-03-13 Luc Pionchon * hildon-widgets/hildon-date-editor.c (hildon_child_forall): cast 'container' (hildon_date_editor_size_allocate): adjusted height allocation. 2006-03-13 Luc Pionchon 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 * 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 * 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 * doc/Makefile.am: * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml 2006-03-13 Tommi Komulainen * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags * doc/Makefile.am: Ignore right files with IGNORE_HFILES 2006-03-13 Tommi Komulainen * 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 * hildon-widgets/hildon-code-dialog.c: - Add default title - Fix l10n 2006-03-07 Johan Bilien * 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 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy of Artem Garmash * configure.ac: 0.12.2 2006-03-03 Luc Pionchon * 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 * hildon-widgets/hildon-get-password-dialog.[ch]: (hildon_get_password_dialog_set_title) marked deprecated. + cleanup header coding style 2006-03-03 Luc Pionchon 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 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound): removed console messages. 2006-03-03 Luc Pionchon * 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 * 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 * 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 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 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 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 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 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am: added HildonCodeDialog widget 2006-03-02 Johan Bilien * 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 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 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 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 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 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 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 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 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 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 (*_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 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 * 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 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 * 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 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for reference 2006-02-21 Luc Pionchon * configure.ac: 0.12.1 2006-02-21 Johan Bilien * 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 * 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 * configure.ac: 0.10.2 2006-01-18 Luc Pionchon 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 * configure.ac: 0.10.1 2006-01-11 Luc Pionchon 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 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 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 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 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 * 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 * configure.ac: 0.10.0 2005-12-12 Luc Pionchon 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 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 Started new development (branche for maintenance continues with versions 0.9.x) 2005-11-03 Luc Pionchon * configure.ac: 0.9.53 2005-10-31 Luc Pionchon 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 * configure.ac: 0.9.52 2005-10-12 Luc Pionchon 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 * configure.ac: 0.9.51 2005-10-05 Luc Pionchon 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 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 * hildon-widgets/hildon-dialoghelp.[ch]: added gtk_dialog_help_disable and fixed bug N#19468 2005-09-14 Luc Pionchon * configure.ac: Release 0.9.50 2005-09-13 Luc Pionchon 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 * po/en_GB.po (ecdg_ti_verify_password): translation update. 2005-08-30 Tommi Komulainen * configure.ac: Release 0.9.49 2005-08-30 Tommi Komulainen * 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 * 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 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack that was not working. N#16805 2005-08-22 Tommi Komulainen * configure.ac: Release 0.9.48 2005-08-22 Tommi Komulainen * 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 * 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 * configure.ac: Release 0.9.47 2005-08-17 Tommi Komulainen * 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 * 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 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 * 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 * 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 * 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 * 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 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached 2005-07-26 Luc Pionchon * 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 Fixed incorrect values in 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