1 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
3 * applied fix for sending correct state for fullscreen (hildon-app.c),
6 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
9 * hildon-widgets/hildon-window.c:
10 - hildon_window_toggle_menu now returns whether or not something was
12 - hildon_window_key_press_event(): when handling the menu hard key,
13 return TRUE if we actually handled it
14 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
15 now returns if something was done
16 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
17 if we actually handled the menu hard key.
19 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
21 * applied thumb flag for compilation, fixes N#26660
23 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
25 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
28 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
30 * configure.ac: 0.12.10
33 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
35 * doc/hildon-libs-docs.sgml: added index for new symbols.
38 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
40 * doc/Makefile.am (version.xml): generates version.xml
41 * doc/hildon-libs-docs.sgml: added &version; entity, and display
42 the version number in the doc title.
45 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
47 Minor changes for gtk-doc
49 * hildon-weekday-picker.h
50 * hildon-name-password-dialog.c
51 * hildon-calendar-popup.h
52 * hildon-range-editor.h
53 * hildon-volumebar-range.h
56 * hildon-time-editor.c
58 * hildon-date-editor.h
61 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
63 * hildon-widgets/hildon-time-editor.c
64 (hildon_time_editor_set_show_hours)
65 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
68 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
71 * hildon-widgets/hildon-time-editor.c
72 (hildon_time_editor_entry_keypress): use
73 hildon_gtk_button_set_depressed, provided by osso-GTK, since
74 2.6.10-1.osso4, instead of GTK private symbol
75 _gtk_button_set_depressed
78 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
80 From Murray Cummings (M#185 M#283), with slight changes:
82 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
83 can disable the regeneration of hildon-libs-enum-types.[h|c], also
84 based on the gnome-vfs build.
86 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
87 hildon-libs-enum-types.[h|c], and build them, based on the
88 gnome-vfs build. This adds GTypes for the enums, needed for
89 accurate signal registration, needed by bindings.
91 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
92 default signal handler to range_error, so it has the same name as
93 the signal, as expected by bindings.
95 * hildon-widgets/hildon-marshalers.list: Change to the now-used
98 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
99 since hildon_note_type_get_type is defined manually and
100 glib-mkenums should ignore this enum.
102 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
103 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
105 Correct the signal registration for:
107 * hildon-widgets/hildon-app.c
108 (hildon_app_class_init):
114 * hildon-widgets/hildon-date-editor.c
115 (hildon_date_editor_class_init):
118 * hildon-widgets/hildon-find-toolbar.c
119 (hildon_find_toolbar_class_init):
123 "history_append signals"
125 * hildon-widgets/hildon-grid.c
126 (hildon_grid_class_init):
129 * hildon-widgets/hildon-number-editor.c
130 (hildon_number_editor_class_init):
134 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
136 M#90 - Use standard GLib macro names.
137 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
139 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
140 * hildon-widgets/hildon-calendar-popup.h:
141 * hildon-widgets/hildon-date-editor.h:
142 * hildon-widgets/hildon-range-editor.h:
143 * hildon-widgets/hildon-weekday-picker.h:
144 * hildon-widgets/hildon-volumebar-range.h:
147 * hildon-widgets/hildon-calendar-popup.c:
148 * hildon-widgets/hildon-date-editor.c:
149 * hildon-widgets/hildon-range-editor.c:
150 * hildon-widgets/hildon-volumebar-range.c:
151 * hildon-widgets/hildon-weekday-picker.c:
154 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
156 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
157 for Ok and Cancel buttons.
159 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
161 * configure.ac: 0.12.9
163 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
165 * hildon-widgets/hildon-color-button.c
166 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
170 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
172 * hildon-widgets/hildon-time-editor.c
173 (convert_to_12h): removed m and s paramters (useless)
174 (convert_to_24h): likewise.
177 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
179 Automatic focus movement for HildonTimeEditor (IMP-13)
181 * hildon-widgets/hildon-time-editor.c
182 (hildon_time_editor_init): connect after signal "insert_text"
183 (hildon_time_editor_inserted_text): new function.
184 On inserted text, if entry has two digits, jumps to the next field.
187 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
189 Pops up the color selector on 'select' hardkey (IMP-15)
191 * hildon-widgets/hildon-color-button.c
192 (hildon_color_button_init): connect "key-release-event"
193 (hildon_color_button_key_released): new function.
194 Pops up the color selector on 'select' hardkey release
197 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
199 Hildon grid, set items to be focus-and-activate instead of single
200 tap activation (IMP-14)
202 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
203 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
206 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
208 Fetch hours/minutes/seconds separators from current locale (IMP-8)
211 * hildon-widgets/hildon-time-editor.c
212 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
213 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
214 (hildon_time_editor_finalize): free separator symbols
215 (get_time_separators): new function. Get time separators from locale.
216 (hildon_time_editor_check_locale): call get_time_separators.
218 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
220 Removed icon for mandatory fields (IMP-3).
221 Note: the logic and API to specify mandatory fields is preserved.
223 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
224 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
225 (hildon_caption_set_property): case PROP_STATUS, removed related code.
226 (hildon_caption_set_label_alignment): removed related code.
229 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
231 * configure.ac: 0.12.8
233 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
235 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
238 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
240 - Added support for Pango markup
241 Added hildon_banner_show_information_with_markup
242 - Removed hildon_banner_show_confirmation
243 - Re-position the banner when its content changes
244 - Banner now doesn't truncate strings nor insert linebreaks
245 - fixes N#24339 - Information banners do not resize
247 * hildon-widgets/hildon-banner.[ch]
248 (hildon_banner_show_information_with_markup): new function. Adds
249 pango markup support for information banners.
251 (hildon_banner_show_confirmation): removed. 'confirmation' was
252 used only for the taask navigator (at most). It should use
253 _show_information_with_markup with appropriate markup.
255 (hildon_banner_set_markup): new function.
257 (hildon_banner_check_position): new function. Factor code from
258 hildon_banner_realize(), and update position calculation.
260 (struct _HildonBannerPrivate): removed max_lines.
261 Uses as much lines as needed.
263 (hildon_banner_init): set banner label to wrap lines.
265 (hildon_banner_set_text): do not truncate. Update banner's position.
267 (hildon_banner_set_markup): new function.
268 Set banner's text with Pango markup.
270 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
273 * hildon-widgets/gtk-infoprint.c
274 (gtk_confirmation_banner): use hildon_banner_show_information
275 instead of _show_confirmation.
276 (gtk_confirmation_banner_with_icon_name): likewise.
279 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
281 * hildon-widgets/hildon-color-button.c
282 (hildon_color_field_expose_event): correct parameter order.
285 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
287 * hildon-widgets/hildon-window.c:
288 - Fixed a potential infinite loop when detaching the menus
289 from the window widget (Closes N#26033)
291 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
293 * hildon-widgets/hildon-window.c:
294 - Fixed a bug that made window fullscreen state tracking fail
295 - Apply correct theming to menus so that they get placed
296 correctly (Fixes N#24325)
297 - Redraw the window borders if the size of the toolbar vbox changes
298 - Reset the program to NULL in hildon_window_destroy
299 - Stop the ESC key-press timeout when the window loses the focus
301 * hildon-widgets/hildon-program.c:
302 - Reset the common toolbar to NULL when the program is finalised
304 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
306 * hildon-widgets/hildon-get-password-dialog.h,
307 hildon-widgets/hildon-get-password-dialog.c
308 (hildon_get_password_dialog_new,
309 hildon_get_password_dialog_new_with_default): Renamed
310 get_old_password_title parameter to "get_old" to correspond with
311 the property name. This helps the C++ bindings.
312 * ut/hildon-widgets_tests.c (test43, test44): New.
314 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
316 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
317 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
322 * hildon-lgpl/hildon-caption.c:
323 (hildon_caption_init): Do the hildon_caption_set_child_expand()
325 (hildon_caption_new): Use the child property from GtkContainer
326 instead of calling gtk_container_add(), because _new() functions
327 should just use g_object_new(), so that language-bindings can do
330 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
332 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
334 * configure.ac: 0.12.7
336 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
339 * hildon-widgets/hildon-font-selection-dialog.c
340 (REFERENCE_LINE): removed
341 (hildon_font_selection_dialog_show_preview): added l10n support
342 for the reference string (use to differentiate sub/super script in
344 (hildon_font_selection_dialog_show_preview): likewise
347 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
349 * po/en_GB.po: update
351 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
353 * hildon-widgets/hildon-add-home-dialog.c
354 (hildon_add_home_dialog_init): removed i18n support (deprecated
355 widget. Hinder logical ID processing)
356 (hildon_add_home_dialog_new): likewise.
358 * hildon-widgets/hildon-insert-object-dialog.c
359 (hildon_insert_object_dialog_init): likewise.
362 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
364 * hildon-widgets/hildon-font-selection-dialog.c
365 (hildon_font_selection_dialog_construct_notebook): logical ID typo
368 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
370 * hildon-widgets/hildon-window.[ch]:
371 - update the title when the window is realized
372 - added support for long press on the ESC key. Fixes N#24620
374 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
376 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
378 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
380 * hildon-widgets/hildon-seekbar.c
381 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
383 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
385 * configure.ac: 0.12.6
387 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
389 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
390 fixed typo GKD_Left -> GDK_Left, N#24042
393 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
399 Updated logical id to lower case: Ckct_ -> ckct_
400 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
401 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
402 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
403 (hildon_range_editor_init, hildon_range_editor_entry_validate)
404 (hildon_range_editor_entry_validate):
405 * hildon-widgets/hildon-time-editor.c (validated_conversion)
406 (validated_conversion, hildon_time_editor_real_validate):
407 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
411 Updated logical id to lower case: Ecdg_ -> ecdg_
412 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
413 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
414 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
415 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
416 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
417 (hildon_wizard_dialog_create_title):
418 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
419 (hildon_find_toolbar_init):
420 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
421 (hildon_note_rebuild, hildon_note_set_button_text):
424 Removed i18n support for property description,
425 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
428 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
430 * configure.ac: 0.12.5
432 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
434 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
435 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
438 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
440 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
443 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
445 Cleanup wizard dialog,
447 * hildon-widgets/hildon-wizard-dialog.c
448 (struct HildonWizardDialogPrivate): removed 'previous_button'
449 and 'next_button' (obsolete)
451 (hildon_wizard_dialog_response): new private function. Handles the
452 'response' signal and replaces direction_button_clicked() in
453 taking care of notebook page changes and button dimming.
455 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
456 added to the dialog as response buttons. This enables the usage of
457 GtkDialog API for setting their sensitiveness.
459 (dimming/undimming): Connected hildon_wizard_dialog_response to
460 "resonse" signal. Removed useless title creation because it
461 depends on the notebook which is not yet created.
463 (hildon_wizard_dialog_set_property): minor code cleanup
465 (hildon_wizard_dialog_create_title): removed useless else-if
468 * hildon-widgets/hildon-wizard-dialog.h
469 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
472 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
473 adding the page_change signal, as the application can now track
474 the response signal instead.
477 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
479 * configure.ac: 0.12.4
482 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
486 moved widget descriptions to respective source file (*.c)
490 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
494 * hildon-widgets/hildon-color-button.c:
495 - removed unused #include
496 - removed unused gettext macro
498 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
499 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
500 + value updated to match specifications
502 (struct _HildonColorButtonPrivate):
503 removed 'drawing_area' and 'pixbuf' members (unused)
505 (hildon_color_button_init):
506 use drawing_area directly, update COLOR_FILLED_ macro names
508 (hildon_color_button_unrealize): new function.
509 (hildon_color_button_class_init): register unrealize function
510 (hildon_color_button_finalize): free allocated GC in unrealize
511 handler instead of in finalize.
513 (hildon_color_button_recolor_pixbuf): removed. (use
514 gdk_draw_rectangle() instead)
515 (hildon_color_button_draw_pixbuf_borders): likewise
517 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
519 (hildon_color_button_set_property): queue the drawing - instead of
520 calling recolor_pixbuf
522 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
525 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
527 More cleanup for range editor,
529 * hildon-widgets/hildon-range-editor.[ch]
530 - removed useless includes
531 (hildon_range_editor_new_with_separator): set char parameter 'const'
533 * hildon-widgets/hildon-range-editor.c
534 - removed useless includes
535 - rewritten a lot of functions because code was inefficient.
536 - removed useless g_return_if_fail calls from various functions.
538 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
539 (hildon_range_editor_entry_keypress): rewritten
540 (hildon_range_editor_entry_focus_out): rewritten
541 (hildon_range_editor_refresh_widths): New function
542 (hildon_range_editor_set_range): Make sure that the values are in
544 (hildon_range_editor_set_lower): rewritten.
545 (hildon_range_editor_set_higher): rewritten.
546 (hildon_range_editor_set_min): rewritten.
547 (hildon_range_editor_set_max): rewritten.
549 (hildon_range_editor_entry_validate): New validator function
550 (hildon_range_editor_entry_changed): New signal handler for
551 "changed" for entries, this will now validate whenever entry changes.
553 (hildon_range_editor_entry_focus_out): Added g_assert for
554 editor. Removed call to hildon_range_editor_apply_current_range().
555 Added call to the new function hildon_range_editor_entry_validate()
558 (hildon_range_editor_init): connected
559 hildon_range_editor_entry_changed to "changed" for entries.
562 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
564 Major cleanup for time editor
566 * hildon-widgets/hildon-time-editor.c
567 - removed unused #includes.
568 - Removed useless g_return_if_fail(editor) calls
569 (HILDON_IS_TIME_EDITOR does this check as well for us).
571 (hildon_time_editor_add_style): removed, obsolete.
572 (hildon_time_editor_mnemonic_activate): removed, obsolete
573 (hildon_time_editor_get_max_values): removed, obsolete.
575 (validated_conversion): New helper function
577 (hildon_time_editor_entry_changed): New function, now the widget
578 interactively validates the inputted contents (not requiring focus
581 (ticks_to_time): rewritten, using less arithmetic operations.
582 (hildon_time_editor_validate): rewritten
583 (hildon_time_editor_set_ticks): rewritten
584 (hildon_time_editor_set_duration_mode): rewritten
585 (hildon_time_editor_entry_keypress): rewritten
587 * hildon-widgets/hildon-time-editor.[ch]
588 (hildon_time_editor_set_show_hours)
589 (hildon_time_editor_get_show_hours) new functions to show/hide hours
592 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
594 Cleanup number editor
596 * hildon-widgets/hildon-number-editor.c:
597 (SPACE_BORDER): removed
599 (hildon_number_editor_size_request):
600 (hildon_number_editor_size_allocate): updated to use hildondefines
602 (hildon_number_editor_mnemonic_activate): function removed,
603 mnemonic are not used
605 (hildon_number_editor_stop_repeat_timer): new function, to avoid
607 (hildon_number_editor_button_release):
608 (hildon_number_editor_finalize): updated to use new function
610 (hildon_number_editor_entry_keypress): completely rewritten
611 (change_numbers): likewise
612 (do_mouse_timeout): likewise
613 (hildon_number_editor_set_range): likewise
615 (hildon_number_editor_validate_value): new function, used for all
617 (hildon_number_editor_focus_out):
618 (hildon_number_editor_entry_changed): updated to use previous.
620 (hildon_number_editor_real_set_value): new function that formats
621 given int to field. Used by change_numbers and set_value
623 (integer_to_string): removed, we now have one place that
624 converts numbers and that uses buffer from stack.
625 (hildon_number_editor_set_value): changed to use new format function.
628 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
630 * hildon-widgets/hildon-time-picker.c:
631 reorganized how the widgets are stored to reduce code
632 (HildonTimePickerWidgetGroup): new struct
633 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
634 (hildon_time_picker_init)
635 (hildon_time_picker_arrow_press)
636 (hildon_time_picker_event_box_key_press)
637 (hildon_time_picker_change_time)
638 (hildon_time_picker_map)
639 (hildon_time_picker_event_box_key_release): use new widget organization
642 (hildon_time_picker_init): return value from nl_timeinfo() is
643 valid only until it's called again, so g_strdup() the value when
646 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
647 (HILDON_TIME_PICKER_LABEL_X_PADDING)
648 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
649 (hildon_time_picker_set_time):
650 (hildon_time_picker_get_time):
651 (hildon_time_picker_ampm_release): used the new defines
653 (struct _HildonTimePickerPrivate)
654 (hildon_time_picker_init)
655 (hildon_time_picker_event_box_key_press)
656 (hildon_time_picker_change_time):
657 - c12h renamed to show_ampm,
658 - ampo_pos renamed to ampm_left.
660 (hildon_time_picker_timeout): renamed to
661 hildon_time_picker_key_repeat_timeout(),
662 and renamed parameter to 'hildon_time_picker'
664 (hildon_time_picker_event_box_press): renamed to
665 hildon_time_picker_event_box_button_press()
667 (hildon_time_picker_finalize): Added finalizer to make sure the
668 key repeat timeout handler gets removed.
670 (hildon_time_picker_arrow_press): Placed multipliers into
671 button_multipliers[] array to avoid multiple if/then/else
675 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
677 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
678 calculates correctly which items will be visible. Fixes N#16991.
681 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
683 * hildon-widgets/hildon-find-toolbar.c
684 (hildon_find_toolbar_history_append): set "column" property only
685 after model has been set.
688 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
690 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
691 the parameter more descriptively
694 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
698 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
700 * hildon-widgets/hildon-app.[ch]
701 (hildon_zoom_level_get_type): removed G_CONST_RETURN
703 * hildon-widgets/hildon-app.c:
704 - removed HILDON_DISABLE_DEPRECATED flags
705 - added g_assert'ions to internal functions
708 (hildon_app_button): Move the fixed define to the function itself,
709 add simple autodetection, clean up comments.
711 (hildon_app_key_release): Remove bogus argument to signal emission
712 (not needed), emit the "fullscreen_state_change" directly instead
713 of calling set_fullscreen.
715 (hildon_app_construct_title): removed dead code
717 (hildon_app_register_view_with_id): do not call g_slist_nth() to
718 get the first element...
721 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
723 * hildon-widgets/hildon-appview.c:
724 (hildon_appview_init): indented comments properly
725 (paint_toolbar): indented comments properly
726 (hildon_appview_expose): indented code properly
727 (hildon_appview_toolbar_toggle_request): removed dead code
730 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
732 * hildon-widgets/hildon-caption.c
733 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
734 (hildon_caption_size_allocate): likewise.
735 (hildon_caption_forall): likewise.
738 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
740 Cleanup Find toolbar,
742 * hildon-widgets/hildon-find-toolbar.[ch]
743 (hildon_find_toolbar_new): set 'label' parameter const.
744 (hildon_find_toolbar_new_with_model): likewise.
746 * hildon-widgets/hildon-find-toolbar.c
747 (struct _HildonFindToolbarPrivate):
748 changed entry_combo_box type to GtkComboBoxEntry*
750 (hildon_find_toolbar_get_list_model): new function, to factor
751 member access and casting
752 (hildon_find_toolbar_get_entry): likewise.
753 (hildon_find_toolbar_apply_filter): removed set_column parameter
754 since it was used by only one caller, and made the caller do it
755 instead. Removed unnecessary casts.
757 (hildon_find_toolbar_find_string): new function.
758 (hildon_find_toolbar_history_append): code cleanup. use
759 hildon_find_toolbar_find_string.
761 (hildon_find_toolbar_get_property)
762 (hildon_find_toolbar_get_entry)
763 (hildon_find_toolbar_init)
764 (hildon_find_toolbar_new)
765 (hildon_find_toolbar_new_with_model)
766 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
767 and changed some of them to use the new convenience functions
770 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
771 instead of if-check to validate parameter.
774 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
776 Cleanup hildon-defines,
778 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
779 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
781 (hildon_logical_data_free): new function. Free logical data.
782 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
783 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
785 * hildon-widgets/hildon-defines.[ch]
786 (hildon_gtk_widget_set_logical_font): use const gchar*
787 (hildon_gtk_widget_set_logical_color): likewise.
789 * hildon-widgets/hildon-defines.c:
790 (hildoniconsizes): set const
791 (hildoninternaliconsizes): set static, renamed 'iis'
794 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
796 Cleanup Caption widget,
798 * hildon-lgpl/hildon-caption.[ch]
799 (hildon_caption_status_get_type, hildon_caption_get_type):
800 G_CONST_RETURN removed, G_GNUC_CONST added
802 * hildon-widgets/hildon-caption.c
804 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
806 (hildon_caption_set_property): removed useless code.
807 (hildon_caption_button_press): simplified greatly by removing the
808 unnecessary recursion to locate the first focusable child of a
809 container - simple gtk_widget_grab_focus achieves the same
810 (get_first_focusable_child): removed (not used anymore)
812 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
814 (hildon_caption_set_focus_child): removed (not used anymore)
815 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
817 (hildon_caption_hierarchy_changed): type check added
818 (hildon_caption_forall): callback null check added
819 (hildon_caption_set_status): type check added
820 (hildon_caption_set_icon_image): type check added
821 (hildon_caption_activate): activate_block kludge removed as outdated
822 (hildon_caption_get_child_expand): argument declared const
823 (hildon_caption_set_label_text): g_return_if_fail changed to
824 g_assert since this is not a public function;
825 Duplicate separator check now uses correct localized separator
826 instead of assuming ':'
829 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
833 * hildon-lgpl/hildon-appview-c:
834 (hildon_app_view_init): Fixed a problem that prevented to set an
835 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
836 between toolbars). This fix involves a change in the default gtkrc
837 file, ie. the modification of the 'border' value of the
838 "toolbar-frame-middle" image in the osso-appview-background style.
840 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
841 widget supporting adjustements, not only viewports.
843 (visible_toolbar): use proper parameter names
844 (find_findtoolbar_index): likewise.
845 (find_findtoolbar): likewise.
847 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
848 (hildon_appview_finalize): likewise.
849 (hildon_appview_signal_marshal): likewise.
850 (hildon_appview_forall): likewise.
851 (hildon_appview_switched_to): likewise.
852 (hildon_appview_real_fullscreen_state_change): likewise.
855 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
857 * hildon-widgets/hildon-date-editor.c
858 (hildon_date_editor_entry_validate): Now, if an invalid date is
859 entered, date-editor reverts to previous date, instead of setting
860 the maximum allowed days.
863 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
865 * hildon-widgets/hildon-date-editor.h
866 (enum HildonDateEditorErrorType): added NO_ERROR entry.
868 * hildon-widgets/hildon-date-editor.c
869 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
870 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
873 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
875 * hildon-widgets/hildon-get-password-dialog.c:
876 (hildon_get_password_dialog_set_title): Removed the deprecation
877 #ifdefs from the .c file.
879 * hildon-widgets/hildon-file-handling-note.c: likewise.
883 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
885 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
887 * hildon-widgets/hildon-color-selector.c
888 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
889 (hildon_color_selector_expose)
890 (hildon_color_selector_get_color)
891 (hildon_color_selector_set_color)
894 (modify_focused): Separate selected color and focused color.
895 Focused color now draws a different colored border around it.
896 Renamed modify_selected() to modify_focused().
898 * hildon-widgets/hildon-color-selector.c
899 (hildon_color_selector_expose)
900 (select_color): Changed the logic in how the box positions are
901 calculated. The old logic was wrong, but just happened to work
902 with those specific values.
904 * hildon-widgets/hildon-color-selector.c
905 (hildon_color_selector_expose): Draw the selected-border using
906 ImageBorderColor color instead of hardcoded black.
909 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
911 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
912 removed current_color; use initial_color directly.
913 Disabled select-hardkey from activating to OK-button by default.
916 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
918 * hildon-widgets/hildon-date-editor.c
919 (hildon_date_editor_keypress): removed the unnecessary check for
920 the position of the cursor in the text-field which was hindering
921 the Left key from working as expected.
924 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
926 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
927 after setting the toggle_button active. Prevents GLIB_CRITICALs.
929 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
931 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
934 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
936 * hildon-widgets/hildon-font-selection-dialog.c
937 (hildon_font_selection_dialog_show_preview): set line wrap for
941 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
943 * hildon-widgets/hildon-date-editor.c
944 (hildon_child_forall): cast 'container'
945 (hildon_date_editor_size_allocate): adjusted height allocation.
948 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
950 Cleanup calendar popup,
952 * hildon-widgets/hildon-calendar-popup.c:
953 - updated 'longdesc' comment.
954 - removed gtk-infoprint.h from included headers (unused).
956 (struct HildonCalendarPopupPrivate): removed member
957 'can_exit' (useless).
958 (hildon_calendar_day_selected): removed (useless).
959 (hildon_calendar_allow_exit): likewise.
960 (hildon_calendar_deny_exit): likewise.
962 (hildon_calendar_selected_date): new function. replaces
963 hildon_calendar_allow_exit()
965 (hildon_calendar_popup_init):
966 - Removed initialization for 'can_exit'.
967 - Removed connection to removed useless functions.
968 - Connect "selected_date" to hildon_calendar_selected_date().
969 - Do not grab the focus (useless)
971 (hildon_key_pressed): just handle ESC and Return keys.
973 (hildon_calendar_popup_get_property): removed unused variables.
976 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
978 * hildon-widgets/hildon-caption.c
979 * hildon-widgets/hildon-composite-widget.h
980 * hildon-widgets/hildon-get-password-dialog.c
981 * hildon-widgets/hildon-grid.h
982 * hildon-widgets/hildon-grid-item.h
983 * hildon-widgets/hildon-volumebar-range.c
984 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
986 (hildon_controlbar_get_type): likewise.
988 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
990 * doc/hildon-libs.types: Add missing types
991 * doc/hildon-libs-docs.sgml: Add missing links and some organization
992 * doc/tmpl/*: Regenerate and add new files
994 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
997 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
999 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1001 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1002 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1004 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1008 * doc/Makefile.am: Update gtk-doc framework bits
1009 * gtk-doc.make (commit generated file)
1010 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1012 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1013 * hildon-widgets/hildon-code-dialog.c:
1017 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1019 * hildon-widgets/hildon-window.c: propagate key-press event to the
1020 parent class (Closes N#23400)
1021 * configure.ac: 0.12.3
1023 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1025 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1027 * configure.ac: 0.12.2
1030 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1032 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1033 g_assert instead of g_return_val_if_fail
1038 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1040 * hildon-widgets/hildon-get-password-dialog.[ch]:
1041 (hildon_get_password_dialog_set_title) marked deprecated.
1043 + cleanup header coding style
1046 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1048 Cleanup font selection dialog
1050 * hildon-widgets/hildon-font-selection-dialog.c
1052 (hildon_font_selection_dialog_construct_notebook): removed dummy
1055 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1057 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1058 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1060 (toggle_clicked): renamed argument 'data' to 'unused'
1062 (hildon_font_selection_dialog_set_preview_text): added proper
1066 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1068 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1069 removed console messages.
1072 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1074 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1075 (struct _HildonSortDialogPrivate):
1076 - removed okButton, cancelButton
1077 - removed sort_by_value, sort_order_type
1078 - removed index_first
1079 - renamed combo1 to combo_key
1080 - renamed caption1 to caption_key
1081 - renamed combo2 to combo_order
1082 - renamed caption2 to cpation_order
1084 (hildon_sort_dialog_init): removed init of unused fields.
1085 use new field names.
1086 (hildon_sort_dialog_get_sort_key): likewise.
1087 (hildon_sort_dialog_get_sort_order): likewise.
1088 (hildon_sort_dialog_set_sort_key): likewise.
1089 (hildon_sort_dialog_set_sort_order): likewise.
1090 (hildon_sort_dialog_add_sort_key): likewise.
1092 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1094 * hildon-widgets/hildon-date-editor.c
1095 (hildon_child_forall): use g_assert instead of g_return_if_fail
1096 (hildon_date_editor_entry_validate): likewise.
1099 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1101 * hildon-widgets/hildon-controlbar.c
1102 (hildon_controlbar_change_value): commented function.
1104 * hildon-widgets/hildon-wizard-dialog.c
1105 (hildon_wizard_dialog_get_property): likewise.
1108 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1110 Cleanup weekday picker,
1112 * hildon-widgets/hildon-weekday-picker.c
1113 (_): removed unused gettext macro
1114 (button_toggle): use meaningful parameter name
1115 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1116 (hildon_weekday_picker_size_allocate): likewise.
1117 (button_toggle): likewise.
1120 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1122 Cleanup time editor,
1124 * hildon-widgets/hildon-time-editor.c
1125 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1126 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1127 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1128 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1130 (struct _HildonTimeEditorPrivate):
1131 - h_entry, m_entry, s_entry replaced by entries[],
1132 allows to remove a lot of code.
1133 - label renamed to hm_label
1134 - label2 renamed to sec_label
1135 - ampm renamed to ampm_label
1136 - show_s renamed to show_seconds
1137 - removed fields: icon, valid_value, validated
1139 + moved up in the file.
1141 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1143 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1145 (set_widget_allocation): removed
1146 (hildon_time_editor_entry_changed): removed
1148 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1150 (hildon_time_editor_forall): removed unnecessary code
1151 (hildon_time_editor_destroy): likewise.
1153 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1155 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1157 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1158 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1159 use new variable names,
1160 use hildon_time_editor_set_to_current_time
1162 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1163 (hildon_time_editor_set_ticks): use g_assert instead of
1164 g_return_if_fails, use
1165 'entries[]', removed dead code
1167 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1168 (hildon_time_editor_validate): use 'entries[]', removed dead code
1169 (hildon_time_editor_get_max_values): use 'entries[]'
1172 (hildon_time_editor_get_show_seconds): use new variable names
1173 (hildon_time_editor_set_duration_mode): likewise.
1175 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1177 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1179 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1181 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1183 (set_widget_allocation): removed (unused)
1184 (hildon_time_editor_entry_changed): removed (unused)
1186 (IS_VALID_KEYPRESS): new macro
1187 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1188 deleate dead/unnecessary code
1190 use IS_VALID_KEYPRESS
1192 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1194 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1196 (hildon_time_editor_size_allocate): cleanup
1197 (convert_to_12h): cleanup code style
1199 (hildon_time_editor_show_seconds): removed deprecation flag
1200 (hildon_time_editor_enable_duration_mode): likewise.
1203 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1205 Cleanup volume bars,
1207 * hildon-widgets/hildon-volumebar.h: removed unused #include
1208 + coding style cleanup
1210 * hildon-widgets/hildon-volumebar.c
1211 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1213 (hildon_child_forall): use g_assert instead of g_return_if_fail
1215 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1216 + coding style cleanup
1218 * hildon-widgets/hildon-volumebar-private.h:
1219 added missing #include.
1220 added _hildon_volumebar_mute_toggled.
1221 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1225 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1226 + coding style cleanup
1228 * hildon-widgets/hildon-vvolumebar.c
1229 (hildon_vvolumebar_size_request)
1230 (hildon_vvolumebar_size_allocate)
1231 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1233 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1235 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1236 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1237 (vvolumebar_init): renamed to hildon_vvolumebar_init
1238 (hildon_vvolumebar_init): removed unused 'orientation'
1239 initialisation. Use _hildon_volumebar_mute_toggled instead of
1240 removed hildon_vvolumebar_mute.
1244 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1246 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1247 renamed to hildon_hvolumebar_class_init
1249 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1250 hildon_hvolumebar_init
1252 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1255 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1256 removed unused 'orientation' initialisation.
1258 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1259 _hildon_volumebar_mute_toggled instead of removed
1260 hildon_hvolumebar_mute.
1263 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1267 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1268 coding style cleanup
1270 * hildon-widgets/hildon-color-popup.h: likewise.
1272 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1275 * hildon-widgets/hildon-color-selector.c
1276 (hildon_color_selector_new): use g_return_val_if_fail instead of
1278 (select_color): use g_assert instead of g_return_if_fail
1280 * hildon-widgets/hildon-calendar-popup.c
1281 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1285 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1287 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1288 added HildonCodeDialog widget
1291 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1293 * hildon-widgets/hildon-window.c:
1294 - set the toolbar height explicitely
1295 - use show instead of show_all on the common_toolbar
1296 - add the toolbars bottom-up instead of top-down
1297 * hildon-widgets/hildon-program.c:
1298 - don't assume that a window was realized when added to
1302 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1304 Cleanup font selection dialog,
1306 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1307 + coding style cleanup
1309 * hildon-widgets/hildon-font-selection-dialog.c
1310 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1311 instead of g_assert.
1313 * hildon-widgets/hildon-font-selection-dialog.c
1314 (hildon_font_selection_dialog_get_text_tag)
1315 (hildon_font_selection_dialog_set_buffer)
1316 (hildon_font_selection_dialog_get_font)
1317 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1320 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1322 Cleanup range editor,
1324 * hildon-widgets/hildon-range-editor.c
1325 (hildon_range_editor_calss_init):Removed
1326 widget_calss->mnemonic_activate init
1328 * hildon-widgets/hildon-range-editor.c
1329 (hildon_range_editor_mnemonic_activate): Removed static function
1330 hildon_range_mnemonic_activate and FIXME. It is useless even
1331 through it is overriding function for
1332 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1333 focus will be realized based on different applications.
1335 * hildon-widgets/hildon-range-editor.c
1336 (is_valid_keyvalue_for_entry_keypress): new function.
1338 * hildon-widgets/hildon-range-editor.c
1339 (hildon_range_editor_entry_keypress): uses
1340 is_valid_keyvalue_for_entry_keypress
1342 * hildon-widgets/hildon-range-editor.c
1343 (hildon_range_editor_forall): use g_return_if_fail instead of
1346 * hildon-widgets/hildon-range-editor.cvn
1347 (hildon_range_editor_mnemonic_activate): removed. (unused)
1350 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1352 Cleanup hildon-note,
1354 * hildon-widgets/hildon-note.[ch]
1356 (hildon_note_five_line_truncate): removed.
1357 (hildon_note_one_line_truncate): removed.
1359 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1360 instead of _{one|five}_line_truncate() functions.
1363 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1364 into wrapper of "hildon_note_new_information_with_icon_name".
1366 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1367 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1369 - removed some unnessecary includes.
1371 - Merged hildon_note_create & hildon_note_create_form and rewrote
1372 the combination as hildon_note_rebuild
1374 - Added missing g_return_* into public functions.
1376 - Acquire real references to children which are packed/unpacked,
1377 so we do not need to bother about refcounting while changing the
1381 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1385 * hildon-widgets/hildon-number-editor.c
1387 (set_widget_allocation): use const parameter.
1389 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1391 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1392 (hildon_number_editor_set_range): removed 'negative'
1395 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1396 use g_assert instead of g_return_if_fail
1399 * hildon-widgets/hildon-time-picker.c:
1400 - in several places, replace 1440 by 24*60
1401 (PROP_AMPM): removed, unused.
1402 (hildon_time_picker_timeout): use significant parameter name,
1404 (hildon_time_picker_init): removed useless call to _change_time()
1407 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1411 * hildon-widgets/hildon-seekbar.c
1413 (_): Removed dgettext macro definition.
1415 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1417 (hildon_seekbar_finalize): removed. not needed.
1418 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1420 (hildon_seekbar_size_request): indent cleanup.
1422 (hildon_seekbar_size_allocate): simplified function.
1424 (hildon_seekbar_button_press_event): Removed unused variables.
1425 (hildon_seekbar_button_release_event): likewise.
1428 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1430 Cleanup date editor,
1432 * hildon-widgets/hildon-date-editor.c
1434 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1435 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1437 (hildon_date_editor_get_font_width): removed (legacy static
1438 function), use gtk_entry_set_width_chars instead.
1440 (hildon_date_editor_mnemonic_activate): removed mnemonic
1441 activation handler, since it's no more used by HildonCaption.
1444 - Removed some meaningless code (if (somewidget != NULL)) from
1447 - HEAVILY modified key_press, completely removed if/grab_focus
1448 spaghetti by gtk_widget_child_focus
1450 - Removed input validation from keypress (that would not work
1451 anyway, since our input method do not generate presses). => This
1452 allows to change default return value to FALSE and remove all cases
1453 that just returned FALSE for some keys.
1455 - Merged all *_entry_changed callbacks to use the same
1456 function. Again using gtk_widget_child_focus, but now with return
1457 value as well to detect last field.
1459 - Changed that calendar button is no more implemented through
1460 changing widget hierarchy (old implementation caused critical
1461 issues when you used both stylus and hardkeys at the same time to
1462 popup. => finalize method no longer contained anything => removed
1464 - Locale type is no longer needed after initial setup.
1466 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1467 hack from the days of background dimming (it was important to
1468 process background updates before the dimming was done).
1470 - Changed the field order/delimeters to be correcly derived form
1473 - Rewrote validation function, combined it with validation done in
1474 focus_out (since both are now called at the same time).
1476 - Changed set_date function to set all components at one go
1477 without doing any validation there between (before setting each
1482 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1484 Cleanup set-password dialog
1486 * hildon-widgets/hildon-set-password-dialog.[ch]
1487 (hildon_set_password_dialog_set_domain): gchar * param is const
1488 (hildon_set_password_dialog_new_with_default): likewise.
1490 * hildon-widgets/hildon-set-password-dialog.c
1492 (hildon_set_password_set_property): setting 'modify-protection'
1495 (hildon_set_password_get_property): fixed broken 'domain' (missing
1496 break statement!) and 'modify-protection' (was a null operation)
1497 properties; code simplified.
1499 (hildon_set_password_dialog_constructor),
1501 (hildon_set_password_dialog_class_init),
1502 (hildon_set_password_dialog_init):
1503 hildon_set_password_dialog_constructor removed as weird and
1504 obsolete and replaced with new function create_contents; fixed
1505 leaking group variable; removed some unused, outdated code that
1506 was already commented out.
1508 (hildon_set_password_response_change),
1509 (hildon_set_password_response_set): GtkWindow *parent arguments
1510 changed to gpointer unused; cleaned up unnecessary strcmp's
1512 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1513 checkbox). gpointer renamed to be more descriptive; Code simplified
1515 (hildon_set_password_dialog_get_type): empty function argument
1516 list replaced with void keyword.
1518 (hildon_set_password_dialog_new),
1519 (hildon_set_password_dialow_new_with_default): simplified by
1520 having the simpler constructor call the more complex one, not vice
1521 versa; moved callback connects to create_contents since they
1522 depend on the status of 'modify-protection' property
1524 (hildon_set_password_dialog_get_password): type check added
1525 (hildon_set_password_dialog_get_protected): likewise
1526 (hildon_set_password_dialog_set_domain): likewise
1529 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1531 Cleanup name-password dialog:
1533 * hildon-widgets/hildon-name-password-dialog.[ch]
1535 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1536 types changed from *HildonCaption to *GtkEntry
1538 (hildon_name_password_dialog_set_property): layout fixes;
1539 duplicated code replaced with calls to relevant public functions
1541 (hildon_name_password_dialog_get_property): layout fixes;
1542 duplicated code replaced with calls to relevant public functions
1544 (hildon_name_password_dialog_init): fixed leaking group variable;
1545 reworked to have captions as local variables and captioned entries
1546 in the private struct
1548 (hildon_name_password_dialog_new_with_default): name and password
1549 arguments declared const
1551 (hildon_name_password_dialog_get_name): type check added + cleanup
1552 (hildon_name_password_dialog_get_password): likewise.
1554 (hildon_name_password_dialog_set_domain): domain argument declared
1555 const; type check added + cleanup
1558 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1560 Cleanup get-password dialog:
1562 * hildon-widgets/hildon-get-password-dialog.[ch]
1564 (HildonGetPasswordDialogPrivate): gboolean get_old added
1566 (hildon_get_password_set_property): fixed broken 'numbers-only'
1567 and 'max-characters' cases; 'get-old' property added
1569 (hildon_get_password_get_property): added support for reading
1570 'numbers-only' properties; added missing break to 'domain' case.
1571 added 'get-old' property
1573 (hildon_get_password_dialog_class_init): 'domain' and
1574 'numbers-only' properties are now readable; 'get-old' property
1577 (hildon_get_password_dialog_init, create_contents): everything
1578 that depends on the type of the dialog (i.e. 'get-old' property)
1579 is now done in create_contents after properties are initialized;
1580 fixed leaking group variable
1582 (hildon_get_password_dialog_get_type): empty function argument
1583 list replaced with void keyword
1585 (hildon_get_password_dialog_new): moved setting the labels of the
1586 get password dialog to init where it should be done; 'get-old'
1587 property set upon construction to achieve this
1589 (hildon_get_password_dialog_new_with_default): password argument
1592 (hildon_get_password_dialog_get_password): type check added
1593 (hildon_get_password_dialog_set_domain): type check added; domain
1594 argument declared const; duplicate function declaration removed
1596 (hildon_get_password_dialog_set_title): type check added;
1597 new_title argument declared const
1599 (hildon_get_password_dialog_set_caption): type check added;
1600 new_caption argument declared const
1602 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1603 (_invalid_input): gpointer data argument renamed unused
1606 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1608 (*_get_type): declared G_GNUC_CONST
1610 * hildon-widgets/hildon-app.h:
1611 * hildon-widgets/hildon-appview.h:
1612 * hildon-widgets/hildon-calendar-popup.h:
1613 * hildon-widgets/hildon-color-selector.h:
1614 * hildon-widgets/hildon-date-editor.h:
1615 * hildon-widgets/hildon-find-toolbar.h:
1616 * hildon-widgets/hildon-get-password-dialog.h:
1617 * hildon-widgets/hildon-name-password-dialog.h:
1618 * hildon-widgets/hildon-number-editor.h:
1619 * hildon-widgets/hildon-seekbar.h:
1620 * hildon-widgets/hildon-set-password-dialog.h:
1621 * hildon-widgets/hildon-sort-dialog.h:
1622 * hildon-widgets/hildon-time-editor.h:
1623 * hildon-widgets/hildon-weekday-picker.h:
1624 * hildon-widgets/hildon-wizard-dialog.h:
1626 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1630 * hildon-widgets/hildon-volumebar.c
1631 (hildon_volumebar_class_init): object class casts cleaned up
1632 (hildon_child_forall): removed unnecessary variable vbar; type check added
1633 (hildon_volumebar_set_property): removed unnecessary variable vbar
1634 (hildon_volumebar_set_level): type check added
1635 (hildon_volumebar_get_level): type check added
1636 (hildon_volumebar_set_mute): type check added
1637 (hildon_volumebar_get_mute): type check added
1638 (hildon_volumebar_get_adjustment): type check added
1639 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1641 * hildon-widgets/hildon-volumebar.h
1642 (hildon_volumebar_get_type): declared G_GNUC_CONST
1644 * hildon-widgets/hildon-volumebar-private.h:
1645 - G_BEGIN_DECLS/G_END_DECLS added
1646 - ownorientation removed from private struct
1648 * hildon-widgets/hildon-volumebar-range.c
1649 (hildon_volumebar_range_init): vacuous return statement removed
1651 (hildon_volumebar_range_set_level): removed unnecessary clamping
1652 kludge that violated object oriented principles only to provide an
1653 extremely minor, unnecessary optimization; type check added
1655 (hildon_volumebar_range_get_level): now accesses adjustment value
1656 with appropriate functions instead of reading it directly from the
1657 struct, which is bad OOP; type check added
1659 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1660 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1662 * hildon-widgets/hildon-volumebar-range.h
1663 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1665 * hildon-widgets/hildon-hvolumebar.c
1666 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1667 completely removed the gtk_widget_show() call that was already
1670 (hildon_hvolumebar_new): empty function parameter list replaced
1673 (hildon_hvolumebar_map): vbar variable removed; type check added
1674 (hildon_hvolumebar_expose): type check added
1675 (hildon_hvolumebar_size_request): type check added
1676 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1678 * hildon-widgets/hildon-hvolumebar.h
1679 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1681 * hildon-widgets/hildon-vvolumebar.c
1682 (vvolumebar_init): priv->ownorientation and v_ptr removed
1683 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1685 (hildon_vvolumebar_expose): type check added
1686 (hildon_vvolumebar_size_request): type check added
1687 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1689 * hildon-widgets/hildon-vvolumebar.h
1690 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1693 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1695 * hildon-widgets/hildon-weekday-picker.c
1696 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1697 last_index; added day_order_buttons
1699 (hildon_weekday_picker_mnemonic_activate): removed.
1700 mnemonics are no longer used.
1702 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1703 function. Rewritten creation of buttons. Unref'ed size group.
1705 (button_toggle): Removed bit mask checking, simplified function
1707 (hildon_weekday_picker_set_day):
1708 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1709 adjustment, unecessary for loop
1711 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1712 unecessary for loop. Simplified button toggling
1714 (hildon_weekday_picker_set_all):
1715 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1718 (hildon_weekday_picker_isset_day): Removed date adjustment and
1719 unecessary for loop;
1721 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1723 Added hildon-banner, as a clean replacement for gtk-infoprint
1724 * hildon-widgets/hildon-banner.[ch]: implementation and header
1725 * hildon-widgets/Makefile.am: reference new files
1726 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1727 a compatibility wrapper to hildon-banner
1729 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1731 * hildon-widgets/hildon-color-button.c: added comments
1732 * hildon-widgets/hildon-controlbar.c: Likewise.
1733 * hildon-widgets/hildon-composite-widget.c: Likewise.
1734 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1736 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1738 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1741 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1743 * configure.ac: 0.12.1
1745 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1747 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1748 * doc/tmpl/hildon-window.sgml: likewise.
1749 * hildon-widgets/hildon-program.[ch]: likewise.
1750 * hildon-widgets/hildon-window.[ch]: likewise.
1751 * hildon-widgets/hildon-window-private.h: likewise.
1752 * hildon-widgets/Makefile.am: Added these new files to the build
1755 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1757 * configure.ac: 0.12.0
1759 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1761 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1762 * doc/tmpl/hildon-appview.sgml: likewise.
1763 * doc/tmpl/hildon-color-popup.sgml: likewise.
1764 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1765 * doc/tmpl/hildon-app.sgml: likewise.
1766 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1767 * doc/tmpl/hildon-caption.sgml: likewise.
1768 * doc/tmpl/hildon-marshalers.sgml: likewise.
1769 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1770 * doc/tmpl/hildon-defines.sgml: likewise.
1771 * doc/tmpl/gtk-infoprint.sgml: likewise.
1772 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1774 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1775 * hildon-widgets/hildon-app.[ch]:likewise.
1776 * hildon-widgets/hildon-app-private.h:likewise.
1777 * hildon-widgets/hildon-appview.[ch]:likewise.
1778 * hildon-widgets/hildon-caption.[ch]:likewise.
1779 * hildon-widgets/hildon-defines.[ch]:likewise.
1780 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1781 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1783 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1784 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1788 hildon-app-private.h
1792 hildon-find-toolbar.[ch]
1793 hildon-input-mode-hint.h
1795 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1796 path for gtk-infoprint.h and hildon-input-mode-hint.h
1798 * po/en_GB.po: merged msgstr from hildon-lgpl
1800 * timer/*: added from hildon-lgpl
1804 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1806 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1809 * ut/hildon-widgets_tests.c (test41a): removed test case for
1810 hildon_file_details_dialog
1812 * doc/hildon-libs.types: likewise.
1813 * doc/hildon-libs-docs.xml: likewise.
1819 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1822 * Makefile.am (SUBDIRS): added timer/
1824 * configure.ac: do not depend anymore on hildon-lgpl nor
1825 hildon-fm, check for libmb, added Makefile output for timer/
1829 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1831 * configure.ac: 0.10.2
1833 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1835 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1836 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1837 hildon-apps scroll-control property is now handled.
1838 (get_child_index_by_coord): ignores events not matching a grid
1841 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1843 * configure.ac: 0.10.1
1845 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1847 Missing/Buggy documentation from,
1848 N#11566 make password dialog customizable (messages)
1849 * hildon-widgets/hildon-get-password-dialog.c
1850 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1852 * doc/tmpl/xxx.sgml: updated.
1854 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1856 N#19369 TRUE Scketch does not show colour change when using white color
1858 Color button needs inner border white, and outer border black.
1859 * hildon-widgets/hildon-color-button.c
1860 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1862 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1863 (hildon_color_button_realize): call the above function
1865 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1867 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1868 * hildon-widgets/hildon-note.c:
1869 (hildon_note_new_confirmation_add_buttons): updated doc
1870 (hildon_note_set_button_texts): likewise.
1872 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1874 N#21884 Cannot select read-only by using the center of the scroll key
1875 * hildon-widgets/hildon-file-details-dialog.c
1876 (hildon_file_details_dialog_init): Removed dialog default response.
1878 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1880 N#8094 5-bit color selector: wrong margins and pixel measurements
1881 M#59 HildonColorSelector needs more space
1882 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1883 (hildon_color_popup_new): add space between the control bars and
1884 the color preview area.
1886 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1888 * hildon-widgets/hildon-calendar-popup.c
1889 * hildon-widgets/hildon-color-button.c
1890 * hildon-widgets/hildon-color-popup.c
1891 * hildon-widgets/hildon-color-selector.c
1892 * hildon-widgets/hildon-composite-widget.c
1893 * hildon-widgets/hildon-controlbar.c
1894 * hildon-widgets/hildon-date-editor.c
1895 * hildon-widgets/hildon-dialoghelp.c
1896 * hildon-widgets/hildon-file-details-dialog.c
1897 * hildon-widgets/hildon-font-selection-dialog.c
1898 * hildon-widgets/hildon-get-password-dialog.c
1899 * hildon-widgets/hildon-grid-item.c
1900 * hildon-widgets/hildon-grid.c
1901 * hildon-widgets/hildon-hvolumebar.c
1902 * hildon-widgets/hildon-name-password-dialog.c
1903 * hildon-widgets/hildon-note.c
1904 * hildon-widgets/hildon-number-editor.c
1905 * hildon-widgets/hildon-range-editor.c
1906 * hildon-widgets/hildon-scroll-area.c
1907 * hildon-widgets/hildon-seekbar.c
1908 * hildon-widgets/hildon-set-password-dialog.c
1909 * hildon-widgets/hildon-sort-dialog.c
1910 * hildon-widgets/hildon-time-editor.c
1911 * hildon-widgets/hildon-time-picker.c
1912 * hildon-widgets/hildon-volumebar-private.h
1913 * hildon-widgets/hildon-volumebar-range.c
1914 * hildon-widgets/hildon-volumebar.c
1915 * hildon-widgets/hildon-vvolumebar.c
1916 * hildon-widgets/hildon-weekday-picker.c
1917 * hildon-widgets/hildon-wizard-dialog.c
1920 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1922 * configure.ac: 0.10.0
1924 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1926 Some more properties for Gazpacho support,
1928 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1929 * hildon-widgets/hildon-color-selector.c: "color"
1932 * hildon-widgets/hildon-color-selector.[ch]
1933 (hildon_color_selector_get_color): return const pointer to the
1936 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1939 Gazpacho support, added the following properties:
1941 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1942 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1943 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1944 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1945 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1946 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1947 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1948 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1949 * hildon-widgets/hildon-number-editor.c: "value"
1951 * hildon-widgets/hildon-color-button.c: minor cleanup
1954 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1956 Started new development
1957 (branche for maintenance continues with versions 0.9.x)
1959 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1961 * configure.ac: 0.9.53
1963 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1966 N#19283 Control panel - The values entered are not saved.
1967 N#19648 Hildon Date Editor widget detects values too high
1968 (note: complete fix include also fixes in GTk+)
1970 * hildon-widgets/hildon-calendar-popup.c
1971 (hildon_calendar_popup_set_property),
1972 (hildon_calendar_popup_class_init),
1973 (init_dmy): Added 'min-year', 'max-year' properties for passing
1974 the information through from HildonDateEditor to GtkCalendar
1976 * hildon-widgets/hildon-date-editor.c:
1977 (hildon_date_editor_class_init),
1978 (hildon_date_editor_init),
1979 (hildon_date_editor_set_property),
1980 (hildon_date_editor_get_property),
1982 (hildon_date_editor_entry_validate),
1983 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1984 properties and replaced hardcoded constants with them
1986 * hildon-widgets/hildon-date-editor.c
1987 (hildon_date_editor_d_entry_changed),
1988 (hildon_date_editor_m_entry_changed),
1989 (hildon_date_editor_d_entry_changed): new functions to ensure that
1990 the fields are validated and the focus is moved when maximum
1991 number of characters has been entered.
1993 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1995 * configure.ac: 0.9.52
1997 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1999 N#19140 System alerts still audible despite being turned off
2001 * hildon-widgets/hildon-note.c (sound_handling):
2003 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2005 * hildon-note.c (sound_handling): Changed to use new
2006 hildon_play_system_sound.
2007 (hildon_note_init): Signal handler id is changed to be in private
2008 structure, not in global variable.
2010 * hildon-note.c: Removed unused defines etc.
2012 * Makefile.am: Appended new files to build rules.
2014 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2016 * configure.ac: 0.9.51
2018 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2020 N#20027 PDF Reader crashes on selecting read only option in the
2023 * hildon-widgets/hildon-file-details-dialog.c:
2024 (change_state): Fixed assertion that was causing problems
2025 (check_validity): New function: We now automatically close the
2026 dialog if the displayed file is removed.
2027 (handle_focus): Callback removed:
2028 (init): Now using correct gtk way to bind container and adjustment
2029 together. Not the previous callback.
2030 (set_property): Connecting/disconnecting new handlers (for
2032 (finalize): disconnecting new handler.
2034 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2036 N#17918 Volumebar widget background image doesn't change when
2037 widget goes into mute state,
2039 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2042 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2043 using the state of the internal volumebar, not the whole container
2045 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2046 using the state of the internal volumebar, not the whole container
2048 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2050 * hildon-widgets/hildon-dialoghelp.[ch]: added
2051 gtk_dialog_help_disable and fixed bug N#19468
2053 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2055 * configure.ac: Release 0.9.50
2057 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2061 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2063 * hildon-widgets/hildon-grid.c
2064 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2065 label by logical name "Ckct_wi_grid_no_items"
2068 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2070 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2072 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2074 * configure.ac: Release 0.9.49
2076 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2078 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2079 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2080 Save the id of the idle callback and remove it when the widget is
2081 destroyed to avoid crashing. N#18096
2083 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2085 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2086 id's are unsigned and undefined at zero (instead of signed and -1)
2088 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2090 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2091 that was not working. N#16805
2093 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2095 * configure.ac: Release 0.9.48
2097 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2099 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2100 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2101 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2103 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2105 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2106 Do not override the week-start property of GtkCalendar according to
2107 the hildon-libs PO file, it is automatically determined from locale
2110 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2112 * configure.ac: Release 0.9.47
2114 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2116 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2117 property for setting the password entry accept only numeric values.
2120 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2122 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2123 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2124 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2125 Use defines rather than magic numbers in the code.
2127 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2129 Update to new l10n packaging style. po-files (inside this package)
2130 are not used for now, the message catalogs come from separate packages
2131 and including them here would conflict.
2133 * Makefile.am (SUBDIRS): stop including po-files
2134 * Makefile.am (EXTRA_DIST):
2135 * debian/hildon-libs-l10n-engb.install:
2136 * debian/hildon-libs-l10n-src.install:
2137 * po/debian/*: Removed
2139 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2141 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2142 checks to cover gateway content as well.
2144 * hildon-widgets/hildon-time-editor.c:
2145 (hildon_time_editor_validate): Replace solid numbers with defined
2147 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2150 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2152 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2153 invalid cast from `GdkWindow' to `GtkWindow'
2155 * hildon-widgets/hildon-color-popup.c
2156 (hildon_popup_palette_expose): removed debug printing
2158 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2160 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2163 * hildon-widgets/hildon-scroll-area.c
2164 (hildon_scroll_area_destroy): one-instruction function:
2165 removed. Call g_free directly.
2167 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2168 right edge of window, size of the child is also shrinked. 'fixed'
2169 does not automatically update this data -> Doing it manually.
2171 * hildon-widgets/hildon-date-editor.h: added
2172 HildonDateEditorErrorType error enumeration type, removed signal
2173 "validate-date" virtual function, added signal "date-error"
2176 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2177 added custom info prints.
2178 (hildon_date_editor_validate_date): removed
2179 (hildon_date_editor_entry_validate): validate maximum and minimum
2180 limits on each field.
2181 (hildon_date_editor_entry_focus_out): check the date validation
2182 in simpler manner, don't put content if field is empty (spec
2183 doesn't say if there should be anything placed in the entry if
2185 (hildon_date_editor_get_date),
2186 (hildon_date_editor_get_month),
2187 (hildon_date_editor_get_year),
2188 (hildon_date_editor_get_day): use direct entry content, so that 0
2189 indicates empty entry, and information is more accurate.
2191 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2193 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2195 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2196 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2198 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2200 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2202 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2204 * hildon-widgets/hildon-number-editor.c:
2205 (hildon_number_editor_select_all): new function, selects all
2206 the text in the entry.
2207 * hildon-widgets/hildon-number-editor.c: added several calls to
2208 hildon_number_editor_select_all with g_idle_add.
2210 * hildon-controlbar.c : add signal when end reached
2212 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2214 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2216 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2218 Fixed incorrect values in <Filetype> Details Dialog
2220 Fixed help button usage in dialogs
2222 * hildon-dialoghelp.c: Added more documentation about the
2225 * hildon-file-details-dialog.c: Updated to match
2226 'File Management in OSSO' version 3.0
2228 * Fixed application hang after calling gtk_main_quit
2230 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2231 ESC presses needlessly
2233 * hildon-time-editor.c: Fixed memory corruption