1 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
3 * hildon-libs/hildon-widgets/hildon-time-editor.c
4 * hildon-libs/hildon-widgets/hildon-time-picker.c
5 * hildon-libs/hildon-widgets/hildon-wizard-dialog.h
6 added comments to anonymous enums
9 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
11 Hildon banner truncations,
12 * hildon-widgets/hildon-banner.c
13 (force_to_wrap_truncated): new function. Force to wrap truncated
14 label by setting explicit size request. See N#27000 and G#329646
15 (hildon_banner_check_position): call force_to_wrap_truncated()
16 fixes N#27000, N#25305, N#26203
18 * hildon-widgets/hildon-banner.c
19 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
20 satisfy N#26624, N#26161, N#27875
22 * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.
25 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
27 * hildon-widgets/hildon-banner.[ch]: code cleanup.
30 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
32 * hildon-widgets/hildon-window.c:
33 - removed connection to self, replaced with overridding virtual
35 - removed gtk_widget_set_event in init, legacy from HildonApp
36 - use gtk_widget_get_child_requisition() instead of
37 gtk_widget_size_request() in _allocation
38 - don't allocate space for the child if it is not visible
40 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
42 * hildon-widgets/hildon-window.c:
43 - forgot to reinitialize convenience pointers to borders after they
45 - replaced a g_return_if_fail with a g_return_val_if_fail now
46 that toggle_menu returns a g_boolean
48 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
51 * hildon-widgets/hildon-window.c: Free the borders structure
52 when the window is destroyed.
54 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
56 * hildon-widgets/hildon-caption.c : check if ancestor
57 (still) exists in set-focus handler, fixes N#25501
59 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
61 * hildon-widgets/hildon-time-editor.c
62 (hildon_time_editor_check_locale): do not force lower case for
63 AM/PM symbols. Use the string as it is given by the locale. Makes
64 it coherent with hildon time picker. Fixes N#27963
67 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
69 * hildon-widgets/hildon-set-password-dialog.c
70 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
71 (hildon_set_password_response_set): use c_ for common strings
72 (hildon_set_password_response_change): likewise.
75 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
78 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
80 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
81 "hildon-fm" as textual domain. Fixes N#27702
83 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
85 * configure.ac: 0.12.12
87 * Makefile.am (clean-all): brutal target to cleanup the
88 folder. Will do this properly later.
90 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
92 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
93 included Makefile if missing).
95 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
96 integration environement)
98 * configure.ac: print configuration summary after processing
100 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
102 From Murray Cumming <murrayc@murrayc.com>, M#183.
104 * hildon-widgets/hildon-calendar-popup.c:
105 (hildon_calendar_popup_new): Use only g_object_new(), passing
106 it properties, so that language bindings can do the same.
107 (hildon_calendar_popup_set_date): Veryify the date here,
108 instead of only in the _new() function.
109 (hildon_calendar_popup_set_property): Use get/set_date() to
110 verify the new date and to select it.
111 (hildon_calendar_popup_get_property): Remove unused variables.
112 * ut/hildon-widgets_tests.c (test45): New.
114 * hildon-widgets/hildon-add-home-dialog.c:
115 (hildon_add_home_dialog_new): Move code into
116 hildon_add_home_dialog_init(),
117 hildon_add_home_dialog_set_old_name(), and
118 hildon_add_home_dialog_set_new_name(). Supply parameters as
119 properties values to g_object_new() instead, so that language
120 bindings can do the same.
121 (hildon_add_home_dialog_class_init): Added name and new_name
123 (hildon_add_home_dialog_init): Create always-needed widgets.
124 (hildon_add_home_dialog_get_property),
125 (hildon_add_home_dialog_set_property): Get/Set the name and
126 new_name properties, recreating widgets if necessary, using new
127 static helper function.
128 * ut/hildon-widgets_tests.c (test46): New.
130 * hildon-widgets/hildon-grid-item.c
131 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
132 (hildon_grid_item_class_init): Add icon-basename property.
133 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
134 from here to hildon_grid_item_init(), so we can just call
136 (hildon_grid_item_set_label): Convert NULL label to empty string.
137 Bug fix: don't cast the label widget to a string and compare it
138 against the new label text, use gtk_label_get_label instead.
139 Expect priv->label to always be non-NULL.
140 (update_icon): Don't pass NULL icon name to
141 gtk_icon_theme_load_icon, use default icon instead in that case.
142 * hildon-widgets/hildon-grid-item.h: Make
143 _hildon_grid_item_set_label into public
144 hildon_grid_item_set_label(), so that language bindings can use
146 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
147 (test33a2, test33b4, test33b4): Expect them to succeed now that a
148 HildonGridItem can handle NULL icons.
150 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
152 * configure.ac: 0.12.11
155 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
157 * thread safety (N#24348), fixed timeout and idle callbacks :
158 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
159 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
160 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
161 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
162 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
163 hildon-widgets/hildon-time-editor.c : highlight_callback()
164 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
166 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
168 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
169 correct state for fullscreen, fixes N#26611
171 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
174 * hildon-widgets/hildon-window.c:
175 - hildon_window_toggle_menu now returns whether or not something was
177 - hildon_window_key_press_event(): when handling the menu hard key,
178 return TRUE if we actually handled it
179 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
180 now returns if something was done
181 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
182 if we actually handled the menu hard key.
184 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
186 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
189 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
191 * configure.ac: 0.12.10
194 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
196 * doc/hildon-libs-docs.sgml: added index for new symbols.
199 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
201 * doc/Makefile.am (version.xml): generates version.xml
202 * doc/hildon-libs-docs.sgml: added &version; entity, and display
203 the version number in the doc title.
206 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
208 Minor changes for gtk-doc
210 * hildon-weekday-picker.h
211 * hildon-name-password-dialog.c
212 * hildon-calendar-popup.h
213 * hildon-range-editor.h
214 * hildon-volumebar-range.h
217 * hildon-time-editor.c
219 * hildon-date-editor.h
222 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
224 * hildon-widgets/hildon-time-editor.c
225 (hildon_time_editor_set_show_hours)
226 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
229 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
232 * hildon-widgets/hildon-time-editor.c
233 (hildon_time_editor_entry_keypress): use
234 hildon_gtk_button_set_depressed, provided by osso-GTK, since
235 2.6.10-1.osso4, instead of GTK private symbol
236 _gtk_button_set_depressed
239 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
241 From Murray Cummings (M#185 M#283), with slight changes:
243 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
244 can disable the regeneration of hildon-libs-enum-types.[h|c], also
245 based on the gnome-vfs build.
247 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
248 hildon-libs-enum-types.[h|c], and build them, based on the
249 gnome-vfs build. This adds GTypes for the enums, needed for
250 accurate signal registration, needed by bindings.
252 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
253 default signal handler to range_error, so it has the same name as
254 the signal, as expected by bindings.
256 * hildon-widgets/hildon-marshalers.list: Change to the now-used
259 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
260 since hildon_note_type_get_type is defined manually and
261 glib-mkenums should ignore this enum.
263 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
264 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
266 Correct the signal registration for:
268 * hildon-widgets/hildon-app.c
269 (hildon_app_class_init):
275 * hildon-widgets/hildon-date-editor.c
276 (hildon_date_editor_class_init):
279 * hildon-widgets/hildon-find-toolbar.c
280 (hildon_find_toolbar_class_init):
284 "history_append signals"
286 * hildon-widgets/hildon-grid.c
287 (hildon_grid_class_init):
290 * hildon-widgets/hildon-number-editor.c
291 (hildon_number_editor_class_init):
295 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
297 M#90 - Use standard GLib macro names.
298 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
300 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
301 * hildon-widgets/hildon-calendar-popup.h:
302 * hildon-widgets/hildon-date-editor.h:
303 * hildon-widgets/hildon-range-editor.h:
304 * hildon-widgets/hildon-weekday-picker.h:
305 * hildon-widgets/hildon-volumebar-range.h:
308 * hildon-widgets/hildon-calendar-popup.c:
309 * hildon-widgets/hildon-date-editor.c:
310 * hildon-widgets/hildon-range-editor.c:
311 * hildon-widgets/hildon-volumebar-range.c:
312 * hildon-widgets/hildon-weekday-picker.c:
315 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
317 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
318 for Ok and Cancel buttons.
320 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
322 * configure.ac: 0.12.9
324 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
326 * hildon-widgets/hildon-color-button.c
327 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
331 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
333 * hildon-widgets/hildon-time-editor.c
334 (convert_to_12h): removed m and s paramters (useless)
335 (convert_to_24h): likewise.
338 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
340 Automatic focus movement for HildonTimeEditor (IMP-13)
342 * hildon-widgets/hildon-time-editor.c
343 (hildon_time_editor_init): connect after signal "insert_text"
344 (hildon_time_editor_inserted_text): new function.
345 On inserted text, if entry has two digits, jumps to the next field.
348 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
350 Pops up the color selector on 'select' hardkey (IMP-15)
352 * hildon-widgets/hildon-color-button.c
353 (hildon_color_button_init): connect "key-release-event"
354 (hildon_color_button_key_released): new function.
355 Pops up the color selector on 'select' hardkey release
358 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
360 Hildon grid, set items to be focus-and-activate instead of single
361 tap activation (IMP-14)
363 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
364 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
367 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
369 Fetch hours/minutes/seconds separators from current locale (IMP-8)
372 * hildon-widgets/hildon-time-editor.c
373 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
374 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
375 (hildon_time_editor_finalize): free separator symbols
376 (get_time_separators): new function. Get time separators from locale.
377 (hildon_time_editor_check_locale): call get_time_separators.
379 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
381 Removed icon for mandatory fields (IMP-3).
382 Note: the logic and API to specify mandatory fields is preserved.
384 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
385 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
386 (hildon_caption_set_property): case PROP_STATUS, removed related code.
387 (hildon_caption_set_label_alignment): removed related code.
390 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
392 * configure.ac: 0.12.8
394 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
396 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
399 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
401 - Added support for Pango markup
402 Added hildon_banner_show_information_with_markup
403 - Removed hildon_banner_show_confirmation
404 - Re-position the banner when its content changes
405 - Banner now doesn't truncate strings nor insert linebreaks
406 - fixes N#24339 - Information banners do not resize
408 * hildon-widgets/hildon-banner.[ch]
409 (hildon_banner_show_information_with_markup): new function. Adds
410 pango markup support for information banners.
412 (hildon_banner_show_confirmation): removed. 'confirmation' was
413 used only for the taask navigator (at most). It should use
414 _show_information_with_markup with appropriate markup.
416 (hildon_banner_set_markup): new function.
418 (hildon_banner_check_position): new function. Factor code from
419 hildon_banner_realize(), and update position calculation.
421 (struct _HildonBannerPrivate): removed max_lines.
422 Uses as much lines as needed.
424 (hildon_banner_init): set banner label to wrap lines.
426 (hildon_banner_set_text): do not truncate. Update banner's position.
428 (hildon_banner_set_markup): new function.
429 Set banner's text with Pango markup.
431 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
434 * hildon-widgets/gtk-infoprint.c
435 (gtk_confirmation_banner): use hildon_banner_show_information
436 instead of _show_confirmation.
437 (gtk_confirmation_banner_with_icon_name): likewise.
440 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
442 * hildon-widgets/hildon-color-button.c
443 (hildon_color_field_expose_event): correct parameter order.
446 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
448 * hildon-widgets/hildon-window.c:
449 - Fixed a potential infinite loop when detaching the menus
450 from the window widget (Closes N#26033)
452 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
454 * hildon-widgets/hildon-window.c:
455 - Fixed a bug that made window fullscreen state tracking fail
456 - Apply correct theming to menus so that they get placed
457 correctly (Fixes N#24325)
458 - Redraw the window borders if the size of the toolbar vbox changes
459 - Reset the program to NULL in hildon_window_destroy
460 - Stop the ESC key-press timeout when the window loses the focus
462 * hildon-widgets/hildon-program.c:
463 - Reset the common toolbar to NULL when the program is finalised
465 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
467 * hildon-widgets/hildon-get-password-dialog.h,
468 hildon-widgets/hildon-get-password-dialog.c
469 (hildon_get_password_dialog_new,
470 hildon_get_password_dialog_new_with_default): Renamed
471 get_old_password_title parameter to "get_old" to correspond with
472 the property name. This helps the C++ bindings.
473 * ut/hildon-widgets_tests.c (test43, test44): New.
475 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
477 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
478 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
483 * hildon-lgpl/hildon-caption.c:
484 (hildon_caption_init): Do the hildon_caption_set_child_expand()
486 (hildon_caption_new): Use the child property from GtkContainer
487 instead of calling gtk_container_add(), because _new() functions
488 should just use g_object_new(), so that language-bindings can do
491 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
493 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
495 * configure.ac: 0.12.7
497 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
500 * hildon-widgets/hildon-font-selection-dialog.c
501 (REFERENCE_LINE): removed
502 (hildon_font_selection_dialog_show_preview): added l10n support
503 for the reference string (use to differentiate sub/super script in
505 (hildon_font_selection_dialog_show_preview): likewise
508 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
510 * po/en_GB.po: update
512 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
514 * hildon-widgets/hildon-add-home-dialog.c
515 (hildon_add_home_dialog_init): removed i18n support (deprecated
516 widget. Hinder logical ID processing)
517 (hildon_add_home_dialog_new): likewise.
519 * hildon-widgets/hildon-insert-object-dialog.c
520 (hildon_insert_object_dialog_init): likewise.
523 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
525 * hildon-widgets/hildon-font-selection-dialog.c
526 (hildon_font_selection_dialog_construct_notebook): logical ID typo
529 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
531 * hildon-widgets/hildon-window.[ch]:
532 - update the title when the window is realized
533 - added support for long press on the ESC key. Fixes N#24620
535 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
537 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
539 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
541 * hildon-widgets/hildon-seekbar.c
542 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
544 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
546 * configure.ac: 0.12.6
548 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
550 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
551 fixed typo GKD_Left -> GDK_Left, N#24042
554 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
560 Updated logical id to lower case: Ckct_ -> ckct_
561 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
562 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
563 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
564 (hildon_range_editor_init, hildon_range_editor_entry_validate)
565 (hildon_range_editor_entry_validate):
566 * hildon-widgets/hildon-time-editor.c (validated_conversion)
567 (validated_conversion, hildon_time_editor_real_validate):
568 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
572 Updated logical id to lower case: Ecdg_ -> ecdg_
573 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
574 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
575 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
576 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
577 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
578 (hildon_wizard_dialog_create_title):
579 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
580 (hildon_find_toolbar_init):
581 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
582 (hildon_note_rebuild, hildon_note_set_button_text):
585 Removed i18n support for property description,
586 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
589 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
591 * configure.ac: 0.12.5
593 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
595 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
596 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
599 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
601 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
604 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
606 Cleanup wizard dialog,
608 * hildon-widgets/hildon-wizard-dialog.c
609 (struct HildonWizardDialogPrivate): removed 'previous_button'
610 and 'next_button' (obsolete)
612 (hildon_wizard_dialog_response): new private function. Handles the
613 'response' signal and replaces direction_button_clicked() in
614 taking care of notebook page changes and button dimming.
616 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
617 added to the dialog as response buttons. This enables the usage of
618 GtkDialog API for setting their sensitiveness.
620 (dimming/undimming): Connected hildon_wizard_dialog_response to
621 "resonse" signal. Removed useless title creation because it
622 depends on the notebook which is not yet created.
624 (hildon_wizard_dialog_set_property): minor code cleanup
626 (hildon_wizard_dialog_create_title): removed useless else-if
629 * hildon-widgets/hildon-wizard-dialog.h
630 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
633 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
634 adding the page_change signal, as the application can now track
635 the response signal instead.
638 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
640 * configure.ac: 0.12.4
643 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
647 moved widget descriptions to respective source file (*.c)
651 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
655 * hildon-widgets/hildon-color-button.c:
656 - removed unused #include
657 - removed unused gettext macro
659 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
660 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
661 + value updated to match specifications
663 (struct _HildonColorButtonPrivate):
664 removed 'drawing_area' and 'pixbuf' members (unused)
666 (hildon_color_button_init):
667 use drawing_area directly, update COLOR_FILLED_ macro names
669 (hildon_color_button_unrealize): new function.
670 (hildon_color_button_class_init): register unrealize function
671 (hildon_color_button_finalize): free allocated GC in unrealize
672 handler instead of in finalize.
674 (hildon_color_button_recolor_pixbuf): removed. (use
675 gdk_draw_rectangle() instead)
676 (hildon_color_button_draw_pixbuf_borders): likewise
678 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
680 (hildon_color_button_set_property): queue the drawing - instead of
681 calling recolor_pixbuf
683 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
686 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
688 More cleanup for range editor,
690 * hildon-widgets/hildon-range-editor.[ch]
691 - removed useless includes
692 (hildon_range_editor_new_with_separator): set char parameter 'const'
694 * hildon-widgets/hildon-range-editor.c
695 - removed useless includes
696 - rewritten a lot of functions because code was inefficient.
697 - removed useless g_return_if_fail calls from various functions.
699 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
700 (hildon_range_editor_entry_keypress): rewritten
701 (hildon_range_editor_entry_focus_out): rewritten
702 (hildon_range_editor_refresh_widths): New function
703 (hildon_range_editor_set_range): Make sure that the values are in
705 (hildon_range_editor_set_lower): rewritten.
706 (hildon_range_editor_set_higher): rewritten.
707 (hildon_range_editor_set_min): rewritten.
708 (hildon_range_editor_set_max): rewritten.
710 (hildon_range_editor_entry_validate): New validator function
711 (hildon_range_editor_entry_changed): New signal handler for
712 "changed" for entries, this will now validate whenever entry changes.
714 (hildon_range_editor_entry_focus_out): Added g_assert for
715 editor. Removed call to hildon_range_editor_apply_current_range().
716 Added call to the new function hildon_range_editor_entry_validate()
719 (hildon_range_editor_init): connected
720 hildon_range_editor_entry_changed to "changed" for entries.
723 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
725 Major cleanup for time editor
727 * hildon-widgets/hildon-time-editor.c
728 - removed unused #includes.
729 - Removed useless g_return_if_fail(editor) calls
730 (HILDON_IS_TIME_EDITOR does this check as well for us).
732 (hildon_time_editor_add_style): removed, obsolete.
733 (hildon_time_editor_mnemonic_activate): removed, obsolete
734 (hildon_time_editor_get_max_values): removed, obsolete.
736 (validated_conversion): New helper function
738 (hildon_time_editor_entry_changed): New function, now the widget
739 interactively validates the inputted contents (not requiring focus
742 (ticks_to_time): rewritten, using less arithmetic operations.
743 (hildon_time_editor_validate): rewritten
744 (hildon_time_editor_set_ticks): rewritten
745 (hildon_time_editor_set_duration_mode): rewritten
746 (hildon_time_editor_entry_keypress): rewritten
748 * hildon-widgets/hildon-time-editor.[ch]
749 (hildon_time_editor_set_show_hours)
750 (hildon_time_editor_get_show_hours) new functions to show/hide hours
753 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
755 Cleanup number editor
757 * hildon-widgets/hildon-number-editor.c:
758 (SPACE_BORDER): removed
760 (hildon_number_editor_size_request):
761 (hildon_number_editor_size_allocate): updated to use hildondefines
763 (hildon_number_editor_mnemonic_activate): function removed,
764 mnemonic are not used
766 (hildon_number_editor_stop_repeat_timer): new function, to avoid
768 (hildon_number_editor_button_release):
769 (hildon_number_editor_finalize): updated to use new function
771 (hildon_number_editor_entry_keypress): completely rewritten
772 (change_numbers): likewise
773 (do_mouse_timeout): likewise
774 (hildon_number_editor_set_range): likewise
776 (hildon_number_editor_validate_value): new function, used for all
778 (hildon_number_editor_focus_out):
779 (hildon_number_editor_entry_changed): updated to use previous.
781 (hildon_number_editor_real_set_value): new function that formats
782 given int to field. Used by change_numbers and set_value
784 (integer_to_string): removed, we now have one place that
785 converts numbers and that uses buffer from stack.
786 (hildon_number_editor_set_value): changed to use new format function.
789 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
791 * hildon-widgets/hildon-time-picker.c:
792 reorganized how the widgets are stored to reduce code
793 (HildonTimePickerWidgetGroup): new struct
794 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
795 (hildon_time_picker_init)
796 (hildon_time_picker_arrow_press)
797 (hildon_time_picker_event_box_key_press)
798 (hildon_time_picker_change_time)
799 (hildon_time_picker_map)
800 (hildon_time_picker_event_box_key_release): use new widget organization
803 (hildon_time_picker_init): return value from nl_timeinfo() is
804 valid only until it's called again, so g_strdup() the value when
807 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
808 (HILDON_TIME_PICKER_LABEL_X_PADDING)
809 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
810 (hildon_time_picker_set_time):
811 (hildon_time_picker_get_time):
812 (hildon_time_picker_ampm_release): used the new defines
814 (struct _HildonTimePickerPrivate)
815 (hildon_time_picker_init)
816 (hildon_time_picker_event_box_key_press)
817 (hildon_time_picker_change_time):
818 - c12h renamed to show_ampm,
819 - ampo_pos renamed to ampm_left.
821 (hildon_time_picker_timeout): renamed to
822 hildon_time_picker_key_repeat_timeout(),
823 and renamed parameter to 'hildon_time_picker'
825 (hildon_time_picker_event_box_press): renamed to
826 hildon_time_picker_event_box_button_press()
828 (hildon_time_picker_finalize): Added finalizer to make sure the
829 key repeat timeout handler gets removed.
831 (hildon_time_picker_arrow_press): Placed multipliers into
832 button_multipliers[] array to avoid multiple if/then/else
836 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
838 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
839 calculates correctly which items will be visible. Fixes N#16991.
842 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
844 * hildon-widgets/hildon-find-toolbar.c
845 (hildon_find_toolbar_history_append): set "column" property only
846 after model has been set.
849 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
851 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
852 the parameter more descriptively
855 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
859 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
861 * hildon-widgets/hildon-app.[ch]
862 (hildon_zoom_level_get_type): removed G_CONST_RETURN
864 * hildon-widgets/hildon-app.c:
865 - removed HILDON_DISABLE_DEPRECATED flags
866 - added g_assert'ions to internal functions
869 (hildon_app_button): Move the fixed define to the function itself,
870 add simple autodetection, clean up comments.
872 (hildon_app_key_release): Remove bogus argument to signal emission
873 (not needed), emit the "fullscreen_state_change" directly instead
874 of calling set_fullscreen.
876 (hildon_app_construct_title): removed dead code
878 (hildon_app_register_view_with_id): do not call g_slist_nth() to
879 get the first element...
882 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
884 * hildon-widgets/hildon-appview.c:
885 (hildon_appview_init): indented comments properly
886 (paint_toolbar): indented comments properly
887 (hildon_appview_expose): indented code properly
888 (hildon_appview_toolbar_toggle_request): removed dead code
891 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
893 * hildon-widgets/hildon-caption.c
894 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
895 (hildon_caption_size_allocate): likewise.
896 (hildon_caption_forall): likewise.
899 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
901 Cleanup Find toolbar,
903 * hildon-widgets/hildon-find-toolbar.[ch]
904 (hildon_find_toolbar_new): set 'label' parameter const.
905 (hildon_find_toolbar_new_with_model): likewise.
907 * hildon-widgets/hildon-find-toolbar.c
908 (struct _HildonFindToolbarPrivate):
909 changed entry_combo_box type to GtkComboBoxEntry*
911 (hildon_find_toolbar_get_list_model): new function, to factor
912 member access and casting
913 (hildon_find_toolbar_get_entry): likewise.
914 (hildon_find_toolbar_apply_filter): removed set_column parameter
915 since it was used by only one caller, and made the caller do it
916 instead. Removed unnecessary casts.
918 (hildon_find_toolbar_find_string): new function.
919 (hildon_find_toolbar_history_append): code cleanup. use
920 hildon_find_toolbar_find_string.
922 (hildon_find_toolbar_get_property)
923 (hildon_find_toolbar_get_entry)
924 (hildon_find_toolbar_init)
925 (hildon_find_toolbar_new)
926 (hildon_find_toolbar_new_with_model)
927 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
928 and changed some of them to use the new convenience functions
931 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
932 instead of if-check to validate parameter.
935 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
937 Cleanup hildon-defines,
939 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
940 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
942 (hildon_logical_data_free): new function. Free logical data.
943 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
944 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
946 * hildon-widgets/hildon-defines.[ch]
947 (hildon_gtk_widget_set_logical_font): use const gchar*
948 (hildon_gtk_widget_set_logical_color): likewise.
950 * hildon-widgets/hildon-defines.c:
951 (hildoniconsizes): set const
952 (hildoninternaliconsizes): set static, renamed 'iis'
955 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
957 Cleanup Caption widget,
959 * hildon-lgpl/hildon-caption.[ch]
960 (hildon_caption_status_get_type, hildon_caption_get_type):
961 G_CONST_RETURN removed, G_GNUC_CONST added
963 * hildon-widgets/hildon-caption.c
965 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
967 (hildon_caption_set_property): removed useless code.
968 (hildon_caption_button_press): simplified greatly by removing the
969 unnecessary recursion to locate the first focusable child of a
970 container - simple gtk_widget_grab_focus achieves the same
971 (get_first_focusable_child): removed (not used anymore)
973 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
975 (hildon_caption_set_focus_child): removed (not used anymore)
976 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
978 (hildon_caption_hierarchy_changed): type check added
979 (hildon_caption_forall): callback null check added
980 (hildon_caption_set_status): type check added
981 (hildon_caption_set_icon_image): type check added
982 (hildon_caption_activate): activate_block kludge removed as outdated
983 (hildon_caption_get_child_expand): argument declared const
984 (hildon_caption_set_label_text): g_return_if_fail changed to
985 g_assert since this is not a public function;
986 Duplicate separator check now uses correct localized separator
987 instead of assuming ':'
990 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
994 * hildon-lgpl/hildon-appview-c:
995 (hildon_app_view_init): Fixed a problem that prevented to set an
996 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
997 between toolbars). This fix involves a change in the default gtkrc
998 file, ie. the modification of the 'border' value of the
999 "toolbar-frame-middle" image in the osso-appview-background style.
1001 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
1002 widget supporting adjustements, not only viewports.
1004 (visible_toolbar): use proper parameter names
1005 (find_findtoolbar_index): likewise.
1006 (find_findtoolbar): likewise.
1008 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
1009 (hildon_appview_finalize): likewise.
1010 (hildon_appview_signal_marshal): likewise.
1011 (hildon_appview_forall): likewise.
1012 (hildon_appview_switched_to): likewise.
1013 (hildon_appview_real_fullscreen_state_change): likewise.
1016 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1018 * hildon-widgets/hildon-date-editor.c
1019 (hildon_date_editor_entry_validate): Now, if an invalid date is
1020 entered, date-editor reverts to previous date, instead of setting
1021 the maximum allowed days.
1024 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1026 * hildon-widgets/hildon-date-editor.h
1027 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1029 * hildon-widgets/hildon-date-editor.c
1030 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1031 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1034 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1036 * hildon-widgets/hildon-get-password-dialog.c:
1037 (hildon_get_password_dialog_set_title): Removed the deprecation
1038 #ifdefs from the .c file.
1040 * hildon-widgets/hildon-file-handling-note.c: likewise.
1044 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1046 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1048 * hildon-widgets/hildon-color-selector.c
1049 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1050 (hildon_color_selector_expose)
1051 (hildon_color_selector_get_color)
1052 (hildon_color_selector_set_color)
1055 (modify_focused): Separate selected color and focused color.
1056 Focused color now draws a different colored border around it.
1057 Renamed modify_selected() to modify_focused().
1059 * hildon-widgets/hildon-color-selector.c
1060 (hildon_color_selector_expose)
1061 (select_color): Changed the logic in how the box positions are
1062 calculated. The old logic was wrong, but just happened to work
1063 with those specific values.
1065 * hildon-widgets/hildon-color-selector.c
1066 (hildon_color_selector_expose): Draw the selected-border using
1067 ImageBorderColor color instead of hardcoded black.
1070 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1072 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1073 removed current_color; use initial_color directly.
1074 Disabled select-hardkey from activating to OK-button by default.
1077 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1079 * hildon-widgets/hildon-date-editor.c
1080 (hildon_date_editor_keypress): removed the unnecessary check for
1081 the position of the cursor in the text-field which was hindering
1082 the Left key from working as expected.
1085 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1087 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1088 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1090 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1092 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1095 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1097 * hildon-widgets/hildon-font-selection-dialog.c
1098 (hildon_font_selection_dialog_show_preview): set line wrap for
1102 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1104 * hildon-widgets/hildon-date-editor.c
1105 (hildon_child_forall): cast 'container'
1106 (hildon_date_editor_size_allocate): adjusted height allocation.
1109 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1111 Cleanup calendar popup,
1113 * hildon-widgets/hildon-calendar-popup.c:
1114 - updated 'longdesc' comment.
1115 - removed gtk-infoprint.h from included headers (unused).
1117 (struct HildonCalendarPopupPrivate): removed member
1118 'can_exit' (useless).
1119 (hildon_calendar_day_selected): removed (useless).
1120 (hildon_calendar_allow_exit): likewise.
1121 (hildon_calendar_deny_exit): likewise.
1123 (hildon_calendar_selected_date): new function. replaces
1124 hildon_calendar_allow_exit()
1126 (hildon_calendar_popup_init):
1127 - Removed initialization for 'can_exit'.
1128 - Removed connection to removed useless functions.
1129 - Connect "selected_date" to hildon_calendar_selected_date().
1130 - Do not grab the focus (useless)
1132 (hildon_key_pressed): just handle ESC and Return keys.
1134 (hildon_calendar_popup_get_property): removed unused variables.
1137 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1139 * hildon-widgets/hildon-caption.c
1140 * hildon-widgets/hildon-composite-widget.h
1141 * hildon-widgets/hildon-get-password-dialog.c
1142 * hildon-widgets/hildon-grid.h
1143 * hildon-widgets/hildon-grid-item.h
1144 * hildon-widgets/hildon-volumebar-range.c
1145 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1147 (hildon_controlbar_get_type): likewise.
1149 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1151 * doc/hildon-libs.types: Add missing types
1152 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1153 * doc/tmpl/*: Regenerate and add new files
1155 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1158 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1160 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1162 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1163 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1165 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1169 * doc/Makefile.am: Update gtk-doc framework bits
1170 * gtk-doc.make (commit generated file)
1171 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1173 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1174 * hildon-widgets/hildon-code-dialog.c:
1178 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1180 * hildon-widgets/hildon-window.c: propagate key-press event to the
1181 parent class (Closes N#23400)
1182 * configure.ac: 0.12.3
1184 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1186 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1188 * configure.ac: 0.12.2
1191 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1193 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1194 g_assert instead of g_return_val_if_fail
1199 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1201 * hildon-widgets/hildon-get-password-dialog.[ch]:
1202 (hildon_get_password_dialog_set_title) marked deprecated.
1204 + cleanup header coding style
1207 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1209 Cleanup font selection dialog
1211 * hildon-widgets/hildon-font-selection-dialog.c
1213 (hildon_font_selection_dialog_construct_notebook): removed dummy
1216 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1218 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1219 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1221 (toggle_clicked): renamed argument 'data' to 'unused'
1223 (hildon_font_selection_dialog_set_preview_text): added proper
1227 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1229 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1230 removed console messages.
1233 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1235 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1236 (struct _HildonSortDialogPrivate):
1237 - removed okButton, cancelButton
1238 - removed sort_by_value, sort_order_type
1239 - removed index_first
1240 - renamed combo1 to combo_key
1241 - renamed caption1 to caption_key
1242 - renamed combo2 to combo_order
1243 - renamed caption2 to cpation_order
1245 (hildon_sort_dialog_init): removed init of unused fields.
1246 use new field names.
1247 (hildon_sort_dialog_get_sort_key): likewise.
1248 (hildon_sort_dialog_get_sort_order): likewise.
1249 (hildon_sort_dialog_set_sort_key): likewise.
1250 (hildon_sort_dialog_set_sort_order): likewise.
1251 (hildon_sort_dialog_add_sort_key): likewise.
1253 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1255 * hildon-widgets/hildon-date-editor.c
1256 (hildon_child_forall): use g_assert instead of g_return_if_fail
1257 (hildon_date_editor_entry_validate): likewise.
1260 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1262 * hildon-widgets/hildon-controlbar.c
1263 (hildon_controlbar_change_value): commented function.
1265 * hildon-widgets/hildon-wizard-dialog.c
1266 (hildon_wizard_dialog_get_property): likewise.
1269 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1271 Cleanup weekday picker,
1273 * hildon-widgets/hildon-weekday-picker.c
1274 (_): removed unused gettext macro
1275 (button_toggle): use meaningful parameter name
1276 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1277 (hildon_weekday_picker_size_allocate): likewise.
1278 (button_toggle): likewise.
1281 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1283 Cleanup time editor,
1285 * hildon-widgets/hildon-time-editor.c
1286 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1287 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1288 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1289 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1291 (struct _HildonTimeEditorPrivate):
1292 - h_entry, m_entry, s_entry replaced by entries[],
1293 allows to remove a lot of code.
1294 - label renamed to hm_label
1295 - label2 renamed to sec_label
1296 - ampm renamed to ampm_label
1297 - show_s renamed to show_seconds
1298 - removed fields: icon, valid_value, validated
1300 + moved up in the file.
1302 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1304 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1306 (set_widget_allocation): removed
1307 (hildon_time_editor_entry_changed): removed
1309 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1311 (hildon_time_editor_forall): removed unnecessary code
1312 (hildon_time_editor_destroy): likewise.
1314 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1316 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1318 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1319 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1320 use new variable names,
1321 use hildon_time_editor_set_to_current_time
1323 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1324 (hildon_time_editor_set_ticks): use g_assert instead of
1325 g_return_if_fails, use
1326 'entries[]', removed dead code
1328 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1329 (hildon_time_editor_validate): use 'entries[]', removed dead code
1330 (hildon_time_editor_get_max_values): use 'entries[]'
1333 (hildon_time_editor_get_show_seconds): use new variable names
1334 (hildon_time_editor_set_duration_mode): likewise.
1336 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1338 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1340 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1342 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1344 (set_widget_allocation): removed (unused)
1345 (hildon_time_editor_entry_changed): removed (unused)
1347 (IS_VALID_KEYPRESS): new macro
1348 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1349 deleate dead/unnecessary code
1351 use IS_VALID_KEYPRESS
1353 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1355 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1357 (hildon_time_editor_size_allocate): cleanup
1358 (convert_to_12h): cleanup code style
1360 (hildon_time_editor_show_seconds): removed deprecation flag
1361 (hildon_time_editor_enable_duration_mode): likewise.
1364 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1366 Cleanup volume bars,
1368 * hildon-widgets/hildon-volumebar.h: removed unused #include
1369 + coding style cleanup
1371 * hildon-widgets/hildon-volumebar.c
1372 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1374 (hildon_child_forall): use g_assert instead of g_return_if_fail
1376 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1377 + coding style cleanup
1379 * hildon-widgets/hildon-volumebar-private.h:
1380 added missing #include.
1381 added _hildon_volumebar_mute_toggled.
1382 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1386 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1387 + coding style cleanup
1389 * hildon-widgets/hildon-vvolumebar.c
1390 (hildon_vvolumebar_size_request)
1391 (hildon_vvolumebar_size_allocate)
1392 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1394 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1396 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1397 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1398 (vvolumebar_init): renamed to hildon_vvolumebar_init
1399 (hildon_vvolumebar_init): removed unused 'orientation'
1400 initialisation. Use _hildon_volumebar_mute_toggled instead of
1401 removed hildon_vvolumebar_mute.
1405 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1407 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1408 renamed to hildon_hvolumebar_class_init
1410 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1411 hildon_hvolumebar_init
1413 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1416 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1417 removed unused 'orientation' initialisation.
1419 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1420 _hildon_volumebar_mute_toggled instead of removed
1421 hildon_hvolumebar_mute.
1424 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1428 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1429 coding style cleanup
1431 * hildon-widgets/hildon-color-popup.h: likewise.
1433 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1436 * hildon-widgets/hildon-color-selector.c
1437 (hildon_color_selector_new): use g_return_val_if_fail instead of
1439 (select_color): use g_assert instead of g_return_if_fail
1441 * hildon-widgets/hildon-calendar-popup.c
1442 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1446 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1448 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1449 added HildonCodeDialog widget
1452 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1454 * hildon-widgets/hildon-window.c:
1455 - set the toolbar height explicitely
1456 - use show instead of show_all on the common_toolbar
1457 - add the toolbars bottom-up instead of top-down
1458 * hildon-widgets/hildon-program.c:
1459 - don't assume that a window was realized when added to
1463 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1465 Cleanup font selection dialog,
1467 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1468 + coding style cleanup
1470 * hildon-widgets/hildon-font-selection-dialog.c
1471 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1472 instead of g_assert.
1474 * hildon-widgets/hildon-font-selection-dialog.c
1475 (hildon_font_selection_dialog_get_text_tag)
1476 (hildon_font_selection_dialog_set_buffer)
1477 (hildon_font_selection_dialog_get_font)
1478 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1481 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1483 Cleanup range editor,
1485 * hildon-widgets/hildon-range-editor.c
1486 (hildon_range_editor_calss_init):Removed
1487 widget_calss->mnemonic_activate init
1489 * hildon-widgets/hildon-range-editor.c
1490 (hildon_range_editor_mnemonic_activate): Removed static function
1491 hildon_range_mnemonic_activate and FIXME. It is useless even
1492 through it is overriding function for
1493 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1494 focus will be realized based on different applications.
1496 * hildon-widgets/hildon-range-editor.c
1497 (is_valid_keyvalue_for_entry_keypress): new function.
1499 * hildon-widgets/hildon-range-editor.c
1500 (hildon_range_editor_entry_keypress): uses
1501 is_valid_keyvalue_for_entry_keypress
1503 * hildon-widgets/hildon-range-editor.c
1504 (hildon_range_editor_forall): use g_return_if_fail instead of
1507 * hildon-widgets/hildon-range-editor.cvn
1508 (hildon_range_editor_mnemonic_activate): removed. (unused)
1511 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1513 Cleanup hildon-note,
1515 * hildon-widgets/hildon-note.[ch]
1517 (hildon_note_five_line_truncate): removed.
1518 (hildon_note_one_line_truncate): removed.
1520 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1521 instead of _{one|five}_line_truncate() functions.
1524 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1525 into wrapper of "hildon_note_new_information_with_icon_name".
1527 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1528 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1530 - removed some unnessecary includes.
1532 - Merged hildon_note_create & hildon_note_create_form and rewrote
1533 the combination as hildon_note_rebuild
1535 - Added missing g_return_* into public functions.
1537 - Acquire real references to children which are packed/unpacked,
1538 so we do not need to bother about refcounting while changing the
1542 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1546 * hildon-widgets/hildon-number-editor.c
1548 (set_widget_allocation): use const parameter.
1550 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1552 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1553 (hildon_number_editor_set_range): removed 'negative'
1556 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1557 use g_assert instead of g_return_if_fail
1560 * hildon-widgets/hildon-time-picker.c:
1561 - in several places, replace 1440 by 24*60
1562 (PROP_AMPM): removed, unused.
1563 (hildon_time_picker_timeout): use significant parameter name,
1565 (hildon_time_picker_init): removed useless call to _change_time()
1568 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1572 * hildon-widgets/hildon-seekbar.c
1574 (_): Removed dgettext macro definition.
1576 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1578 (hildon_seekbar_finalize): removed. not needed.
1579 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1581 (hildon_seekbar_size_request): indent cleanup.
1583 (hildon_seekbar_size_allocate): simplified function.
1585 (hildon_seekbar_button_press_event): Removed unused variables.
1586 (hildon_seekbar_button_release_event): likewise.
1589 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1591 Cleanup date editor,
1593 * hildon-widgets/hildon-date-editor.c
1595 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1596 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1598 (hildon_date_editor_get_font_width): removed (legacy static
1599 function), use gtk_entry_set_width_chars instead.
1601 (hildon_date_editor_mnemonic_activate): removed mnemonic
1602 activation handler, since it's no more used by HildonCaption.
1605 - Removed some meaningless code (if (somewidget != NULL)) from
1608 - HEAVILY modified key_press, completely removed if/grab_focus
1609 spaghetti by gtk_widget_child_focus
1611 - Removed input validation from keypress (that would not work
1612 anyway, since our input method do not generate presses). => This
1613 allows to change default return value to FALSE and remove all cases
1614 that just returned FALSE for some keys.
1616 - Merged all *_entry_changed callbacks to use the same
1617 function. Again using gtk_widget_child_focus, but now with return
1618 value as well to detect last field.
1620 - Changed that calendar button is no more implemented through
1621 changing widget hierarchy (old implementation caused critical
1622 issues when you used both stylus and hardkeys at the same time to
1623 popup. => finalize method no longer contained anything => removed
1625 - Locale type is no longer needed after initial setup.
1627 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1628 hack from the days of background dimming (it was important to
1629 process background updates before the dimming was done).
1631 - Changed the field order/delimeters to be correcly derived form
1634 - Rewrote validation function, combined it with validation done in
1635 focus_out (since both are now called at the same time).
1637 - Changed set_date function to set all components at one go
1638 without doing any validation there between (before setting each
1643 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1645 Cleanup set-password dialog
1647 * hildon-widgets/hildon-set-password-dialog.[ch]
1648 (hildon_set_password_dialog_set_domain): gchar * param is const
1649 (hildon_set_password_dialog_new_with_default): likewise.
1651 * hildon-widgets/hildon-set-password-dialog.c
1653 (hildon_set_password_set_property): setting 'modify-protection'
1656 (hildon_set_password_get_property): fixed broken 'domain' (missing
1657 break statement!) and 'modify-protection' (was a null operation)
1658 properties; code simplified.
1660 (hildon_set_password_dialog_constructor),
1662 (hildon_set_password_dialog_class_init),
1663 (hildon_set_password_dialog_init):
1664 hildon_set_password_dialog_constructor removed as weird and
1665 obsolete and replaced with new function create_contents; fixed
1666 leaking group variable; removed some unused, outdated code that
1667 was already commented out.
1669 (hildon_set_password_response_change),
1670 (hildon_set_password_response_set): GtkWindow *parent arguments
1671 changed to gpointer unused; cleaned up unnecessary strcmp's
1673 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1674 checkbox). gpointer renamed to be more descriptive; Code simplified
1676 (hildon_set_password_dialog_get_type): empty function argument
1677 list replaced with void keyword.
1679 (hildon_set_password_dialog_new),
1680 (hildon_set_password_dialow_new_with_default): simplified by
1681 having the simpler constructor call the more complex one, not vice
1682 versa; moved callback connects to create_contents since they
1683 depend on the status of 'modify-protection' property
1685 (hildon_set_password_dialog_get_password): type check added
1686 (hildon_set_password_dialog_get_protected): likewise
1687 (hildon_set_password_dialog_set_domain): likewise
1690 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1692 Cleanup name-password dialog:
1694 * hildon-widgets/hildon-name-password-dialog.[ch]
1696 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1697 types changed from *HildonCaption to *GtkEntry
1699 (hildon_name_password_dialog_set_property): layout fixes;
1700 duplicated code replaced with calls to relevant public functions
1702 (hildon_name_password_dialog_get_property): layout fixes;
1703 duplicated code replaced with calls to relevant public functions
1705 (hildon_name_password_dialog_init): fixed leaking group variable;
1706 reworked to have captions as local variables and captioned entries
1707 in the private struct
1709 (hildon_name_password_dialog_new_with_default): name and password
1710 arguments declared const
1712 (hildon_name_password_dialog_get_name): type check added + cleanup
1713 (hildon_name_password_dialog_get_password): likewise.
1715 (hildon_name_password_dialog_set_domain): domain argument declared
1716 const; type check added + cleanup
1719 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1721 Cleanup get-password dialog:
1723 * hildon-widgets/hildon-get-password-dialog.[ch]
1725 (HildonGetPasswordDialogPrivate): gboolean get_old added
1727 (hildon_get_password_set_property): fixed broken 'numbers-only'
1728 and 'max-characters' cases; 'get-old' property added
1730 (hildon_get_password_get_property): added support for reading
1731 'numbers-only' properties; added missing break to 'domain' case.
1732 added 'get-old' property
1734 (hildon_get_password_dialog_class_init): 'domain' and
1735 'numbers-only' properties are now readable; 'get-old' property
1738 (hildon_get_password_dialog_init, create_contents): everything
1739 that depends on the type of the dialog (i.e. 'get-old' property)
1740 is now done in create_contents after properties are initialized;
1741 fixed leaking group variable
1743 (hildon_get_password_dialog_get_type): empty function argument
1744 list replaced with void keyword
1746 (hildon_get_password_dialog_new): moved setting the labels of the
1747 get password dialog to init where it should be done; 'get-old'
1748 property set upon construction to achieve this
1750 (hildon_get_password_dialog_new_with_default): password argument
1753 (hildon_get_password_dialog_get_password): type check added
1754 (hildon_get_password_dialog_set_domain): type check added; domain
1755 argument declared const; duplicate function declaration removed
1757 (hildon_get_password_dialog_set_title): type check added;
1758 new_title argument declared const
1760 (hildon_get_password_dialog_set_caption): type check added;
1761 new_caption argument declared const
1763 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1764 (_invalid_input): gpointer data argument renamed unused
1767 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1769 (*_get_type): declared G_GNUC_CONST
1771 * hildon-widgets/hildon-app.h:
1772 * hildon-widgets/hildon-appview.h:
1773 * hildon-widgets/hildon-calendar-popup.h:
1774 * hildon-widgets/hildon-color-selector.h:
1775 * hildon-widgets/hildon-date-editor.h:
1776 * hildon-widgets/hildon-find-toolbar.h:
1777 * hildon-widgets/hildon-get-password-dialog.h:
1778 * hildon-widgets/hildon-name-password-dialog.h:
1779 * hildon-widgets/hildon-number-editor.h:
1780 * hildon-widgets/hildon-seekbar.h:
1781 * hildon-widgets/hildon-set-password-dialog.h:
1782 * hildon-widgets/hildon-sort-dialog.h:
1783 * hildon-widgets/hildon-time-editor.h:
1784 * hildon-widgets/hildon-weekday-picker.h:
1785 * hildon-widgets/hildon-wizard-dialog.h:
1787 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1791 * hildon-widgets/hildon-volumebar.c
1792 (hildon_volumebar_class_init): object class casts cleaned up
1793 (hildon_child_forall): removed unnecessary variable vbar; type check added
1794 (hildon_volumebar_set_property): removed unnecessary variable vbar
1795 (hildon_volumebar_set_level): type check added
1796 (hildon_volumebar_get_level): type check added
1797 (hildon_volumebar_set_mute): type check added
1798 (hildon_volumebar_get_mute): type check added
1799 (hildon_volumebar_get_adjustment): type check added
1800 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1802 * hildon-widgets/hildon-volumebar.h
1803 (hildon_volumebar_get_type): declared G_GNUC_CONST
1805 * hildon-widgets/hildon-volumebar-private.h:
1806 - G_BEGIN_DECLS/G_END_DECLS added
1807 - ownorientation removed from private struct
1809 * hildon-widgets/hildon-volumebar-range.c
1810 (hildon_volumebar_range_init): vacuous return statement removed
1812 (hildon_volumebar_range_set_level): removed unnecessary clamping
1813 kludge that violated object oriented principles only to provide an
1814 extremely minor, unnecessary optimization; type check added
1816 (hildon_volumebar_range_get_level): now accesses adjustment value
1817 with appropriate functions instead of reading it directly from the
1818 struct, which is bad OOP; type check added
1820 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1821 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1823 * hildon-widgets/hildon-volumebar-range.h
1824 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1826 * hildon-widgets/hildon-hvolumebar.c
1827 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1828 completely removed the gtk_widget_show() call that was already
1831 (hildon_hvolumebar_new): empty function parameter list replaced
1834 (hildon_hvolumebar_map): vbar variable removed; type check added
1835 (hildon_hvolumebar_expose): type check added
1836 (hildon_hvolumebar_size_request): type check added
1837 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1839 * hildon-widgets/hildon-hvolumebar.h
1840 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1842 * hildon-widgets/hildon-vvolumebar.c
1843 (vvolumebar_init): priv->ownorientation and v_ptr removed
1844 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1846 (hildon_vvolumebar_expose): type check added
1847 (hildon_vvolumebar_size_request): type check added
1848 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1850 * hildon-widgets/hildon-vvolumebar.h
1851 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1854 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1856 * hildon-widgets/hildon-weekday-picker.c
1857 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1858 last_index; added day_order_buttons
1860 (hildon_weekday_picker_mnemonic_activate): removed.
1861 mnemonics are no longer used.
1863 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1864 function. Rewritten creation of buttons. Unref'ed size group.
1866 (button_toggle): Removed bit mask checking, simplified function
1868 (hildon_weekday_picker_set_day):
1869 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1870 adjustment, unecessary for loop
1872 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1873 unecessary for loop. Simplified button toggling
1875 (hildon_weekday_picker_set_all):
1876 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1879 (hildon_weekday_picker_isset_day): Removed date adjustment and
1880 unecessary for loop;
1882 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1884 Added hildon-banner, as a clean replacement for gtk-infoprint
1885 * hildon-widgets/hildon-banner.[ch]: implementation and header
1886 * hildon-widgets/Makefile.am: reference new files
1887 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1888 a compatibility wrapper to hildon-banner
1890 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1892 * hildon-widgets/hildon-color-button.c: added comments
1893 * hildon-widgets/hildon-controlbar.c: Likewise.
1894 * hildon-widgets/hildon-composite-widget.c: Likewise.
1895 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1897 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1899 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1902 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1904 * configure.ac: 0.12.1
1906 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1908 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1909 * doc/tmpl/hildon-window.sgml: likewise.
1910 * hildon-widgets/hildon-program.[ch]: likewise.
1911 * hildon-widgets/hildon-window.[ch]: likewise.
1912 * hildon-widgets/hildon-window-private.h: likewise.
1913 * hildon-widgets/Makefile.am: Added these new files to the build
1916 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1918 * configure.ac: 0.12.0
1920 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1922 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1923 * doc/tmpl/hildon-appview.sgml: likewise.
1924 * doc/tmpl/hildon-color-popup.sgml: likewise.
1925 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1926 * doc/tmpl/hildon-app.sgml: likewise.
1927 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1928 * doc/tmpl/hildon-caption.sgml: likewise.
1929 * doc/tmpl/hildon-marshalers.sgml: likewise.
1930 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1931 * doc/tmpl/hildon-defines.sgml: likewise.
1932 * doc/tmpl/gtk-infoprint.sgml: likewise.
1933 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1935 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1936 * hildon-widgets/hildon-app.[ch]:likewise.
1937 * hildon-widgets/hildon-app-private.h:likewise.
1938 * hildon-widgets/hildon-appview.[ch]:likewise.
1939 * hildon-widgets/hildon-caption.[ch]:likewise.
1940 * hildon-widgets/hildon-defines.[ch]:likewise.
1941 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1942 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1944 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1945 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1949 hildon-app-private.h
1953 hildon-find-toolbar.[ch]
1954 hildon-input-mode-hint.h
1956 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1957 path for gtk-infoprint.h and hildon-input-mode-hint.h
1959 * po/en_GB.po: merged msgstr from hildon-lgpl
1961 * timer/*: added from hildon-lgpl
1965 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1967 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1970 * ut/hildon-widgets_tests.c (test41a): removed test case for
1971 hildon_file_details_dialog
1973 * doc/hildon-libs.types: likewise.
1974 * doc/hildon-libs-docs.xml: likewise.
1980 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1983 * Makefile.am (SUBDIRS): added timer/
1985 * configure.ac: do not depend anymore on hildon-lgpl nor
1986 hildon-fm, check for libmb, added Makefile output for timer/
1990 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1992 * configure.ac: 0.10.2
1994 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1996 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1997 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1998 hildon-apps scroll-control property is now handled.
1999 (get_child_index_by_coord): ignores events not matching a grid
2002 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2004 * configure.ac: 0.10.1
2006 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2008 Missing/Buggy documentation from,
2009 N#11566 make password dialog customizable (messages)
2010 * hildon-widgets/hildon-get-password-dialog.c
2011 (hildon_get_password_dialog_set_title): typo in gtkdoc function
2013 * doc/tmpl/xxx.sgml: updated.
2015 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2017 N#19369 TRUE Scketch does not show colour change when using white color
2019 Color button needs inner border white, and outer border black.
2020 * hildon-widgets/hildon-color-button.c
2021 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
2023 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
2024 (hildon_color_button_realize): call the above function
2026 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2028 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2029 * hildon-widgets/hildon-note.c:
2030 (hildon_note_new_confirmation_add_buttons): updated doc
2031 (hildon_note_set_button_texts): likewise.
2033 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2035 N#21884 Cannot select read-only by using the center of the scroll key
2036 * hildon-widgets/hildon-file-details-dialog.c
2037 (hildon_file_details_dialog_init): Removed dialog default response.
2039 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2041 N#8094 5-bit color selector: wrong margins and pixel measurements
2042 M#59 HildonColorSelector needs more space
2043 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2044 (hildon_color_popup_new): add space between the control bars and
2045 the color preview area.
2047 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2049 * hildon-widgets/hildon-calendar-popup.c
2050 * hildon-widgets/hildon-color-button.c
2051 * hildon-widgets/hildon-color-popup.c
2052 * hildon-widgets/hildon-color-selector.c
2053 * hildon-widgets/hildon-composite-widget.c
2054 * hildon-widgets/hildon-controlbar.c
2055 * hildon-widgets/hildon-date-editor.c
2056 * hildon-widgets/hildon-dialoghelp.c
2057 * hildon-widgets/hildon-file-details-dialog.c
2058 * hildon-widgets/hildon-font-selection-dialog.c
2059 * hildon-widgets/hildon-get-password-dialog.c
2060 * hildon-widgets/hildon-grid-item.c
2061 * hildon-widgets/hildon-grid.c
2062 * hildon-widgets/hildon-hvolumebar.c
2063 * hildon-widgets/hildon-name-password-dialog.c
2064 * hildon-widgets/hildon-note.c
2065 * hildon-widgets/hildon-number-editor.c
2066 * hildon-widgets/hildon-range-editor.c
2067 * hildon-widgets/hildon-scroll-area.c
2068 * hildon-widgets/hildon-seekbar.c
2069 * hildon-widgets/hildon-set-password-dialog.c
2070 * hildon-widgets/hildon-sort-dialog.c
2071 * hildon-widgets/hildon-time-editor.c
2072 * hildon-widgets/hildon-time-picker.c
2073 * hildon-widgets/hildon-volumebar-private.h
2074 * hildon-widgets/hildon-volumebar-range.c
2075 * hildon-widgets/hildon-volumebar.c
2076 * hildon-widgets/hildon-vvolumebar.c
2077 * hildon-widgets/hildon-weekday-picker.c
2078 * hildon-widgets/hildon-wizard-dialog.c
2081 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2083 * configure.ac: 0.10.0
2085 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2087 Some more properties for Gazpacho support,
2089 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2090 * hildon-widgets/hildon-color-selector.c: "color"
2093 * hildon-widgets/hildon-color-selector.[ch]
2094 (hildon_color_selector_get_color): return const pointer to the
2097 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2100 Gazpacho support, added the following properties:
2102 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2103 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2104 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2105 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2106 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2107 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2108 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2109 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2110 * hildon-widgets/hildon-number-editor.c: "value"
2112 * hildon-widgets/hildon-color-button.c: minor cleanup
2115 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2117 Started new development
2118 (branche for maintenance continues with versions 0.9.x)
2120 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2122 * configure.ac: 0.9.53
2124 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2127 N#19283 Control panel - The values entered are not saved.
2128 N#19648 Hildon Date Editor widget detects values too high
2129 (note: complete fix include also fixes in GTk+)
2131 * hildon-widgets/hildon-calendar-popup.c
2132 (hildon_calendar_popup_set_property),
2133 (hildon_calendar_popup_class_init),
2134 (init_dmy): Added 'min-year', 'max-year' properties for passing
2135 the information through from HildonDateEditor to GtkCalendar
2137 * hildon-widgets/hildon-date-editor.c:
2138 (hildon_date_editor_class_init),
2139 (hildon_date_editor_init),
2140 (hildon_date_editor_set_property),
2141 (hildon_date_editor_get_property),
2143 (hildon_date_editor_entry_validate),
2144 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2145 properties and replaced hardcoded constants with them
2147 * hildon-widgets/hildon-date-editor.c
2148 (hildon_date_editor_d_entry_changed),
2149 (hildon_date_editor_m_entry_changed),
2150 (hildon_date_editor_d_entry_changed): new functions to ensure that
2151 the fields are validated and the focus is moved when maximum
2152 number of characters has been entered.
2154 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2156 * configure.ac: 0.9.52
2158 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2160 N#19140 System alerts still audible despite being turned off
2162 * hildon-widgets/hildon-note.c (sound_handling):
2164 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2166 * hildon-note.c (sound_handling): Changed to use new
2167 hildon_play_system_sound.
2168 (hildon_note_init): Signal handler id is changed to be in private
2169 structure, not in global variable.
2171 * hildon-note.c: Removed unused defines etc.
2173 * Makefile.am: Appended new files to build rules.
2175 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2177 * configure.ac: 0.9.51
2179 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2181 N#20027 PDF Reader crashes on selecting read only option in the
2184 * hildon-widgets/hildon-file-details-dialog.c:
2185 (change_state): Fixed assertion that was causing problems
2186 (check_validity): New function: We now automatically close the
2187 dialog if the displayed file is removed.
2188 (handle_focus): Callback removed:
2189 (init): Now using correct gtk way to bind container and adjustment
2190 together. Not the previous callback.
2191 (set_property): Connecting/disconnecting new handlers (for
2193 (finalize): disconnecting new handler.
2195 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2197 N#17918 Volumebar widget background image doesn't change when
2198 widget goes into mute state,
2200 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2203 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2204 using the state of the internal volumebar, not the whole container
2206 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2207 using the state of the internal volumebar, not the whole container
2209 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2211 * hildon-widgets/hildon-dialoghelp.[ch]: added
2212 gtk_dialog_help_disable and fixed bug N#19468
2214 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2216 * configure.ac: Release 0.9.50
2218 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2222 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2224 * hildon-widgets/hildon-grid.c
2225 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2226 label by logical name "Ckct_wi_grid_no_items"
2229 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2231 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2233 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2235 * configure.ac: Release 0.9.49
2237 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2239 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2240 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2241 Save the id of the idle callback and remove it when the widget is
2242 destroyed to avoid crashing. N#18096
2244 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2246 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2247 id's are unsigned and undefined at zero (instead of signed and -1)
2249 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2251 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2252 that was not working. N#16805
2254 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2256 * configure.ac: Release 0.9.48
2258 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2260 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2261 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2262 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2264 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2266 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2267 Do not override the week-start property of GtkCalendar according to
2268 the hildon-libs PO file, it is automatically determined from locale
2271 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2273 * configure.ac: Release 0.9.47
2275 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2277 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2278 property for setting the password entry accept only numeric values.
2281 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2283 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2284 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2285 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2286 Use defines rather than magic numbers in the code.
2288 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2290 Update to new l10n packaging style. po-files (inside this package)
2291 are not used for now, the message catalogs come from separate packages
2292 and including them here would conflict.
2294 * Makefile.am (SUBDIRS): stop including po-files
2295 * Makefile.am (EXTRA_DIST):
2296 * debian/hildon-libs-l10n-engb.install:
2297 * debian/hildon-libs-l10n-src.install:
2298 * po/debian/*: Removed
2300 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2302 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2303 checks to cover gateway content as well.
2305 * hildon-widgets/hildon-time-editor.c:
2306 (hildon_time_editor_validate): Replace solid numbers with defined
2308 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2311 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2313 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2314 invalid cast from `GdkWindow' to `GtkWindow'
2316 * hildon-widgets/hildon-color-popup.c
2317 (hildon_popup_palette_expose): removed debug printing
2319 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2321 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2324 * hildon-widgets/hildon-scroll-area.c
2325 (hildon_scroll_area_destroy): one-instruction function:
2326 removed. Call g_free directly.
2328 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2329 right edge of window, size of the child is also shrinked. 'fixed'
2330 does not automatically update this data -> Doing it manually.
2332 * hildon-widgets/hildon-date-editor.h: added
2333 HildonDateEditorErrorType error enumeration type, removed signal
2334 "validate-date" virtual function, added signal "date-error"
2337 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2338 added custom info prints.
2339 (hildon_date_editor_validate_date): removed
2340 (hildon_date_editor_entry_validate): validate maximum and minimum
2341 limits on each field.
2342 (hildon_date_editor_entry_focus_out): check the date validation
2343 in simpler manner, don't put content if field is empty (spec
2344 doesn't say if there should be anything placed in the entry if
2346 (hildon_date_editor_get_date),
2347 (hildon_date_editor_get_month),
2348 (hildon_date_editor_get_year),
2349 (hildon_date_editor_get_day): use direct entry content, so that 0
2350 indicates empty entry, and information is more accurate.
2352 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2354 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2356 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2357 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2359 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2361 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2363 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2365 * hildon-widgets/hildon-number-editor.c:
2366 (hildon_number_editor_select_all): new function, selects all
2367 the text in the entry.
2368 * hildon-widgets/hildon-number-editor.c: added several calls to
2369 hildon_number_editor_select_all with g_idle_add.
2371 * hildon-controlbar.c : add signal when end reached
2373 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2375 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2377 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2379 Fixed incorrect values in <Filetype> Details Dialog
2381 Fixed help button usage in dialogs
2383 * hildon-dialoghelp.c: Added more documentation about the
2386 * hildon-file-details-dialog.c: Updated to match
2387 'File Management in OSSO' version 3.0
2389 * Fixed application hang after calling gtk_main_quit
2391 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2392 ESC presses needlessly
2394 * hildon-time-editor.c: Fixed memory corruption