X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=ChangeLog;h=635075792a28bee22841b65ada572021d479a183;hb=d173f8ecb47d1c052d24e512b3af8e182829d8bb;hp=64b706c79d8bb36efd422526b3faf0847a72a5f8;hpb=950096d063a5febe6f75df327879e6ef6240da0a;p=hildon diff --git a/ChangeLog b/ChangeLog index 64b706c..6350757 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1185 @@ +3006-05-10 Tapani Palli + + * hildon-widgets/hildon-time-editor.c: + block signal handler for hildon_time_editor_inserted_text + + NB#28679 + +2006-05-09 Luc Pionchon + + * 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 + + * 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 + + * configure.ac: 0.12.14 + +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