1 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
3 From Murray Cumming <murrayc@murrayc.com>.
5 * hildon-widgets/hildon-calendar-popup.c:
6 (hildon_calendar_popup_new): Use only g_object_new(), passing
7 it properties, so that language bindings can do the same.
8 (hildon_calendar_popup_set_date): Veryify the date here,
9 instead of only in the _new() function.
10 (hildon_calendar_popup_set_property): Use get/set_date() to
11 verify the new date and to select it.
12 (hildon_calendar_popup_get_property): Remove unused variables.
13 * ut/hildon-widgets_tests.c (test45): New.
15 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
17 * configure.ac: 0.12.11
20 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
22 * thread safety (N#24348), fixed timeout and idle callbacks :
23 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
24 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
25 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
26 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
27 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
28 hildon-widgets/hildon-time-editor.c : highlight_callback()
29 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
31 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
33 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
34 correct state for fullscreen, fixes N#26611
36 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
39 * hildon-widgets/hildon-window.c:
40 - hildon_window_toggle_menu now returns whether or not something was
42 - hildon_window_key_press_event(): when handling the menu hard key,
43 return TRUE if we actually handled it
44 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
45 now returns if something was done
46 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
47 if we actually handled the menu hard key.
49 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
51 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
54 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
56 * configure.ac: 0.12.10
59 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
61 * doc/hildon-libs-docs.sgml: added index for new symbols.
64 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
66 * doc/Makefile.am (version.xml): generates version.xml
67 * doc/hildon-libs-docs.sgml: added &version; entity, and display
68 the version number in the doc title.
71 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
73 Minor changes for gtk-doc
75 * hildon-weekday-picker.h
76 * hildon-name-password-dialog.c
77 * hildon-calendar-popup.h
78 * hildon-range-editor.h
79 * hildon-volumebar-range.h
82 * hildon-time-editor.c
84 * hildon-date-editor.h
87 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
89 * hildon-widgets/hildon-time-editor.c
90 (hildon_time_editor_set_show_hours)
91 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
94 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
97 * hildon-widgets/hildon-time-editor.c
98 (hildon_time_editor_entry_keypress): use
99 hildon_gtk_button_set_depressed, provided by osso-GTK, since
100 2.6.10-1.osso4, instead of GTK private symbol
101 _gtk_button_set_depressed
104 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
106 From Murray Cummings (M#185 M#283), with slight changes:
108 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
109 can disable the regeneration of hildon-libs-enum-types.[h|c], also
110 based on the gnome-vfs build.
112 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
113 hildon-libs-enum-types.[h|c], and build them, based on the
114 gnome-vfs build. This adds GTypes for the enums, needed for
115 accurate signal registration, needed by bindings.
117 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
118 default signal handler to range_error, so it has the same name as
119 the signal, as expected by bindings.
121 * hildon-widgets/hildon-marshalers.list: Change to the now-used
124 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
125 since hildon_note_type_get_type is defined manually and
126 glib-mkenums should ignore this enum.
128 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
129 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
131 Correct the signal registration for:
133 * hildon-widgets/hildon-app.c
134 (hildon_app_class_init):
140 * hildon-widgets/hildon-date-editor.c
141 (hildon_date_editor_class_init):
144 * hildon-widgets/hildon-find-toolbar.c
145 (hildon_find_toolbar_class_init):
149 "history_append signals"
151 * hildon-widgets/hildon-grid.c
152 (hildon_grid_class_init):
155 * hildon-widgets/hildon-number-editor.c
156 (hildon_number_editor_class_init):
160 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
162 M#90 - Use standard GLib macro names.
163 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
165 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
166 * hildon-widgets/hildon-calendar-popup.h:
167 * hildon-widgets/hildon-date-editor.h:
168 * hildon-widgets/hildon-range-editor.h:
169 * hildon-widgets/hildon-weekday-picker.h:
170 * hildon-widgets/hildon-volumebar-range.h:
173 * hildon-widgets/hildon-calendar-popup.c:
174 * hildon-widgets/hildon-date-editor.c:
175 * hildon-widgets/hildon-range-editor.c:
176 * hildon-widgets/hildon-volumebar-range.c:
177 * hildon-widgets/hildon-weekday-picker.c:
180 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
182 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
183 for Ok and Cancel buttons.
185 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
187 * configure.ac: 0.12.9
189 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
191 * hildon-widgets/hildon-color-button.c
192 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
196 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
198 * hildon-widgets/hildon-time-editor.c
199 (convert_to_12h): removed m and s paramters (useless)
200 (convert_to_24h): likewise.
203 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
205 Automatic focus movement for HildonTimeEditor (IMP-13)
207 * hildon-widgets/hildon-time-editor.c
208 (hildon_time_editor_init): connect after signal "insert_text"
209 (hildon_time_editor_inserted_text): new function.
210 On inserted text, if entry has two digits, jumps to the next field.
213 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
215 Pops up the color selector on 'select' hardkey (IMP-15)
217 * hildon-widgets/hildon-color-button.c
218 (hildon_color_button_init): connect "key-release-event"
219 (hildon_color_button_key_released): new function.
220 Pops up the color selector on 'select' hardkey release
223 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
225 Hildon grid, set items to be focus-and-activate instead of single
226 tap activation (IMP-14)
228 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
229 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
232 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
234 Fetch hours/minutes/seconds separators from current locale (IMP-8)
237 * hildon-widgets/hildon-time-editor.c
238 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
239 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
240 (hildon_time_editor_finalize): free separator symbols
241 (get_time_separators): new function. Get time separators from locale.
242 (hildon_time_editor_check_locale): call get_time_separators.
244 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
246 Removed icon for mandatory fields (IMP-3).
247 Note: the logic and API to specify mandatory fields is preserved.
249 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
250 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
251 (hildon_caption_set_property): case PROP_STATUS, removed related code.
252 (hildon_caption_set_label_alignment): removed related code.
255 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
257 * configure.ac: 0.12.8
259 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
261 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
264 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
266 - Added support for Pango markup
267 Added hildon_banner_show_information_with_markup
268 - Removed hildon_banner_show_confirmation
269 - Re-position the banner when its content changes
270 - Banner now doesn't truncate strings nor insert linebreaks
271 - fixes N#24339 - Information banners do not resize
273 * hildon-widgets/hildon-banner.[ch]
274 (hildon_banner_show_information_with_markup): new function. Adds
275 pango markup support for information banners.
277 (hildon_banner_show_confirmation): removed. 'confirmation' was
278 used only for the taask navigator (at most). It should use
279 _show_information_with_markup with appropriate markup.
281 (hildon_banner_set_markup): new function.
283 (hildon_banner_check_position): new function. Factor code from
284 hildon_banner_realize(), and update position calculation.
286 (struct _HildonBannerPrivate): removed max_lines.
287 Uses as much lines as needed.
289 (hildon_banner_init): set banner label to wrap lines.
291 (hildon_banner_set_text): do not truncate. Update banner's position.
293 (hildon_banner_set_markup): new function.
294 Set banner's text with Pango markup.
296 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
299 * hildon-widgets/gtk-infoprint.c
300 (gtk_confirmation_banner): use hildon_banner_show_information
301 instead of _show_confirmation.
302 (gtk_confirmation_banner_with_icon_name): likewise.
305 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
307 * hildon-widgets/hildon-color-button.c
308 (hildon_color_field_expose_event): correct parameter order.
311 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
313 * hildon-widgets/hildon-window.c:
314 - Fixed a potential infinite loop when detaching the menus
315 from the window widget (Closes N#26033)
317 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
319 * hildon-widgets/hildon-window.c:
320 - Fixed a bug that made window fullscreen state tracking fail
321 - Apply correct theming to menus so that they get placed
322 correctly (Fixes N#24325)
323 - Redraw the window borders if the size of the toolbar vbox changes
324 - Reset the program to NULL in hildon_window_destroy
325 - Stop the ESC key-press timeout when the window loses the focus
327 * hildon-widgets/hildon-program.c:
328 - Reset the common toolbar to NULL when the program is finalised
330 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
332 * hildon-widgets/hildon-get-password-dialog.h,
333 hildon-widgets/hildon-get-password-dialog.c
334 (hildon_get_password_dialog_new,
335 hildon_get_password_dialog_new_with_default): Renamed
336 get_old_password_title parameter to "get_old" to correspond with
337 the property name. This helps the C++ bindings.
338 * ut/hildon-widgets_tests.c (test43, test44): New.
340 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
342 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
343 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
348 * hildon-lgpl/hildon-caption.c:
349 (hildon_caption_init): Do the hildon_caption_set_child_expand()
351 (hildon_caption_new): Use the child property from GtkContainer
352 instead of calling gtk_container_add(), because _new() functions
353 should just use g_object_new(), so that language-bindings can do
356 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
358 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
360 * configure.ac: 0.12.7
362 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
365 * hildon-widgets/hildon-font-selection-dialog.c
366 (REFERENCE_LINE): removed
367 (hildon_font_selection_dialog_show_preview): added l10n support
368 for the reference string (use to differentiate sub/super script in
370 (hildon_font_selection_dialog_show_preview): likewise
373 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
375 * po/en_GB.po: update
377 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
379 * hildon-widgets/hildon-add-home-dialog.c
380 (hildon_add_home_dialog_init): removed i18n support (deprecated
381 widget. Hinder logical ID processing)
382 (hildon_add_home_dialog_new): likewise.
384 * hildon-widgets/hildon-insert-object-dialog.c
385 (hildon_insert_object_dialog_init): likewise.
388 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
390 * hildon-widgets/hildon-font-selection-dialog.c
391 (hildon_font_selection_dialog_construct_notebook): logical ID typo
394 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
396 * hildon-widgets/hildon-window.[ch]:
397 - update the title when the window is realized
398 - added support for long press on the ESC key. Fixes N#24620
400 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
402 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
404 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
406 * hildon-widgets/hildon-seekbar.c
407 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
409 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
411 * configure.ac: 0.12.6
413 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
415 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
416 fixed typo GKD_Left -> GDK_Left, N#24042
419 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
425 Updated logical id to lower case: Ckct_ -> ckct_
426 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
427 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
428 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
429 (hildon_range_editor_init, hildon_range_editor_entry_validate)
430 (hildon_range_editor_entry_validate):
431 * hildon-widgets/hildon-time-editor.c (validated_conversion)
432 (validated_conversion, hildon_time_editor_real_validate):
433 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
437 Updated logical id to lower case: Ecdg_ -> ecdg_
438 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
439 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
440 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
441 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
442 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
443 (hildon_wizard_dialog_create_title):
444 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
445 (hildon_find_toolbar_init):
446 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
447 (hildon_note_rebuild, hildon_note_set_button_text):
450 Removed i18n support for property description,
451 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
454 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
456 * configure.ac: 0.12.5
458 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
460 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
461 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
464 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
466 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
469 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
471 Cleanup wizard dialog,
473 * hildon-widgets/hildon-wizard-dialog.c
474 (struct HildonWizardDialogPrivate): removed 'previous_button'
475 and 'next_button' (obsolete)
477 (hildon_wizard_dialog_response): new private function. Handles the
478 'response' signal and replaces direction_button_clicked() in
479 taking care of notebook page changes and button dimming.
481 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
482 added to the dialog as response buttons. This enables the usage of
483 GtkDialog API for setting their sensitiveness.
485 (dimming/undimming): Connected hildon_wizard_dialog_response to
486 "resonse" signal. Removed useless title creation because it
487 depends on the notebook which is not yet created.
489 (hildon_wizard_dialog_set_property): minor code cleanup
491 (hildon_wizard_dialog_create_title): removed useless else-if
494 * hildon-widgets/hildon-wizard-dialog.h
495 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
498 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
499 adding the page_change signal, as the application can now track
500 the response signal instead.
503 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
505 * configure.ac: 0.12.4
508 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
512 moved widget descriptions to respective source file (*.c)
516 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
520 * hildon-widgets/hildon-color-button.c:
521 - removed unused #include
522 - removed unused gettext macro
524 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
525 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
526 + value updated to match specifications
528 (struct _HildonColorButtonPrivate):
529 removed 'drawing_area' and 'pixbuf' members (unused)
531 (hildon_color_button_init):
532 use drawing_area directly, update COLOR_FILLED_ macro names
534 (hildon_color_button_unrealize): new function.
535 (hildon_color_button_class_init): register unrealize function
536 (hildon_color_button_finalize): free allocated GC in unrealize
537 handler instead of in finalize.
539 (hildon_color_button_recolor_pixbuf): removed. (use
540 gdk_draw_rectangle() instead)
541 (hildon_color_button_draw_pixbuf_borders): likewise
543 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
545 (hildon_color_button_set_property): queue the drawing - instead of
546 calling recolor_pixbuf
548 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
551 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
553 More cleanup for range editor,
555 * hildon-widgets/hildon-range-editor.[ch]
556 - removed useless includes
557 (hildon_range_editor_new_with_separator): set char parameter 'const'
559 * hildon-widgets/hildon-range-editor.c
560 - removed useless includes
561 - rewritten a lot of functions because code was inefficient.
562 - removed useless g_return_if_fail calls from various functions.
564 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
565 (hildon_range_editor_entry_keypress): rewritten
566 (hildon_range_editor_entry_focus_out): rewritten
567 (hildon_range_editor_refresh_widths): New function
568 (hildon_range_editor_set_range): Make sure that the values are in
570 (hildon_range_editor_set_lower): rewritten.
571 (hildon_range_editor_set_higher): rewritten.
572 (hildon_range_editor_set_min): rewritten.
573 (hildon_range_editor_set_max): rewritten.
575 (hildon_range_editor_entry_validate): New validator function
576 (hildon_range_editor_entry_changed): New signal handler for
577 "changed" for entries, this will now validate whenever entry changes.
579 (hildon_range_editor_entry_focus_out): Added g_assert for
580 editor. Removed call to hildon_range_editor_apply_current_range().
581 Added call to the new function hildon_range_editor_entry_validate()
584 (hildon_range_editor_init): connected
585 hildon_range_editor_entry_changed to "changed" for entries.
588 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
590 Major cleanup for time editor
592 * hildon-widgets/hildon-time-editor.c
593 - removed unused #includes.
594 - Removed useless g_return_if_fail(editor) calls
595 (HILDON_IS_TIME_EDITOR does this check as well for us).
597 (hildon_time_editor_add_style): removed, obsolete.
598 (hildon_time_editor_mnemonic_activate): removed, obsolete
599 (hildon_time_editor_get_max_values): removed, obsolete.
601 (validated_conversion): New helper function
603 (hildon_time_editor_entry_changed): New function, now the widget
604 interactively validates the inputted contents (not requiring focus
607 (ticks_to_time): rewritten, using less arithmetic operations.
608 (hildon_time_editor_validate): rewritten
609 (hildon_time_editor_set_ticks): rewritten
610 (hildon_time_editor_set_duration_mode): rewritten
611 (hildon_time_editor_entry_keypress): rewritten
613 * hildon-widgets/hildon-time-editor.[ch]
614 (hildon_time_editor_set_show_hours)
615 (hildon_time_editor_get_show_hours) new functions to show/hide hours
618 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
620 Cleanup number editor
622 * hildon-widgets/hildon-number-editor.c:
623 (SPACE_BORDER): removed
625 (hildon_number_editor_size_request):
626 (hildon_number_editor_size_allocate): updated to use hildondefines
628 (hildon_number_editor_mnemonic_activate): function removed,
629 mnemonic are not used
631 (hildon_number_editor_stop_repeat_timer): new function, to avoid
633 (hildon_number_editor_button_release):
634 (hildon_number_editor_finalize): updated to use new function
636 (hildon_number_editor_entry_keypress): completely rewritten
637 (change_numbers): likewise
638 (do_mouse_timeout): likewise
639 (hildon_number_editor_set_range): likewise
641 (hildon_number_editor_validate_value): new function, used for all
643 (hildon_number_editor_focus_out):
644 (hildon_number_editor_entry_changed): updated to use previous.
646 (hildon_number_editor_real_set_value): new function that formats
647 given int to field. Used by change_numbers and set_value
649 (integer_to_string): removed, we now have one place that
650 converts numbers and that uses buffer from stack.
651 (hildon_number_editor_set_value): changed to use new format function.
654 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
656 * hildon-widgets/hildon-time-picker.c:
657 reorganized how the widgets are stored to reduce code
658 (HildonTimePickerWidgetGroup): new struct
659 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
660 (hildon_time_picker_init)
661 (hildon_time_picker_arrow_press)
662 (hildon_time_picker_event_box_key_press)
663 (hildon_time_picker_change_time)
664 (hildon_time_picker_map)
665 (hildon_time_picker_event_box_key_release): use new widget organization
668 (hildon_time_picker_init): return value from nl_timeinfo() is
669 valid only until it's called again, so g_strdup() the value when
672 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
673 (HILDON_TIME_PICKER_LABEL_X_PADDING)
674 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
675 (hildon_time_picker_set_time):
676 (hildon_time_picker_get_time):
677 (hildon_time_picker_ampm_release): used the new defines
679 (struct _HildonTimePickerPrivate)
680 (hildon_time_picker_init)
681 (hildon_time_picker_event_box_key_press)
682 (hildon_time_picker_change_time):
683 - c12h renamed to show_ampm,
684 - ampo_pos renamed to ampm_left.
686 (hildon_time_picker_timeout): renamed to
687 hildon_time_picker_key_repeat_timeout(),
688 and renamed parameter to 'hildon_time_picker'
690 (hildon_time_picker_event_box_press): renamed to
691 hildon_time_picker_event_box_button_press()
693 (hildon_time_picker_finalize): Added finalizer to make sure the
694 key repeat timeout handler gets removed.
696 (hildon_time_picker_arrow_press): Placed multipliers into
697 button_multipliers[] array to avoid multiple if/then/else
701 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
703 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
704 calculates correctly which items will be visible. Fixes N#16991.
707 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
709 * hildon-widgets/hildon-find-toolbar.c
710 (hildon_find_toolbar_history_append): set "column" property only
711 after model has been set.
714 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
716 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
717 the parameter more descriptively
720 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
724 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
726 * hildon-widgets/hildon-app.[ch]
727 (hildon_zoom_level_get_type): removed G_CONST_RETURN
729 * hildon-widgets/hildon-app.c:
730 - removed HILDON_DISABLE_DEPRECATED flags
731 - added g_assert'ions to internal functions
734 (hildon_app_button): Move the fixed define to the function itself,
735 add simple autodetection, clean up comments.
737 (hildon_app_key_release): Remove bogus argument to signal emission
738 (not needed), emit the "fullscreen_state_change" directly instead
739 of calling set_fullscreen.
741 (hildon_app_construct_title): removed dead code
743 (hildon_app_register_view_with_id): do not call g_slist_nth() to
744 get the first element...
747 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
749 * hildon-widgets/hildon-appview.c:
750 (hildon_appview_init): indented comments properly
751 (paint_toolbar): indented comments properly
752 (hildon_appview_expose): indented code properly
753 (hildon_appview_toolbar_toggle_request): removed dead code
756 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
758 * hildon-widgets/hildon-caption.c
759 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
760 (hildon_caption_size_allocate): likewise.
761 (hildon_caption_forall): likewise.
764 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
766 Cleanup Find toolbar,
768 * hildon-widgets/hildon-find-toolbar.[ch]
769 (hildon_find_toolbar_new): set 'label' parameter const.
770 (hildon_find_toolbar_new_with_model): likewise.
772 * hildon-widgets/hildon-find-toolbar.c
773 (struct _HildonFindToolbarPrivate):
774 changed entry_combo_box type to GtkComboBoxEntry*
776 (hildon_find_toolbar_get_list_model): new function, to factor
777 member access and casting
778 (hildon_find_toolbar_get_entry): likewise.
779 (hildon_find_toolbar_apply_filter): removed set_column parameter
780 since it was used by only one caller, and made the caller do it
781 instead. Removed unnecessary casts.
783 (hildon_find_toolbar_find_string): new function.
784 (hildon_find_toolbar_history_append): code cleanup. use
785 hildon_find_toolbar_find_string.
787 (hildon_find_toolbar_get_property)
788 (hildon_find_toolbar_get_entry)
789 (hildon_find_toolbar_init)
790 (hildon_find_toolbar_new)
791 (hildon_find_toolbar_new_with_model)
792 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
793 and changed some of them to use the new convenience functions
796 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
797 instead of if-check to validate parameter.
800 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
802 Cleanup hildon-defines,
804 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
805 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
807 (hildon_logical_data_free): new function. Free logical data.
808 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
809 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
811 * hildon-widgets/hildon-defines.[ch]
812 (hildon_gtk_widget_set_logical_font): use const gchar*
813 (hildon_gtk_widget_set_logical_color): likewise.
815 * hildon-widgets/hildon-defines.c:
816 (hildoniconsizes): set const
817 (hildoninternaliconsizes): set static, renamed 'iis'
820 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
822 Cleanup Caption widget,
824 * hildon-lgpl/hildon-caption.[ch]
825 (hildon_caption_status_get_type, hildon_caption_get_type):
826 G_CONST_RETURN removed, G_GNUC_CONST added
828 * hildon-widgets/hildon-caption.c
830 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
832 (hildon_caption_set_property): removed useless code.
833 (hildon_caption_button_press): simplified greatly by removing the
834 unnecessary recursion to locate the first focusable child of a
835 container - simple gtk_widget_grab_focus achieves the same
836 (get_first_focusable_child): removed (not used anymore)
838 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
840 (hildon_caption_set_focus_child): removed (not used anymore)
841 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
843 (hildon_caption_hierarchy_changed): type check added
844 (hildon_caption_forall): callback null check added
845 (hildon_caption_set_status): type check added
846 (hildon_caption_set_icon_image): type check added
847 (hildon_caption_activate): activate_block kludge removed as outdated
848 (hildon_caption_get_child_expand): argument declared const
849 (hildon_caption_set_label_text): g_return_if_fail changed to
850 g_assert since this is not a public function;
851 Duplicate separator check now uses correct localized separator
852 instead of assuming ':'
855 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
859 * hildon-lgpl/hildon-appview-c:
860 (hildon_app_view_init): Fixed a problem that prevented to set an
861 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
862 between toolbars). This fix involves a change in the default gtkrc
863 file, ie. the modification of the 'border' value of the
864 "toolbar-frame-middle" image in the osso-appview-background style.
866 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
867 widget supporting adjustements, not only viewports.
869 (visible_toolbar): use proper parameter names
870 (find_findtoolbar_index): likewise.
871 (find_findtoolbar): likewise.
873 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
874 (hildon_appview_finalize): likewise.
875 (hildon_appview_signal_marshal): likewise.
876 (hildon_appview_forall): likewise.
877 (hildon_appview_switched_to): likewise.
878 (hildon_appview_real_fullscreen_state_change): likewise.
881 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
883 * hildon-widgets/hildon-date-editor.c
884 (hildon_date_editor_entry_validate): Now, if an invalid date is
885 entered, date-editor reverts to previous date, instead of setting
886 the maximum allowed days.
889 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
891 * hildon-widgets/hildon-date-editor.h
892 (enum HildonDateEditorErrorType): added NO_ERROR entry.
894 * hildon-widgets/hildon-date-editor.c
895 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
896 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
899 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
901 * hildon-widgets/hildon-get-password-dialog.c:
902 (hildon_get_password_dialog_set_title): Removed the deprecation
903 #ifdefs from the .c file.
905 * hildon-widgets/hildon-file-handling-note.c: likewise.
909 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
911 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
913 * hildon-widgets/hildon-color-selector.c
914 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
915 (hildon_color_selector_expose)
916 (hildon_color_selector_get_color)
917 (hildon_color_selector_set_color)
920 (modify_focused): Separate selected color and focused color.
921 Focused color now draws a different colored border around it.
922 Renamed modify_selected() to modify_focused().
924 * hildon-widgets/hildon-color-selector.c
925 (hildon_color_selector_expose)
926 (select_color): Changed the logic in how the box positions are
927 calculated. The old logic was wrong, but just happened to work
928 with those specific values.
930 * hildon-widgets/hildon-color-selector.c
931 (hildon_color_selector_expose): Draw the selected-border using
932 ImageBorderColor color instead of hardcoded black.
935 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
937 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
938 removed current_color; use initial_color directly.
939 Disabled select-hardkey from activating to OK-button by default.
942 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
944 * hildon-widgets/hildon-date-editor.c
945 (hildon_date_editor_keypress): removed the unnecessary check for
946 the position of the cursor in the text-field which was hindering
947 the Left key from working as expected.
950 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
952 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
953 after setting the toggle_button active. Prevents GLIB_CRITICALs.
955 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
957 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
960 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
962 * hildon-widgets/hildon-font-selection-dialog.c
963 (hildon_font_selection_dialog_show_preview): set line wrap for
967 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
969 * hildon-widgets/hildon-date-editor.c
970 (hildon_child_forall): cast 'container'
971 (hildon_date_editor_size_allocate): adjusted height allocation.
974 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
976 Cleanup calendar popup,
978 * hildon-widgets/hildon-calendar-popup.c:
979 - updated 'longdesc' comment.
980 - removed gtk-infoprint.h from included headers (unused).
982 (struct HildonCalendarPopupPrivate): removed member
983 'can_exit' (useless).
984 (hildon_calendar_day_selected): removed (useless).
985 (hildon_calendar_allow_exit): likewise.
986 (hildon_calendar_deny_exit): likewise.
988 (hildon_calendar_selected_date): new function. replaces
989 hildon_calendar_allow_exit()
991 (hildon_calendar_popup_init):
992 - Removed initialization for 'can_exit'.
993 - Removed connection to removed useless functions.
994 - Connect "selected_date" to hildon_calendar_selected_date().
995 - Do not grab the focus (useless)
997 (hildon_key_pressed): just handle ESC and Return keys.
999 (hildon_calendar_popup_get_property): removed unused variables.
1002 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1004 * hildon-widgets/hildon-caption.c
1005 * hildon-widgets/hildon-composite-widget.h
1006 * hildon-widgets/hildon-get-password-dialog.c
1007 * hildon-widgets/hildon-grid.h
1008 * hildon-widgets/hildon-grid-item.h
1009 * hildon-widgets/hildon-volumebar-range.c
1010 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1012 (hildon_controlbar_get_type): likewise.
1014 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1016 * doc/hildon-libs.types: Add missing types
1017 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1018 * doc/tmpl/*: Regenerate and add new files
1020 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1023 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1025 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1027 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1028 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1030 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1034 * doc/Makefile.am: Update gtk-doc framework bits
1035 * gtk-doc.make (commit generated file)
1036 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1038 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1039 * hildon-widgets/hildon-code-dialog.c:
1043 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1045 * hildon-widgets/hildon-window.c: propagate key-press event to the
1046 parent class (Closes N#23400)
1047 * configure.ac: 0.12.3
1049 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1051 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1053 * configure.ac: 0.12.2
1056 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1058 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1059 g_assert instead of g_return_val_if_fail
1064 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1066 * hildon-widgets/hildon-get-password-dialog.[ch]:
1067 (hildon_get_password_dialog_set_title) marked deprecated.
1069 + cleanup header coding style
1072 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1074 Cleanup font selection dialog
1076 * hildon-widgets/hildon-font-selection-dialog.c
1078 (hildon_font_selection_dialog_construct_notebook): removed dummy
1081 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1083 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1084 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1086 (toggle_clicked): renamed argument 'data' to 'unused'
1088 (hildon_font_selection_dialog_set_preview_text): added proper
1092 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1094 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1095 removed console messages.
1098 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1100 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1101 (struct _HildonSortDialogPrivate):
1102 - removed okButton, cancelButton
1103 - removed sort_by_value, sort_order_type
1104 - removed index_first
1105 - renamed combo1 to combo_key
1106 - renamed caption1 to caption_key
1107 - renamed combo2 to combo_order
1108 - renamed caption2 to cpation_order
1110 (hildon_sort_dialog_init): removed init of unused fields.
1111 use new field names.
1112 (hildon_sort_dialog_get_sort_key): likewise.
1113 (hildon_sort_dialog_get_sort_order): likewise.
1114 (hildon_sort_dialog_set_sort_key): likewise.
1115 (hildon_sort_dialog_set_sort_order): likewise.
1116 (hildon_sort_dialog_add_sort_key): likewise.
1118 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1120 * hildon-widgets/hildon-date-editor.c
1121 (hildon_child_forall): use g_assert instead of g_return_if_fail
1122 (hildon_date_editor_entry_validate): likewise.
1125 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1127 * hildon-widgets/hildon-controlbar.c
1128 (hildon_controlbar_change_value): commented function.
1130 * hildon-widgets/hildon-wizard-dialog.c
1131 (hildon_wizard_dialog_get_property): likewise.
1134 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1136 Cleanup weekday picker,
1138 * hildon-widgets/hildon-weekday-picker.c
1139 (_): removed unused gettext macro
1140 (button_toggle): use meaningful parameter name
1141 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1142 (hildon_weekday_picker_size_allocate): likewise.
1143 (button_toggle): likewise.
1146 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1148 Cleanup time editor,
1150 * hildon-widgets/hildon-time-editor.c
1151 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1152 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1153 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1154 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1156 (struct _HildonTimeEditorPrivate):
1157 - h_entry, m_entry, s_entry replaced by entries[],
1158 allows to remove a lot of code.
1159 - label renamed to hm_label
1160 - label2 renamed to sec_label
1161 - ampm renamed to ampm_label
1162 - show_s renamed to show_seconds
1163 - removed fields: icon, valid_value, validated
1165 + moved up in the file.
1167 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1169 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1171 (set_widget_allocation): removed
1172 (hildon_time_editor_entry_changed): removed
1174 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1176 (hildon_time_editor_forall): removed unnecessary code
1177 (hildon_time_editor_destroy): likewise.
1179 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1181 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1183 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1184 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1185 use new variable names,
1186 use hildon_time_editor_set_to_current_time
1188 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1189 (hildon_time_editor_set_ticks): use g_assert instead of
1190 g_return_if_fails, use
1191 'entries[]', removed dead code
1193 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1194 (hildon_time_editor_validate): use 'entries[]', removed dead code
1195 (hildon_time_editor_get_max_values): use 'entries[]'
1198 (hildon_time_editor_get_show_seconds): use new variable names
1199 (hildon_time_editor_set_duration_mode): likewise.
1201 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1203 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1205 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1207 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1209 (set_widget_allocation): removed (unused)
1210 (hildon_time_editor_entry_changed): removed (unused)
1212 (IS_VALID_KEYPRESS): new macro
1213 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1214 deleate dead/unnecessary code
1216 use IS_VALID_KEYPRESS
1218 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1220 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1222 (hildon_time_editor_size_allocate): cleanup
1223 (convert_to_12h): cleanup code style
1225 (hildon_time_editor_show_seconds): removed deprecation flag
1226 (hildon_time_editor_enable_duration_mode): likewise.
1229 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1231 Cleanup volume bars,
1233 * hildon-widgets/hildon-volumebar.h: removed unused #include
1234 + coding style cleanup
1236 * hildon-widgets/hildon-volumebar.c
1237 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1239 (hildon_child_forall): use g_assert instead of g_return_if_fail
1241 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1242 + coding style cleanup
1244 * hildon-widgets/hildon-volumebar-private.h:
1245 added missing #include.
1246 added _hildon_volumebar_mute_toggled.
1247 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1251 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1252 + coding style cleanup
1254 * hildon-widgets/hildon-vvolumebar.c
1255 (hildon_vvolumebar_size_request)
1256 (hildon_vvolumebar_size_allocate)
1257 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1259 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1261 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1262 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1263 (vvolumebar_init): renamed to hildon_vvolumebar_init
1264 (hildon_vvolumebar_init): removed unused 'orientation'
1265 initialisation. Use _hildon_volumebar_mute_toggled instead of
1266 removed hildon_vvolumebar_mute.
1270 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1272 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1273 renamed to hildon_hvolumebar_class_init
1275 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1276 hildon_hvolumebar_init
1278 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1281 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1282 removed unused 'orientation' initialisation.
1284 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1285 _hildon_volumebar_mute_toggled instead of removed
1286 hildon_hvolumebar_mute.
1289 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1293 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1294 coding style cleanup
1296 * hildon-widgets/hildon-color-popup.h: likewise.
1298 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1301 * hildon-widgets/hildon-color-selector.c
1302 (hildon_color_selector_new): use g_return_val_if_fail instead of
1304 (select_color): use g_assert instead of g_return_if_fail
1306 * hildon-widgets/hildon-calendar-popup.c
1307 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1311 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1313 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1314 added HildonCodeDialog widget
1317 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1319 * hildon-widgets/hildon-window.c:
1320 - set the toolbar height explicitely
1321 - use show instead of show_all on the common_toolbar
1322 - add the toolbars bottom-up instead of top-down
1323 * hildon-widgets/hildon-program.c:
1324 - don't assume that a window was realized when added to
1328 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1330 Cleanup font selection dialog,
1332 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1333 + coding style cleanup
1335 * hildon-widgets/hildon-font-selection-dialog.c
1336 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1337 instead of g_assert.
1339 * hildon-widgets/hildon-font-selection-dialog.c
1340 (hildon_font_selection_dialog_get_text_tag)
1341 (hildon_font_selection_dialog_set_buffer)
1342 (hildon_font_selection_dialog_get_font)
1343 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1346 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1348 Cleanup range editor,
1350 * hildon-widgets/hildon-range-editor.c
1351 (hildon_range_editor_calss_init):Removed
1352 widget_calss->mnemonic_activate init
1354 * hildon-widgets/hildon-range-editor.c
1355 (hildon_range_editor_mnemonic_activate): Removed static function
1356 hildon_range_mnemonic_activate and FIXME. It is useless even
1357 through it is overriding function for
1358 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1359 focus will be realized based on different applications.
1361 * hildon-widgets/hildon-range-editor.c
1362 (is_valid_keyvalue_for_entry_keypress): new function.
1364 * hildon-widgets/hildon-range-editor.c
1365 (hildon_range_editor_entry_keypress): uses
1366 is_valid_keyvalue_for_entry_keypress
1368 * hildon-widgets/hildon-range-editor.c
1369 (hildon_range_editor_forall): use g_return_if_fail instead of
1372 * hildon-widgets/hildon-range-editor.cvn
1373 (hildon_range_editor_mnemonic_activate): removed. (unused)
1376 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1378 Cleanup hildon-note,
1380 * hildon-widgets/hildon-note.[ch]
1382 (hildon_note_five_line_truncate): removed.
1383 (hildon_note_one_line_truncate): removed.
1385 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1386 instead of _{one|five}_line_truncate() functions.
1389 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1390 into wrapper of "hildon_note_new_information_with_icon_name".
1392 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1393 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1395 - removed some unnessecary includes.
1397 - Merged hildon_note_create & hildon_note_create_form and rewrote
1398 the combination as hildon_note_rebuild
1400 - Added missing g_return_* into public functions.
1402 - Acquire real references to children which are packed/unpacked,
1403 so we do not need to bother about refcounting while changing the
1407 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1411 * hildon-widgets/hildon-number-editor.c
1413 (set_widget_allocation): use const parameter.
1415 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1417 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1418 (hildon_number_editor_set_range): removed 'negative'
1421 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1422 use g_assert instead of g_return_if_fail
1425 * hildon-widgets/hildon-time-picker.c:
1426 - in several places, replace 1440 by 24*60
1427 (PROP_AMPM): removed, unused.
1428 (hildon_time_picker_timeout): use significant parameter name,
1430 (hildon_time_picker_init): removed useless call to _change_time()
1433 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1437 * hildon-widgets/hildon-seekbar.c
1439 (_): Removed dgettext macro definition.
1441 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1443 (hildon_seekbar_finalize): removed. not needed.
1444 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1446 (hildon_seekbar_size_request): indent cleanup.
1448 (hildon_seekbar_size_allocate): simplified function.
1450 (hildon_seekbar_button_press_event): Removed unused variables.
1451 (hildon_seekbar_button_release_event): likewise.
1454 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1456 Cleanup date editor,
1458 * hildon-widgets/hildon-date-editor.c
1460 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1461 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1463 (hildon_date_editor_get_font_width): removed (legacy static
1464 function), use gtk_entry_set_width_chars instead.
1466 (hildon_date_editor_mnemonic_activate): removed mnemonic
1467 activation handler, since it's no more used by HildonCaption.
1470 - Removed some meaningless code (if (somewidget != NULL)) from
1473 - HEAVILY modified key_press, completely removed if/grab_focus
1474 spaghetti by gtk_widget_child_focus
1476 - Removed input validation from keypress (that would not work
1477 anyway, since our input method do not generate presses). => This
1478 allows to change default return value to FALSE and remove all cases
1479 that just returned FALSE for some keys.
1481 - Merged all *_entry_changed callbacks to use the same
1482 function. Again using gtk_widget_child_focus, but now with return
1483 value as well to detect last field.
1485 - Changed that calendar button is no more implemented through
1486 changing widget hierarchy (old implementation caused critical
1487 issues when you used both stylus and hardkeys at the same time to
1488 popup. => finalize method no longer contained anything => removed
1490 - Locale type is no longer needed after initial setup.
1492 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1493 hack from the days of background dimming (it was important to
1494 process background updates before the dimming was done).
1496 - Changed the field order/delimeters to be correcly derived form
1499 - Rewrote validation function, combined it with validation done in
1500 focus_out (since both are now called at the same time).
1502 - Changed set_date function to set all components at one go
1503 without doing any validation there between (before setting each
1508 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1510 Cleanup set-password dialog
1512 * hildon-widgets/hildon-set-password-dialog.[ch]
1513 (hildon_set_password_dialog_set_domain): gchar * param is const
1514 (hildon_set_password_dialog_new_with_default): likewise.
1516 * hildon-widgets/hildon-set-password-dialog.c
1518 (hildon_set_password_set_property): setting 'modify-protection'
1521 (hildon_set_password_get_property): fixed broken 'domain' (missing
1522 break statement!) and 'modify-protection' (was a null operation)
1523 properties; code simplified.
1525 (hildon_set_password_dialog_constructor),
1527 (hildon_set_password_dialog_class_init),
1528 (hildon_set_password_dialog_init):
1529 hildon_set_password_dialog_constructor removed as weird and
1530 obsolete and replaced with new function create_contents; fixed
1531 leaking group variable; removed some unused, outdated code that
1532 was already commented out.
1534 (hildon_set_password_response_change),
1535 (hildon_set_password_response_set): GtkWindow *parent arguments
1536 changed to gpointer unused; cleaned up unnecessary strcmp's
1538 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1539 checkbox). gpointer renamed to be more descriptive; Code simplified
1541 (hildon_set_password_dialog_get_type): empty function argument
1542 list replaced with void keyword.
1544 (hildon_set_password_dialog_new),
1545 (hildon_set_password_dialow_new_with_default): simplified by
1546 having the simpler constructor call the more complex one, not vice
1547 versa; moved callback connects to create_contents since they
1548 depend on the status of 'modify-protection' property
1550 (hildon_set_password_dialog_get_password): type check added
1551 (hildon_set_password_dialog_get_protected): likewise
1552 (hildon_set_password_dialog_set_domain): likewise
1555 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1557 Cleanup name-password dialog:
1559 * hildon-widgets/hildon-name-password-dialog.[ch]
1561 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1562 types changed from *HildonCaption to *GtkEntry
1564 (hildon_name_password_dialog_set_property): layout fixes;
1565 duplicated code replaced with calls to relevant public functions
1567 (hildon_name_password_dialog_get_property): layout fixes;
1568 duplicated code replaced with calls to relevant public functions
1570 (hildon_name_password_dialog_init): fixed leaking group variable;
1571 reworked to have captions as local variables and captioned entries
1572 in the private struct
1574 (hildon_name_password_dialog_new_with_default): name and password
1575 arguments declared const
1577 (hildon_name_password_dialog_get_name): type check added + cleanup
1578 (hildon_name_password_dialog_get_password): likewise.
1580 (hildon_name_password_dialog_set_domain): domain argument declared
1581 const; type check added + cleanup
1584 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1586 Cleanup get-password dialog:
1588 * hildon-widgets/hildon-get-password-dialog.[ch]
1590 (HildonGetPasswordDialogPrivate): gboolean get_old added
1592 (hildon_get_password_set_property): fixed broken 'numbers-only'
1593 and 'max-characters' cases; 'get-old' property added
1595 (hildon_get_password_get_property): added support for reading
1596 'numbers-only' properties; added missing break to 'domain' case.
1597 added 'get-old' property
1599 (hildon_get_password_dialog_class_init): 'domain' and
1600 'numbers-only' properties are now readable; 'get-old' property
1603 (hildon_get_password_dialog_init, create_contents): everything
1604 that depends on the type of the dialog (i.e. 'get-old' property)
1605 is now done in create_contents after properties are initialized;
1606 fixed leaking group variable
1608 (hildon_get_password_dialog_get_type): empty function argument
1609 list replaced with void keyword
1611 (hildon_get_password_dialog_new): moved setting the labels of the
1612 get password dialog to init where it should be done; 'get-old'
1613 property set upon construction to achieve this
1615 (hildon_get_password_dialog_new_with_default): password argument
1618 (hildon_get_password_dialog_get_password): type check added
1619 (hildon_get_password_dialog_set_domain): type check added; domain
1620 argument declared const; duplicate function declaration removed
1622 (hildon_get_password_dialog_set_title): type check added;
1623 new_title argument declared const
1625 (hildon_get_password_dialog_set_caption): type check added;
1626 new_caption argument declared const
1628 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1629 (_invalid_input): gpointer data argument renamed unused
1632 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1634 (*_get_type): declared G_GNUC_CONST
1636 * hildon-widgets/hildon-app.h:
1637 * hildon-widgets/hildon-appview.h:
1638 * hildon-widgets/hildon-calendar-popup.h:
1639 * hildon-widgets/hildon-color-selector.h:
1640 * hildon-widgets/hildon-date-editor.h:
1641 * hildon-widgets/hildon-find-toolbar.h:
1642 * hildon-widgets/hildon-get-password-dialog.h:
1643 * hildon-widgets/hildon-name-password-dialog.h:
1644 * hildon-widgets/hildon-number-editor.h:
1645 * hildon-widgets/hildon-seekbar.h:
1646 * hildon-widgets/hildon-set-password-dialog.h:
1647 * hildon-widgets/hildon-sort-dialog.h:
1648 * hildon-widgets/hildon-time-editor.h:
1649 * hildon-widgets/hildon-weekday-picker.h:
1650 * hildon-widgets/hildon-wizard-dialog.h:
1652 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1656 * hildon-widgets/hildon-volumebar.c
1657 (hildon_volumebar_class_init): object class casts cleaned up
1658 (hildon_child_forall): removed unnecessary variable vbar; type check added
1659 (hildon_volumebar_set_property): removed unnecessary variable vbar
1660 (hildon_volumebar_set_level): type check added
1661 (hildon_volumebar_get_level): type check added
1662 (hildon_volumebar_set_mute): type check added
1663 (hildon_volumebar_get_mute): type check added
1664 (hildon_volumebar_get_adjustment): type check added
1665 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1667 * hildon-widgets/hildon-volumebar.h
1668 (hildon_volumebar_get_type): declared G_GNUC_CONST
1670 * hildon-widgets/hildon-volumebar-private.h:
1671 - G_BEGIN_DECLS/G_END_DECLS added
1672 - ownorientation removed from private struct
1674 * hildon-widgets/hildon-volumebar-range.c
1675 (hildon_volumebar_range_init): vacuous return statement removed
1677 (hildon_volumebar_range_set_level): removed unnecessary clamping
1678 kludge that violated object oriented principles only to provide an
1679 extremely minor, unnecessary optimization; type check added
1681 (hildon_volumebar_range_get_level): now accesses adjustment value
1682 with appropriate functions instead of reading it directly from the
1683 struct, which is bad OOP; type check added
1685 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1686 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1688 * hildon-widgets/hildon-volumebar-range.h
1689 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1691 * hildon-widgets/hildon-hvolumebar.c
1692 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1693 completely removed the gtk_widget_show() call that was already
1696 (hildon_hvolumebar_new): empty function parameter list replaced
1699 (hildon_hvolumebar_map): vbar variable removed; type check added
1700 (hildon_hvolumebar_expose): type check added
1701 (hildon_hvolumebar_size_request): type check added
1702 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1704 * hildon-widgets/hildon-hvolumebar.h
1705 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1707 * hildon-widgets/hildon-vvolumebar.c
1708 (vvolumebar_init): priv->ownorientation and v_ptr removed
1709 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1711 (hildon_vvolumebar_expose): type check added
1712 (hildon_vvolumebar_size_request): type check added
1713 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1715 * hildon-widgets/hildon-vvolumebar.h
1716 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1719 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1721 * hildon-widgets/hildon-weekday-picker.c
1722 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1723 last_index; added day_order_buttons
1725 (hildon_weekday_picker_mnemonic_activate): removed.
1726 mnemonics are no longer used.
1728 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1729 function. Rewritten creation of buttons. Unref'ed size group.
1731 (button_toggle): Removed bit mask checking, simplified function
1733 (hildon_weekday_picker_set_day):
1734 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1735 adjustment, unecessary for loop
1737 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1738 unecessary for loop. Simplified button toggling
1740 (hildon_weekday_picker_set_all):
1741 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1744 (hildon_weekday_picker_isset_day): Removed date adjustment and
1745 unecessary for loop;
1747 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1749 Added hildon-banner, as a clean replacement for gtk-infoprint
1750 * hildon-widgets/hildon-banner.[ch]: implementation and header
1751 * hildon-widgets/Makefile.am: reference new files
1752 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1753 a compatibility wrapper to hildon-banner
1755 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1757 * hildon-widgets/hildon-color-button.c: added comments
1758 * hildon-widgets/hildon-controlbar.c: Likewise.
1759 * hildon-widgets/hildon-composite-widget.c: Likewise.
1760 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1762 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1764 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1767 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1769 * configure.ac: 0.12.1
1771 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1773 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1774 * doc/tmpl/hildon-window.sgml: likewise.
1775 * hildon-widgets/hildon-program.[ch]: likewise.
1776 * hildon-widgets/hildon-window.[ch]: likewise.
1777 * hildon-widgets/hildon-window-private.h: likewise.
1778 * hildon-widgets/Makefile.am: Added these new files to the build
1781 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1783 * configure.ac: 0.12.0
1785 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1787 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1788 * doc/tmpl/hildon-appview.sgml: likewise.
1789 * doc/tmpl/hildon-color-popup.sgml: likewise.
1790 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1791 * doc/tmpl/hildon-app.sgml: likewise.
1792 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1793 * doc/tmpl/hildon-caption.sgml: likewise.
1794 * doc/tmpl/hildon-marshalers.sgml: likewise.
1795 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1796 * doc/tmpl/hildon-defines.sgml: likewise.
1797 * doc/tmpl/gtk-infoprint.sgml: likewise.
1798 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1800 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1801 * hildon-widgets/hildon-app.[ch]:likewise.
1802 * hildon-widgets/hildon-app-private.h:likewise.
1803 * hildon-widgets/hildon-appview.[ch]:likewise.
1804 * hildon-widgets/hildon-caption.[ch]:likewise.
1805 * hildon-widgets/hildon-defines.[ch]:likewise.
1806 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1807 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1809 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1810 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1814 hildon-app-private.h
1818 hildon-find-toolbar.[ch]
1819 hildon-input-mode-hint.h
1821 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1822 path for gtk-infoprint.h and hildon-input-mode-hint.h
1824 * po/en_GB.po: merged msgstr from hildon-lgpl
1826 * timer/*: added from hildon-lgpl
1830 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1832 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1835 * ut/hildon-widgets_tests.c (test41a): removed test case for
1836 hildon_file_details_dialog
1838 * doc/hildon-libs.types: likewise.
1839 * doc/hildon-libs-docs.xml: likewise.
1845 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1848 * Makefile.am (SUBDIRS): added timer/
1850 * configure.ac: do not depend anymore on hildon-lgpl nor
1851 hildon-fm, check for libmb, added Makefile output for timer/
1855 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1857 * configure.ac: 0.10.2
1859 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1861 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1862 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1863 hildon-apps scroll-control property is now handled.
1864 (get_child_index_by_coord): ignores events not matching a grid
1867 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1869 * configure.ac: 0.10.1
1871 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1873 Missing/Buggy documentation from,
1874 N#11566 make password dialog customizable (messages)
1875 * hildon-widgets/hildon-get-password-dialog.c
1876 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1878 * doc/tmpl/xxx.sgml: updated.
1880 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1882 N#19369 TRUE Scketch does not show colour change when using white color
1884 Color button needs inner border white, and outer border black.
1885 * hildon-widgets/hildon-color-button.c
1886 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1888 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1889 (hildon_color_button_realize): call the above function
1891 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1893 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1894 * hildon-widgets/hildon-note.c:
1895 (hildon_note_new_confirmation_add_buttons): updated doc
1896 (hildon_note_set_button_texts): likewise.
1898 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1900 N#21884 Cannot select read-only by using the center of the scroll key
1901 * hildon-widgets/hildon-file-details-dialog.c
1902 (hildon_file_details_dialog_init): Removed dialog default response.
1904 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1906 N#8094 5-bit color selector: wrong margins and pixel measurements
1907 M#59 HildonColorSelector needs more space
1908 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1909 (hildon_color_popup_new): add space between the control bars and
1910 the color preview area.
1912 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1914 * hildon-widgets/hildon-calendar-popup.c
1915 * hildon-widgets/hildon-color-button.c
1916 * hildon-widgets/hildon-color-popup.c
1917 * hildon-widgets/hildon-color-selector.c
1918 * hildon-widgets/hildon-composite-widget.c
1919 * hildon-widgets/hildon-controlbar.c
1920 * hildon-widgets/hildon-date-editor.c
1921 * hildon-widgets/hildon-dialoghelp.c
1922 * hildon-widgets/hildon-file-details-dialog.c
1923 * hildon-widgets/hildon-font-selection-dialog.c
1924 * hildon-widgets/hildon-get-password-dialog.c
1925 * hildon-widgets/hildon-grid-item.c
1926 * hildon-widgets/hildon-grid.c
1927 * hildon-widgets/hildon-hvolumebar.c
1928 * hildon-widgets/hildon-name-password-dialog.c
1929 * hildon-widgets/hildon-note.c
1930 * hildon-widgets/hildon-number-editor.c
1931 * hildon-widgets/hildon-range-editor.c
1932 * hildon-widgets/hildon-scroll-area.c
1933 * hildon-widgets/hildon-seekbar.c
1934 * hildon-widgets/hildon-set-password-dialog.c
1935 * hildon-widgets/hildon-sort-dialog.c
1936 * hildon-widgets/hildon-time-editor.c
1937 * hildon-widgets/hildon-time-picker.c
1938 * hildon-widgets/hildon-volumebar-private.h
1939 * hildon-widgets/hildon-volumebar-range.c
1940 * hildon-widgets/hildon-volumebar.c
1941 * hildon-widgets/hildon-vvolumebar.c
1942 * hildon-widgets/hildon-weekday-picker.c
1943 * hildon-widgets/hildon-wizard-dialog.c
1946 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1948 * configure.ac: 0.10.0
1950 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1952 Some more properties for Gazpacho support,
1954 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1955 * hildon-widgets/hildon-color-selector.c: "color"
1958 * hildon-widgets/hildon-color-selector.[ch]
1959 (hildon_color_selector_get_color): return const pointer to the
1962 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1965 Gazpacho support, added the following properties:
1967 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1968 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1969 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1970 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1971 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1972 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1973 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1974 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1975 * hildon-widgets/hildon-number-editor.c: "value"
1977 * hildon-widgets/hildon-color-button.c: minor cleanup
1980 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1982 Started new development
1983 (branche for maintenance continues with versions 0.9.x)
1985 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1987 * configure.ac: 0.9.53
1989 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1992 N#19283 Control panel - The values entered are not saved.
1993 N#19648 Hildon Date Editor widget detects values too high
1994 (note: complete fix include also fixes in GTk+)
1996 * hildon-widgets/hildon-calendar-popup.c
1997 (hildon_calendar_popup_set_property),
1998 (hildon_calendar_popup_class_init),
1999 (init_dmy): Added 'min-year', 'max-year' properties for passing
2000 the information through from HildonDateEditor to GtkCalendar
2002 * hildon-widgets/hildon-date-editor.c:
2003 (hildon_date_editor_class_init),
2004 (hildon_date_editor_init),
2005 (hildon_date_editor_set_property),
2006 (hildon_date_editor_get_property),
2008 (hildon_date_editor_entry_validate),
2009 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2010 properties and replaced hardcoded constants with them
2012 * hildon-widgets/hildon-date-editor.c
2013 (hildon_date_editor_d_entry_changed),
2014 (hildon_date_editor_m_entry_changed),
2015 (hildon_date_editor_d_entry_changed): new functions to ensure that
2016 the fields are validated and the focus is moved when maximum
2017 number of characters has been entered.
2019 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2021 * configure.ac: 0.9.52
2023 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2025 N#19140 System alerts still audible despite being turned off
2027 * hildon-widgets/hildon-note.c (sound_handling):
2029 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2031 * hildon-note.c (sound_handling): Changed to use new
2032 hildon_play_system_sound.
2033 (hildon_note_init): Signal handler id is changed to be in private
2034 structure, not in global variable.
2036 * hildon-note.c: Removed unused defines etc.
2038 * Makefile.am: Appended new files to build rules.
2040 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2042 * configure.ac: 0.9.51
2044 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2046 N#20027 PDF Reader crashes on selecting read only option in the
2049 * hildon-widgets/hildon-file-details-dialog.c:
2050 (change_state): Fixed assertion that was causing problems
2051 (check_validity): New function: We now automatically close the
2052 dialog if the displayed file is removed.
2053 (handle_focus): Callback removed:
2054 (init): Now using correct gtk way to bind container and adjustment
2055 together. Not the previous callback.
2056 (set_property): Connecting/disconnecting new handlers (for
2058 (finalize): disconnecting new handler.
2060 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2062 N#17918 Volumebar widget background image doesn't change when
2063 widget goes into mute state,
2065 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2068 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2069 using the state of the internal volumebar, not the whole container
2071 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2072 using the state of the internal volumebar, not the whole container
2074 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2076 * hildon-widgets/hildon-dialoghelp.[ch]: added
2077 gtk_dialog_help_disable and fixed bug N#19468
2079 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2081 * configure.ac: Release 0.9.50
2083 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2087 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2089 * hildon-widgets/hildon-grid.c
2090 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2091 label by logical name "Ckct_wi_grid_no_items"
2094 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2096 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2098 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2100 * configure.ac: Release 0.9.49
2102 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2104 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2105 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2106 Save the id of the idle callback and remove it when the widget is
2107 destroyed to avoid crashing. N#18096
2109 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2111 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2112 id's are unsigned and undefined at zero (instead of signed and -1)
2114 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2116 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2117 that was not working. N#16805
2119 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2121 * configure.ac: Release 0.9.48
2123 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2125 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2126 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2127 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2129 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2131 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2132 Do not override the week-start property of GtkCalendar according to
2133 the hildon-libs PO file, it is automatically determined from locale
2136 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2138 * configure.ac: Release 0.9.47
2140 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2142 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2143 property for setting the password entry accept only numeric values.
2146 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2148 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2149 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2150 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2151 Use defines rather than magic numbers in the code.
2153 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2155 Update to new l10n packaging style. po-files (inside this package)
2156 are not used for now, the message catalogs come from separate packages
2157 and including them here would conflict.
2159 * Makefile.am (SUBDIRS): stop including po-files
2160 * Makefile.am (EXTRA_DIST):
2161 * debian/hildon-libs-l10n-engb.install:
2162 * debian/hildon-libs-l10n-src.install:
2163 * po/debian/*: Removed
2165 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2167 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2168 checks to cover gateway content as well.
2170 * hildon-widgets/hildon-time-editor.c:
2171 (hildon_time_editor_validate): Replace solid numbers with defined
2173 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2176 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2178 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2179 invalid cast from `GdkWindow' to `GtkWindow'
2181 * hildon-widgets/hildon-color-popup.c
2182 (hildon_popup_palette_expose): removed debug printing
2184 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2186 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2189 * hildon-widgets/hildon-scroll-area.c
2190 (hildon_scroll_area_destroy): one-instruction function:
2191 removed. Call g_free directly.
2193 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2194 right edge of window, size of the child is also shrinked. 'fixed'
2195 does not automatically update this data -> Doing it manually.
2197 * hildon-widgets/hildon-date-editor.h: added
2198 HildonDateEditorErrorType error enumeration type, removed signal
2199 "validate-date" virtual function, added signal "date-error"
2202 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2203 added custom info prints.
2204 (hildon_date_editor_validate_date): removed
2205 (hildon_date_editor_entry_validate): validate maximum and minimum
2206 limits on each field.
2207 (hildon_date_editor_entry_focus_out): check the date validation
2208 in simpler manner, don't put content if field is empty (spec
2209 doesn't say if there should be anything placed in the entry if
2211 (hildon_date_editor_get_date),
2212 (hildon_date_editor_get_month),
2213 (hildon_date_editor_get_year),
2214 (hildon_date_editor_get_day): use direct entry content, so that 0
2215 indicates empty entry, and information is more accurate.
2217 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2219 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2221 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2222 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2224 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2226 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2228 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2230 * hildon-widgets/hildon-number-editor.c:
2231 (hildon_number_editor_select_all): new function, selects all
2232 the text in the entry.
2233 * hildon-widgets/hildon-number-editor.c: added several calls to
2234 hildon_number_editor_select_all with g_idle_add.
2236 * hildon-controlbar.c : add signal when end reached
2238 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2240 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2242 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2244 Fixed incorrect values in <Filetype> Details Dialog
2246 Fixed help button usage in dialogs
2248 * hildon-dialoghelp.c: Added more documentation about the
2251 * hildon-file-details-dialog.c: Updated to match
2252 'File Management in OSSO' version 3.0
2254 * Fixed application hang after calling gtk_main_quit
2256 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2257 ESC presses needlessly
2259 * hildon-time-editor.c: Fixed memory corruption