1 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
3 From Murray Cumming <murrayc@murrayc.com>, M#183.
5 * hildon-widgets/hildon-calendar-popup.c:
6 (hildon_calendar_popup_new): Use only g_object_new(), passing
7 it properties, so that language bindings can do the same.
8 (hildon_calendar_popup_set_date): Veryify the date here,
9 instead of only in the _new() function.
10 (hildon_calendar_popup_set_property): Use get/set_date() to
11 verify the new date and to select it.
12 (hildon_calendar_popup_get_property): Remove unused variables.
13 * ut/hildon-widgets_tests.c (test45): New.
15 * hildon-widgets/hildon-add-home-dialog.c:
16 (hildon_add_home_dialog_new): Move code into
17 hildon_add_home_dialog_init(),
18 hildon_add_home_dialog_set_old_name(), and
19 hildon_add_home_dialog_set_new_name(). Supply parameters as
20 properties values to g_object_new() instead, so that language
21 bindings can do the same.
22 (hildon_add_home_dialog_class_init): Added name and new_name
24 (hildon_add_home_dialog_init): Create always-needed widgets.
25 (hildon_add_home_dialog_get_property),
26 (hildon_add_home_dialog_set_property): Get/Set the name and
27 new_name properties, recreating widgets if necessary, using new
28 static helper function.
29 * ut/hildon-widgets_tests.c (test46): New.
31 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
33 * configure.ac: 0.12.11
36 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
38 * thread safety (N#24348), fixed timeout and idle callbacks :
39 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
40 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
41 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
42 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
43 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
44 hildon-widgets/hildon-time-editor.c : highlight_callback()
45 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
47 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
49 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
50 correct state for fullscreen, fixes N#26611
52 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
55 * hildon-widgets/hildon-window.c:
56 - hildon_window_toggle_menu now returns whether or not something was
58 - hildon_window_key_press_event(): when handling the menu hard key,
59 return TRUE if we actually handled it
60 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
61 now returns if something was done
62 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
63 if we actually handled the menu hard key.
65 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
67 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
70 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
72 * configure.ac: 0.12.10
75 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
77 * doc/hildon-libs-docs.sgml: added index for new symbols.
80 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
82 * doc/Makefile.am (version.xml): generates version.xml
83 * doc/hildon-libs-docs.sgml: added &version; entity, and display
84 the version number in the doc title.
87 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
89 Minor changes for gtk-doc
91 * hildon-weekday-picker.h
92 * hildon-name-password-dialog.c
93 * hildon-calendar-popup.h
94 * hildon-range-editor.h
95 * hildon-volumebar-range.h
98 * hildon-time-editor.c
100 * hildon-date-editor.h
103 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
105 * hildon-widgets/hildon-time-editor.c
106 (hildon_time_editor_set_show_hours)
107 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
110 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
113 * hildon-widgets/hildon-time-editor.c
114 (hildon_time_editor_entry_keypress): use
115 hildon_gtk_button_set_depressed, provided by osso-GTK, since
116 2.6.10-1.osso4, instead of GTK private symbol
117 _gtk_button_set_depressed
120 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
122 From Murray Cummings (M#185 M#283), with slight changes:
124 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
125 can disable the regeneration of hildon-libs-enum-types.[h|c], also
126 based on the gnome-vfs build.
128 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
129 hildon-libs-enum-types.[h|c], and build them, based on the
130 gnome-vfs build. This adds GTypes for the enums, needed for
131 accurate signal registration, needed by bindings.
133 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
134 default signal handler to range_error, so it has the same name as
135 the signal, as expected by bindings.
137 * hildon-widgets/hildon-marshalers.list: Change to the now-used
140 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
141 since hildon_note_type_get_type is defined manually and
142 glib-mkenums should ignore this enum.
144 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
145 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
147 Correct the signal registration for:
149 * hildon-widgets/hildon-app.c
150 (hildon_app_class_init):
156 * hildon-widgets/hildon-date-editor.c
157 (hildon_date_editor_class_init):
160 * hildon-widgets/hildon-find-toolbar.c
161 (hildon_find_toolbar_class_init):
165 "history_append signals"
167 * hildon-widgets/hildon-grid.c
168 (hildon_grid_class_init):
171 * hildon-widgets/hildon-number-editor.c
172 (hildon_number_editor_class_init):
176 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
178 M#90 - Use standard GLib macro names.
179 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
181 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
182 * hildon-widgets/hildon-calendar-popup.h:
183 * hildon-widgets/hildon-date-editor.h:
184 * hildon-widgets/hildon-range-editor.h:
185 * hildon-widgets/hildon-weekday-picker.h:
186 * hildon-widgets/hildon-volumebar-range.h:
189 * hildon-widgets/hildon-calendar-popup.c:
190 * hildon-widgets/hildon-date-editor.c:
191 * hildon-widgets/hildon-range-editor.c:
192 * hildon-widgets/hildon-volumebar-range.c:
193 * hildon-widgets/hildon-weekday-picker.c:
196 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
198 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
199 for Ok and Cancel buttons.
201 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
203 * configure.ac: 0.12.9
205 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
207 * hildon-widgets/hildon-color-button.c
208 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
212 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
214 * hildon-widgets/hildon-time-editor.c
215 (convert_to_12h): removed m and s paramters (useless)
216 (convert_to_24h): likewise.
219 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
221 Automatic focus movement for HildonTimeEditor (IMP-13)
223 * hildon-widgets/hildon-time-editor.c
224 (hildon_time_editor_init): connect after signal "insert_text"
225 (hildon_time_editor_inserted_text): new function.
226 On inserted text, if entry has two digits, jumps to the next field.
229 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
231 Pops up the color selector on 'select' hardkey (IMP-15)
233 * hildon-widgets/hildon-color-button.c
234 (hildon_color_button_init): connect "key-release-event"
235 (hildon_color_button_key_released): new function.
236 Pops up the color selector on 'select' hardkey release
239 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
241 Hildon grid, set items to be focus-and-activate instead of single
242 tap activation (IMP-14)
244 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
245 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
248 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
250 Fetch hours/minutes/seconds separators from current locale (IMP-8)
253 * hildon-widgets/hildon-time-editor.c
254 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
255 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
256 (hildon_time_editor_finalize): free separator symbols
257 (get_time_separators): new function. Get time separators from locale.
258 (hildon_time_editor_check_locale): call get_time_separators.
260 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
262 Removed icon for mandatory fields (IMP-3).
263 Note: the logic and API to specify mandatory fields is preserved.
265 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
266 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
267 (hildon_caption_set_property): case PROP_STATUS, removed related code.
268 (hildon_caption_set_label_alignment): removed related code.
271 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
273 * configure.ac: 0.12.8
275 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
277 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
280 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
282 - Added support for Pango markup
283 Added hildon_banner_show_information_with_markup
284 - Removed hildon_banner_show_confirmation
285 - Re-position the banner when its content changes
286 - Banner now doesn't truncate strings nor insert linebreaks
287 - fixes N#24339 - Information banners do not resize
289 * hildon-widgets/hildon-banner.[ch]
290 (hildon_banner_show_information_with_markup): new function. Adds
291 pango markup support for information banners.
293 (hildon_banner_show_confirmation): removed. 'confirmation' was
294 used only for the taask navigator (at most). It should use
295 _show_information_with_markup with appropriate markup.
297 (hildon_banner_set_markup): new function.
299 (hildon_banner_check_position): new function. Factor code from
300 hildon_banner_realize(), and update position calculation.
302 (struct _HildonBannerPrivate): removed max_lines.
303 Uses as much lines as needed.
305 (hildon_banner_init): set banner label to wrap lines.
307 (hildon_banner_set_text): do not truncate. Update banner's position.
309 (hildon_banner_set_markup): new function.
310 Set banner's text with Pango markup.
312 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
315 * hildon-widgets/gtk-infoprint.c
316 (gtk_confirmation_banner): use hildon_banner_show_information
317 instead of _show_confirmation.
318 (gtk_confirmation_banner_with_icon_name): likewise.
321 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
323 * hildon-widgets/hildon-color-button.c
324 (hildon_color_field_expose_event): correct parameter order.
327 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
329 * hildon-widgets/hildon-window.c:
330 - Fixed a potential infinite loop when detaching the menus
331 from the window widget (Closes N#26033)
333 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
335 * hildon-widgets/hildon-window.c:
336 - Fixed a bug that made window fullscreen state tracking fail
337 - Apply correct theming to menus so that they get placed
338 correctly (Fixes N#24325)
339 - Redraw the window borders if the size of the toolbar vbox changes
340 - Reset the program to NULL in hildon_window_destroy
341 - Stop the ESC key-press timeout when the window loses the focus
343 * hildon-widgets/hildon-program.c:
344 - Reset the common toolbar to NULL when the program is finalised
346 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
348 * hildon-widgets/hildon-get-password-dialog.h,
349 hildon-widgets/hildon-get-password-dialog.c
350 (hildon_get_password_dialog_new,
351 hildon_get_password_dialog_new_with_default): Renamed
352 get_old_password_title parameter to "get_old" to correspond with
353 the property name. This helps the C++ bindings.
354 * ut/hildon-widgets_tests.c (test43, test44): New.
356 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
358 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
359 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
364 * hildon-lgpl/hildon-caption.c:
365 (hildon_caption_init): Do the hildon_caption_set_child_expand()
367 (hildon_caption_new): Use the child property from GtkContainer
368 instead of calling gtk_container_add(), because _new() functions
369 should just use g_object_new(), so that language-bindings can do
372 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
374 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
376 * configure.ac: 0.12.7
378 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
381 * hildon-widgets/hildon-font-selection-dialog.c
382 (REFERENCE_LINE): removed
383 (hildon_font_selection_dialog_show_preview): added l10n support
384 for the reference string (use to differentiate sub/super script in
386 (hildon_font_selection_dialog_show_preview): likewise
389 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
391 * po/en_GB.po: update
393 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
395 * hildon-widgets/hildon-add-home-dialog.c
396 (hildon_add_home_dialog_init): removed i18n support (deprecated
397 widget. Hinder logical ID processing)
398 (hildon_add_home_dialog_new): likewise.
400 * hildon-widgets/hildon-insert-object-dialog.c
401 (hildon_insert_object_dialog_init): likewise.
404 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
406 * hildon-widgets/hildon-font-selection-dialog.c
407 (hildon_font_selection_dialog_construct_notebook): logical ID typo
410 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
412 * hildon-widgets/hildon-window.[ch]:
413 - update the title when the window is realized
414 - added support for long press on the ESC key. Fixes N#24620
416 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
418 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
420 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
422 * hildon-widgets/hildon-seekbar.c
423 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
425 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
427 * configure.ac: 0.12.6
429 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
431 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
432 fixed typo GKD_Left -> GDK_Left, N#24042
435 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
441 Updated logical id to lower case: Ckct_ -> ckct_
442 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
443 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
444 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
445 (hildon_range_editor_init, hildon_range_editor_entry_validate)
446 (hildon_range_editor_entry_validate):
447 * hildon-widgets/hildon-time-editor.c (validated_conversion)
448 (validated_conversion, hildon_time_editor_real_validate):
449 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
453 Updated logical id to lower case: Ecdg_ -> ecdg_
454 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
455 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
456 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
457 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
458 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
459 (hildon_wizard_dialog_create_title):
460 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
461 (hildon_find_toolbar_init):
462 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
463 (hildon_note_rebuild, hildon_note_set_button_text):
466 Removed i18n support for property description,
467 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
470 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
472 * configure.ac: 0.12.5
474 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
476 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
477 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
480 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
482 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
485 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
487 Cleanup wizard dialog,
489 * hildon-widgets/hildon-wizard-dialog.c
490 (struct HildonWizardDialogPrivate): removed 'previous_button'
491 and 'next_button' (obsolete)
493 (hildon_wizard_dialog_response): new private function. Handles the
494 'response' signal and replaces direction_button_clicked() in
495 taking care of notebook page changes and button dimming.
497 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
498 added to the dialog as response buttons. This enables the usage of
499 GtkDialog API for setting their sensitiveness.
501 (dimming/undimming): Connected hildon_wizard_dialog_response to
502 "resonse" signal. Removed useless title creation because it
503 depends on the notebook which is not yet created.
505 (hildon_wizard_dialog_set_property): minor code cleanup
507 (hildon_wizard_dialog_create_title): removed useless else-if
510 * hildon-widgets/hildon-wizard-dialog.h
511 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
514 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
515 adding the page_change signal, as the application can now track
516 the response signal instead.
519 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
521 * configure.ac: 0.12.4
524 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
528 moved widget descriptions to respective source file (*.c)
532 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
536 * hildon-widgets/hildon-color-button.c:
537 - removed unused #include
538 - removed unused gettext macro
540 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
541 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
542 + value updated to match specifications
544 (struct _HildonColorButtonPrivate):
545 removed 'drawing_area' and 'pixbuf' members (unused)
547 (hildon_color_button_init):
548 use drawing_area directly, update COLOR_FILLED_ macro names
550 (hildon_color_button_unrealize): new function.
551 (hildon_color_button_class_init): register unrealize function
552 (hildon_color_button_finalize): free allocated GC in unrealize
553 handler instead of in finalize.
555 (hildon_color_button_recolor_pixbuf): removed. (use
556 gdk_draw_rectangle() instead)
557 (hildon_color_button_draw_pixbuf_borders): likewise
559 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
561 (hildon_color_button_set_property): queue the drawing - instead of
562 calling recolor_pixbuf
564 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
567 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
569 More cleanup for range editor,
571 * hildon-widgets/hildon-range-editor.[ch]
572 - removed useless includes
573 (hildon_range_editor_new_with_separator): set char parameter 'const'
575 * hildon-widgets/hildon-range-editor.c
576 - removed useless includes
577 - rewritten a lot of functions because code was inefficient.
578 - removed useless g_return_if_fail calls from various functions.
580 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
581 (hildon_range_editor_entry_keypress): rewritten
582 (hildon_range_editor_entry_focus_out): rewritten
583 (hildon_range_editor_refresh_widths): New function
584 (hildon_range_editor_set_range): Make sure that the values are in
586 (hildon_range_editor_set_lower): rewritten.
587 (hildon_range_editor_set_higher): rewritten.
588 (hildon_range_editor_set_min): rewritten.
589 (hildon_range_editor_set_max): rewritten.
591 (hildon_range_editor_entry_validate): New validator function
592 (hildon_range_editor_entry_changed): New signal handler for
593 "changed" for entries, this will now validate whenever entry changes.
595 (hildon_range_editor_entry_focus_out): Added g_assert for
596 editor. Removed call to hildon_range_editor_apply_current_range().
597 Added call to the new function hildon_range_editor_entry_validate()
600 (hildon_range_editor_init): connected
601 hildon_range_editor_entry_changed to "changed" for entries.
604 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
606 Major cleanup for time editor
608 * hildon-widgets/hildon-time-editor.c
609 - removed unused #includes.
610 - Removed useless g_return_if_fail(editor) calls
611 (HILDON_IS_TIME_EDITOR does this check as well for us).
613 (hildon_time_editor_add_style): removed, obsolete.
614 (hildon_time_editor_mnemonic_activate): removed, obsolete
615 (hildon_time_editor_get_max_values): removed, obsolete.
617 (validated_conversion): New helper function
619 (hildon_time_editor_entry_changed): New function, now the widget
620 interactively validates the inputted contents (not requiring focus
623 (ticks_to_time): rewritten, using less arithmetic operations.
624 (hildon_time_editor_validate): rewritten
625 (hildon_time_editor_set_ticks): rewritten
626 (hildon_time_editor_set_duration_mode): rewritten
627 (hildon_time_editor_entry_keypress): rewritten
629 * hildon-widgets/hildon-time-editor.[ch]
630 (hildon_time_editor_set_show_hours)
631 (hildon_time_editor_get_show_hours) new functions to show/hide hours
634 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
636 Cleanup number editor
638 * hildon-widgets/hildon-number-editor.c:
639 (SPACE_BORDER): removed
641 (hildon_number_editor_size_request):
642 (hildon_number_editor_size_allocate): updated to use hildondefines
644 (hildon_number_editor_mnemonic_activate): function removed,
645 mnemonic are not used
647 (hildon_number_editor_stop_repeat_timer): new function, to avoid
649 (hildon_number_editor_button_release):
650 (hildon_number_editor_finalize): updated to use new function
652 (hildon_number_editor_entry_keypress): completely rewritten
653 (change_numbers): likewise
654 (do_mouse_timeout): likewise
655 (hildon_number_editor_set_range): likewise
657 (hildon_number_editor_validate_value): new function, used for all
659 (hildon_number_editor_focus_out):
660 (hildon_number_editor_entry_changed): updated to use previous.
662 (hildon_number_editor_real_set_value): new function that formats
663 given int to field. Used by change_numbers and set_value
665 (integer_to_string): removed, we now have one place that
666 converts numbers and that uses buffer from stack.
667 (hildon_number_editor_set_value): changed to use new format function.
670 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
672 * hildon-widgets/hildon-time-picker.c:
673 reorganized how the widgets are stored to reduce code
674 (HildonTimePickerWidgetGroup): new struct
675 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
676 (hildon_time_picker_init)
677 (hildon_time_picker_arrow_press)
678 (hildon_time_picker_event_box_key_press)
679 (hildon_time_picker_change_time)
680 (hildon_time_picker_map)
681 (hildon_time_picker_event_box_key_release): use new widget organization
684 (hildon_time_picker_init): return value from nl_timeinfo() is
685 valid only until it's called again, so g_strdup() the value when
688 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
689 (HILDON_TIME_PICKER_LABEL_X_PADDING)
690 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
691 (hildon_time_picker_set_time):
692 (hildon_time_picker_get_time):
693 (hildon_time_picker_ampm_release): used the new defines
695 (struct _HildonTimePickerPrivate)
696 (hildon_time_picker_init)
697 (hildon_time_picker_event_box_key_press)
698 (hildon_time_picker_change_time):
699 - c12h renamed to show_ampm,
700 - ampo_pos renamed to ampm_left.
702 (hildon_time_picker_timeout): renamed to
703 hildon_time_picker_key_repeat_timeout(),
704 and renamed parameter to 'hildon_time_picker'
706 (hildon_time_picker_event_box_press): renamed to
707 hildon_time_picker_event_box_button_press()
709 (hildon_time_picker_finalize): Added finalizer to make sure the
710 key repeat timeout handler gets removed.
712 (hildon_time_picker_arrow_press): Placed multipliers into
713 button_multipliers[] array to avoid multiple if/then/else
717 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
719 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
720 calculates correctly which items will be visible. Fixes N#16991.
723 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
725 * hildon-widgets/hildon-find-toolbar.c
726 (hildon_find_toolbar_history_append): set "column" property only
727 after model has been set.
730 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
732 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
733 the parameter more descriptively
736 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
740 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
742 * hildon-widgets/hildon-app.[ch]
743 (hildon_zoom_level_get_type): removed G_CONST_RETURN
745 * hildon-widgets/hildon-app.c:
746 - removed HILDON_DISABLE_DEPRECATED flags
747 - added g_assert'ions to internal functions
750 (hildon_app_button): Move the fixed define to the function itself,
751 add simple autodetection, clean up comments.
753 (hildon_app_key_release): Remove bogus argument to signal emission
754 (not needed), emit the "fullscreen_state_change" directly instead
755 of calling set_fullscreen.
757 (hildon_app_construct_title): removed dead code
759 (hildon_app_register_view_with_id): do not call g_slist_nth() to
760 get the first element...
763 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
765 * hildon-widgets/hildon-appview.c:
766 (hildon_appview_init): indented comments properly
767 (paint_toolbar): indented comments properly
768 (hildon_appview_expose): indented code properly
769 (hildon_appview_toolbar_toggle_request): removed dead code
772 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
774 * hildon-widgets/hildon-caption.c
775 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
776 (hildon_caption_size_allocate): likewise.
777 (hildon_caption_forall): likewise.
780 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
782 Cleanup Find toolbar,
784 * hildon-widgets/hildon-find-toolbar.[ch]
785 (hildon_find_toolbar_new): set 'label' parameter const.
786 (hildon_find_toolbar_new_with_model): likewise.
788 * hildon-widgets/hildon-find-toolbar.c
789 (struct _HildonFindToolbarPrivate):
790 changed entry_combo_box type to GtkComboBoxEntry*
792 (hildon_find_toolbar_get_list_model): new function, to factor
793 member access and casting
794 (hildon_find_toolbar_get_entry): likewise.
795 (hildon_find_toolbar_apply_filter): removed set_column parameter
796 since it was used by only one caller, and made the caller do it
797 instead. Removed unnecessary casts.
799 (hildon_find_toolbar_find_string): new function.
800 (hildon_find_toolbar_history_append): code cleanup. use
801 hildon_find_toolbar_find_string.
803 (hildon_find_toolbar_get_property)
804 (hildon_find_toolbar_get_entry)
805 (hildon_find_toolbar_init)
806 (hildon_find_toolbar_new)
807 (hildon_find_toolbar_new_with_model)
808 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
809 and changed some of them to use the new convenience functions
812 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
813 instead of if-check to validate parameter.
816 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
818 Cleanup hildon-defines,
820 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
821 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
823 (hildon_logical_data_free): new function. Free logical data.
824 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
825 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
827 * hildon-widgets/hildon-defines.[ch]
828 (hildon_gtk_widget_set_logical_font): use const gchar*
829 (hildon_gtk_widget_set_logical_color): likewise.
831 * hildon-widgets/hildon-defines.c:
832 (hildoniconsizes): set const
833 (hildoninternaliconsizes): set static, renamed 'iis'
836 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
838 Cleanup Caption widget,
840 * hildon-lgpl/hildon-caption.[ch]
841 (hildon_caption_status_get_type, hildon_caption_get_type):
842 G_CONST_RETURN removed, G_GNUC_CONST added
844 * hildon-widgets/hildon-caption.c
846 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
848 (hildon_caption_set_property): removed useless code.
849 (hildon_caption_button_press): simplified greatly by removing the
850 unnecessary recursion to locate the first focusable child of a
851 container - simple gtk_widget_grab_focus achieves the same
852 (get_first_focusable_child): removed (not used anymore)
854 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
856 (hildon_caption_set_focus_child): removed (not used anymore)
857 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
859 (hildon_caption_hierarchy_changed): type check added
860 (hildon_caption_forall): callback null check added
861 (hildon_caption_set_status): type check added
862 (hildon_caption_set_icon_image): type check added
863 (hildon_caption_activate): activate_block kludge removed as outdated
864 (hildon_caption_get_child_expand): argument declared const
865 (hildon_caption_set_label_text): g_return_if_fail changed to
866 g_assert since this is not a public function;
867 Duplicate separator check now uses correct localized separator
868 instead of assuming ':'
871 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
875 * hildon-lgpl/hildon-appview-c:
876 (hildon_app_view_init): Fixed a problem that prevented to set an
877 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
878 between toolbars). This fix involves a change in the default gtkrc
879 file, ie. the modification of the 'border' value of the
880 "toolbar-frame-middle" image in the osso-appview-background style.
882 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
883 widget supporting adjustements, not only viewports.
885 (visible_toolbar): use proper parameter names
886 (find_findtoolbar_index): likewise.
887 (find_findtoolbar): likewise.
889 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
890 (hildon_appview_finalize): likewise.
891 (hildon_appview_signal_marshal): likewise.
892 (hildon_appview_forall): likewise.
893 (hildon_appview_switched_to): likewise.
894 (hildon_appview_real_fullscreen_state_change): likewise.
897 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
899 * hildon-widgets/hildon-date-editor.c
900 (hildon_date_editor_entry_validate): Now, if an invalid date is
901 entered, date-editor reverts to previous date, instead of setting
902 the maximum allowed days.
905 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
907 * hildon-widgets/hildon-date-editor.h
908 (enum HildonDateEditorErrorType): added NO_ERROR entry.
910 * hildon-widgets/hildon-date-editor.c
911 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
912 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
915 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
917 * hildon-widgets/hildon-get-password-dialog.c:
918 (hildon_get_password_dialog_set_title): Removed the deprecation
919 #ifdefs from the .c file.
921 * hildon-widgets/hildon-file-handling-note.c: likewise.
925 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
927 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
929 * hildon-widgets/hildon-color-selector.c
930 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
931 (hildon_color_selector_expose)
932 (hildon_color_selector_get_color)
933 (hildon_color_selector_set_color)
936 (modify_focused): Separate selected color and focused color.
937 Focused color now draws a different colored border around it.
938 Renamed modify_selected() to modify_focused().
940 * hildon-widgets/hildon-color-selector.c
941 (hildon_color_selector_expose)
942 (select_color): Changed the logic in how the box positions are
943 calculated. The old logic was wrong, but just happened to work
944 with those specific values.
946 * hildon-widgets/hildon-color-selector.c
947 (hildon_color_selector_expose): Draw the selected-border using
948 ImageBorderColor color instead of hardcoded black.
951 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
953 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
954 removed current_color; use initial_color directly.
955 Disabled select-hardkey from activating to OK-button by default.
958 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
960 * hildon-widgets/hildon-date-editor.c
961 (hildon_date_editor_keypress): removed the unnecessary check for
962 the position of the cursor in the text-field which was hindering
963 the Left key from working as expected.
966 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
968 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
969 after setting the toggle_button active. Prevents GLIB_CRITICALs.
971 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
973 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
976 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
978 * hildon-widgets/hildon-font-selection-dialog.c
979 (hildon_font_selection_dialog_show_preview): set line wrap for
983 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
985 * hildon-widgets/hildon-date-editor.c
986 (hildon_child_forall): cast 'container'
987 (hildon_date_editor_size_allocate): adjusted height allocation.
990 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
992 Cleanup calendar popup,
994 * hildon-widgets/hildon-calendar-popup.c:
995 - updated 'longdesc' comment.
996 - removed gtk-infoprint.h from included headers (unused).
998 (struct HildonCalendarPopupPrivate): removed member
999 'can_exit' (useless).
1000 (hildon_calendar_day_selected): removed (useless).
1001 (hildon_calendar_allow_exit): likewise.
1002 (hildon_calendar_deny_exit): likewise.
1004 (hildon_calendar_selected_date): new function. replaces
1005 hildon_calendar_allow_exit()
1007 (hildon_calendar_popup_init):
1008 - Removed initialization for 'can_exit'.
1009 - Removed connection to removed useless functions.
1010 - Connect "selected_date" to hildon_calendar_selected_date().
1011 - Do not grab the focus (useless)
1013 (hildon_key_pressed): just handle ESC and Return keys.
1015 (hildon_calendar_popup_get_property): removed unused variables.
1018 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1020 * hildon-widgets/hildon-caption.c
1021 * hildon-widgets/hildon-composite-widget.h
1022 * hildon-widgets/hildon-get-password-dialog.c
1023 * hildon-widgets/hildon-grid.h
1024 * hildon-widgets/hildon-grid-item.h
1025 * hildon-widgets/hildon-volumebar-range.c
1026 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1028 (hildon_controlbar_get_type): likewise.
1030 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1032 * doc/hildon-libs.types: Add missing types
1033 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1034 * doc/tmpl/*: Regenerate and add new files
1036 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1039 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1041 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1043 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1044 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1046 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1050 * doc/Makefile.am: Update gtk-doc framework bits
1051 * gtk-doc.make (commit generated file)
1052 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1054 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1055 * hildon-widgets/hildon-code-dialog.c:
1059 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1061 * hildon-widgets/hildon-window.c: propagate key-press event to the
1062 parent class (Closes N#23400)
1063 * configure.ac: 0.12.3
1065 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1067 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1069 * configure.ac: 0.12.2
1072 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1074 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1075 g_assert instead of g_return_val_if_fail
1080 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1082 * hildon-widgets/hildon-get-password-dialog.[ch]:
1083 (hildon_get_password_dialog_set_title) marked deprecated.
1085 + cleanup header coding style
1088 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1090 Cleanup font selection dialog
1092 * hildon-widgets/hildon-font-selection-dialog.c
1094 (hildon_font_selection_dialog_construct_notebook): removed dummy
1097 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1099 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1100 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1102 (toggle_clicked): renamed argument 'data' to 'unused'
1104 (hildon_font_selection_dialog_set_preview_text): added proper
1108 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1110 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1111 removed console messages.
1114 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1116 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1117 (struct _HildonSortDialogPrivate):
1118 - removed okButton, cancelButton
1119 - removed sort_by_value, sort_order_type
1120 - removed index_first
1121 - renamed combo1 to combo_key
1122 - renamed caption1 to caption_key
1123 - renamed combo2 to combo_order
1124 - renamed caption2 to cpation_order
1126 (hildon_sort_dialog_init): removed init of unused fields.
1127 use new field names.
1128 (hildon_sort_dialog_get_sort_key): likewise.
1129 (hildon_sort_dialog_get_sort_order): likewise.
1130 (hildon_sort_dialog_set_sort_key): likewise.
1131 (hildon_sort_dialog_set_sort_order): likewise.
1132 (hildon_sort_dialog_add_sort_key): likewise.
1134 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1136 * hildon-widgets/hildon-date-editor.c
1137 (hildon_child_forall): use g_assert instead of g_return_if_fail
1138 (hildon_date_editor_entry_validate): likewise.
1141 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1143 * hildon-widgets/hildon-controlbar.c
1144 (hildon_controlbar_change_value): commented function.
1146 * hildon-widgets/hildon-wizard-dialog.c
1147 (hildon_wizard_dialog_get_property): likewise.
1150 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1152 Cleanup weekday picker,
1154 * hildon-widgets/hildon-weekday-picker.c
1155 (_): removed unused gettext macro
1156 (button_toggle): use meaningful parameter name
1157 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1158 (hildon_weekday_picker_size_allocate): likewise.
1159 (button_toggle): likewise.
1162 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1164 Cleanup time editor,
1166 * hildon-widgets/hildon-time-editor.c
1167 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1168 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1169 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1170 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1172 (struct _HildonTimeEditorPrivate):
1173 - h_entry, m_entry, s_entry replaced by entries[],
1174 allows to remove a lot of code.
1175 - label renamed to hm_label
1176 - label2 renamed to sec_label
1177 - ampm renamed to ampm_label
1178 - show_s renamed to show_seconds
1179 - removed fields: icon, valid_value, validated
1181 + moved up in the file.
1183 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1185 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1187 (set_widget_allocation): removed
1188 (hildon_time_editor_entry_changed): removed
1190 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1192 (hildon_time_editor_forall): removed unnecessary code
1193 (hildon_time_editor_destroy): likewise.
1195 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1197 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1199 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1200 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1201 use new variable names,
1202 use hildon_time_editor_set_to_current_time
1204 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1205 (hildon_time_editor_set_ticks): use g_assert instead of
1206 g_return_if_fails, use
1207 'entries[]', removed dead code
1209 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1210 (hildon_time_editor_validate): use 'entries[]', removed dead code
1211 (hildon_time_editor_get_max_values): use 'entries[]'
1214 (hildon_time_editor_get_show_seconds): use new variable names
1215 (hildon_time_editor_set_duration_mode): likewise.
1217 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1219 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1221 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1223 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1225 (set_widget_allocation): removed (unused)
1226 (hildon_time_editor_entry_changed): removed (unused)
1228 (IS_VALID_KEYPRESS): new macro
1229 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1230 deleate dead/unnecessary code
1232 use IS_VALID_KEYPRESS
1234 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1236 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1238 (hildon_time_editor_size_allocate): cleanup
1239 (convert_to_12h): cleanup code style
1241 (hildon_time_editor_show_seconds): removed deprecation flag
1242 (hildon_time_editor_enable_duration_mode): likewise.
1245 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1247 Cleanup volume bars,
1249 * hildon-widgets/hildon-volumebar.h: removed unused #include
1250 + coding style cleanup
1252 * hildon-widgets/hildon-volumebar.c
1253 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1255 (hildon_child_forall): use g_assert instead of g_return_if_fail
1257 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1258 + coding style cleanup
1260 * hildon-widgets/hildon-volumebar-private.h:
1261 added missing #include.
1262 added _hildon_volumebar_mute_toggled.
1263 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1267 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1268 + coding style cleanup
1270 * hildon-widgets/hildon-vvolumebar.c
1271 (hildon_vvolumebar_size_request)
1272 (hildon_vvolumebar_size_allocate)
1273 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1275 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1277 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1278 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1279 (vvolumebar_init): renamed to hildon_vvolumebar_init
1280 (hildon_vvolumebar_init): removed unused 'orientation'
1281 initialisation. Use _hildon_volumebar_mute_toggled instead of
1282 removed hildon_vvolumebar_mute.
1286 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1288 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1289 renamed to hildon_hvolumebar_class_init
1291 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1292 hildon_hvolumebar_init
1294 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1297 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1298 removed unused 'orientation' initialisation.
1300 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1301 _hildon_volumebar_mute_toggled instead of removed
1302 hildon_hvolumebar_mute.
1305 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1309 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1310 coding style cleanup
1312 * hildon-widgets/hildon-color-popup.h: likewise.
1314 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1317 * hildon-widgets/hildon-color-selector.c
1318 (hildon_color_selector_new): use g_return_val_if_fail instead of
1320 (select_color): use g_assert instead of g_return_if_fail
1322 * hildon-widgets/hildon-calendar-popup.c
1323 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1327 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1329 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1330 added HildonCodeDialog widget
1333 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1335 * hildon-widgets/hildon-window.c:
1336 - set the toolbar height explicitely
1337 - use show instead of show_all on the common_toolbar
1338 - add the toolbars bottom-up instead of top-down
1339 * hildon-widgets/hildon-program.c:
1340 - don't assume that a window was realized when added to
1344 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1346 Cleanup font selection dialog,
1348 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1349 + coding style cleanup
1351 * hildon-widgets/hildon-font-selection-dialog.c
1352 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1353 instead of g_assert.
1355 * hildon-widgets/hildon-font-selection-dialog.c
1356 (hildon_font_selection_dialog_get_text_tag)
1357 (hildon_font_selection_dialog_set_buffer)
1358 (hildon_font_selection_dialog_get_font)
1359 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1362 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1364 Cleanup range editor,
1366 * hildon-widgets/hildon-range-editor.c
1367 (hildon_range_editor_calss_init):Removed
1368 widget_calss->mnemonic_activate init
1370 * hildon-widgets/hildon-range-editor.c
1371 (hildon_range_editor_mnemonic_activate): Removed static function
1372 hildon_range_mnemonic_activate and FIXME. It is useless even
1373 through it is overriding function for
1374 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1375 focus will be realized based on different applications.
1377 * hildon-widgets/hildon-range-editor.c
1378 (is_valid_keyvalue_for_entry_keypress): new function.
1380 * hildon-widgets/hildon-range-editor.c
1381 (hildon_range_editor_entry_keypress): uses
1382 is_valid_keyvalue_for_entry_keypress
1384 * hildon-widgets/hildon-range-editor.c
1385 (hildon_range_editor_forall): use g_return_if_fail instead of
1388 * hildon-widgets/hildon-range-editor.cvn
1389 (hildon_range_editor_mnemonic_activate): removed. (unused)
1392 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1394 Cleanup hildon-note,
1396 * hildon-widgets/hildon-note.[ch]
1398 (hildon_note_five_line_truncate): removed.
1399 (hildon_note_one_line_truncate): removed.
1401 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1402 instead of _{one|five}_line_truncate() functions.
1405 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1406 into wrapper of "hildon_note_new_information_with_icon_name".
1408 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1409 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1411 - removed some unnessecary includes.
1413 - Merged hildon_note_create & hildon_note_create_form and rewrote
1414 the combination as hildon_note_rebuild
1416 - Added missing g_return_* into public functions.
1418 - Acquire real references to children which are packed/unpacked,
1419 so we do not need to bother about refcounting while changing the
1423 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1427 * hildon-widgets/hildon-number-editor.c
1429 (set_widget_allocation): use const parameter.
1431 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1433 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1434 (hildon_number_editor_set_range): removed 'negative'
1437 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1438 use g_assert instead of g_return_if_fail
1441 * hildon-widgets/hildon-time-picker.c:
1442 - in several places, replace 1440 by 24*60
1443 (PROP_AMPM): removed, unused.
1444 (hildon_time_picker_timeout): use significant parameter name,
1446 (hildon_time_picker_init): removed useless call to _change_time()
1449 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1453 * hildon-widgets/hildon-seekbar.c
1455 (_): Removed dgettext macro definition.
1457 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1459 (hildon_seekbar_finalize): removed. not needed.
1460 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1462 (hildon_seekbar_size_request): indent cleanup.
1464 (hildon_seekbar_size_allocate): simplified function.
1466 (hildon_seekbar_button_press_event): Removed unused variables.
1467 (hildon_seekbar_button_release_event): likewise.
1470 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1472 Cleanup date editor,
1474 * hildon-widgets/hildon-date-editor.c
1476 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1477 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1479 (hildon_date_editor_get_font_width): removed (legacy static
1480 function), use gtk_entry_set_width_chars instead.
1482 (hildon_date_editor_mnemonic_activate): removed mnemonic
1483 activation handler, since it's no more used by HildonCaption.
1486 - Removed some meaningless code (if (somewidget != NULL)) from
1489 - HEAVILY modified key_press, completely removed if/grab_focus
1490 spaghetti by gtk_widget_child_focus
1492 - Removed input validation from keypress (that would not work
1493 anyway, since our input method do not generate presses). => This
1494 allows to change default return value to FALSE and remove all cases
1495 that just returned FALSE for some keys.
1497 - Merged all *_entry_changed callbacks to use the same
1498 function. Again using gtk_widget_child_focus, but now with return
1499 value as well to detect last field.
1501 - Changed that calendar button is no more implemented through
1502 changing widget hierarchy (old implementation caused critical
1503 issues when you used both stylus and hardkeys at the same time to
1504 popup. => finalize method no longer contained anything => removed
1506 - Locale type is no longer needed after initial setup.
1508 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1509 hack from the days of background dimming (it was important to
1510 process background updates before the dimming was done).
1512 - Changed the field order/delimeters to be correcly derived form
1515 - Rewrote validation function, combined it with validation done in
1516 focus_out (since both are now called at the same time).
1518 - Changed set_date function to set all components at one go
1519 without doing any validation there between (before setting each
1524 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1526 Cleanup set-password dialog
1528 * hildon-widgets/hildon-set-password-dialog.[ch]
1529 (hildon_set_password_dialog_set_domain): gchar * param is const
1530 (hildon_set_password_dialog_new_with_default): likewise.
1532 * hildon-widgets/hildon-set-password-dialog.c
1534 (hildon_set_password_set_property): setting 'modify-protection'
1537 (hildon_set_password_get_property): fixed broken 'domain' (missing
1538 break statement!) and 'modify-protection' (was a null operation)
1539 properties; code simplified.
1541 (hildon_set_password_dialog_constructor),
1543 (hildon_set_password_dialog_class_init),
1544 (hildon_set_password_dialog_init):
1545 hildon_set_password_dialog_constructor removed as weird and
1546 obsolete and replaced with new function create_contents; fixed
1547 leaking group variable; removed some unused, outdated code that
1548 was already commented out.
1550 (hildon_set_password_response_change),
1551 (hildon_set_password_response_set): GtkWindow *parent arguments
1552 changed to gpointer unused; cleaned up unnecessary strcmp's
1554 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1555 checkbox). gpointer renamed to be more descriptive; Code simplified
1557 (hildon_set_password_dialog_get_type): empty function argument
1558 list replaced with void keyword.
1560 (hildon_set_password_dialog_new),
1561 (hildon_set_password_dialow_new_with_default): simplified by
1562 having the simpler constructor call the more complex one, not vice
1563 versa; moved callback connects to create_contents since they
1564 depend on the status of 'modify-protection' property
1566 (hildon_set_password_dialog_get_password): type check added
1567 (hildon_set_password_dialog_get_protected): likewise
1568 (hildon_set_password_dialog_set_domain): likewise
1571 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1573 Cleanup name-password dialog:
1575 * hildon-widgets/hildon-name-password-dialog.[ch]
1577 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1578 types changed from *HildonCaption to *GtkEntry
1580 (hildon_name_password_dialog_set_property): layout fixes;
1581 duplicated code replaced with calls to relevant public functions
1583 (hildon_name_password_dialog_get_property): layout fixes;
1584 duplicated code replaced with calls to relevant public functions
1586 (hildon_name_password_dialog_init): fixed leaking group variable;
1587 reworked to have captions as local variables and captioned entries
1588 in the private struct
1590 (hildon_name_password_dialog_new_with_default): name and password
1591 arguments declared const
1593 (hildon_name_password_dialog_get_name): type check added + cleanup
1594 (hildon_name_password_dialog_get_password): likewise.
1596 (hildon_name_password_dialog_set_domain): domain argument declared
1597 const; type check added + cleanup
1600 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1602 Cleanup get-password dialog:
1604 * hildon-widgets/hildon-get-password-dialog.[ch]
1606 (HildonGetPasswordDialogPrivate): gboolean get_old added
1608 (hildon_get_password_set_property): fixed broken 'numbers-only'
1609 and 'max-characters' cases; 'get-old' property added
1611 (hildon_get_password_get_property): added support for reading
1612 'numbers-only' properties; added missing break to 'domain' case.
1613 added 'get-old' property
1615 (hildon_get_password_dialog_class_init): 'domain' and
1616 'numbers-only' properties are now readable; 'get-old' property
1619 (hildon_get_password_dialog_init, create_contents): everything
1620 that depends on the type of the dialog (i.e. 'get-old' property)
1621 is now done in create_contents after properties are initialized;
1622 fixed leaking group variable
1624 (hildon_get_password_dialog_get_type): empty function argument
1625 list replaced with void keyword
1627 (hildon_get_password_dialog_new): moved setting the labels of the
1628 get password dialog to init where it should be done; 'get-old'
1629 property set upon construction to achieve this
1631 (hildon_get_password_dialog_new_with_default): password argument
1634 (hildon_get_password_dialog_get_password): type check added
1635 (hildon_get_password_dialog_set_domain): type check added; domain
1636 argument declared const; duplicate function declaration removed
1638 (hildon_get_password_dialog_set_title): type check added;
1639 new_title argument declared const
1641 (hildon_get_password_dialog_set_caption): type check added;
1642 new_caption argument declared const
1644 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1645 (_invalid_input): gpointer data argument renamed unused
1648 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1650 (*_get_type): declared G_GNUC_CONST
1652 * hildon-widgets/hildon-app.h:
1653 * hildon-widgets/hildon-appview.h:
1654 * hildon-widgets/hildon-calendar-popup.h:
1655 * hildon-widgets/hildon-color-selector.h:
1656 * hildon-widgets/hildon-date-editor.h:
1657 * hildon-widgets/hildon-find-toolbar.h:
1658 * hildon-widgets/hildon-get-password-dialog.h:
1659 * hildon-widgets/hildon-name-password-dialog.h:
1660 * hildon-widgets/hildon-number-editor.h:
1661 * hildon-widgets/hildon-seekbar.h:
1662 * hildon-widgets/hildon-set-password-dialog.h:
1663 * hildon-widgets/hildon-sort-dialog.h:
1664 * hildon-widgets/hildon-time-editor.h:
1665 * hildon-widgets/hildon-weekday-picker.h:
1666 * hildon-widgets/hildon-wizard-dialog.h:
1668 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1672 * hildon-widgets/hildon-volumebar.c
1673 (hildon_volumebar_class_init): object class casts cleaned up
1674 (hildon_child_forall): removed unnecessary variable vbar; type check added
1675 (hildon_volumebar_set_property): removed unnecessary variable vbar
1676 (hildon_volumebar_set_level): type check added
1677 (hildon_volumebar_get_level): type check added
1678 (hildon_volumebar_set_mute): type check added
1679 (hildon_volumebar_get_mute): type check added
1680 (hildon_volumebar_get_adjustment): type check added
1681 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1683 * hildon-widgets/hildon-volumebar.h
1684 (hildon_volumebar_get_type): declared G_GNUC_CONST
1686 * hildon-widgets/hildon-volumebar-private.h:
1687 - G_BEGIN_DECLS/G_END_DECLS added
1688 - ownorientation removed from private struct
1690 * hildon-widgets/hildon-volumebar-range.c
1691 (hildon_volumebar_range_init): vacuous return statement removed
1693 (hildon_volumebar_range_set_level): removed unnecessary clamping
1694 kludge that violated object oriented principles only to provide an
1695 extremely minor, unnecessary optimization; type check added
1697 (hildon_volumebar_range_get_level): now accesses adjustment value
1698 with appropriate functions instead of reading it directly from the
1699 struct, which is bad OOP; type check added
1701 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1702 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1704 * hildon-widgets/hildon-volumebar-range.h
1705 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1707 * hildon-widgets/hildon-hvolumebar.c
1708 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1709 completely removed the gtk_widget_show() call that was already
1712 (hildon_hvolumebar_new): empty function parameter list replaced
1715 (hildon_hvolumebar_map): vbar variable removed; type check added
1716 (hildon_hvolumebar_expose): type check added
1717 (hildon_hvolumebar_size_request): type check added
1718 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1720 * hildon-widgets/hildon-hvolumebar.h
1721 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1723 * hildon-widgets/hildon-vvolumebar.c
1724 (vvolumebar_init): priv->ownorientation and v_ptr removed
1725 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1727 (hildon_vvolumebar_expose): type check added
1728 (hildon_vvolumebar_size_request): type check added
1729 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1731 * hildon-widgets/hildon-vvolumebar.h
1732 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1735 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1737 * hildon-widgets/hildon-weekday-picker.c
1738 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1739 last_index; added day_order_buttons
1741 (hildon_weekday_picker_mnemonic_activate): removed.
1742 mnemonics are no longer used.
1744 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1745 function. Rewritten creation of buttons. Unref'ed size group.
1747 (button_toggle): Removed bit mask checking, simplified function
1749 (hildon_weekday_picker_set_day):
1750 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1751 adjustment, unecessary for loop
1753 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1754 unecessary for loop. Simplified button toggling
1756 (hildon_weekday_picker_set_all):
1757 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1760 (hildon_weekday_picker_isset_day): Removed date adjustment and
1761 unecessary for loop;
1763 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1765 Added hildon-banner, as a clean replacement for gtk-infoprint
1766 * hildon-widgets/hildon-banner.[ch]: implementation and header
1767 * hildon-widgets/Makefile.am: reference new files
1768 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1769 a compatibility wrapper to hildon-banner
1771 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1773 * hildon-widgets/hildon-color-button.c: added comments
1774 * hildon-widgets/hildon-controlbar.c: Likewise.
1775 * hildon-widgets/hildon-composite-widget.c: Likewise.
1776 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1778 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1780 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1783 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1785 * configure.ac: 0.12.1
1787 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1789 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1790 * doc/tmpl/hildon-window.sgml: likewise.
1791 * hildon-widgets/hildon-program.[ch]: likewise.
1792 * hildon-widgets/hildon-window.[ch]: likewise.
1793 * hildon-widgets/hildon-window-private.h: likewise.
1794 * hildon-widgets/Makefile.am: Added these new files to the build
1797 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1799 * configure.ac: 0.12.0
1801 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1803 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1804 * doc/tmpl/hildon-appview.sgml: likewise.
1805 * doc/tmpl/hildon-color-popup.sgml: likewise.
1806 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1807 * doc/tmpl/hildon-app.sgml: likewise.
1808 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1809 * doc/tmpl/hildon-caption.sgml: likewise.
1810 * doc/tmpl/hildon-marshalers.sgml: likewise.
1811 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1812 * doc/tmpl/hildon-defines.sgml: likewise.
1813 * doc/tmpl/gtk-infoprint.sgml: likewise.
1814 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1816 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1817 * hildon-widgets/hildon-app.[ch]:likewise.
1818 * hildon-widgets/hildon-app-private.h:likewise.
1819 * hildon-widgets/hildon-appview.[ch]:likewise.
1820 * hildon-widgets/hildon-caption.[ch]:likewise.
1821 * hildon-widgets/hildon-defines.[ch]:likewise.
1822 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1823 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1825 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1826 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1830 hildon-app-private.h
1834 hildon-find-toolbar.[ch]
1835 hildon-input-mode-hint.h
1837 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1838 path for gtk-infoprint.h and hildon-input-mode-hint.h
1840 * po/en_GB.po: merged msgstr from hildon-lgpl
1842 * timer/*: added from hildon-lgpl
1846 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1848 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1851 * ut/hildon-widgets_tests.c (test41a): removed test case for
1852 hildon_file_details_dialog
1854 * doc/hildon-libs.types: likewise.
1855 * doc/hildon-libs-docs.xml: likewise.
1861 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1864 * Makefile.am (SUBDIRS): added timer/
1866 * configure.ac: do not depend anymore on hildon-lgpl nor
1867 hildon-fm, check for libmb, added Makefile output for timer/
1871 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1873 * configure.ac: 0.10.2
1875 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1877 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1878 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1879 hildon-apps scroll-control property is now handled.
1880 (get_child_index_by_coord): ignores events not matching a grid
1883 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1885 * configure.ac: 0.10.1
1887 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1889 Missing/Buggy documentation from,
1890 N#11566 make password dialog customizable (messages)
1891 * hildon-widgets/hildon-get-password-dialog.c
1892 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1894 * doc/tmpl/xxx.sgml: updated.
1896 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1898 N#19369 TRUE Scketch does not show colour change when using white color
1900 Color button needs inner border white, and outer border black.
1901 * hildon-widgets/hildon-color-button.c
1902 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1904 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1905 (hildon_color_button_realize): call the above function
1907 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1909 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1910 * hildon-widgets/hildon-note.c:
1911 (hildon_note_new_confirmation_add_buttons): updated doc
1912 (hildon_note_set_button_texts): likewise.
1914 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1916 N#21884 Cannot select read-only by using the center of the scroll key
1917 * hildon-widgets/hildon-file-details-dialog.c
1918 (hildon_file_details_dialog_init): Removed dialog default response.
1920 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1922 N#8094 5-bit color selector: wrong margins and pixel measurements
1923 M#59 HildonColorSelector needs more space
1924 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1925 (hildon_color_popup_new): add space between the control bars and
1926 the color preview area.
1928 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1930 * hildon-widgets/hildon-calendar-popup.c
1931 * hildon-widgets/hildon-color-button.c
1932 * hildon-widgets/hildon-color-popup.c
1933 * hildon-widgets/hildon-color-selector.c
1934 * hildon-widgets/hildon-composite-widget.c
1935 * hildon-widgets/hildon-controlbar.c
1936 * hildon-widgets/hildon-date-editor.c
1937 * hildon-widgets/hildon-dialoghelp.c
1938 * hildon-widgets/hildon-file-details-dialog.c
1939 * hildon-widgets/hildon-font-selection-dialog.c
1940 * hildon-widgets/hildon-get-password-dialog.c
1941 * hildon-widgets/hildon-grid-item.c
1942 * hildon-widgets/hildon-grid.c
1943 * hildon-widgets/hildon-hvolumebar.c
1944 * hildon-widgets/hildon-name-password-dialog.c
1945 * hildon-widgets/hildon-note.c
1946 * hildon-widgets/hildon-number-editor.c
1947 * hildon-widgets/hildon-range-editor.c
1948 * hildon-widgets/hildon-scroll-area.c
1949 * hildon-widgets/hildon-seekbar.c
1950 * hildon-widgets/hildon-set-password-dialog.c
1951 * hildon-widgets/hildon-sort-dialog.c
1952 * hildon-widgets/hildon-time-editor.c
1953 * hildon-widgets/hildon-time-picker.c
1954 * hildon-widgets/hildon-volumebar-private.h
1955 * hildon-widgets/hildon-volumebar-range.c
1956 * hildon-widgets/hildon-volumebar.c
1957 * hildon-widgets/hildon-vvolumebar.c
1958 * hildon-widgets/hildon-weekday-picker.c
1959 * hildon-widgets/hildon-wizard-dialog.c
1962 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1964 * configure.ac: 0.10.0
1966 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1968 Some more properties for Gazpacho support,
1970 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1971 * hildon-widgets/hildon-color-selector.c: "color"
1974 * hildon-widgets/hildon-color-selector.[ch]
1975 (hildon_color_selector_get_color): return const pointer to the
1978 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1981 Gazpacho support, added the following properties:
1983 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1984 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1985 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1986 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1987 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1988 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1989 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1990 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1991 * hildon-widgets/hildon-number-editor.c: "value"
1993 * hildon-widgets/hildon-color-button.c: minor cleanup
1996 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1998 Started new development
1999 (branche for maintenance continues with versions 0.9.x)
2001 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2003 * configure.ac: 0.9.53
2005 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2008 N#19283 Control panel - The values entered are not saved.
2009 N#19648 Hildon Date Editor widget detects values too high
2010 (note: complete fix include also fixes in GTk+)
2012 * hildon-widgets/hildon-calendar-popup.c
2013 (hildon_calendar_popup_set_property),
2014 (hildon_calendar_popup_class_init),
2015 (init_dmy): Added 'min-year', 'max-year' properties for passing
2016 the information through from HildonDateEditor to GtkCalendar
2018 * hildon-widgets/hildon-date-editor.c:
2019 (hildon_date_editor_class_init),
2020 (hildon_date_editor_init),
2021 (hildon_date_editor_set_property),
2022 (hildon_date_editor_get_property),
2024 (hildon_date_editor_entry_validate),
2025 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2026 properties and replaced hardcoded constants with them
2028 * hildon-widgets/hildon-date-editor.c
2029 (hildon_date_editor_d_entry_changed),
2030 (hildon_date_editor_m_entry_changed),
2031 (hildon_date_editor_d_entry_changed): new functions to ensure that
2032 the fields are validated and the focus is moved when maximum
2033 number of characters has been entered.
2035 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2037 * configure.ac: 0.9.52
2039 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2041 N#19140 System alerts still audible despite being turned off
2043 * hildon-widgets/hildon-note.c (sound_handling):
2045 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2047 * hildon-note.c (sound_handling): Changed to use new
2048 hildon_play_system_sound.
2049 (hildon_note_init): Signal handler id is changed to be in private
2050 structure, not in global variable.
2052 * hildon-note.c: Removed unused defines etc.
2054 * Makefile.am: Appended new files to build rules.
2056 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2058 * configure.ac: 0.9.51
2060 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2062 N#20027 PDF Reader crashes on selecting read only option in the
2065 * hildon-widgets/hildon-file-details-dialog.c:
2066 (change_state): Fixed assertion that was causing problems
2067 (check_validity): New function: We now automatically close the
2068 dialog if the displayed file is removed.
2069 (handle_focus): Callback removed:
2070 (init): Now using correct gtk way to bind container and adjustment
2071 together. Not the previous callback.
2072 (set_property): Connecting/disconnecting new handlers (for
2074 (finalize): disconnecting new handler.
2076 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2078 N#17918 Volumebar widget background image doesn't change when
2079 widget goes into mute state,
2081 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2084 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2085 using the state of the internal volumebar, not the whole container
2087 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2088 using the state of the internal volumebar, not the whole container
2090 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2092 * hildon-widgets/hildon-dialoghelp.[ch]: added
2093 gtk_dialog_help_disable and fixed bug N#19468
2095 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2097 * configure.ac: Release 0.9.50
2099 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2103 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2105 * hildon-widgets/hildon-grid.c
2106 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2107 label by logical name "Ckct_wi_grid_no_items"
2110 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2112 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2114 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2116 * configure.ac: Release 0.9.49
2118 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2120 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2121 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2122 Save the id of the idle callback and remove it when the widget is
2123 destroyed to avoid crashing. N#18096
2125 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2127 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2128 id's are unsigned and undefined at zero (instead of signed and -1)
2130 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2132 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2133 that was not working. N#16805
2135 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2137 * configure.ac: Release 0.9.48
2139 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2141 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2142 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2143 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2145 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2147 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2148 Do not override the week-start property of GtkCalendar according to
2149 the hildon-libs PO file, it is automatically determined from locale
2152 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2154 * configure.ac: Release 0.9.47
2156 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2158 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2159 property for setting the password entry accept only numeric values.
2162 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2164 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2165 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2166 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2167 Use defines rather than magic numbers in the code.
2169 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2171 Update to new l10n packaging style. po-files (inside this package)
2172 are not used for now, the message catalogs come from separate packages
2173 and including them here would conflict.
2175 * Makefile.am (SUBDIRS): stop including po-files
2176 * Makefile.am (EXTRA_DIST):
2177 * debian/hildon-libs-l10n-engb.install:
2178 * debian/hildon-libs-l10n-src.install:
2179 * po/debian/*: Removed
2181 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2183 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2184 checks to cover gateway content as well.
2186 * hildon-widgets/hildon-time-editor.c:
2187 (hildon_time_editor_validate): Replace solid numbers with defined
2189 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2192 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2194 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2195 invalid cast from `GdkWindow' to `GtkWindow'
2197 * hildon-widgets/hildon-color-popup.c
2198 (hildon_popup_palette_expose): removed debug printing
2200 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2202 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2205 * hildon-widgets/hildon-scroll-area.c
2206 (hildon_scroll_area_destroy): one-instruction function:
2207 removed. Call g_free directly.
2209 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2210 right edge of window, size of the child is also shrinked. 'fixed'
2211 does not automatically update this data -> Doing it manually.
2213 * hildon-widgets/hildon-date-editor.h: added
2214 HildonDateEditorErrorType error enumeration type, removed signal
2215 "validate-date" virtual function, added signal "date-error"
2218 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2219 added custom info prints.
2220 (hildon_date_editor_validate_date): removed
2221 (hildon_date_editor_entry_validate): validate maximum and minimum
2222 limits on each field.
2223 (hildon_date_editor_entry_focus_out): check the date validation
2224 in simpler manner, don't put content if field is empty (spec
2225 doesn't say if there should be anything placed in the entry if
2227 (hildon_date_editor_get_date),
2228 (hildon_date_editor_get_month),
2229 (hildon_date_editor_get_year),
2230 (hildon_date_editor_get_day): use direct entry content, so that 0
2231 indicates empty entry, and information is more accurate.
2233 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2235 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2237 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2238 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2240 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2242 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2244 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2246 * hildon-widgets/hildon-number-editor.c:
2247 (hildon_number_editor_select_all): new function, selects all
2248 the text in the entry.
2249 * hildon-widgets/hildon-number-editor.c: added several calls to
2250 hildon_number_editor_select_all with g_idle_add.
2252 * hildon-controlbar.c : add signal when end reached
2254 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2256 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2258 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2260 Fixed incorrect values in <Filetype> Details Dialog
2262 Fixed help button usage in dialogs
2264 * hildon-dialoghelp.c: Added more documentation about the
2267 * hildon-file-details-dialog.c: Updated to match
2268 'File Management in OSSO' version 3.0
2270 * Fixed application hang after calling gtk_main_quit
2272 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2273 ESC presses needlessly
2275 * hildon-time-editor.c: Fixed memory corruption