1 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
3 * configure.ac: 0.12.13
6 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
8 * hildon-widgets/hildon-font-selection-dialog.c:
9 (is_internal_font): new function. Tells if a font family is internal.
10 (filter_out_internal_fonts): new function. Filters out inernal fonts.
11 (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts
15 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
17 * hildon-libs/hildon-widgets/hildon-time-editor.c
18 * hildon-libs/hildon-widgets/hildon-time-picker.c
19 * hildon-libs/hildon-widgets/hildon-wizard-dialog.h
20 added comments to anonymous enums
23 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
25 Hildon banner truncations,
26 * hildon-widgets/hildon-banner.c
27 (force_to_wrap_truncated): new function. Force to wrap truncated
28 label by setting explicit size request. See N#27000 and G#329646
29 (hildon_banner_check_position): call force_to_wrap_truncated()
30 fixes N#27000, N#25305, N#26203
32 * hildon-widgets/hildon-banner.c
33 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
34 satisfy N#26624, N#26161, N#27875
36 * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.
39 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
41 * hildon-widgets/hildon-banner.[ch]: code cleanup.
44 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
46 * hildon-widgets/hildon-window.c:
47 - removed connection to self, replaced with overridding virtual
49 - removed gtk_widget_set_event in init, legacy from HildonApp
50 - use gtk_widget_get_child_requisition() instead of
51 gtk_widget_size_request() in _allocation
52 - don't allocate space for the child if it is not visible
54 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
56 * hildon-widgets/hildon-window.c:
57 - forgot to reinitialize convenience pointers to borders after they
59 - replaced a g_return_if_fail with a g_return_val_if_fail now
60 that toggle_menu returns a g_boolean
62 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
65 * hildon-widgets/hildon-window.c: Free the borders structure
66 when the window is destroyed.
68 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
70 * hildon-widgets/hildon-caption.c : check if ancestor
71 (still) exists in set-focus handler, fixes N#25501
73 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
75 * hildon-widgets/hildon-time-editor.c
76 (hildon_time_editor_check_locale): do not force lower case for
77 AM/PM symbols. Use the string as it is given by the locale. Makes
78 it coherent with hildon time picker. Fixes N#27963
81 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
83 * hildon-widgets/hildon-set-password-dialog.c
84 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
85 (hildon_set_password_response_set): use c_ for common strings
86 (hildon_set_password_response_change): likewise.
89 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
92 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
94 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
95 "hildon-fm" as textual domain. Fixes N#27702
97 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
99 * configure.ac: 0.12.12
101 * Makefile.am (clean-all): brutal target to cleanup the
102 folder. Will do this properly later.
104 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
106 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
107 included Makefile if missing).
109 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
110 integration environement)
112 * configure.ac: print configuration summary after processing
114 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
116 From Murray Cumming <murrayc@murrayc.com>, M#183.
118 * hildon-widgets/hildon-calendar-popup.c:
119 (hildon_calendar_popup_new): Use only g_object_new(), passing
120 it properties, so that language bindings can do the same.
121 (hildon_calendar_popup_set_date): Veryify the date here,
122 instead of only in the _new() function.
123 (hildon_calendar_popup_set_property): Use get/set_date() to
124 verify the new date and to select it.
125 (hildon_calendar_popup_get_property): Remove unused variables.
126 * ut/hildon-widgets_tests.c (test45): New.
128 * hildon-widgets/hildon-add-home-dialog.c:
129 (hildon_add_home_dialog_new): Move code into
130 hildon_add_home_dialog_init(),
131 hildon_add_home_dialog_set_old_name(), and
132 hildon_add_home_dialog_set_new_name(). Supply parameters as
133 properties values to g_object_new() instead, so that language
134 bindings can do the same.
135 (hildon_add_home_dialog_class_init): Added name and new_name
137 (hildon_add_home_dialog_init): Create always-needed widgets.
138 (hildon_add_home_dialog_get_property),
139 (hildon_add_home_dialog_set_property): Get/Set the name and
140 new_name properties, recreating widgets if necessary, using new
141 static helper function.
142 * ut/hildon-widgets_tests.c (test46): New.
144 * hildon-widgets/hildon-grid-item.c
145 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
146 (hildon_grid_item_class_init): Add icon-basename property.
147 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
148 from here to hildon_grid_item_init(), so we can just call
150 (hildon_grid_item_set_label): Convert NULL label to empty string.
151 Bug fix: don't cast the label widget to a string and compare it
152 against the new label text, use gtk_label_get_label instead.
153 Expect priv->label to always be non-NULL.
154 (update_icon): Don't pass NULL icon name to
155 gtk_icon_theme_load_icon, use default icon instead in that case.
156 * hildon-widgets/hildon-grid-item.h: Make
157 _hildon_grid_item_set_label into public
158 hildon_grid_item_set_label(), so that language bindings can use
160 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
161 (test33a2, test33b4, test33b4): Expect them to succeed now that a
162 HildonGridItem can handle NULL icons.
164 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
166 * configure.ac: 0.12.11
169 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
171 * thread safety (N#24348), fixed timeout and idle callbacks :
172 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
173 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
174 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
175 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
176 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
177 hildon-widgets/hildon-time-editor.c : highlight_callback()
178 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
180 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
182 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
183 correct state for fullscreen, fixes N#26611
185 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
188 * hildon-widgets/hildon-window.c:
189 - hildon_window_toggle_menu now returns whether or not something was
191 - hildon_window_key_press_event(): when handling the menu hard key,
192 return TRUE if we actually handled it
193 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
194 now returns if something was done
195 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
196 if we actually handled the menu hard key.
198 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
200 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
203 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
205 * configure.ac: 0.12.10
208 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
210 * doc/hildon-libs-docs.sgml: added index for new symbols.
213 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
215 * doc/Makefile.am (version.xml): generates version.xml
216 * doc/hildon-libs-docs.sgml: added &version; entity, and display
217 the version number in the doc title.
220 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
222 Minor changes for gtk-doc
224 * hildon-weekday-picker.h
225 * hildon-name-password-dialog.c
226 * hildon-calendar-popup.h
227 * hildon-range-editor.h
228 * hildon-volumebar-range.h
231 * hildon-time-editor.c
233 * hildon-date-editor.h
236 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
238 * hildon-widgets/hildon-time-editor.c
239 (hildon_time_editor_set_show_hours)
240 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
243 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
246 * hildon-widgets/hildon-time-editor.c
247 (hildon_time_editor_entry_keypress): use
248 hildon_gtk_button_set_depressed, provided by osso-GTK, since
249 2.6.10-1.osso4, instead of GTK private symbol
250 _gtk_button_set_depressed
253 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
255 From Murray Cummings (M#185 M#283), with slight changes:
257 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
258 can disable the regeneration of hildon-libs-enum-types.[h|c], also
259 based on the gnome-vfs build.
261 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
262 hildon-libs-enum-types.[h|c], and build them, based on the
263 gnome-vfs build. This adds GTypes for the enums, needed for
264 accurate signal registration, needed by bindings.
266 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
267 default signal handler to range_error, so it has the same name as
268 the signal, as expected by bindings.
270 * hildon-widgets/hildon-marshalers.list: Change to the now-used
273 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
274 since hildon_note_type_get_type is defined manually and
275 glib-mkenums should ignore this enum.
277 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
278 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
280 Correct the signal registration for:
282 * hildon-widgets/hildon-app.c
283 (hildon_app_class_init):
289 * hildon-widgets/hildon-date-editor.c
290 (hildon_date_editor_class_init):
293 * hildon-widgets/hildon-find-toolbar.c
294 (hildon_find_toolbar_class_init):
298 "history_append signals"
300 * hildon-widgets/hildon-grid.c
301 (hildon_grid_class_init):
304 * hildon-widgets/hildon-number-editor.c
305 (hildon_number_editor_class_init):
309 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
311 M#90 - Use standard GLib macro names.
312 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
314 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
315 * hildon-widgets/hildon-calendar-popup.h:
316 * hildon-widgets/hildon-date-editor.h:
317 * hildon-widgets/hildon-range-editor.h:
318 * hildon-widgets/hildon-weekday-picker.h:
319 * hildon-widgets/hildon-volumebar-range.h:
322 * hildon-widgets/hildon-calendar-popup.c:
323 * hildon-widgets/hildon-date-editor.c:
324 * hildon-widgets/hildon-range-editor.c:
325 * hildon-widgets/hildon-volumebar-range.c:
326 * hildon-widgets/hildon-weekday-picker.c:
329 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
331 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
332 for Ok and Cancel buttons.
334 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
336 * configure.ac: 0.12.9
338 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
340 * hildon-widgets/hildon-color-button.c
341 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
345 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
347 * hildon-widgets/hildon-time-editor.c
348 (convert_to_12h): removed m and s paramters (useless)
349 (convert_to_24h): likewise.
352 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
354 Automatic focus movement for HildonTimeEditor (IMP-13)
356 * hildon-widgets/hildon-time-editor.c
357 (hildon_time_editor_init): connect after signal "insert_text"
358 (hildon_time_editor_inserted_text): new function.
359 On inserted text, if entry has two digits, jumps to the next field.
362 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
364 Pops up the color selector on 'select' hardkey (IMP-15)
366 * hildon-widgets/hildon-color-button.c
367 (hildon_color_button_init): connect "key-release-event"
368 (hildon_color_button_key_released): new function.
369 Pops up the color selector on 'select' hardkey release
372 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
374 Hildon grid, set items to be focus-and-activate instead of single
375 tap activation (IMP-14)
377 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
378 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
381 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
383 Fetch hours/minutes/seconds separators from current locale (IMP-8)
386 * hildon-widgets/hildon-time-editor.c
387 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
388 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
389 (hildon_time_editor_finalize): free separator symbols
390 (get_time_separators): new function. Get time separators from locale.
391 (hildon_time_editor_check_locale): call get_time_separators.
393 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
395 Removed icon for mandatory fields (IMP-3).
396 Note: the logic and API to specify mandatory fields is preserved.
398 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
399 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
400 (hildon_caption_set_property): case PROP_STATUS, removed related code.
401 (hildon_caption_set_label_alignment): removed related code.
404 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
406 * configure.ac: 0.12.8
408 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
410 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
413 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
415 - Added support for Pango markup
416 Added hildon_banner_show_information_with_markup
417 - Removed hildon_banner_show_confirmation
418 - Re-position the banner when its content changes
419 - Banner now doesn't truncate strings nor insert linebreaks
420 - fixes N#24339 - Information banners do not resize
422 * hildon-widgets/hildon-banner.[ch]
423 (hildon_banner_show_information_with_markup): new function. Adds
424 pango markup support for information banners.
426 (hildon_banner_show_confirmation): removed. 'confirmation' was
427 used only for the taask navigator (at most). It should use
428 _show_information_with_markup with appropriate markup.
430 (hildon_banner_set_markup): new function.
432 (hildon_banner_check_position): new function. Factor code from
433 hildon_banner_realize(), and update position calculation.
435 (struct _HildonBannerPrivate): removed max_lines.
436 Uses as much lines as needed.
438 (hildon_banner_init): set banner label to wrap lines.
440 (hildon_banner_set_text): do not truncate. Update banner's position.
442 (hildon_banner_set_markup): new function.
443 Set banner's text with Pango markup.
445 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
448 * hildon-widgets/gtk-infoprint.c
449 (gtk_confirmation_banner): use hildon_banner_show_information
450 instead of _show_confirmation.
451 (gtk_confirmation_banner_with_icon_name): likewise.
454 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
456 * hildon-widgets/hildon-color-button.c
457 (hildon_color_field_expose_event): correct parameter order.
460 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
462 * hildon-widgets/hildon-window.c:
463 - Fixed a potential infinite loop when detaching the menus
464 from the window widget (Closes N#26033)
466 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
468 * hildon-widgets/hildon-window.c:
469 - Fixed a bug that made window fullscreen state tracking fail
470 - Apply correct theming to menus so that they get placed
471 correctly (Fixes N#24325)
472 - Redraw the window borders if the size of the toolbar vbox changes
473 - Reset the program to NULL in hildon_window_destroy
474 - Stop the ESC key-press timeout when the window loses the focus
476 * hildon-widgets/hildon-program.c:
477 - Reset the common toolbar to NULL when the program is finalised
479 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
481 * hildon-widgets/hildon-get-password-dialog.h,
482 hildon-widgets/hildon-get-password-dialog.c
483 (hildon_get_password_dialog_new,
484 hildon_get_password_dialog_new_with_default): Renamed
485 get_old_password_title parameter to "get_old" to correspond with
486 the property name. This helps the C++ bindings.
487 * ut/hildon-widgets_tests.c (test43, test44): New.
489 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
491 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
492 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
497 * hildon-lgpl/hildon-caption.c:
498 (hildon_caption_init): Do the hildon_caption_set_child_expand()
500 (hildon_caption_new): Use the child property from GtkContainer
501 instead of calling gtk_container_add(), because _new() functions
502 should just use g_object_new(), so that language-bindings can do
505 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
507 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
509 * configure.ac: 0.12.7
511 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
514 * hildon-widgets/hildon-font-selection-dialog.c
515 (REFERENCE_LINE): removed
516 (hildon_font_selection_dialog_show_preview): added l10n support
517 for the reference string (use to differentiate sub/super script in
519 (hildon_font_selection_dialog_show_preview): likewise
522 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
524 * po/en_GB.po: update
526 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
528 * hildon-widgets/hildon-add-home-dialog.c
529 (hildon_add_home_dialog_init): removed i18n support (deprecated
530 widget. Hinder logical ID processing)
531 (hildon_add_home_dialog_new): likewise.
533 * hildon-widgets/hildon-insert-object-dialog.c
534 (hildon_insert_object_dialog_init): likewise.
537 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
539 * hildon-widgets/hildon-font-selection-dialog.c
540 (hildon_font_selection_dialog_construct_notebook): logical ID typo
543 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
545 * hildon-widgets/hildon-window.[ch]:
546 - update the title when the window is realized
547 - added support for long press on the ESC key. Fixes N#24620
549 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
551 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
553 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
555 * hildon-widgets/hildon-seekbar.c
556 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
558 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
560 * configure.ac: 0.12.6
562 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
564 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
565 fixed typo GKD_Left -> GDK_Left, N#24042
568 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
574 Updated logical id to lower case: Ckct_ -> ckct_
575 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
576 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
577 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
578 (hildon_range_editor_init, hildon_range_editor_entry_validate)
579 (hildon_range_editor_entry_validate):
580 * hildon-widgets/hildon-time-editor.c (validated_conversion)
581 (validated_conversion, hildon_time_editor_real_validate):
582 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
586 Updated logical id to lower case: Ecdg_ -> ecdg_
587 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
588 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
589 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
590 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
591 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
592 (hildon_wizard_dialog_create_title):
593 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
594 (hildon_find_toolbar_init):
595 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
596 (hildon_note_rebuild, hildon_note_set_button_text):
599 Removed i18n support for property description,
600 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
603 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
605 * configure.ac: 0.12.5
607 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
609 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
610 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
613 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
615 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
618 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
620 Cleanup wizard dialog,
622 * hildon-widgets/hildon-wizard-dialog.c
623 (struct HildonWizardDialogPrivate): removed 'previous_button'
624 and 'next_button' (obsolete)
626 (hildon_wizard_dialog_response): new private function. Handles the
627 'response' signal and replaces direction_button_clicked() in
628 taking care of notebook page changes and button dimming.
630 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
631 added to the dialog as response buttons. This enables the usage of
632 GtkDialog API for setting their sensitiveness.
634 (dimming/undimming): Connected hildon_wizard_dialog_response to
635 "resonse" signal. Removed useless title creation because it
636 depends on the notebook which is not yet created.
638 (hildon_wizard_dialog_set_property): minor code cleanup
640 (hildon_wizard_dialog_create_title): removed useless else-if
643 * hildon-widgets/hildon-wizard-dialog.h
644 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
647 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
648 adding the page_change signal, as the application can now track
649 the response signal instead.
652 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
654 * configure.ac: 0.12.4
657 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
661 moved widget descriptions to respective source file (*.c)
665 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
669 * hildon-widgets/hildon-color-button.c:
670 - removed unused #include
671 - removed unused gettext macro
673 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
674 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
675 + value updated to match specifications
677 (struct _HildonColorButtonPrivate):
678 removed 'drawing_area' and 'pixbuf' members (unused)
680 (hildon_color_button_init):
681 use drawing_area directly, update COLOR_FILLED_ macro names
683 (hildon_color_button_unrealize): new function.
684 (hildon_color_button_class_init): register unrealize function
685 (hildon_color_button_finalize): free allocated GC in unrealize
686 handler instead of in finalize.
688 (hildon_color_button_recolor_pixbuf): removed. (use
689 gdk_draw_rectangle() instead)
690 (hildon_color_button_draw_pixbuf_borders): likewise
692 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
694 (hildon_color_button_set_property): queue the drawing - instead of
695 calling recolor_pixbuf
697 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
700 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
702 More cleanup for range editor,
704 * hildon-widgets/hildon-range-editor.[ch]
705 - removed useless includes
706 (hildon_range_editor_new_with_separator): set char parameter 'const'
708 * hildon-widgets/hildon-range-editor.c
709 - removed useless includes
710 - rewritten a lot of functions because code was inefficient.
711 - removed useless g_return_if_fail calls from various functions.
713 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
714 (hildon_range_editor_entry_keypress): rewritten
715 (hildon_range_editor_entry_focus_out): rewritten
716 (hildon_range_editor_refresh_widths): New function
717 (hildon_range_editor_set_range): Make sure that the values are in
719 (hildon_range_editor_set_lower): rewritten.
720 (hildon_range_editor_set_higher): rewritten.
721 (hildon_range_editor_set_min): rewritten.
722 (hildon_range_editor_set_max): rewritten.
724 (hildon_range_editor_entry_validate): New validator function
725 (hildon_range_editor_entry_changed): New signal handler for
726 "changed" for entries, this will now validate whenever entry changes.
728 (hildon_range_editor_entry_focus_out): Added g_assert for
729 editor. Removed call to hildon_range_editor_apply_current_range().
730 Added call to the new function hildon_range_editor_entry_validate()
733 (hildon_range_editor_init): connected
734 hildon_range_editor_entry_changed to "changed" for entries.
737 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
739 Major cleanup for time editor
741 * hildon-widgets/hildon-time-editor.c
742 - removed unused #includes.
743 - Removed useless g_return_if_fail(editor) calls
744 (HILDON_IS_TIME_EDITOR does this check as well for us).
746 (hildon_time_editor_add_style): removed, obsolete.
747 (hildon_time_editor_mnemonic_activate): removed, obsolete
748 (hildon_time_editor_get_max_values): removed, obsolete.
750 (validated_conversion): New helper function
752 (hildon_time_editor_entry_changed): New function, now the widget
753 interactively validates the inputted contents (not requiring focus
756 (ticks_to_time): rewritten, using less arithmetic operations.
757 (hildon_time_editor_validate): rewritten
758 (hildon_time_editor_set_ticks): rewritten
759 (hildon_time_editor_set_duration_mode): rewritten
760 (hildon_time_editor_entry_keypress): rewritten
762 * hildon-widgets/hildon-time-editor.[ch]
763 (hildon_time_editor_set_show_hours)
764 (hildon_time_editor_get_show_hours) new functions to show/hide hours
767 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
769 Cleanup number editor
771 * hildon-widgets/hildon-number-editor.c:
772 (SPACE_BORDER): removed
774 (hildon_number_editor_size_request):
775 (hildon_number_editor_size_allocate): updated to use hildondefines
777 (hildon_number_editor_mnemonic_activate): function removed,
778 mnemonic are not used
780 (hildon_number_editor_stop_repeat_timer): new function, to avoid
782 (hildon_number_editor_button_release):
783 (hildon_number_editor_finalize): updated to use new function
785 (hildon_number_editor_entry_keypress): completely rewritten
786 (change_numbers): likewise
787 (do_mouse_timeout): likewise
788 (hildon_number_editor_set_range): likewise
790 (hildon_number_editor_validate_value): new function, used for all
792 (hildon_number_editor_focus_out):
793 (hildon_number_editor_entry_changed): updated to use previous.
795 (hildon_number_editor_real_set_value): new function that formats
796 given int to field. Used by change_numbers and set_value
798 (integer_to_string): removed, we now have one place that
799 converts numbers and that uses buffer from stack.
800 (hildon_number_editor_set_value): changed to use new format function.
803 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
805 * hildon-widgets/hildon-time-picker.c:
806 reorganized how the widgets are stored to reduce code
807 (HildonTimePickerWidgetGroup): new struct
808 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
809 (hildon_time_picker_init)
810 (hildon_time_picker_arrow_press)
811 (hildon_time_picker_event_box_key_press)
812 (hildon_time_picker_change_time)
813 (hildon_time_picker_map)
814 (hildon_time_picker_event_box_key_release): use new widget organization
817 (hildon_time_picker_init): return value from nl_timeinfo() is
818 valid only until it's called again, so g_strdup() the value when
821 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
822 (HILDON_TIME_PICKER_LABEL_X_PADDING)
823 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
824 (hildon_time_picker_set_time):
825 (hildon_time_picker_get_time):
826 (hildon_time_picker_ampm_release): used the new defines
828 (struct _HildonTimePickerPrivate)
829 (hildon_time_picker_init)
830 (hildon_time_picker_event_box_key_press)
831 (hildon_time_picker_change_time):
832 - c12h renamed to show_ampm,
833 - ampo_pos renamed to ampm_left.
835 (hildon_time_picker_timeout): renamed to
836 hildon_time_picker_key_repeat_timeout(),
837 and renamed parameter to 'hildon_time_picker'
839 (hildon_time_picker_event_box_press): renamed to
840 hildon_time_picker_event_box_button_press()
842 (hildon_time_picker_finalize): Added finalizer to make sure the
843 key repeat timeout handler gets removed.
845 (hildon_time_picker_arrow_press): Placed multipliers into
846 button_multipliers[] array to avoid multiple if/then/else
850 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
852 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
853 calculates correctly which items will be visible. Fixes N#16991.
856 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
858 * hildon-widgets/hildon-find-toolbar.c
859 (hildon_find_toolbar_history_append): set "column" property only
860 after model has been set.
863 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
865 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
866 the parameter more descriptively
869 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
873 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
875 * hildon-widgets/hildon-app.[ch]
876 (hildon_zoom_level_get_type): removed G_CONST_RETURN
878 * hildon-widgets/hildon-app.c:
879 - removed HILDON_DISABLE_DEPRECATED flags
880 - added g_assert'ions to internal functions
883 (hildon_app_button): Move the fixed define to the function itself,
884 add simple autodetection, clean up comments.
886 (hildon_app_key_release): Remove bogus argument to signal emission
887 (not needed), emit the "fullscreen_state_change" directly instead
888 of calling set_fullscreen.
890 (hildon_app_construct_title): removed dead code
892 (hildon_app_register_view_with_id): do not call g_slist_nth() to
893 get the first element...
896 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
898 * hildon-widgets/hildon-appview.c:
899 (hildon_appview_init): indented comments properly
900 (paint_toolbar): indented comments properly
901 (hildon_appview_expose): indented code properly
902 (hildon_appview_toolbar_toggle_request): removed dead code
905 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
907 * hildon-widgets/hildon-caption.c
908 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
909 (hildon_caption_size_allocate): likewise.
910 (hildon_caption_forall): likewise.
913 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
915 Cleanup Find toolbar,
917 * hildon-widgets/hildon-find-toolbar.[ch]
918 (hildon_find_toolbar_new): set 'label' parameter const.
919 (hildon_find_toolbar_new_with_model): likewise.
921 * hildon-widgets/hildon-find-toolbar.c
922 (struct _HildonFindToolbarPrivate):
923 changed entry_combo_box type to GtkComboBoxEntry*
925 (hildon_find_toolbar_get_list_model): new function, to factor
926 member access and casting
927 (hildon_find_toolbar_get_entry): likewise.
928 (hildon_find_toolbar_apply_filter): removed set_column parameter
929 since it was used by only one caller, and made the caller do it
930 instead. Removed unnecessary casts.
932 (hildon_find_toolbar_find_string): new function.
933 (hildon_find_toolbar_history_append): code cleanup. use
934 hildon_find_toolbar_find_string.
936 (hildon_find_toolbar_get_property)
937 (hildon_find_toolbar_get_entry)
938 (hildon_find_toolbar_init)
939 (hildon_find_toolbar_new)
940 (hildon_find_toolbar_new_with_model)
941 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
942 and changed some of them to use the new convenience functions
945 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
946 instead of if-check to validate parameter.
949 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
951 Cleanup hildon-defines,
953 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
954 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
956 (hildon_logical_data_free): new function. Free logical data.
957 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
958 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
960 * hildon-widgets/hildon-defines.[ch]
961 (hildon_gtk_widget_set_logical_font): use const gchar*
962 (hildon_gtk_widget_set_logical_color): likewise.
964 * hildon-widgets/hildon-defines.c:
965 (hildoniconsizes): set const
966 (hildoninternaliconsizes): set static, renamed 'iis'
969 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
971 Cleanup Caption widget,
973 * hildon-lgpl/hildon-caption.[ch]
974 (hildon_caption_status_get_type, hildon_caption_get_type):
975 G_CONST_RETURN removed, G_GNUC_CONST added
977 * hildon-widgets/hildon-caption.c
979 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
981 (hildon_caption_set_property): removed useless code.
982 (hildon_caption_button_press): simplified greatly by removing the
983 unnecessary recursion to locate the first focusable child of a
984 container - simple gtk_widget_grab_focus achieves the same
985 (get_first_focusable_child): removed (not used anymore)
987 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
989 (hildon_caption_set_focus_child): removed (not used anymore)
990 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
992 (hildon_caption_hierarchy_changed): type check added
993 (hildon_caption_forall): callback null check added
994 (hildon_caption_set_status): type check added
995 (hildon_caption_set_icon_image): type check added
996 (hildon_caption_activate): activate_block kludge removed as outdated
997 (hildon_caption_get_child_expand): argument declared const
998 (hildon_caption_set_label_text): g_return_if_fail changed to
999 g_assert since this is not a public function;
1000 Duplicate separator check now uses correct localized separator
1001 instead of assuming ':'
1004 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1008 * hildon-lgpl/hildon-appview-c:
1009 (hildon_app_view_init): Fixed a problem that prevented to set an
1010 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
1011 between toolbars). This fix involves a change in the default gtkrc
1012 file, ie. the modification of the 'border' value of the
1013 "toolbar-frame-middle" image in the osso-appview-background style.
1015 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
1016 widget supporting adjustements, not only viewports.
1018 (visible_toolbar): use proper parameter names
1019 (find_findtoolbar_index): likewise.
1020 (find_findtoolbar): likewise.
1022 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
1023 (hildon_appview_finalize): likewise.
1024 (hildon_appview_signal_marshal): likewise.
1025 (hildon_appview_forall): likewise.
1026 (hildon_appview_switched_to): likewise.
1027 (hildon_appview_real_fullscreen_state_change): likewise.
1030 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1032 * hildon-widgets/hildon-date-editor.c
1033 (hildon_date_editor_entry_validate): Now, if an invalid date is
1034 entered, date-editor reverts to previous date, instead of setting
1035 the maximum allowed days.
1038 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1040 * hildon-widgets/hildon-date-editor.h
1041 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1043 * hildon-widgets/hildon-date-editor.c
1044 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1045 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1048 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1050 * hildon-widgets/hildon-get-password-dialog.c:
1051 (hildon_get_password_dialog_set_title): Removed the deprecation
1052 #ifdefs from the .c file.
1054 * hildon-widgets/hildon-file-handling-note.c: likewise.
1058 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1060 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1062 * hildon-widgets/hildon-color-selector.c
1063 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1064 (hildon_color_selector_expose)
1065 (hildon_color_selector_get_color)
1066 (hildon_color_selector_set_color)
1069 (modify_focused): Separate selected color and focused color.
1070 Focused color now draws a different colored border around it.
1071 Renamed modify_selected() to modify_focused().
1073 * hildon-widgets/hildon-color-selector.c
1074 (hildon_color_selector_expose)
1075 (select_color): Changed the logic in how the box positions are
1076 calculated. The old logic was wrong, but just happened to work
1077 with those specific values.
1079 * hildon-widgets/hildon-color-selector.c
1080 (hildon_color_selector_expose): Draw the selected-border using
1081 ImageBorderColor color instead of hardcoded black.
1084 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1086 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1087 removed current_color; use initial_color directly.
1088 Disabled select-hardkey from activating to OK-button by default.
1091 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1093 * hildon-widgets/hildon-date-editor.c
1094 (hildon_date_editor_keypress): removed the unnecessary check for
1095 the position of the cursor in the text-field which was hindering
1096 the Left key from working as expected.
1099 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1101 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1102 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1104 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1106 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1109 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1111 * hildon-widgets/hildon-font-selection-dialog.c
1112 (hildon_font_selection_dialog_show_preview): set line wrap for
1116 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1118 * hildon-widgets/hildon-date-editor.c
1119 (hildon_child_forall): cast 'container'
1120 (hildon_date_editor_size_allocate): adjusted height allocation.
1123 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1125 Cleanup calendar popup,
1127 * hildon-widgets/hildon-calendar-popup.c:
1128 - updated 'longdesc' comment.
1129 - removed gtk-infoprint.h from included headers (unused).
1131 (struct HildonCalendarPopupPrivate): removed member
1132 'can_exit' (useless).
1133 (hildon_calendar_day_selected): removed (useless).
1134 (hildon_calendar_allow_exit): likewise.
1135 (hildon_calendar_deny_exit): likewise.
1137 (hildon_calendar_selected_date): new function. replaces
1138 hildon_calendar_allow_exit()
1140 (hildon_calendar_popup_init):
1141 - Removed initialization for 'can_exit'.
1142 - Removed connection to removed useless functions.
1143 - Connect "selected_date" to hildon_calendar_selected_date().
1144 - Do not grab the focus (useless)
1146 (hildon_key_pressed): just handle ESC and Return keys.
1148 (hildon_calendar_popup_get_property): removed unused variables.
1151 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1153 * hildon-widgets/hildon-caption.c
1154 * hildon-widgets/hildon-composite-widget.h
1155 * hildon-widgets/hildon-get-password-dialog.c
1156 * hildon-widgets/hildon-grid.h
1157 * hildon-widgets/hildon-grid-item.h
1158 * hildon-widgets/hildon-volumebar-range.c
1159 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1161 (hildon_controlbar_get_type): likewise.
1163 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1165 * doc/hildon-libs.types: Add missing types
1166 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1167 * doc/tmpl/*: Regenerate and add new files
1169 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1172 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1174 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1176 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1177 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1179 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1183 * doc/Makefile.am: Update gtk-doc framework bits
1184 * gtk-doc.make (commit generated file)
1185 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1187 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1188 * hildon-widgets/hildon-code-dialog.c:
1192 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1194 * hildon-widgets/hildon-window.c: propagate key-press event to the
1195 parent class (Closes N#23400)
1196 * configure.ac: 0.12.3
1198 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1200 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1202 * configure.ac: 0.12.2
1205 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1207 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1208 g_assert instead of g_return_val_if_fail
1213 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1215 * hildon-widgets/hildon-get-password-dialog.[ch]:
1216 (hildon_get_password_dialog_set_title) marked deprecated.
1218 + cleanup header coding style
1221 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1223 Cleanup font selection dialog
1225 * hildon-widgets/hildon-font-selection-dialog.c
1227 (hildon_font_selection_dialog_construct_notebook): removed dummy
1230 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1232 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1233 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1235 (toggle_clicked): renamed argument 'data' to 'unused'
1237 (hildon_font_selection_dialog_set_preview_text): added proper
1241 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1243 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1244 removed console messages.
1247 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1249 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1250 (struct _HildonSortDialogPrivate):
1251 - removed okButton, cancelButton
1252 - removed sort_by_value, sort_order_type
1253 - removed index_first
1254 - renamed combo1 to combo_key
1255 - renamed caption1 to caption_key
1256 - renamed combo2 to combo_order
1257 - renamed caption2 to cpation_order
1259 (hildon_sort_dialog_init): removed init of unused fields.
1260 use new field names.
1261 (hildon_sort_dialog_get_sort_key): likewise.
1262 (hildon_sort_dialog_get_sort_order): likewise.
1263 (hildon_sort_dialog_set_sort_key): likewise.
1264 (hildon_sort_dialog_set_sort_order): likewise.
1265 (hildon_sort_dialog_add_sort_key): likewise.
1267 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1269 * hildon-widgets/hildon-date-editor.c
1270 (hildon_child_forall): use g_assert instead of g_return_if_fail
1271 (hildon_date_editor_entry_validate): likewise.
1274 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1276 * hildon-widgets/hildon-controlbar.c
1277 (hildon_controlbar_change_value): commented function.
1279 * hildon-widgets/hildon-wizard-dialog.c
1280 (hildon_wizard_dialog_get_property): likewise.
1283 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1285 Cleanup weekday picker,
1287 * hildon-widgets/hildon-weekday-picker.c
1288 (_): removed unused gettext macro
1289 (button_toggle): use meaningful parameter name
1290 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1291 (hildon_weekday_picker_size_allocate): likewise.
1292 (button_toggle): likewise.
1295 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1297 Cleanup time editor,
1299 * hildon-widgets/hildon-time-editor.c
1300 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1301 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1302 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1303 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1305 (struct _HildonTimeEditorPrivate):
1306 - h_entry, m_entry, s_entry replaced by entries[],
1307 allows to remove a lot of code.
1308 - label renamed to hm_label
1309 - label2 renamed to sec_label
1310 - ampm renamed to ampm_label
1311 - show_s renamed to show_seconds
1312 - removed fields: icon, valid_value, validated
1314 + moved up in the file.
1316 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1318 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1320 (set_widget_allocation): removed
1321 (hildon_time_editor_entry_changed): removed
1323 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1325 (hildon_time_editor_forall): removed unnecessary code
1326 (hildon_time_editor_destroy): likewise.
1328 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1330 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1332 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1333 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1334 use new variable names,
1335 use hildon_time_editor_set_to_current_time
1337 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1338 (hildon_time_editor_set_ticks): use g_assert instead of
1339 g_return_if_fails, use
1340 'entries[]', removed dead code
1342 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1343 (hildon_time_editor_validate): use 'entries[]', removed dead code
1344 (hildon_time_editor_get_max_values): use 'entries[]'
1347 (hildon_time_editor_get_show_seconds): use new variable names
1348 (hildon_time_editor_set_duration_mode): likewise.
1350 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1352 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1354 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1356 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1358 (set_widget_allocation): removed (unused)
1359 (hildon_time_editor_entry_changed): removed (unused)
1361 (IS_VALID_KEYPRESS): new macro
1362 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1363 deleate dead/unnecessary code
1365 use IS_VALID_KEYPRESS
1367 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1369 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1371 (hildon_time_editor_size_allocate): cleanup
1372 (convert_to_12h): cleanup code style
1374 (hildon_time_editor_show_seconds): removed deprecation flag
1375 (hildon_time_editor_enable_duration_mode): likewise.
1378 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1380 Cleanup volume bars,
1382 * hildon-widgets/hildon-volumebar.h: removed unused #include
1383 + coding style cleanup
1385 * hildon-widgets/hildon-volumebar.c
1386 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1388 (hildon_child_forall): use g_assert instead of g_return_if_fail
1390 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1391 + coding style cleanup
1393 * hildon-widgets/hildon-volumebar-private.h:
1394 added missing #include.
1395 added _hildon_volumebar_mute_toggled.
1396 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1400 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1401 + coding style cleanup
1403 * hildon-widgets/hildon-vvolumebar.c
1404 (hildon_vvolumebar_size_request)
1405 (hildon_vvolumebar_size_allocate)
1406 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1408 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1410 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1411 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1412 (vvolumebar_init): renamed to hildon_vvolumebar_init
1413 (hildon_vvolumebar_init): removed unused 'orientation'
1414 initialisation. Use _hildon_volumebar_mute_toggled instead of
1415 removed hildon_vvolumebar_mute.
1419 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1421 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1422 renamed to hildon_hvolumebar_class_init
1424 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1425 hildon_hvolumebar_init
1427 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1430 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1431 removed unused 'orientation' initialisation.
1433 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1434 _hildon_volumebar_mute_toggled instead of removed
1435 hildon_hvolumebar_mute.
1438 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1442 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1443 coding style cleanup
1445 * hildon-widgets/hildon-color-popup.h: likewise.
1447 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1450 * hildon-widgets/hildon-color-selector.c
1451 (hildon_color_selector_new): use g_return_val_if_fail instead of
1453 (select_color): use g_assert instead of g_return_if_fail
1455 * hildon-widgets/hildon-calendar-popup.c
1456 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1460 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1462 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1463 added HildonCodeDialog widget
1466 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1468 * hildon-widgets/hildon-window.c:
1469 - set the toolbar height explicitely
1470 - use show instead of show_all on the common_toolbar
1471 - add the toolbars bottom-up instead of top-down
1472 * hildon-widgets/hildon-program.c:
1473 - don't assume that a window was realized when added to
1477 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1479 Cleanup font selection dialog,
1481 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1482 + coding style cleanup
1484 * hildon-widgets/hildon-font-selection-dialog.c
1485 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1486 instead of g_assert.
1488 * hildon-widgets/hildon-font-selection-dialog.c
1489 (hildon_font_selection_dialog_get_text_tag)
1490 (hildon_font_selection_dialog_set_buffer)
1491 (hildon_font_selection_dialog_get_font)
1492 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1495 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1497 Cleanup range editor,
1499 * hildon-widgets/hildon-range-editor.c
1500 (hildon_range_editor_calss_init):Removed
1501 widget_calss->mnemonic_activate init
1503 * hildon-widgets/hildon-range-editor.c
1504 (hildon_range_editor_mnemonic_activate): Removed static function
1505 hildon_range_mnemonic_activate and FIXME. It is useless even
1506 through it is overriding function for
1507 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1508 focus will be realized based on different applications.
1510 * hildon-widgets/hildon-range-editor.c
1511 (is_valid_keyvalue_for_entry_keypress): new function.
1513 * hildon-widgets/hildon-range-editor.c
1514 (hildon_range_editor_entry_keypress): uses
1515 is_valid_keyvalue_for_entry_keypress
1517 * hildon-widgets/hildon-range-editor.c
1518 (hildon_range_editor_forall): use g_return_if_fail instead of
1521 * hildon-widgets/hildon-range-editor.cvn
1522 (hildon_range_editor_mnemonic_activate): removed. (unused)
1525 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1527 Cleanup hildon-note,
1529 * hildon-widgets/hildon-note.[ch]
1531 (hildon_note_five_line_truncate): removed.
1532 (hildon_note_one_line_truncate): removed.
1534 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1535 instead of _{one|five}_line_truncate() functions.
1538 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1539 into wrapper of "hildon_note_new_information_with_icon_name".
1541 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1542 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1544 - removed some unnessecary includes.
1546 - Merged hildon_note_create & hildon_note_create_form and rewrote
1547 the combination as hildon_note_rebuild
1549 - Added missing g_return_* into public functions.
1551 - Acquire real references to children which are packed/unpacked,
1552 so we do not need to bother about refcounting while changing the
1556 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1560 * hildon-widgets/hildon-number-editor.c
1562 (set_widget_allocation): use const parameter.
1564 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1566 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1567 (hildon_number_editor_set_range): removed 'negative'
1570 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1571 use g_assert instead of g_return_if_fail
1574 * hildon-widgets/hildon-time-picker.c:
1575 - in several places, replace 1440 by 24*60
1576 (PROP_AMPM): removed, unused.
1577 (hildon_time_picker_timeout): use significant parameter name,
1579 (hildon_time_picker_init): removed useless call to _change_time()
1582 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1586 * hildon-widgets/hildon-seekbar.c
1588 (_): Removed dgettext macro definition.
1590 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1592 (hildon_seekbar_finalize): removed. not needed.
1593 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1595 (hildon_seekbar_size_request): indent cleanup.
1597 (hildon_seekbar_size_allocate): simplified function.
1599 (hildon_seekbar_button_press_event): Removed unused variables.
1600 (hildon_seekbar_button_release_event): likewise.
1603 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1605 Cleanup date editor,
1607 * hildon-widgets/hildon-date-editor.c
1609 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1610 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1612 (hildon_date_editor_get_font_width): removed (legacy static
1613 function), use gtk_entry_set_width_chars instead.
1615 (hildon_date_editor_mnemonic_activate): removed mnemonic
1616 activation handler, since it's no more used by HildonCaption.
1619 - Removed some meaningless code (if (somewidget != NULL)) from
1622 - HEAVILY modified key_press, completely removed if/grab_focus
1623 spaghetti by gtk_widget_child_focus
1625 - Removed input validation from keypress (that would not work
1626 anyway, since our input method do not generate presses). => This
1627 allows to change default return value to FALSE and remove all cases
1628 that just returned FALSE for some keys.
1630 - Merged all *_entry_changed callbacks to use the same
1631 function. Again using gtk_widget_child_focus, but now with return
1632 value as well to detect last field.
1634 - Changed that calendar button is no more implemented through
1635 changing widget hierarchy (old implementation caused critical
1636 issues when you used both stylus and hardkeys at the same time to
1637 popup. => finalize method no longer contained anything => removed
1639 - Locale type is no longer needed after initial setup.
1641 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1642 hack from the days of background dimming (it was important to
1643 process background updates before the dimming was done).
1645 - Changed the field order/delimeters to be correcly derived form
1648 - Rewrote validation function, combined it with validation done in
1649 focus_out (since both are now called at the same time).
1651 - Changed set_date function to set all components at one go
1652 without doing any validation there between (before setting each
1657 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1659 Cleanup set-password dialog
1661 * hildon-widgets/hildon-set-password-dialog.[ch]
1662 (hildon_set_password_dialog_set_domain): gchar * param is const
1663 (hildon_set_password_dialog_new_with_default): likewise.
1665 * hildon-widgets/hildon-set-password-dialog.c
1667 (hildon_set_password_set_property): setting 'modify-protection'
1670 (hildon_set_password_get_property): fixed broken 'domain' (missing
1671 break statement!) and 'modify-protection' (was a null operation)
1672 properties; code simplified.
1674 (hildon_set_password_dialog_constructor),
1676 (hildon_set_password_dialog_class_init),
1677 (hildon_set_password_dialog_init):
1678 hildon_set_password_dialog_constructor removed as weird and
1679 obsolete and replaced with new function create_contents; fixed
1680 leaking group variable; removed some unused, outdated code that
1681 was already commented out.
1683 (hildon_set_password_response_change),
1684 (hildon_set_password_response_set): GtkWindow *parent arguments
1685 changed to gpointer unused; cleaned up unnecessary strcmp's
1687 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1688 checkbox). gpointer renamed to be more descriptive; Code simplified
1690 (hildon_set_password_dialog_get_type): empty function argument
1691 list replaced with void keyword.
1693 (hildon_set_password_dialog_new),
1694 (hildon_set_password_dialow_new_with_default): simplified by
1695 having the simpler constructor call the more complex one, not vice
1696 versa; moved callback connects to create_contents since they
1697 depend on the status of 'modify-protection' property
1699 (hildon_set_password_dialog_get_password): type check added
1700 (hildon_set_password_dialog_get_protected): likewise
1701 (hildon_set_password_dialog_set_domain): likewise
1704 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1706 Cleanup name-password dialog:
1708 * hildon-widgets/hildon-name-password-dialog.[ch]
1710 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1711 types changed from *HildonCaption to *GtkEntry
1713 (hildon_name_password_dialog_set_property): layout fixes;
1714 duplicated code replaced with calls to relevant public functions
1716 (hildon_name_password_dialog_get_property): layout fixes;
1717 duplicated code replaced with calls to relevant public functions
1719 (hildon_name_password_dialog_init): fixed leaking group variable;
1720 reworked to have captions as local variables and captioned entries
1721 in the private struct
1723 (hildon_name_password_dialog_new_with_default): name and password
1724 arguments declared const
1726 (hildon_name_password_dialog_get_name): type check added + cleanup
1727 (hildon_name_password_dialog_get_password): likewise.
1729 (hildon_name_password_dialog_set_domain): domain argument declared
1730 const; type check added + cleanup
1733 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1735 Cleanup get-password dialog:
1737 * hildon-widgets/hildon-get-password-dialog.[ch]
1739 (HildonGetPasswordDialogPrivate): gboolean get_old added
1741 (hildon_get_password_set_property): fixed broken 'numbers-only'
1742 and 'max-characters' cases; 'get-old' property added
1744 (hildon_get_password_get_property): added support for reading
1745 'numbers-only' properties; added missing break to 'domain' case.
1746 added 'get-old' property
1748 (hildon_get_password_dialog_class_init): 'domain' and
1749 'numbers-only' properties are now readable; 'get-old' property
1752 (hildon_get_password_dialog_init, create_contents): everything
1753 that depends on the type of the dialog (i.e. 'get-old' property)
1754 is now done in create_contents after properties are initialized;
1755 fixed leaking group variable
1757 (hildon_get_password_dialog_get_type): empty function argument
1758 list replaced with void keyword
1760 (hildon_get_password_dialog_new): moved setting the labels of the
1761 get password dialog to init where it should be done; 'get-old'
1762 property set upon construction to achieve this
1764 (hildon_get_password_dialog_new_with_default): password argument
1767 (hildon_get_password_dialog_get_password): type check added
1768 (hildon_get_password_dialog_set_domain): type check added; domain
1769 argument declared const; duplicate function declaration removed
1771 (hildon_get_password_dialog_set_title): type check added;
1772 new_title argument declared const
1774 (hildon_get_password_dialog_set_caption): type check added;
1775 new_caption argument declared const
1777 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1778 (_invalid_input): gpointer data argument renamed unused
1781 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1783 (*_get_type): declared G_GNUC_CONST
1785 * hildon-widgets/hildon-app.h:
1786 * hildon-widgets/hildon-appview.h:
1787 * hildon-widgets/hildon-calendar-popup.h:
1788 * hildon-widgets/hildon-color-selector.h:
1789 * hildon-widgets/hildon-date-editor.h:
1790 * hildon-widgets/hildon-find-toolbar.h:
1791 * hildon-widgets/hildon-get-password-dialog.h:
1792 * hildon-widgets/hildon-name-password-dialog.h:
1793 * hildon-widgets/hildon-number-editor.h:
1794 * hildon-widgets/hildon-seekbar.h:
1795 * hildon-widgets/hildon-set-password-dialog.h:
1796 * hildon-widgets/hildon-sort-dialog.h:
1797 * hildon-widgets/hildon-time-editor.h:
1798 * hildon-widgets/hildon-weekday-picker.h:
1799 * hildon-widgets/hildon-wizard-dialog.h:
1801 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1805 * hildon-widgets/hildon-volumebar.c
1806 (hildon_volumebar_class_init): object class casts cleaned up
1807 (hildon_child_forall): removed unnecessary variable vbar; type check added
1808 (hildon_volumebar_set_property): removed unnecessary variable vbar
1809 (hildon_volumebar_set_level): type check added
1810 (hildon_volumebar_get_level): type check added
1811 (hildon_volumebar_set_mute): type check added
1812 (hildon_volumebar_get_mute): type check added
1813 (hildon_volumebar_get_adjustment): type check added
1814 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1816 * hildon-widgets/hildon-volumebar.h
1817 (hildon_volumebar_get_type): declared G_GNUC_CONST
1819 * hildon-widgets/hildon-volumebar-private.h:
1820 - G_BEGIN_DECLS/G_END_DECLS added
1821 - ownorientation removed from private struct
1823 * hildon-widgets/hildon-volumebar-range.c
1824 (hildon_volumebar_range_init): vacuous return statement removed
1826 (hildon_volumebar_range_set_level): removed unnecessary clamping
1827 kludge that violated object oriented principles only to provide an
1828 extremely minor, unnecessary optimization; type check added
1830 (hildon_volumebar_range_get_level): now accesses adjustment value
1831 with appropriate functions instead of reading it directly from the
1832 struct, which is bad OOP; type check added
1834 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1835 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1837 * hildon-widgets/hildon-volumebar-range.h
1838 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1840 * hildon-widgets/hildon-hvolumebar.c
1841 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1842 completely removed the gtk_widget_show() call that was already
1845 (hildon_hvolumebar_new): empty function parameter list replaced
1848 (hildon_hvolumebar_map): vbar variable removed; type check added
1849 (hildon_hvolumebar_expose): type check added
1850 (hildon_hvolumebar_size_request): type check added
1851 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1853 * hildon-widgets/hildon-hvolumebar.h
1854 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1856 * hildon-widgets/hildon-vvolumebar.c
1857 (vvolumebar_init): priv->ownorientation and v_ptr removed
1858 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1860 (hildon_vvolumebar_expose): type check added
1861 (hildon_vvolumebar_size_request): type check added
1862 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1864 * hildon-widgets/hildon-vvolumebar.h
1865 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1868 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1870 * hildon-widgets/hildon-weekday-picker.c
1871 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1872 last_index; added day_order_buttons
1874 (hildon_weekday_picker_mnemonic_activate): removed.
1875 mnemonics are no longer used.
1877 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1878 function. Rewritten creation of buttons. Unref'ed size group.
1880 (button_toggle): Removed bit mask checking, simplified function
1882 (hildon_weekday_picker_set_day):
1883 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1884 adjustment, unecessary for loop
1886 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1887 unecessary for loop. Simplified button toggling
1889 (hildon_weekday_picker_set_all):
1890 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1893 (hildon_weekday_picker_isset_day): Removed date adjustment and
1894 unecessary for loop;
1896 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1898 Added hildon-banner, as a clean replacement for gtk-infoprint
1899 * hildon-widgets/hildon-banner.[ch]: implementation and header
1900 * hildon-widgets/Makefile.am: reference new files
1901 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1902 a compatibility wrapper to hildon-banner
1904 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1906 * hildon-widgets/hildon-color-button.c: added comments
1907 * hildon-widgets/hildon-controlbar.c: Likewise.
1908 * hildon-widgets/hildon-composite-widget.c: Likewise.
1909 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1911 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1913 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1916 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1918 * configure.ac: 0.12.1
1920 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1922 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1923 * doc/tmpl/hildon-window.sgml: likewise.
1924 * hildon-widgets/hildon-program.[ch]: likewise.
1925 * hildon-widgets/hildon-window.[ch]: likewise.
1926 * hildon-widgets/hildon-window-private.h: likewise.
1927 * hildon-widgets/Makefile.am: Added these new files to the build
1930 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1932 * configure.ac: 0.12.0
1934 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1936 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1937 * doc/tmpl/hildon-appview.sgml: likewise.
1938 * doc/tmpl/hildon-color-popup.sgml: likewise.
1939 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1940 * doc/tmpl/hildon-app.sgml: likewise.
1941 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1942 * doc/tmpl/hildon-caption.sgml: likewise.
1943 * doc/tmpl/hildon-marshalers.sgml: likewise.
1944 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1945 * doc/tmpl/hildon-defines.sgml: likewise.
1946 * doc/tmpl/gtk-infoprint.sgml: likewise.
1947 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1949 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1950 * hildon-widgets/hildon-app.[ch]:likewise.
1951 * hildon-widgets/hildon-app-private.h:likewise.
1952 * hildon-widgets/hildon-appview.[ch]:likewise.
1953 * hildon-widgets/hildon-caption.[ch]:likewise.
1954 * hildon-widgets/hildon-defines.[ch]:likewise.
1955 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1956 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1958 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1959 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1963 hildon-app-private.h
1967 hildon-find-toolbar.[ch]
1968 hildon-input-mode-hint.h
1970 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1971 path for gtk-infoprint.h and hildon-input-mode-hint.h
1973 * po/en_GB.po: merged msgstr from hildon-lgpl
1975 * timer/*: added from hildon-lgpl
1979 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1981 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1984 * ut/hildon-widgets_tests.c (test41a): removed test case for
1985 hildon_file_details_dialog
1987 * doc/hildon-libs.types: likewise.
1988 * doc/hildon-libs-docs.xml: likewise.
1994 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1997 * Makefile.am (SUBDIRS): added timer/
1999 * configure.ac: do not depend anymore on hildon-lgpl nor
2000 hildon-fm, check for libmb, added Makefile output for timer/
2004 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2006 * configure.ac: 0.10.2
2008 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2010 N#22240 CP: Tapping outside the scroll bar invoke the applet.
2011 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
2012 hildon-apps scroll-control property is now handled.
2013 (get_child_index_by_coord): ignores events not matching a grid
2016 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2018 * configure.ac: 0.10.1
2020 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2022 Missing/Buggy documentation from,
2023 N#11566 make password dialog customizable (messages)
2024 * hildon-widgets/hildon-get-password-dialog.c
2025 (hildon_get_password_dialog_set_title): typo in gtkdoc function
2027 * doc/tmpl/xxx.sgml: updated.
2029 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2031 N#19369 TRUE Scketch does not show colour change when using white color
2033 Color button needs inner border white, and outer border black.
2034 * hildon-widgets/hildon-color-button.c
2035 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
2037 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
2038 (hildon_color_button_realize): call the above function
2040 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2042 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2043 * hildon-widgets/hildon-note.c:
2044 (hildon_note_new_confirmation_add_buttons): updated doc
2045 (hildon_note_set_button_texts): likewise.
2047 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2049 N#21884 Cannot select read-only by using the center of the scroll key
2050 * hildon-widgets/hildon-file-details-dialog.c
2051 (hildon_file_details_dialog_init): Removed dialog default response.
2053 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2055 N#8094 5-bit color selector: wrong margins and pixel measurements
2056 M#59 HildonColorSelector needs more space
2057 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2058 (hildon_color_popup_new): add space between the control bars and
2059 the color preview area.
2061 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2063 * hildon-widgets/hildon-calendar-popup.c
2064 * hildon-widgets/hildon-color-button.c
2065 * hildon-widgets/hildon-color-popup.c
2066 * hildon-widgets/hildon-color-selector.c
2067 * hildon-widgets/hildon-composite-widget.c
2068 * hildon-widgets/hildon-controlbar.c
2069 * hildon-widgets/hildon-date-editor.c
2070 * hildon-widgets/hildon-dialoghelp.c
2071 * hildon-widgets/hildon-file-details-dialog.c
2072 * hildon-widgets/hildon-font-selection-dialog.c
2073 * hildon-widgets/hildon-get-password-dialog.c
2074 * hildon-widgets/hildon-grid-item.c
2075 * hildon-widgets/hildon-grid.c
2076 * hildon-widgets/hildon-hvolumebar.c
2077 * hildon-widgets/hildon-name-password-dialog.c
2078 * hildon-widgets/hildon-note.c
2079 * hildon-widgets/hildon-number-editor.c
2080 * hildon-widgets/hildon-range-editor.c
2081 * hildon-widgets/hildon-scroll-area.c
2082 * hildon-widgets/hildon-seekbar.c
2083 * hildon-widgets/hildon-set-password-dialog.c
2084 * hildon-widgets/hildon-sort-dialog.c
2085 * hildon-widgets/hildon-time-editor.c
2086 * hildon-widgets/hildon-time-picker.c
2087 * hildon-widgets/hildon-volumebar-private.h
2088 * hildon-widgets/hildon-volumebar-range.c
2089 * hildon-widgets/hildon-volumebar.c
2090 * hildon-widgets/hildon-vvolumebar.c
2091 * hildon-widgets/hildon-weekday-picker.c
2092 * hildon-widgets/hildon-wizard-dialog.c
2095 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2097 * configure.ac: 0.10.0
2099 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2101 Some more properties for Gazpacho support,
2103 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2104 * hildon-widgets/hildon-color-selector.c: "color"
2107 * hildon-widgets/hildon-color-selector.[ch]
2108 (hildon_color_selector_get_color): return const pointer to the
2111 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2114 Gazpacho support, added the following properties:
2116 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2117 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2118 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2119 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2120 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2121 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2122 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2123 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2124 * hildon-widgets/hildon-number-editor.c: "value"
2126 * hildon-widgets/hildon-color-button.c: minor cleanup
2129 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2131 Started new development
2132 (branche for maintenance continues with versions 0.9.x)
2134 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2136 * configure.ac: 0.9.53
2138 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2141 N#19283 Control panel - The values entered are not saved.
2142 N#19648 Hildon Date Editor widget detects values too high
2143 (note: complete fix include also fixes in GTk+)
2145 * hildon-widgets/hildon-calendar-popup.c
2146 (hildon_calendar_popup_set_property),
2147 (hildon_calendar_popup_class_init),
2148 (init_dmy): Added 'min-year', 'max-year' properties for passing
2149 the information through from HildonDateEditor to GtkCalendar
2151 * hildon-widgets/hildon-date-editor.c:
2152 (hildon_date_editor_class_init),
2153 (hildon_date_editor_init),
2154 (hildon_date_editor_set_property),
2155 (hildon_date_editor_get_property),
2157 (hildon_date_editor_entry_validate),
2158 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2159 properties and replaced hardcoded constants with them
2161 * hildon-widgets/hildon-date-editor.c
2162 (hildon_date_editor_d_entry_changed),
2163 (hildon_date_editor_m_entry_changed),
2164 (hildon_date_editor_d_entry_changed): new functions to ensure that
2165 the fields are validated and the focus is moved when maximum
2166 number of characters has been entered.
2168 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2170 * configure.ac: 0.9.52
2172 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2174 N#19140 System alerts still audible despite being turned off
2176 * hildon-widgets/hildon-note.c (sound_handling):
2178 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2180 * hildon-note.c (sound_handling): Changed to use new
2181 hildon_play_system_sound.
2182 (hildon_note_init): Signal handler id is changed to be in private
2183 structure, not in global variable.
2185 * hildon-note.c: Removed unused defines etc.
2187 * Makefile.am: Appended new files to build rules.
2189 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2191 * configure.ac: 0.9.51
2193 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2195 N#20027 PDF Reader crashes on selecting read only option in the
2198 * hildon-widgets/hildon-file-details-dialog.c:
2199 (change_state): Fixed assertion that was causing problems
2200 (check_validity): New function: We now automatically close the
2201 dialog if the displayed file is removed.
2202 (handle_focus): Callback removed:
2203 (init): Now using correct gtk way to bind container and adjustment
2204 together. Not the previous callback.
2205 (set_property): Connecting/disconnecting new handlers (for
2207 (finalize): disconnecting new handler.
2209 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2211 N#17918 Volumebar widget background image doesn't change when
2212 widget goes into mute state,
2214 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2217 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2218 using the state of the internal volumebar, not the whole container
2220 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2221 using the state of the internal volumebar, not the whole container
2223 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2225 * hildon-widgets/hildon-dialoghelp.[ch]: added
2226 gtk_dialog_help_disable and fixed bug N#19468
2228 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2230 * configure.ac: Release 0.9.50
2232 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2236 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2238 * hildon-widgets/hildon-grid.c
2239 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2240 label by logical name "Ckct_wi_grid_no_items"
2243 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2245 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2247 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2249 * configure.ac: Release 0.9.49
2251 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2253 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2254 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2255 Save the id of the idle callback and remove it when the widget is
2256 destroyed to avoid crashing. N#18096
2258 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2260 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2261 id's are unsigned and undefined at zero (instead of signed and -1)
2263 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2265 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2266 that was not working. N#16805
2268 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2270 * configure.ac: Release 0.9.48
2272 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2274 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2275 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2276 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2278 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2280 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2281 Do not override the week-start property of GtkCalendar according to
2282 the hildon-libs PO file, it is automatically determined from locale
2285 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2287 * configure.ac: Release 0.9.47
2289 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2291 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2292 property for setting the password entry accept only numeric values.
2295 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2297 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2298 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2299 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2300 Use defines rather than magic numbers in the code.
2302 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2304 Update to new l10n packaging style. po-files (inside this package)
2305 are not used for now, the message catalogs come from separate packages
2306 and including them here would conflict.
2308 * Makefile.am (SUBDIRS): stop including po-files
2309 * Makefile.am (EXTRA_DIST):
2310 * debian/hildon-libs-l10n-engb.install:
2311 * debian/hildon-libs-l10n-src.install:
2312 * po/debian/*: Removed
2314 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2316 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2317 checks to cover gateway content as well.
2319 * hildon-widgets/hildon-time-editor.c:
2320 (hildon_time_editor_validate): Replace solid numbers with defined
2322 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2325 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2327 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2328 invalid cast from `GdkWindow' to `GtkWindow'
2330 * hildon-widgets/hildon-color-popup.c
2331 (hildon_popup_palette_expose): removed debug printing
2333 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2335 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2338 * hildon-widgets/hildon-scroll-area.c
2339 (hildon_scroll_area_destroy): one-instruction function:
2340 removed. Call g_free directly.
2342 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2343 right edge of window, size of the child is also shrinked. 'fixed'
2344 does not automatically update this data -> Doing it manually.
2346 * hildon-widgets/hildon-date-editor.h: added
2347 HildonDateEditorErrorType error enumeration type, removed signal
2348 "validate-date" virtual function, added signal "date-error"
2351 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2352 added custom info prints.
2353 (hildon_date_editor_validate_date): removed
2354 (hildon_date_editor_entry_validate): validate maximum and minimum
2355 limits on each field.
2356 (hildon_date_editor_entry_focus_out): check the date validation
2357 in simpler manner, don't put content if field is empty (spec
2358 doesn't say if there should be anything placed in the entry if
2360 (hildon_date_editor_get_date),
2361 (hildon_date_editor_get_month),
2362 (hildon_date_editor_get_year),
2363 (hildon_date_editor_get_day): use direct entry content, so that 0
2364 indicates empty entry, and information is more accurate.
2366 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2368 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2370 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2371 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2373 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2375 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2377 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2379 * hildon-widgets/hildon-number-editor.c:
2380 (hildon_number_editor_select_all): new function, selects all
2381 the text in the entry.
2382 * hildon-widgets/hildon-number-editor.c: added several calls to
2383 hildon_number_editor_select_all with g_idle_add.
2385 * hildon-controlbar.c : add signal when end reached
2387 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2389 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2391 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2393 Fixed incorrect values in <Filetype> Details Dialog
2395 Fixed help button usage in dialogs
2397 * hildon-dialoghelp.c: Added more documentation about the
2400 * hildon-file-details-dialog.c: Updated to match
2401 'File Management in OSSO' version 3.0
2403 * Fixed application hang after calling gtk_main_quit
2405 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2406 ESC presses needlessly
2408 * hildon-time-editor.c: Fixed memory corruption