1 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
3 From Murray Cummings (M#185 M#283), with slight changes:
5 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
6 can disable the regeneration of hildon-libs-enum-types.[h|c], also
7 based on the gnome-vfs build.
9 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
10 hildon-libs-enum-types.[h|c], and build them, based on the
11 gnome-vfs build. This adds GTypes for the enums, needed for
12 accurate signal registration, needed by bindings.
14 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
15 default signal handler to range_error, so it has the same name as
16 the signal, as expected by bindings.
18 * hildon-widgets/hildon-marshalers.list: Change to the now-used
21 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
22 since hildon_note_type_get_type is defined manually and
23 glib-mkenums should ignore this enum.
25 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
26 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
28 Correct the signal registration for:
30 * hildon-widgets/hildon-app.c
31 (hildon_app_class_init):
37 * hildon-widgets/hildon-date-editor.c
38 (hildon_date_editor_class_init):
41 * hildon-widgets/hildon-find-toolbar.c
42 (hildon_find_toolbar_class_init):
46 "history_append signals"
48 * hildon-widgets/hildon-grid.c
49 (hildon_grid_class_init):
52 * hildon-widgets/hildon-number-editor.c
53 (hildon_number_editor_class_init):
57 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
59 M#90 - Use standard GLib macro names.
60 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
62 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
63 * hildon-widgets/hildon-calendar-popup.h:
64 * hildon-widgets/hildon-date-editor.h:
65 * hildon-widgets/hildon-range-editor.h:
66 * hildon-widgets/hildon-weekday-picker.h:
67 * hildon-widgets/hildon-volumebar-range.h:
70 * hildon-widgets/hildon-calendar-popup.c:
71 * hildon-widgets/hildon-date-editor.c:
72 * hildon-widgets/hildon-range-editor.c:
73 * hildon-widgets/hildon-volumebar-range.c:
74 * hildon-widgets/hildon-weekday-picker.c:
77 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
79 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
80 for Ok and Cancel buttons.
82 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
84 * configure.ac: 0.12.9
86 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
88 * hildon-widgets/hildon-color-button.c
89 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
93 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
95 * hildon-widgets/hildon-time-editor.c
96 (convert_to_12h): removed m and s paramters (useless)
97 (convert_to_24h): likewise.
100 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
102 Automatic focus movement for HildonTimeEditor (IMP-13)
104 * hildon-widgets/hildon-time-editor.c
105 (hildon_time_editor_init): connect after signal "insert_text"
106 (hildon_time_editor_inserted_text): new function.
107 On inserted text, if entry has two digits, jumps to the next field.
110 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
112 Pops up the color selector on 'select' hardkey (IMP-15)
114 * hildon-widgets/hildon-color-button.c
115 (hildon_color_button_init): connect "key-release-event"
116 (hildon_color_button_key_released): new function.
117 Pops up the color selector on 'select' hardkey release
120 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
122 Hildon grid, set items to be focus-and-activate instead of single
123 tap activation (IMP-14)
125 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
126 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
129 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
131 Fetch hours/minutes/seconds separators from current locale (IMP-8)
134 * hildon-widgets/hildon-time-editor.c
135 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
136 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
137 (hildon_time_editor_finalize): free separator symbols
138 (get_time_separators): new function. Get time separators from locale.
139 (hildon_time_editor_check_locale): call get_time_separators.
141 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
143 Removed icon for mandatory fields (IMP-3).
144 Note: the logic and API to specify mandatory fields is preserved.
146 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
147 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
148 (hildon_caption_set_property): case PROP_STATUS, removed related code.
149 (hildon_caption_set_label_alignment): removed related code.
152 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
154 * configure.ac: 0.12.8
156 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
158 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
161 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
163 - Added support for Pango markup
164 Added hildon_banner_show_information_with_markup
165 - Removed hildon_banner_show_confirmation
166 - Re-position the banner when its content changes
167 - Banner now doesn't truncate strings nor insert linebreaks
168 - fixes N#24339 - Information banners do not resize
170 * hildon-widgets/hildon-banner.[ch]
171 (hildon_banner_show_information_with_markup): new function. Adds
172 pango markup support for information banners.
174 (hildon_banner_show_confirmation): removed. 'confirmation' was
175 used only for the taask navigator (at most). It should use
176 _show_information_with_markup with appropriate markup.
178 (hildon_banner_set_markup): new function.
180 (hildon_banner_check_position): new function. Factor code from
181 hildon_banner_realize(), and update position calculation.
183 (struct _HildonBannerPrivate): removed max_lines.
184 Uses as much lines as needed.
186 (hildon_banner_init): set banner label to wrap lines.
188 (hildon_banner_set_text): do not truncate. Update banner's position.
190 (hildon_banner_set_markup): new function.
191 Set banner's text with Pango markup.
193 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
196 * hildon-widgets/gtk-infoprint.c
197 (gtk_confirmation_banner): use hildon_banner_show_information
198 instead of _show_confirmation.
199 (gtk_confirmation_banner_with_icon_name): likewise.
202 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
204 * hildon-widgets/hildon-color-button.c
205 (hildon_color_field_expose_event): correct parameter order.
208 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
210 * hildon-widgets/hildon-window.c:
211 - Fixed a potential infinite loop when detaching the menus
212 from the window widget (Closes N#26033)
214 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
216 * hildon-widgets/hildon-window.c:
217 - Fixed a bug that made window fullscreen state tracking fail
218 - Apply correct theming to menus so that they get placed
219 correctly (Fixes N#24325)
220 - Redraw the window borders if the size of the toolbar vbox changes
221 - Reset the program to NULL in hildon_window_destroy
222 - Stop the ESC key-press timeout when the window loses the focus
224 * hildon-widgets/hildon-program.c:
225 - Reset the common toolbar to NULL when the program is finalised
227 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
229 * hildon-widgets/hildon-get-password-dialog.h,
230 hildon-widgets/hildon-get-password-dialog.c
231 (hildon_get_password_dialog_new,
232 hildon_get_password_dialog_new_with_default): Renamed
233 get_old_password_title parameter to "get_old" to correspond with
234 the property name. This helps the C++ bindings.
235 * ut/hildon-widgets_tests.c (test43, test44): New.
237 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
239 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
240 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
245 * hildon-lgpl/hildon-caption.c:
246 (hildon_caption_init): Do the hildon_caption_set_child_expand()
248 (hildon_caption_new): Use the child property from GtkContainer
249 instead of calling gtk_container_add(), because _new() functions
250 should just use g_object_new(), so that language-bindings can do
253 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
255 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
257 * configure.ac: 0.12.7
259 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
262 * hildon-widgets/hildon-font-selection-dialog.c
263 (REFERENCE_LINE): removed
264 (hildon_font_selection_dialog_show_preview): added l10n support
265 for the reference string (use to differentiate sub/super script in
267 (hildon_font_selection_dialog_show_preview): likewise
270 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
272 * po/en_GB.po: update
274 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
276 * hildon-widgets/hildon-add-home-dialog.c
277 (hildon_add_home_dialog_init): removed i18n support (deprecated
278 widget. Hinder logical ID processing)
279 (hildon_add_home_dialog_new): likewise.
281 * hildon-widgets/hildon-insert-object-dialog.c
282 (hildon_insert_object_dialog_init): likewise.
285 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
287 * hildon-widgets/hildon-font-selection-dialog.c
288 (hildon_font_selection_dialog_construct_notebook): logical ID typo
291 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
293 * hildon-widgets/hildon-window.[ch]:
294 - update the title when the window is realized
295 - added support for long press on the ESC key. Fixes N#24620
297 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
299 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
301 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
303 * hildon-widgets/hildon-seekbar.c
304 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
306 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
308 * configure.ac: 0.12.6
310 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
312 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
313 fixed typo GKD_Left -> GDK_Left, N#24042
316 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
322 Updated logical id to lower case: Ckct_ -> ckct_
323 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
324 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
325 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
326 (hildon_range_editor_init, hildon_range_editor_entry_validate)
327 (hildon_range_editor_entry_validate):
328 * hildon-widgets/hildon-time-editor.c (validated_conversion)
329 (validated_conversion, hildon_time_editor_real_validate):
330 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
334 Updated logical id to lower case: Ecdg_ -> ecdg_
335 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
336 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
337 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
338 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
339 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
340 (hildon_wizard_dialog_create_title):
341 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
342 (hildon_find_toolbar_init):
343 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
344 (hildon_note_rebuild, hildon_note_set_button_text):
347 Removed i18n support for property description,
348 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
351 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
353 * configure.ac: 0.12.5
355 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
357 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
358 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
361 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
363 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
366 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
368 Cleanup wizard dialog,
370 * hildon-widgets/hildon-wizard-dialog.c
371 (struct HildonWizardDialogPrivate): removed 'previous_button'
372 and 'next_button' (obsolete)
374 (hildon_wizard_dialog_response): new private function. Handles the
375 'response' signal and replaces direction_button_clicked() in
376 taking care of notebook page changes and button dimming.
378 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
379 added to the dialog as response buttons. This enables the usage of
380 GtkDialog API for setting their sensitiveness.
382 (dimming/undimming): Connected hildon_wizard_dialog_response to
383 "resonse" signal. Removed useless title creation because it
384 depends on the notebook which is not yet created.
386 (hildon_wizard_dialog_set_property): minor code cleanup
388 (hildon_wizard_dialog_create_title): removed useless else-if
391 * hildon-widgets/hildon-wizard-dialog.h
392 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
395 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
396 adding the page_change signal, as the application can now track
397 the response signal instead.
400 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
402 * configure.ac: 0.12.4
405 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
409 moved widget descriptions to respective source file (*.c)
413 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
417 * hildon-widgets/hildon-color-button.c:
418 - removed unused #include
419 - removed unused gettext macro
421 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
422 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
423 + value updated to match specifications
425 (struct _HildonColorButtonPrivate):
426 removed 'drawing_area' and 'pixbuf' members (unused)
428 (hildon_color_button_init):
429 use drawing_area directly, update COLOR_FILLED_ macro names
431 (hildon_color_button_unrealize): new function.
432 (hildon_color_button_class_init): register unrealize function
433 (hildon_color_button_finalize): free allocated GC in unrealize
434 handler instead of in finalize.
436 (hildon_color_button_recolor_pixbuf): removed. (use
437 gdk_draw_rectangle() instead)
438 (hildon_color_button_draw_pixbuf_borders): likewise
440 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
442 (hildon_color_button_set_property): queue the drawing - instead of
443 calling recolor_pixbuf
445 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
448 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
450 More cleanup for range editor,
452 * hildon-widgets/hildon-range-editor.[ch]
453 - removed useless includes
454 (hildon_range_editor_new_with_separator): set char parameter 'const'
456 * hildon-widgets/hildon-range-editor.c
457 - removed useless includes
458 - rewritten a lot of functions because code was inefficient.
459 - removed useless g_return_if_fail calls from various functions.
461 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
462 (hildon_range_editor_entry_keypress): rewritten
463 (hildon_range_editor_entry_focus_out): rewritten
464 (hildon_range_editor_refresh_widths): New function
465 (hildon_range_editor_set_range): Make sure that the values are in
467 (hildon_range_editor_set_lower): rewritten.
468 (hildon_range_editor_set_higher): rewritten.
469 (hildon_range_editor_set_min): rewritten.
470 (hildon_range_editor_set_max): rewritten.
472 (hildon_range_editor_entry_validate): New validator function
473 (hildon_range_editor_entry_changed): New signal handler for
474 "changed" for entries, this will now validate whenever entry changes.
476 (hildon_range_editor_entry_focus_out): Added g_assert for
477 editor. Removed call to hildon_range_editor_apply_current_range().
478 Added call to the new function hildon_range_editor_entry_validate()
481 (hildon_range_editor_init): connected
482 hildon_range_editor_entry_changed to "changed" for entries.
485 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
487 Major cleanup for time editor
489 * hildon-widgets/hildon-time-editor.c
490 - removed unused #includes.
491 - Removed useless g_return_if_fail(editor) calls
492 (HILDON_IS_TIME_EDITOR does this check as well for us).
494 (hildon_time_editor_add_style): removed, obsolete.
495 (hildon_time_editor_mnemonic_activate): removed, obsolete
496 (hildon_time_editor_get_max_values): removed, obsolete.
498 (validated_conversion): New helper function
500 (hildon_time_editor_entry_changed): New function, now the widget
501 interactively validates the inputted contents (not requiring focus
504 (ticks_to_time): rewritten, using less arithmetic operations.
505 (hildon_time_editor_validate): rewritten
506 (hildon_time_editor_set_ticks): rewritten
507 (hildon_time_editor_set_duration_mode): rewritten
508 (hildon_time_editor_entry_keypress): rewritten
510 * hildon-widgets/hildon-time-editor.[ch]
511 (hildon_time_editor_set_show_hours)
512 (hildon_time_editor_get_show_hours) new functions to show/hide hours
515 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
517 Cleanup number editor
519 * hildon-widgets/hildon-number-editor.c:
520 (SPACE_BORDER): removed
522 (hildon_number_editor_size_request):
523 (hildon_number_editor_size_allocate): updated to use hildondefines
525 (hildon_number_editor_mnemonic_activate): function removed,
526 mnemonic are not used
528 (hildon_number_editor_stop_repeat_timer): new function, to avoid
530 (hildon_number_editor_button_release):
531 (hildon_number_editor_finalize): updated to use new function
533 (hildon_number_editor_entry_keypress): completely rewritten
534 (change_numbers): likewise
535 (do_mouse_timeout): likewise
536 (hildon_number_editor_set_range): likewise
538 (hildon_number_editor_validate_value): new function, used for all
540 (hildon_number_editor_focus_out):
541 (hildon_number_editor_entry_changed): updated to use previous.
543 (hildon_number_editor_real_set_value): new function that formats
544 given int to field. Used by change_numbers and set_value
546 (integer_to_string): removed, we now have one place that
547 converts numbers and that uses buffer from stack.
548 (hildon_number_editor_set_value): changed to use new format function.
551 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
553 * hildon-widgets/hildon-time-picker.c:
554 reorganized how the widgets are stored to reduce code
555 (HildonTimePickerWidgetGroup): new struct
556 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
557 (hildon_time_picker_init)
558 (hildon_time_picker_arrow_press)
559 (hildon_time_picker_event_box_key_press)
560 (hildon_time_picker_change_time)
561 (hildon_time_picker_map)
562 (hildon_time_picker_event_box_key_release): use new widget organization
565 (hildon_time_picker_init): return value from nl_timeinfo() is
566 valid only until it's called again, so g_strdup() the value when
569 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
570 (HILDON_TIME_PICKER_LABEL_X_PADDING)
571 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
572 (hildon_time_picker_set_time):
573 (hildon_time_picker_get_time):
574 (hildon_time_picker_ampm_release): used the new defines
576 (struct _HildonTimePickerPrivate)
577 (hildon_time_picker_init)
578 (hildon_time_picker_event_box_key_press)
579 (hildon_time_picker_change_time):
580 - c12h renamed to show_ampm,
581 - ampo_pos renamed to ampm_left.
583 (hildon_time_picker_timeout): renamed to
584 hildon_time_picker_key_repeat_timeout(),
585 and renamed parameter to 'hildon_time_picker'
587 (hildon_time_picker_event_box_press): renamed to
588 hildon_time_picker_event_box_button_press()
590 (hildon_time_picker_finalize): Added finalizer to make sure the
591 key repeat timeout handler gets removed.
593 (hildon_time_picker_arrow_press): Placed multipliers into
594 button_multipliers[] array to avoid multiple if/then/else
598 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
600 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
601 calculates correctly which items will be visible. Fixes N#16991.
604 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
606 * hildon-widgets/hildon-find-toolbar.c
607 (hildon_find_toolbar_history_append): set "column" property only
608 after model has been set.
611 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
613 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
614 the parameter more descriptively
617 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
621 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
623 * hildon-widgets/hildon-app.[ch]
624 (hildon_zoom_level_get_type): removed G_CONST_RETURN
626 * hildon-widgets/hildon-app.c:
627 - removed HILDON_DISABLE_DEPRECATED flags
628 - added g_assert'ions to internal functions
631 (hildon_app_button): Move the fixed define to the function itself,
632 add simple autodetection, clean up comments.
634 (hildon_app_key_release): Remove bogus argument to signal emission
635 (not needed), emit the "fullscreen_state_change" directly instead
636 of calling set_fullscreen.
638 (hildon_app_construct_title): removed dead code
640 (hildon_app_register_view_with_id): do not call g_slist_nth() to
641 get the first element...
644 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
646 * hildon-widgets/hildon-appview.c:
647 (hildon_appview_init): indented comments properly
648 (paint_toolbar): indented comments properly
649 (hildon_appview_expose): indented code properly
650 (hildon_appview_toolbar_toggle_request): removed dead code
653 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
655 * hildon-widgets/hildon-caption.c
656 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
657 (hildon_caption_size_allocate): likewise.
658 (hildon_caption_forall): likewise.
661 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
663 Cleanup Find toolbar,
665 * hildon-widgets/hildon-find-toolbar.[ch]
666 (hildon_find_toolbar_new): set 'label' parameter const.
667 (hildon_find_toolbar_new_with_model): likewise.
669 * hildon-widgets/hildon-find-toolbar.c
670 (struct _HildonFindToolbarPrivate):
671 changed entry_combo_box type to GtkComboBoxEntry*
673 (hildon_find_toolbar_get_list_model): new function, to factor
674 member access and casting
675 (hildon_find_toolbar_get_entry): likewise.
676 (hildon_find_toolbar_apply_filter): removed set_column parameter
677 since it was used by only one caller, and made the caller do it
678 instead. Removed unnecessary casts.
680 (hildon_find_toolbar_find_string): new function.
681 (hildon_find_toolbar_history_append): code cleanup. use
682 hildon_find_toolbar_find_string.
684 (hildon_find_toolbar_get_property)
685 (hildon_find_toolbar_get_entry)
686 (hildon_find_toolbar_init)
687 (hildon_find_toolbar_new)
688 (hildon_find_toolbar_new_with_model)
689 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
690 and changed some of them to use the new convenience functions
693 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
694 instead of if-check to validate parameter.
697 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
699 Cleanup hildon-defines,
701 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
702 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
704 (hildon_logical_data_free): new function. Free logical data.
705 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
706 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
708 * hildon-widgets/hildon-defines.[ch]
709 (hildon_gtk_widget_set_logical_font): use const gchar*
710 (hildon_gtk_widget_set_logical_color): likewise.
712 * hildon-widgets/hildon-defines.c:
713 (hildoniconsizes): set const
714 (hildoninternaliconsizes): set static, renamed 'iis'
717 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
719 Cleanup Caption widget,
721 * hildon-lgpl/hildon-caption.[ch]
722 (hildon_caption_status_get_type, hildon_caption_get_type):
723 G_CONST_RETURN removed, G_GNUC_CONST added
725 * hildon-widgets/hildon-caption.c
727 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
729 (hildon_caption_set_property): removed useless code.
730 (hildon_caption_button_press): simplified greatly by removing the
731 unnecessary recursion to locate the first focusable child of a
732 container - simple gtk_widget_grab_focus achieves the same
733 (get_first_focusable_child): removed (not used anymore)
735 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
737 (hildon_caption_set_focus_child): removed (not used anymore)
738 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
740 (hildon_caption_hierarchy_changed): type check added
741 (hildon_caption_forall): callback null check added
742 (hildon_caption_set_status): type check added
743 (hildon_caption_set_icon_image): type check added
744 (hildon_caption_activate): activate_block kludge removed as outdated
745 (hildon_caption_get_child_expand): argument declared const
746 (hildon_caption_set_label_text): g_return_if_fail changed to
747 g_assert since this is not a public function;
748 Duplicate separator check now uses correct localized separator
749 instead of assuming ':'
752 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
756 * hildon-lgpl/hildon-appview-c:
757 (hildon_app_view_init): Fixed a problem that prevented to set an
758 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
759 between toolbars). This fix involves a change in the default gtkrc
760 file, ie. the modification of the 'border' value of the
761 "toolbar-frame-middle" image in the osso-appview-background style.
763 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
764 widget supporting adjustements, not only viewports.
766 (visible_toolbar): use proper parameter names
767 (find_findtoolbar_index): likewise.
768 (find_findtoolbar): likewise.
770 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
771 (hildon_appview_finalize): likewise.
772 (hildon_appview_signal_marshal): likewise.
773 (hildon_appview_forall): likewise.
774 (hildon_appview_switched_to): likewise.
775 (hildon_appview_real_fullscreen_state_change): likewise.
778 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
780 * hildon-widgets/hildon-date-editor.c
781 (hildon_date_editor_entry_validate): Now, if an invalid date is
782 entered, date-editor reverts to previous date, instead of setting
783 the maximum allowed days.
786 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
788 * hildon-widgets/hildon-date-editor.h
789 (enum HildonDateEditorErrorType): added NO_ERROR entry.
791 * hildon-widgets/hildon-date-editor.c
792 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
793 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
796 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
798 * hildon-widgets/hildon-get-password-dialog.c:
799 (hildon_get_password_dialog_set_title): Removed the deprecation
800 #ifdefs from the .c file.
802 * hildon-widgets/hildon-file-handling-note.c: likewise.
806 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
808 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
810 * hildon-widgets/hildon-color-selector.c
811 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
812 (hildon_color_selector_expose)
813 (hildon_color_selector_get_color)
814 (hildon_color_selector_set_color)
817 (modify_focused): Separate selected color and focused color.
818 Focused color now draws a different colored border around it.
819 Renamed modify_selected() to modify_focused().
821 * hildon-widgets/hildon-color-selector.c
822 (hildon_color_selector_expose)
823 (select_color): Changed the logic in how the box positions are
824 calculated. The old logic was wrong, but just happened to work
825 with those specific values.
827 * hildon-widgets/hildon-color-selector.c
828 (hildon_color_selector_expose): Draw the selected-border using
829 ImageBorderColor color instead of hardcoded black.
832 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
834 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
835 removed current_color; use initial_color directly.
836 Disabled select-hardkey from activating to OK-button by default.
839 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
841 * hildon-widgets/hildon-date-editor.c
842 (hildon_date_editor_keypress): removed the unnecessary check for
843 the position of the cursor in the text-field which was hindering
844 the Left key from working as expected.
847 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
849 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
850 after setting the toggle_button active. Prevents GLIB_CRITICALs.
852 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
854 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
857 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
859 * hildon-widgets/hildon-font-selection-dialog.c
860 (hildon_font_selection_dialog_show_preview): set line wrap for
864 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
866 * hildon-widgets/hildon-date-editor.c
867 (hildon_child_forall): cast 'container'
868 (hildon_date_editor_size_allocate): adjusted height allocation.
871 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
873 Cleanup calendar popup,
875 * hildon-widgets/hildon-calendar-popup.c:
876 - updated 'longdesc' comment.
877 - removed gtk-infoprint.h from included headers (unused).
879 (struct HildonCalendarPopupPrivate): removed member
880 'can_exit' (useless).
881 (hildon_calendar_day_selected): removed (useless).
882 (hildon_calendar_allow_exit): likewise.
883 (hildon_calendar_deny_exit): likewise.
885 (hildon_calendar_selected_date): new function. replaces
886 hildon_calendar_allow_exit()
888 (hildon_calendar_popup_init):
889 - Removed initialization for 'can_exit'.
890 - Removed connection to removed useless functions.
891 - Connect "selected_date" to hildon_calendar_selected_date().
892 - Do not grab the focus (useless)
894 (hildon_key_pressed): just handle ESC and Return keys.
896 (hildon_calendar_popup_get_property): removed unused variables.
899 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
901 * hildon-widgets/hildon-caption.c
902 * hildon-widgets/hildon-composite-widget.h
903 * hildon-widgets/hildon-get-password-dialog.c
904 * hildon-widgets/hildon-grid.h
905 * hildon-widgets/hildon-grid-item.h
906 * hildon-widgets/hildon-volumebar-range.c
907 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
909 (hildon_controlbar_get_type): likewise.
911 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
913 * doc/hildon-libs.types: Add missing types
914 * doc/hildon-libs-docs.sgml: Add missing links and some organization
915 * doc/tmpl/*: Regenerate and add new files
917 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
920 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
922 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
924 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
925 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
927 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
931 * doc/Makefile.am: Update gtk-doc framework bits
932 * gtk-doc.make (commit generated file)
933 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
935 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
936 * hildon-widgets/hildon-code-dialog.c:
940 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
942 * hildon-widgets/hildon-window.c: propagate key-press event to the
943 parent class (Closes N#23400)
944 * configure.ac: 0.12.3
946 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
948 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
950 * configure.ac: 0.12.2
953 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
955 * hildon-widgets/hildon-color-selector.c (key_pressed): use
956 g_assert instead of g_return_val_if_fail
961 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
963 * hildon-widgets/hildon-get-password-dialog.[ch]:
964 (hildon_get_password_dialog_set_title) marked deprecated.
966 + cleanup header coding style
969 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
971 Cleanup font selection dialog
973 * hildon-widgets/hildon-font-selection-dialog.c
975 (hildon_font_selection_dialog_construct_notebook): removed dummy
978 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
980 (hildon_font_selection_dialog_preview_key_press): Renamed argument
981 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
983 (toggle_clicked): renamed argument 'data' to 'unused'
985 (hildon_font_selection_dialog_set_preview_text): added proper
989 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
991 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
992 removed console messages.
995 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
997 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
998 (struct _HildonSortDialogPrivate):
999 - removed okButton, cancelButton
1000 - removed sort_by_value, sort_order_type
1001 - removed index_first
1002 - renamed combo1 to combo_key
1003 - renamed caption1 to caption_key
1004 - renamed combo2 to combo_order
1005 - renamed caption2 to cpation_order
1007 (hildon_sort_dialog_init): removed init of unused fields.
1008 use new field names.
1009 (hildon_sort_dialog_get_sort_key): likewise.
1010 (hildon_sort_dialog_get_sort_order): likewise.
1011 (hildon_sort_dialog_set_sort_key): likewise.
1012 (hildon_sort_dialog_set_sort_order): likewise.
1013 (hildon_sort_dialog_add_sort_key): likewise.
1015 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1017 * hildon-widgets/hildon-date-editor.c
1018 (hildon_child_forall): use g_assert instead of g_return_if_fail
1019 (hildon_date_editor_entry_validate): likewise.
1022 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1024 * hildon-widgets/hildon-controlbar.c
1025 (hildon_controlbar_change_value): commented function.
1027 * hildon-widgets/hildon-wizard-dialog.c
1028 (hildon_wizard_dialog_get_property): likewise.
1031 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1033 Cleanup weekday picker,
1035 * hildon-widgets/hildon-weekday-picker.c
1036 (_): removed unused gettext macro
1037 (button_toggle): use meaningful parameter name
1038 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1039 (hildon_weekday_picker_size_allocate): likewise.
1040 (button_toggle): likewise.
1043 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1045 Cleanup time editor,
1047 * hildon-widgets/hildon-time-editor.c
1048 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1049 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1050 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1051 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1053 (struct _HildonTimeEditorPrivate):
1054 - h_entry, m_entry, s_entry replaced by entries[],
1055 allows to remove a lot of code.
1056 - label renamed to hm_label
1057 - label2 renamed to sec_label
1058 - ampm renamed to ampm_label
1059 - show_s renamed to show_seconds
1060 - removed fields: icon, valid_value, validated
1062 + moved up in the file.
1064 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1066 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1068 (set_widget_allocation): removed
1069 (hildon_time_editor_entry_changed): removed
1071 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1073 (hildon_time_editor_forall): removed unnecessary code
1074 (hildon_time_editor_destroy): likewise.
1076 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1078 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1080 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1081 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1082 use new variable names,
1083 use hildon_time_editor_set_to_current_time
1085 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1086 (hildon_time_editor_set_ticks): use g_assert instead of
1087 g_return_if_fails, use
1088 'entries[]', removed dead code
1090 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1091 (hildon_time_editor_validate): use 'entries[]', removed dead code
1092 (hildon_time_editor_get_max_values): use 'entries[]'
1095 (hildon_time_editor_get_show_seconds): use new variable names
1096 (hildon_time_editor_set_duration_mode): likewise.
1098 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1100 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1102 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1104 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1106 (set_widget_allocation): removed (unused)
1107 (hildon_time_editor_entry_changed): removed (unused)
1109 (IS_VALID_KEYPRESS): new macro
1110 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1111 deleate dead/unnecessary code
1113 use IS_VALID_KEYPRESS
1115 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1117 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1119 (hildon_time_editor_size_allocate): cleanup
1120 (convert_to_12h): cleanup code style
1122 (hildon_time_editor_show_seconds): removed deprecation flag
1123 (hildon_time_editor_enable_duration_mode): likewise.
1126 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1128 Cleanup volume bars,
1130 * hildon-widgets/hildon-volumebar.h: removed unused #include
1131 + coding style cleanup
1133 * hildon-widgets/hildon-volumebar.c
1134 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1136 (hildon_child_forall): use g_assert instead of g_return_if_fail
1138 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1139 + coding style cleanup
1141 * hildon-widgets/hildon-volumebar-private.h:
1142 added missing #include.
1143 added _hildon_volumebar_mute_toggled.
1144 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1148 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1149 + coding style cleanup
1151 * hildon-widgets/hildon-vvolumebar.c
1152 (hildon_vvolumebar_size_request)
1153 (hildon_vvolumebar_size_allocate)
1154 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1156 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1158 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1159 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1160 (vvolumebar_init): renamed to hildon_vvolumebar_init
1161 (hildon_vvolumebar_init): removed unused 'orientation'
1162 initialisation. Use _hildon_volumebar_mute_toggled instead of
1163 removed hildon_vvolumebar_mute.
1167 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1169 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1170 renamed to hildon_hvolumebar_class_init
1172 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1173 hildon_hvolumebar_init
1175 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1178 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1179 removed unused 'orientation' initialisation.
1181 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1182 _hildon_volumebar_mute_toggled instead of removed
1183 hildon_hvolumebar_mute.
1186 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1190 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1191 coding style cleanup
1193 * hildon-widgets/hildon-color-popup.h: likewise.
1195 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1198 * hildon-widgets/hildon-color-selector.c
1199 (hildon_color_selector_new): use g_return_val_if_fail instead of
1201 (select_color): use g_assert instead of g_return_if_fail
1203 * hildon-widgets/hildon-calendar-popup.c
1204 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1208 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1210 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1211 added HildonCodeDialog widget
1214 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1216 * hildon-widgets/hildon-window.c:
1217 - set the toolbar height explicitely
1218 - use show instead of show_all on the common_toolbar
1219 - add the toolbars bottom-up instead of top-down
1220 * hildon-widgets/hildon-program.c:
1221 - don't assume that a window was realized when added to
1225 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1227 Cleanup font selection dialog,
1229 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1230 + coding style cleanup
1232 * hildon-widgets/hildon-font-selection-dialog.c
1233 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1234 instead of g_assert.
1236 * hildon-widgets/hildon-font-selection-dialog.c
1237 (hildon_font_selection_dialog_get_text_tag)
1238 (hildon_font_selection_dialog_set_buffer)
1239 (hildon_font_selection_dialog_get_font)
1240 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1243 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1245 Cleanup range editor,
1247 * hildon-widgets/hildon-range-editor.c
1248 (hildon_range_editor_calss_init):Removed
1249 widget_calss->mnemonic_activate init
1251 * hildon-widgets/hildon-range-editor.c
1252 (hildon_range_editor_mnemonic_activate): Removed static function
1253 hildon_range_mnemonic_activate and FIXME. It is useless even
1254 through it is overriding function for
1255 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1256 focus will be realized based on different applications.
1258 * hildon-widgets/hildon-range-editor.c
1259 (is_valid_keyvalue_for_entry_keypress): new function.
1261 * hildon-widgets/hildon-range-editor.c
1262 (hildon_range_editor_entry_keypress): uses
1263 is_valid_keyvalue_for_entry_keypress
1265 * hildon-widgets/hildon-range-editor.c
1266 (hildon_range_editor_forall): use g_return_if_fail instead of
1269 * hildon-widgets/hildon-range-editor.cvn
1270 (hildon_range_editor_mnemonic_activate): removed. (unused)
1273 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1275 Cleanup hildon-note,
1277 * hildon-widgets/hildon-note.[ch]
1279 (hildon_note_five_line_truncate): removed.
1280 (hildon_note_one_line_truncate): removed.
1282 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1283 instead of _{one|five}_line_truncate() functions.
1286 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1287 into wrapper of "hildon_note_new_information_with_icon_name".
1289 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1290 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1292 - removed some unnessecary includes.
1294 - Merged hildon_note_create & hildon_note_create_form and rewrote
1295 the combination as hildon_note_rebuild
1297 - Added missing g_return_* into public functions.
1299 - Acquire real references to children which are packed/unpacked,
1300 so we do not need to bother about refcounting while changing the
1304 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1308 * hildon-widgets/hildon-number-editor.c
1310 (set_widget_allocation): use const parameter.
1312 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1314 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1315 (hildon_number_editor_set_range): removed 'negative'
1318 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1319 use g_assert instead of g_return_if_fail
1322 * hildon-widgets/hildon-time-picker.c:
1323 - in several places, replace 1440 by 24*60
1324 (PROP_AMPM): removed, unused.
1325 (hildon_time_picker_timeout): use significant parameter name,
1327 (hildon_time_picker_init): removed useless call to _change_time()
1330 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1334 * hildon-widgets/hildon-seekbar.c
1336 (_): Removed dgettext macro definition.
1338 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1340 (hildon_seekbar_finalize): removed. not needed.
1341 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1343 (hildon_seekbar_size_request): indent cleanup.
1345 (hildon_seekbar_size_allocate): simplified function.
1347 (hildon_seekbar_button_press_event): Removed unused variables.
1348 (hildon_seekbar_button_release_event): likewise.
1351 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1353 Cleanup date editor,
1355 * hildon-widgets/hildon-date-editor.c
1357 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1358 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1360 (hildon_date_editor_get_font_width): removed (legacy static
1361 function), use gtk_entry_set_width_chars instead.
1363 (hildon_date_editor_mnemonic_activate): removed mnemonic
1364 activation handler, since it's no more used by HildonCaption.
1367 - Removed some meaningless code (if (somewidget != NULL)) from
1370 - HEAVILY modified key_press, completely removed if/grab_focus
1371 spaghetti by gtk_widget_child_focus
1373 - Removed input validation from keypress (that would not work
1374 anyway, since our input method do not generate presses). => This
1375 allows to change default return value to FALSE and remove all cases
1376 that just returned FALSE for some keys.
1378 - Merged all *_entry_changed callbacks to use the same
1379 function. Again using gtk_widget_child_focus, but now with return
1380 value as well to detect last field.
1382 - Changed that calendar button is no more implemented through
1383 changing widget hierarchy (old implementation caused critical
1384 issues when you used both stylus and hardkeys at the same time to
1385 popup. => finalize method no longer contained anything => removed
1387 - Locale type is no longer needed after initial setup.
1389 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1390 hack from the days of background dimming (it was important to
1391 process background updates before the dimming was done).
1393 - Changed the field order/delimeters to be correcly derived form
1396 - Rewrote validation function, combined it with validation done in
1397 focus_out (since both are now called at the same time).
1399 - Changed set_date function to set all components at one go
1400 without doing any validation there between (before setting each
1405 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1407 Cleanup set-password dialog
1409 * hildon-widgets/hildon-set-password-dialog.[ch]
1410 (hildon_set_password_dialog_set_domain): gchar * param is const
1411 (hildon_set_password_dialog_new_with_default): likewise.
1413 * hildon-widgets/hildon-set-password-dialog.c
1415 (hildon_set_password_set_property): setting 'modify-protection'
1418 (hildon_set_password_get_property): fixed broken 'domain' (missing
1419 break statement!) and 'modify-protection' (was a null operation)
1420 properties; code simplified.
1422 (hildon_set_password_dialog_constructor),
1424 (hildon_set_password_dialog_class_init),
1425 (hildon_set_password_dialog_init):
1426 hildon_set_password_dialog_constructor removed as weird and
1427 obsolete and replaced with new function create_contents; fixed
1428 leaking group variable; removed some unused, outdated code that
1429 was already commented out.
1431 (hildon_set_password_response_change),
1432 (hildon_set_password_response_set): GtkWindow *parent arguments
1433 changed to gpointer unused; cleaned up unnecessary strcmp's
1435 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1436 checkbox). gpointer renamed to be more descriptive; Code simplified
1438 (hildon_set_password_dialog_get_type): empty function argument
1439 list replaced with void keyword.
1441 (hildon_set_password_dialog_new),
1442 (hildon_set_password_dialow_new_with_default): simplified by
1443 having the simpler constructor call the more complex one, not vice
1444 versa; moved callback connects to create_contents since they
1445 depend on the status of 'modify-protection' property
1447 (hildon_set_password_dialog_get_password): type check added
1448 (hildon_set_password_dialog_get_protected): likewise
1449 (hildon_set_password_dialog_set_domain): likewise
1452 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1454 Cleanup name-password dialog:
1456 * hildon-widgets/hildon-name-password-dialog.[ch]
1458 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1459 types changed from *HildonCaption to *GtkEntry
1461 (hildon_name_password_dialog_set_property): layout fixes;
1462 duplicated code replaced with calls to relevant public functions
1464 (hildon_name_password_dialog_get_property): layout fixes;
1465 duplicated code replaced with calls to relevant public functions
1467 (hildon_name_password_dialog_init): fixed leaking group variable;
1468 reworked to have captions as local variables and captioned entries
1469 in the private struct
1471 (hildon_name_password_dialog_new_with_default): name and password
1472 arguments declared const
1474 (hildon_name_password_dialog_get_name): type check added + cleanup
1475 (hildon_name_password_dialog_get_password): likewise.
1477 (hildon_name_password_dialog_set_domain): domain argument declared
1478 const; type check added + cleanup
1481 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1483 Cleanup get-password dialog:
1485 * hildon-widgets/hildon-get-password-dialog.[ch]
1487 (HildonGetPasswordDialogPrivate): gboolean get_old added
1489 (hildon_get_password_set_property): fixed broken 'numbers-only'
1490 and 'max-characters' cases; 'get-old' property added
1492 (hildon_get_password_get_property): added support for reading
1493 'numbers-only' properties; added missing break to 'domain' case.
1494 added 'get-old' property
1496 (hildon_get_password_dialog_class_init): 'domain' and
1497 'numbers-only' properties are now readable; 'get-old' property
1500 (hildon_get_password_dialog_init, create_contents): everything
1501 that depends on the type of the dialog (i.e. 'get-old' property)
1502 is now done in create_contents after properties are initialized;
1503 fixed leaking group variable
1505 (hildon_get_password_dialog_get_type): empty function argument
1506 list replaced with void keyword
1508 (hildon_get_password_dialog_new): moved setting the labels of the
1509 get password dialog to init where it should be done; 'get-old'
1510 property set upon construction to achieve this
1512 (hildon_get_password_dialog_new_with_default): password argument
1515 (hildon_get_password_dialog_get_password): type check added
1516 (hildon_get_password_dialog_set_domain): type check added; domain
1517 argument declared const; duplicate function declaration removed
1519 (hildon_get_password_dialog_set_title): type check added;
1520 new_title argument declared const
1522 (hildon_get_password_dialog_set_caption): type check added;
1523 new_caption argument declared const
1525 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1526 (_invalid_input): gpointer data argument renamed unused
1529 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1531 (*_get_type): declared G_GNUC_CONST
1533 * hildon-widgets/hildon-app.h:
1534 * hildon-widgets/hildon-appview.h:
1535 * hildon-widgets/hildon-calendar-popup.h:
1536 * hildon-widgets/hildon-color-selector.h:
1537 * hildon-widgets/hildon-date-editor.h:
1538 * hildon-widgets/hildon-find-toolbar.h:
1539 * hildon-widgets/hildon-get-password-dialog.h:
1540 * hildon-widgets/hildon-name-password-dialog.h:
1541 * hildon-widgets/hildon-number-editor.h:
1542 * hildon-widgets/hildon-seekbar.h:
1543 * hildon-widgets/hildon-set-password-dialog.h:
1544 * hildon-widgets/hildon-sort-dialog.h:
1545 * hildon-widgets/hildon-time-editor.h:
1546 * hildon-widgets/hildon-weekday-picker.h:
1547 * hildon-widgets/hildon-wizard-dialog.h:
1549 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1553 * hildon-widgets/hildon-volumebar.c
1554 (hildon_volumebar_class_init): object class casts cleaned up
1555 (hildon_child_forall): removed unnecessary variable vbar; type check added
1556 (hildon_volumebar_set_property): removed unnecessary variable vbar
1557 (hildon_volumebar_set_level): type check added
1558 (hildon_volumebar_get_level): type check added
1559 (hildon_volumebar_set_mute): type check added
1560 (hildon_volumebar_get_mute): type check added
1561 (hildon_volumebar_get_adjustment): type check added
1562 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1564 * hildon-widgets/hildon-volumebar.h
1565 (hildon_volumebar_get_type): declared G_GNUC_CONST
1567 * hildon-widgets/hildon-volumebar-private.h:
1568 - G_BEGIN_DECLS/G_END_DECLS added
1569 - ownorientation removed from private struct
1571 * hildon-widgets/hildon-volumebar-range.c
1572 (hildon_volumebar_range_init): vacuous return statement removed
1574 (hildon_volumebar_range_set_level): removed unnecessary clamping
1575 kludge that violated object oriented principles only to provide an
1576 extremely minor, unnecessary optimization; type check added
1578 (hildon_volumebar_range_get_level): now accesses adjustment value
1579 with appropriate functions instead of reading it directly from the
1580 struct, which is bad OOP; type check added
1582 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1583 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1585 * hildon-widgets/hildon-volumebar-range.h
1586 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1588 * hildon-widgets/hildon-hvolumebar.c
1589 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1590 completely removed the gtk_widget_show() call that was already
1593 (hildon_hvolumebar_new): empty function parameter list replaced
1596 (hildon_hvolumebar_map): vbar variable removed; type check added
1597 (hildon_hvolumebar_expose): type check added
1598 (hildon_hvolumebar_size_request): type check added
1599 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1601 * hildon-widgets/hildon-hvolumebar.h
1602 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1604 * hildon-widgets/hildon-vvolumebar.c
1605 (vvolumebar_init): priv->ownorientation and v_ptr removed
1606 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1608 (hildon_vvolumebar_expose): type check added
1609 (hildon_vvolumebar_size_request): type check added
1610 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1612 * hildon-widgets/hildon-vvolumebar.h
1613 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1616 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1618 * hildon-widgets/hildon-weekday-picker.c
1619 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1620 last_index; added day_order_buttons
1622 (hildon_weekday_picker_mnemonic_activate): removed.
1623 mnemonics are no longer used.
1625 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1626 function. Rewritten creation of buttons. Unref'ed size group.
1628 (button_toggle): Removed bit mask checking, simplified function
1630 (hildon_weekday_picker_set_day):
1631 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1632 adjustment, unecessary for loop
1634 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1635 unecessary for loop. Simplified button toggling
1637 (hildon_weekday_picker_set_all):
1638 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1641 (hildon_weekday_picker_isset_day): Removed date adjustment and
1642 unecessary for loop;
1644 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1646 Added hildon-banner, as a clean replacement for gtk-infoprint
1647 * hildon-widgets/hildon-banner.[ch]: implementation and header
1648 * hildon-widgets/Makefile.am: reference new files
1649 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1650 a compatibility wrapper to hildon-banner
1652 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1654 * hildon-widgets/hildon-color-button.c: added comments
1655 * hildon-widgets/hildon-controlbar.c: Likewise.
1656 * hildon-widgets/hildon-composite-widget.c: Likewise.
1657 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1659 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1661 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1664 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1666 * configure.ac: 0.12.1
1668 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1670 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1671 * doc/tmpl/hildon-window.sgml: likewise.
1672 * hildon-widgets/hildon-program.[ch]: likewise.
1673 * hildon-widgets/hildon-window.[ch]: likewise.
1674 * hildon-widgets/hildon-window-private.h: likewise.
1675 * hildon-widgets/Makefile.am: Added these new files to the build
1678 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1680 * configure.ac: 0.12.0
1682 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1684 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1685 * doc/tmpl/hildon-appview.sgml: likewise.
1686 * doc/tmpl/hildon-color-popup.sgml: likewise.
1687 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1688 * doc/tmpl/hildon-app.sgml: likewise.
1689 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1690 * doc/tmpl/hildon-caption.sgml: likewise.
1691 * doc/tmpl/hildon-marshalers.sgml: likewise.
1692 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1693 * doc/tmpl/hildon-defines.sgml: likewise.
1694 * doc/tmpl/gtk-infoprint.sgml: likewise.
1695 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1697 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1698 * hildon-widgets/hildon-app.[ch]:likewise.
1699 * hildon-widgets/hildon-app-private.h:likewise.
1700 * hildon-widgets/hildon-appview.[ch]:likewise.
1701 * hildon-widgets/hildon-caption.[ch]:likewise.
1702 * hildon-widgets/hildon-defines.[ch]:likewise.
1703 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1704 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1706 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1707 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1711 hildon-app-private.h
1715 hildon-find-toolbar.[ch]
1716 hildon-input-mode-hint.h
1718 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1719 path for gtk-infoprint.h and hildon-input-mode-hint.h
1721 * po/en_GB.po: merged msgstr from hildon-lgpl
1723 * timer/*: added from hildon-lgpl
1727 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1729 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1732 * ut/hildon-widgets_tests.c (test41a): removed test case for
1733 hildon_file_details_dialog
1735 * doc/hildon-libs.types: likewise.
1736 * doc/hildon-libs-docs.xml: likewise.
1742 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1745 * Makefile.am (SUBDIRS): added timer/
1747 * configure.ac: do not depend anymore on hildon-lgpl nor
1748 hildon-fm, check for libmb, added Makefile output for timer/
1752 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1754 * configure.ac: 0.10.2
1756 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1758 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1759 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1760 hildon-apps scroll-control property is now handled.
1761 (get_child_index_by_coord): ignores events not matching a grid
1764 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1766 * configure.ac: 0.10.1
1768 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1770 Missing/Buggy documentation from,
1771 N#11566 make password dialog customizable (messages)
1772 * hildon-widgets/hildon-get-password-dialog.c
1773 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1775 * doc/tmpl/xxx.sgml: updated.
1777 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1779 N#19369 TRUE Scketch does not show colour change when using white color
1781 Color button needs inner border white, and outer border black.
1782 * hildon-widgets/hildon-color-button.c
1783 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1785 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1786 (hildon_color_button_realize): call the above function
1788 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1790 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1791 * hildon-widgets/hildon-note.c:
1792 (hildon_note_new_confirmation_add_buttons): updated doc
1793 (hildon_note_set_button_texts): likewise.
1795 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1797 N#21884 Cannot select read-only by using the center of the scroll key
1798 * hildon-widgets/hildon-file-details-dialog.c
1799 (hildon_file_details_dialog_init): Removed dialog default response.
1801 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1803 N#8094 5-bit color selector: wrong margins and pixel measurements
1804 M#59 HildonColorSelector needs more space
1805 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1806 (hildon_color_popup_new): add space between the control bars and
1807 the color preview area.
1809 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1811 * hildon-widgets/hildon-calendar-popup.c
1812 * hildon-widgets/hildon-color-button.c
1813 * hildon-widgets/hildon-color-popup.c
1814 * hildon-widgets/hildon-color-selector.c
1815 * hildon-widgets/hildon-composite-widget.c
1816 * hildon-widgets/hildon-controlbar.c
1817 * hildon-widgets/hildon-date-editor.c
1818 * hildon-widgets/hildon-dialoghelp.c
1819 * hildon-widgets/hildon-file-details-dialog.c
1820 * hildon-widgets/hildon-font-selection-dialog.c
1821 * hildon-widgets/hildon-get-password-dialog.c
1822 * hildon-widgets/hildon-grid-item.c
1823 * hildon-widgets/hildon-grid.c
1824 * hildon-widgets/hildon-hvolumebar.c
1825 * hildon-widgets/hildon-name-password-dialog.c
1826 * hildon-widgets/hildon-note.c
1827 * hildon-widgets/hildon-number-editor.c
1828 * hildon-widgets/hildon-range-editor.c
1829 * hildon-widgets/hildon-scroll-area.c
1830 * hildon-widgets/hildon-seekbar.c
1831 * hildon-widgets/hildon-set-password-dialog.c
1832 * hildon-widgets/hildon-sort-dialog.c
1833 * hildon-widgets/hildon-time-editor.c
1834 * hildon-widgets/hildon-time-picker.c
1835 * hildon-widgets/hildon-volumebar-private.h
1836 * hildon-widgets/hildon-volumebar-range.c
1837 * hildon-widgets/hildon-volumebar.c
1838 * hildon-widgets/hildon-vvolumebar.c
1839 * hildon-widgets/hildon-weekday-picker.c
1840 * hildon-widgets/hildon-wizard-dialog.c
1843 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1845 * configure.ac: 0.10.0
1847 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1849 Some more properties for Gazpacho support,
1851 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1852 * hildon-widgets/hildon-color-selector.c: "color"
1855 * hildon-widgets/hildon-color-selector.[ch]
1856 (hildon_color_selector_get_color): return const pointer to the
1859 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1862 Gazpacho support, added the following properties:
1864 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1865 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1866 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1867 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1868 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1869 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1870 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1871 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1872 * hildon-widgets/hildon-number-editor.c: "value"
1874 * hildon-widgets/hildon-color-button.c: minor cleanup
1877 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1879 Started new development
1880 (branche for maintenance continues with versions 0.9.x)
1882 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1884 * configure.ac: 0.9.53
1886 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1889 N#19283 Control panel - The values entered are not saved.
1890 N#19648 Hildon Date Editor widget detects values too high
1891 (note: complete fix include also fixes in GTk+)
1893 * hildon-widgets/hildon-calendar-popup.c
1894 (hildon_calendar_popup_set_property),
1895 (hildon_calendar_popup_class_init),
1896 (init_dmy): Added 'min-year', 'max-year' properties for passing
1897 the information through from HildonDateEditor to GtkCalendar
1899 * hildon-widgets/hildon-date-editor.c:
1900 (hildon_date_editor_class_init),
1901 (hildon_date_editor_init),
1902 (hildon_date_editor_set_property),
1903 (hildon_date_editor_get_property),
1905 (hildon_date_editor_entry_validate),
1906 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1907 properties and replaced hardcoded constants with them
1909 * hildon-widgets/hildon-date-editor.c
1910 (hildon_date_editor_d_entry_changed),
1911 (hildon_date_editor_m_entry_changed),
1912 (hildon_date_editor_d_entry_changed): new functions to ensure that
1913 the fields are validated and the focus is moved when maximum
1914 number of characters has been entered.
1916 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1918 * configure.ac: 0.9.52
1920 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1922 N#19140 System alerts still audible despite being turned off
1924 * hildon-widgets/hildon-note.c (sound_handling):
1926 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1928 * hildon-note.c (sound_handling): Changed to use new
1929 hildon_play_system_sound.
1930 (hildon_note_init): Signal handler id is changed to be in private
1931 structure, not in global variable.
1933 * hildon-note.c: Removed unused defines etc.
1935 * Makefile.am: Appended new files to build rules.
1937 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1939 * configure.ac: 0.9.51
1941 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1943 N#20027 PDF Reader crashes on selecting read only option in the
1946 * hildon-widgets/hildon-file-details-dialog.c:
1947 (change_state): Fixed assertion that was causing problems
1948 (check_validity): New function: We now automatically close the
1949 dialog if the displayed file is removed.
1950 (handle_focus): Callback removed:
1951 (init): Now using correct gtk way to bind container and adjustment
1952 together. Not the previous callback.
1953 (set_property): Connecting/disconnecting new handlers (for
1955 (finalize): disconnecting new handler.
1957 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1959 N#17918 Volumebar widget background image doesn't change when
1960 widget goes into mute state,
1962 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1965 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1966 using the state of the internal volumebar, not the whole container
1968 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1969 using the state of the internal volumebar, not the whole container
1971 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1973 * hildon-widgets/hildon-dialoghelp.[ch]: added
1974 gtk_dialog_help_disable and fixed bug N#19468
1976 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
1978 * configure.ac: Release 0.9.50
1980 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
1984 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1986 * hildon-widgets/hildon-grid.c
1987 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1988 label by logical name "Ckct_wi_grid_no_items"
1991 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
1993 * po/en_GB.po (ecdg_ti_verify_password): translation update.
1995 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1997 * configure.ac: Release 0.9.49
1999 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2001 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2002 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2003 Save the id of the idle callback and remove it when the widget is
2004 destroyed to avoid crashing. N#18096
2006 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2008 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2009 id's are unsigned and undefined at zero (instead of signed and -1)
2011 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2013 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2014 that was not working. N#16805
2016 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2018 * configure.ac: Release 0.9.48
2020 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2022 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2023 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2024 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2026 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2028 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2029 Do not override the week-start property of GtkCalendar according to
2030 the hildon-libs PO file, it is automatically determined from locale
2033 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2035 * configure.ac: Release 0.9.47
2037 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2039 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2040 property for setting the password entry accept only numeric values.
2043 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2045 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2046 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2047 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2048 Use defines rather than magic numbers in the code.
2050 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2052 Update to new l10n packaging style. po-files (inside this package)
2053 are not used for now, the message catalogs come from separate packages
2054 and including them here would conflict.
2056 * Makefile.am (SUBDIRS): stop including po-files
2057 * Makefile.am (EXTRA_DIST):
2058 * debian/hildon-libs-l10n-engb.install:
2059 * debian/hildon-libs-l10n-src.install:
2060 * po/debian/*: Removed
2062 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2064 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2065 checks to cover gateway content as well.
2067 * hildon-widgets/hildon-time-editor.c:
2068 (hildon_time_editor_validate): Replace solid numbers with defined
2070 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2073 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2075 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2076 invalid cast from `GdkWindow' to `GtkWindow'
2078 * hildon-widgets/hildon-color-popup.c
2079 (hildon_popup_palette_expose): removed debug printing
2081 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2083 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2086 * hildon-widgets/hildon-scroll-area.c
2087 (hildon_scroll_area_destroy): one-instruction function:
2088 removed. Call g_free directly.
2090 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2091 right edge of window, size of the child is also shrinked. 'fixed'
2092 does not automatically update this data -> Doing it manually.
2094 * hildon-widgets/hildon-date-editor.h: added
2095 HildonDateEditorErrorType error enumeration type, removed signal
2096 "validate-date" virtual function, added signal "date-error"
2099 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2100 added custom info prints.
2101 (hildon_date_editor_validate_date): removed
2102 (hildon_date_editor_entry_validate): validate maximum and minimum
2103 limits on each field.
2104 (hildon_date_editor_entry_focus_out): check the date validation
2105 in simpler manner, don't put content if field is empty (spec
2106 doesn't say if there should be anything placed in the entry if
2108 (hildon_date_editor_get_date),
2109 (hildon_date_editor_get_month),
2110 (hildon_date_editor_get_year),
2111 (hildon_date_editor_get_day): use direct entry content, so that 0
2112 indicates empty entry, and information is more accurate.
2114 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2116 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2118 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2119 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2121 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2123 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2125 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2127 * hildon-widgets/hildon-number-editor.c:
2128 (hildon_number_editor_select_all): new function, selects all
2129 the text in the entry.
2130 * hildon-widgets/hildon-number-editor.c: added several calls to
2131 hildon_number_editor_select_all with g_idle_add.
2133 * hildon-controlbar.c : add signal when end reached
2135 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2137 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2139 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2141 Fixed incorrect values in <Filetype> Details Dialog
2143 Fixed help button usage in dialogs
2145 * hildon-dialoghelp.c: Added more documentation about the
2148 * hildon-file-details-dialog.c: Updated to match
2149 'File Management in OSSO' version 3.0
2151 * Fixed application hang after calling gtk_main_quit
2153 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2154 ESC presses needlessly
2156 * hildon-time-editor.c: Fixed memory corruption