hildon-widgets/hildon-time-editor.c : block signal handler for hildon_time_editor_ins...
[hildon] / ChangeLog
index 0a21616..6350757 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,489 @@
+3006-05-10 Tapani Palli <tapani.palli@nokia.com>
+
+       * hildon-widgets/hildon-time-editor.c:
+       block signal handler for hildon_time_editor_inserted_text
+
+       NB#28679
+
+2006-05-09  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-time-editor.c:
+       (_hildon_time_editor_get_time_separators) renamed from
+       _get_time_separator(). Refactored to return h-m and m-s
+       separators. Now it is independent of the time editor priv
+       structure and receives two labels that can be NULL.
+
+       (_HildonTimeEditorPrivate): removed hm_sep_symbol and ms_sep_symbol
+       members: not used anymore.
+       (hildon_time_editor_init): removed ref to above members.
+       (hildon_time_editor_finalize): likewise
+
+       (hildon_time_editor_check_locale): use
+       _hildon_time_editor_get_time_separators()
+       
+       * hildon-widgets/hildon-private.h: new file. To be used to use
+       private functions from other widgets inside the library.
+       (_hildon_time_editor_get_time_separators): added.
+       
+       * hildon-widgets/Makefile.am:
+       added hildon-private.h to the source list.
+
+       
+       * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
+       Use _hildon_time_editor_get_time_separators() to get the h-m
+       separator from the locale (and not from a .po file)
+
+       N#28654
+
+
+2006-05-09  Marius Vollmer  <marius.vollmer@nokia.com>
+
+       * hildon-widgets/hildon-find-toolbar.c
+       (hildon_find_toolbar_class_init): Reverted change from 2006-04-15:
+       The "search", "close", "invalid_input", "history_append" signals
+       have always been correctly registered: you don't include the last
+       'user data' parameter in the list of argument types passed to
+       g_signal_new et al.  Thanks to Jorn from OpenedHand!
+
+       N#28807
+       
+2006-05-08  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.14
+
+2006-05-04  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       gtk-doc config bits...
+       * autogen.sh: call aclocal first
+       * configure.ac: enable GTK_DOC_CHECK
+       * doc/Makefile.am: really "include". "-include" is not followed by
+       automake, as a result gtk-doc.make would not be processed.
+       
+
+2006-05-03  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       N#27000 (additional fixes to patch from 2006-05-01)
+
+       * hildon-widgets/hildon-banner.c (force_to_wrap_truncated): do not
+       hardcode pixel scaling factor ("/1000"), use PANGO_PIXELS instead
+       which deals with rounding (and uses the right factor: 1024).
+       Thanks Michael Natterer <mitch@imendio.com>
+
+       Force label size also when width_text == width_max.
+
+
+2006-05-03  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.13
+
+
+2006-05-03  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-font-selection-dialog.c:
+       (is_internal_font): new function. Tells if a font family is internal.
+       (filter_out_internal_fonts): new function. Filters out inernal fonts.
+       (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts
+       Fixes N#21854
+
+
+2006-05-01  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-libs/hildon-widgets/hildon-time-editor.c
+       * hildon-libs/hildon-widgets/hildon-time-picker.c
+       * hildon-libs/hildon-widgets/hildon-wizard-dialog.h
+       added comments to anonymous enums
+
+
+2006-05-01  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Hildon banner truncations,
+       * hildon-widgets/hildon-banner.c
+       (force_to_wrap_truncated): new function. Force to wrap truncated
+       label by setting explicit size request. See N#27000 and G#329646
+       (hildon_banner_check_position): call force_to_wrap_truncated()
+       fixes N#27000, N#25305, N#26203
+
+       * hildon-widgets/hildon-banner.c
+       (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
+       satisfy N#26624, N#26161, N#27875
+
+       * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.
+
+
+2006-05-01  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-banner.[ch]: code cleanup.
+
+
+2006-04-29  Johan Bilien  <johan.bilien@nokia.com>
+
+       * hildon-widgets/hildon-window.c:
+         - removed connection to self, replaced with overridding virtual
+           methods
+         - removed gtk_widget_set_event in init, legacy from HildonApp
+         - use gtk_widget_get_child_requisition() instead of
+           gtk_widget_size_request() in _allocation
+         - don't allocate space for the child if it is not visible
+
+2006-04-28  Johan Bilien  <johan.bilien@nokia.com>
+
+       * hildon-widgets/hildon-window.c:
+         - forgot to reinitialize convenience pointers to borders after they
+           are reinitialised
+         - replaced a g_return_if_fail with a g_return_val_if_fail now
+           that toggle_menu returns a g_boolean
+
+2006-04-28  Johan Bilien  <johan.bilien@nokia.com>
+
+       N#28176
+       * hildon-widgets/hildon-window.c: Free the borders structure
+         when the window is destroyed.
+
+2006-04-27 Tapani Palli <tapani.palli@nokia.com>
+
+       * hildon-widgets/hildon-caption.c : check if ancestor
+       (still) exists in set-focus handler, fixes N#25501
+
+2006-04-27  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-time-editor.c
+       (hildon_time_editor_check_locale): do not force lower case for
+       AM/PM symbols. Use the string as it is given by the locale. Makes
+       it coherent with hildon time picker. Fixes N#27963
+
+
+2006-04-26  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-set-password-dialog.c
+       (c_): new macro, calls dgettext on "hildon-common-strings" domain.
+       (hildon_set_password_response_set): use c_ for common strings
+       (hildon_set_password_response_change): likewise.
+       Fixes N#27749
+
+       * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
+
+
+2006-04-26  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
+       "hildon-fm" as textual domain. Fixes N#27702
+
+2006-04-26  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.12
+
+       * Makefile.am (clean-all): brutal target to cleanup the
+       folder. Will do this properly later.
+
+2006-04-25  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
+       included Makefile if missing).
+
+       * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
+       integration environement)
+
+       * configure.ac: print configuration summary after processing
+
+2006-04-24  Marius Vollmer  <marius.vollmer@nokia.com>
+
+        From Murray Cumming  <murrayc@murrayc.com>, M#183.
+
+       * hildon-widgets/hildon-calendar-popup.c:
+       (hildon_calendar_popup_new): Use only g_object_new(), passing 
+       it properties, so that language bindings can do the same.
+       (hildon_calendar_popup_set_date): Veryify the date here, 
+       instead of only in the _new() function.
+       (hildon_calendar_popup_set_property): Use get/set_date() to 
+       verify the new date and to select it.
+       (hildon_calendar_popup_get_property): Remove unused variables.
+       * ut/hildon-widgets_tests.c (test45): New.
+
+       * hildon-widgets/hildon-add-home-dialog.c:
+       (hildon_add_home_dialog_new): Move code into
+       hildon_add_home_dialog_init(),
+       hildon_add_home_dialog_set_old_name(), and
+       hildon_add_home_dialog_set_new_name().  Supply parameters as
+       properties values to g_object_new() instead, so that language
+       bindings can do the same.
+       (hildon_add_home_dialog_class_init): Added name and new_name
+       properties.
+       (hildon_add_home_dialog_init): Create always-needed widgets.
+       (hildon_add_home_dialog_get_property),
+       (hildon_add_home_dialog_set_property): Get/Set the name and
+       new_name properties, recreating widgets if necessary, using new
+       static helper function.
+       * ut/hildon-widgets_tests.c (test46): New.
+
+       * hildon-widgets/hildon-grid-item.c
+       (hildon_grid_item_set_property), (hildon_grid_item_get_property),
+       (hildon_grid_item_class_init): Add icon-basename property.
+       (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
+       from here to hildon_grid_item_init(), so we can just call
+       g_object_new().
+       (hildon_grid_item_set_label): Convert NULL label to empty string.
+       Bug fix: don't cast the label widget to a string and compare it
+       against the new label text, use gtk_label_get_label instead.
+       Expect priv->label to always be non-NULL.
+       (update_icon): Don't pass NULL icon name to
+       gtk_icon_theme_load_icon, use default icon instead in that case.
+       * hildon-widgets/hildon-grid-item.h: Make
+       _hildon_grid_item_set_label into public
+       hildon_grid_item_set_label(), so that language bindings can use
+       it.
+       * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
+       (test33a2, test33b4, test33b4): Expect them to succeed now that a
+       HildonGridItem can handle NULL icons.
+       
+2006-04-21  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.11
+
+
+2006-04-19 Tapani Palli <tapani.palli@nokia.com>
+
+       * thread safety (N#24348), fixed timeout and idle callbacks :
+       hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
+       hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
+       hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
+       hildon-widgets/hildon-banner.c : hildon_banner_timeout()
+       hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
+       hildon-widgets/hildon-time-editor.c : highlight_callback()
+       hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
+
+2006-04-19 Tapani Palli <tapani.palli@nokia.com>
+
+       * hildon-widgets/hildon-app.c (hildon_app_key_release): send
+       correct state for fullscreen, fixes N#26611
+
+2006-04-19  Johan Bilien  <johan.bilien@nokia.com>
+
+       N#22909 
+       * hildon-widgets/hildon-window.c:
+         - hildon_window_toggle_menu now returns whether or not something was
+           done
+         - hildon_window_key_press_event(): when handling the menu hard key,
+           return TRUE if we actually handled it
+       * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
+         now returns if something was done
+       * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
+         if we actually handled the menu hard key.
+
+2006-04-19  Johan Bilien  <johan.bilien@nokia.com>
+
+       * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
+         in fullscreen.
+
+2006-04-19  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.10
+
+
+2006-04-17  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * doc/hildon-libs-docs.sgml: added index for new symbols.
+
+       
+2006-04-17  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * doc/Makefile.am (version.xml): generates version.xml
+       * doc/hildon-libs-docs.sgml: added &version; entity, and display
+       the version number in the doc title.
+       
+
+2006-04-17  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Minor changes for gtk-doc
+       * hildon-note.c
+       * hildon-weekday-picker.h
+       * hildon-name-password-dialog.c
+       * hildon-calendar-popup.h
+       * hildon-range-editor.h
+       * hildon-volumebar-range.h
+       * hildon-banner.c
+       * hildon-app.c
+       * hildon-time-editor.c
+       * gtk-infoprint.c
+       * hildon-date-editor.h
+
+
+2006-04-16  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-time-editor.c
+       (hildon_time_editor_set_show_hours) 
+       (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
+
+
+2006-04-15  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       N#22557
+       * hildon-widgets/hildon-time-editor.c
+       (hildon_time_editor_entry_keypress): use
+       hildon_gtk_button_set_depressed, provided by osso-GTK, since
+       2.6.10-1.osso4, instead of GTK private symbol
+       _gtk_button_set_depressed
+
+
+2006-04-15  Marius Vollmer  <marius.vollmer@nokia.com>
+
+       From Murray Cummings (M#185 M#283), with slight changes:
+
+       * configure.ac: Add a --rebuilds option, defaulting to yes, so we
+       can disable the regeneration of hildon-libs-enum-types.[h|c], also
+       based on the gnome-vfs build.
+
+       * hildon-widgets/Makefile.am: Use glib-mkenums to generate
+       hildon-libs-enum-types.[h|c], and build them, based on the
+       gnome-vfs build. This adds GTypes for the enums, needed for
+       accurate signal registration, needed by bindings.
+
+       * hildon-widgets/hildon-number-editor.h: Rename the error_handler
+       default signal handler to range_error, so it has the same name as
+       the signal, as expected by bindings.
+
+       * hildon-widgets/hildon-marshalers.list: Change to the now-used
+       marshallers.
+
+       * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
+       since hildon_note_type_get_type is defined manually and
+       glib-mkenums should ignore this enum.
+
+       * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
+       * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
+
+       Correct the signal registration for:
+       
+       * hildon-widgets/hildon-app.c 
+       (hildon_app_class_init):
+       "switch_to",
+       "clipboard_copy",
+       "clipboard_cut",
+       "clipboard_paste"
+
+       * hildon-widgets/hildon-date-editor.c
+       (hildon_date_editor_class_init):
+       "date_error"
+
+       * hildon-widgets/hildon-find-toolbar.c
+       (hildon_find_toolbar_class_init):
+       "search", 
+       "close",
+       "invalid_input", 
+       "history_append signals"
+
+       * hildon-widgets/hildon-grid.c
+       (hildon_grid_class_init):
+       "popup_context_menu"
+
+       * hildon-widgets/hildon-number-editor.c
+       (hildon_number_editor_class_init):
+       "range_error".
+
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       M#90 - Use standard GLib macro names.
+       Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
+
+       Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
+       * hildon-widgets/hildon-calendar-popup.h: 
+       * hildon-widgets/hildon-date-editor.h: 
+       * hildon-widgets/hildon-range-editor.h: 
+       * hildon-widgets/hildon-weekday-picker.h: 
+       * hildon-widgets/hildon-volumebar-range.h: 
+
+       Updated macro name,
+       * hildon-widgets/hildon-calendar-popup.c: 
+       * hildon-widgets/hildon-date-editor.c: 
+       * hildon-widgets/hildon-range-editor.c: 
+       * hildon-widgets/hildon-volumebar-range.c: 
+       * hildon-widgets/hildon-weekday-picker.c:
+
+
+2006-04-13  Johan Bilien  <johan.bilien@nokia.com>
+
+       * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
+         for Ok and Cancel buttons.
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.9
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-color-button.c
+       (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
+       updated dimensions.
+
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-time-editor.c
+       (convert_to_12h): removed m and s paramters (useless)
+       (convert_to_24h): likewise.
+
+       
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Automatic focus movement for HildonTimeEditor (IMP-13)
+
+       * hildon-widgets/hildon-time-editor.c
+       (hildon_time_editor_init): connect after signal "insert_text"
+       (hildon_time_editor_inserted_text): new function.
+       On inserted text, if entry has two digits, jumps to the next field.
+
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Pops up the color selector on 'select' hardkey (IMP-15)
+       
+       * hildon-widgets/hildon-color-button.c
+       (hildon_color_button_init): connect "key-release-event"
+       (hildon_color_button_key_released): new function.
+       Pops up the color selector on 'select' hardkey release
+
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Hildon grid, set items to be focus-and-activate instead of single
+       tap activation (IMP-14) 
+       
+       * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
+       * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
+
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Fetch hours/minutes/seconds separators from current locale (IMP-8)
+       N#19061
+
+       * hildon-widgets/hildon-time-editor.c
+       (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
+       (hildon_time_editor_init): do not get separator labels from i18n, but from locale
+       (hildon_time_editor_finalize): free separator symbols
+       (get_time_separators): new function. Get time separators from locale.
+       (hildon_time_editor_check_locale): call get_time_separators.
+
+2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Removed icon for mandatory fields (IMP-3).
+       Note: the logic and API to specify mandatory fields is preserved.
+
+       * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
+       (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
+       (hildon_caption_set_property): case PROP_STATUS, removed related code.
+       (hildon_caption_set_label_alignment): removed related code.
+
+
+2006-04-07  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * configure.ac: 0.12.8
+
+2006-04-07  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
+
+
 2006-04-07  Tomas Junnonen  <tomas.junnonen@nokia.com>
 
        - Added support for Pango markup