1 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
3 * hildon-widgets/hildon-font-selection-dialog.c
4 (hildon_font_selection_dialog_show_preview): set line wrap for
8 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
10 * hildon-widgets/hildon-date-editor.c
11 (hildon_child_forall): cast 'container'
12 (hildon_date_editor_size_allocate): adjusted height allocation.
15 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
17 Cleanup calendar popup,
19 * hildon-widgets/hildon-calendar-popup.c:
20 - updated 'longdesc' comment.
21 - removed gtk-infoprint.h from included headers (unused).
23 (struct HildonCalendarPopupPrivate): removed member
25 (hildon_calendar_day_selected): removed (useless).
26 (hildon_calendar_allow_exit): likewise.
27 (hildon_calendar_deny_exit): likewise.
29 (hildon_calendar_selected_date): new function. replaces
30 hildon_calendar_allow_exit()
32 (hildon_calendar_popup_init):
33 - Removed initialization for 'can_exit'.
34 - Removed connection to removed useless functions.
35 - Connect "selected_date" to hildon_calendar_selected_date().
36 - Do not grab the focus (useless)
38 (hildon_key_pressed): just handle ESC and Return keys.
40 (hildon_calendar_popup_get_property): removed unused variables.
43 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
45 * hildon-widgets/hildon-caption.c
46 * hildon-widgets/hildon-composite-widget.h
47 * hildon-widgets/hildon-get-password-dialog.c
48 * hildon-widgets/hildon-grid.h
49 * hildon-widgets/hildon-grid-item.h
50 * hildon-widgets/hildon-volumebar-range.c
51 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
53 (hildon_controlbar_get_type): likewise.
55 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
57 * doc/hildon-libs.types: Add missing types
58 * doc/hildon-libs-docs.sgml: Add missing links and some organization
59 * doc/tmpl/*: Regenerate and add new files
61 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
64 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
66 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
68 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
69 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
71 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
75 * doc/Makefile.am: Update gtk-doc framework bits
76 * gtk-doc.make (commit generated file)
77 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
79 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
80 * hildon-widgets/hildon-code-dialog.c:
84 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
86 * hildon-widgets/hildon-window.c: propagate key-press event to the
87 parent class (Closes N#23400)
88 * configure.ac: 0.12.3
90 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
92 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
94 * configure.ac: 0.12.2
97 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
99 * hildon-widgets/hildon-color-selector.c (key_pressed): use
100 g_assert instead of g_return_val_if_fail
105 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
107 * hildon-widgets/hildon-get-password-dialog.[ch]:
108 (hildon_get_password_dialog_set_title) marked deprecated.
110 + cleanup header coding style
113 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
115 Cleanup font selection dialog
117 * hildon-widgets/hildon-font-selection-dialog.c
119 (hildon_font_selection_dialog_construct_notebook): removed dummy
122 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
124 (hildon_font_selection_dialog_preview_key_press): Renamed argument
125 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
127 (toggle_clicked): renamed argument 'data' to 'unused'
129 (hildon_font_selection_dialog_set_preview_text): added proper
133 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
135 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
136 removed console messages.
139 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
141 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
142 (struct _HildonSortDialogPrivate):
143 - removed okButton, cancelButton
144 - removed sort_by_value, sort_order_type
145 - removed index_first
146 - renamed combo1 to combo_key
147 - renamed caption1 to caption_key
148 - renamed combo2 to combo_order
149 - renamed caption2 to cpation_order
151 (hildon_sort_dialog_init): removed init of unused fields.
153 (hildon_sort_dialog_get_sort_key): likewise.
154 (hildon_sort_dialog_get_sort_order): likewise.
155 (hildon_sort_dialog_set_sort_key): likewise.
156 (hildon_sort_dialog_set_sort_order): likewise.
157 (hildon_sort_dialog_add_sort_key): likewise.
159 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
161 * hildon-widgets/hildon-date-editor.c
162 (hildon_child_forall): use g_assert instead of g_return_if_fail
163 (hildon_date_editor_entry_validate): likewise.
166 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
168 * hildon-widgets/hildon-controlbar.c
169 (hildon_controlbar_change_value): commented function.
171 * hildon-widgets/hildon-wizard-dialog.c
172 (hildon_wizard_dialog_get_property): likewise.
175 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
177 Cleanup weekday picker,
179 * hildon-widgets/hildon-weekday-picker.c
180 (_): removed unused gettext macro
181 (button_toggle): use meaningful parameter name
182 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
183 (hildon_weekday_picker_size_allocate): likewise.
184 (button_toggle): likewise.
187 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
191 * hildon-widgets/hildon-time-editor.c
192 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
193 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
194 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
195 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
197 (struct _HildonTimeEditorPrivate):
198 - h_entry, m_entry, s_entry replaced by entries[],
199 allows to remove a lot of code.
200 - label renamed to hm_label
201 - label2 renamed to sec_label
202 - ampm renamed to ampm_label
203 - show_s renamed to show_seconds
204 - removed fields: icon, valid_value, validated
206 + moved up in the file.
208 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
210 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
212 (set_widget_allocation): removed
213 (hildon_time_editor_entry_changed): removed
215 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
217 (hildon_time_editor_forall): removed unnecessary code
218 (hildon_time_editor_destroy): likewise.
220 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
222 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
224 (hildon_time_editor_set_to_current_time): new function. (factorise code)
225 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
226 use new variable names,
227 use hildon_time_editor_set_to_current_time
229 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
230 (hildon_time_editor_set_ticks): use g_assert instead of
231 g_return_if_fails, use
232 'entries[]', removed dead code
234 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
235 (hildon_time_editor_validate): use 'entries[]', removed dead code
236 (hildon_time_editor_get_max_values): use 'entries[]'
239 (hildon_time_editor_get_show_seconds): use new variable names
240 (hildon_time_editor_set_duration_mode): likewise.
242 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
244 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
246 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
248 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
250 (set_widget_allocation): removed (unused)
251 (hildon_time_editor_entry_changed): removed (unused)
253 (IS_VALID_KEYPRESS): new macro
254 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
255 deleate dead/unnecessary code
257 use IS_VALID_KEYPRESS
259 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
261 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
263 (hildon_time_editor_size_allocate): cleanup
264 (convert_to_12h): cleanup code style
266 (hildon_time_editor_show_seconds): removed deprecation flag
267 (hildon_time_editor_enable_duration_mode): likewise.
270 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
274 * hildon-widgets/hildon-volumebar.h: removed unused #include
275 + coding style cleanup
277 * hildon-widgets/hildon-volumebar.c
278 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
280 (hildon_child_forall): use g_assert instead of g_return_if_fail
282 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
283 + coding style cleanup
285 * hildon-widgets/hildon-volumebar-private.h:
286 added missing #include.
287 added _hildon_volumebar_mute_toggled.
288 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
292 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
293 + coding style cleanup
295 * hildon-widgets/hildon-vvolumebar.c
296 (hildon_vvolumebar_size_request)
297 (hildon_vvolumebar_size_allocate)
298 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
300 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
302 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
303 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
304 (vvolumebar_init): renamed to hildon_vvolumebar_init
305 (hildon_vvolumebar_init): removed unused 'orientation'
306 initialisation. Use _hildon_volumebar_mute_toggled instead of
307 removed hildon_vvolumebar_mute.
311 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
313 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
314 renamed to hildon_hvolumebar_class_init
316 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
317 hildon_hvolumebar_init
319 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
322 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
323 removed unused 'orientation' initialisation.
325 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
326 _hildon_volumebar_mute_toggled instead of removed
327 hildon_hvolumebar_mute.
330 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
334 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
337 * hildon-widgets/hildon-color-popup.h: likewise.
339 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
342 * hildon-widgets/hildon-color-selector.c
343 (hildon_color_selector_new): use g_return_val_if_fail instead of
345 (select_color): use g_assert instead of g_return_if_fail
347 * hildon-widgets/hildon-calendar-popup.c
348 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
352 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
354 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
355 added HildonCodeDialog widget
358 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
360 * hildon-widgets/hildon-window.c:
361 - set the toolbar height explicitely
362 - use show instead of show_all on the common_toolbar
363 - add the toolbars bottom-up instead of top-down
364 * hildon-widgets/hildon-program.c:
365 - don't assume that a window was realized when added to
369 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
371 Cleanup font selection dialog,
373 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
374 + coding style cleanup
376 * hildon-widgets/hildon-font-selection-dialog.c
377 (hildon_font_selection_dialog_finalize): use g_return_if_fail
380 * hildon-widgets/hildon-font-selection-dialog.c
381 (hildon_font_selection_dialog_get_text_tag)
382 (hildon_font_selection_dialog_set_buffer)
383 (hildon_font_selection_dialog_get_font)
384 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
387 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
389 Cleanup range editor,
391 * hildon-widgets/hildon-range-editor.c
392 (hildon_range_editor_calss_init):Removed
393 widget_calss->mnemonic_activate init
395 * hildon-widgets/hildon-range-editor.c
396 (hildon_range_editor_mnemonic_activate): Removed static function
397 hildon_range_mnemonic_activate and FIXME. It is useless even
398 through it is overriding function for
399 GtkWidgetClass->mnemonic_activate. The activation and keyboard
400 focus will be realized based on different applications.
402 * hildon-widgets/hildon-range-editor.c
403 (is_valid_keyvalue_for_entry_keypress): new function.
405 * hildon-widgets/hildon-range-editor.c
406 (hildon_range_editor_entry_keypress): uses
407 is_valid_keyvalue_for_entry_keypress
409 * hildon-widgets/hildon-range-editor.c
410 (hildon_range_editor_forall): use g_return_if_fail instead of
413 * hildon-widgets/hildon-range-editor.cvn
414 (hildon_range_editor_mnemonic_activate): removed. (unused)
417 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
421 * hildon-widgets/hildon-note.[ch]
423 (hildon_note_five_line_truncate): removed.
424 (hildon_note_one_line_truncate): removed.
426 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
427 instead of _{one|five}_line_truncate() functions.
430 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
431 into wrapper of "hildon_note_new_information_with_icon_name".
433 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
434 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
436 - removed some unnessecary includes.
438 - Merged hildon_note_create & hildon_note_create_form and rewrote
439 the combination as hildon_note_rebuild
441 - Added missing g_return_* into public functions.
443 - Acquire real references to children which are packed/unpacked,
444 so we do not need to bother about refcounting while changing the
448 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
452 * hildon-widgets/hildon-number-editor.c
454 (set_widget_allocation): use const parameter.
456 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
458 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
459 (hildon_number_editor_set_range): removed 'negative'
462 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
463 use g_assert instead of g_return_if_fail
466 * hildon-widgets/hildon-time-picker.c:
467 - in several places, replace 1440 by 24*60
468 (PROP_AMPM): removed, unused.
469 (hildon_time_picker_timeout): use significant parameter name,
471 (hildon_time_picker_init): removed useless call to _change_time()
474 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
478 * hildon-widgets/hildon-seekbar.c
480 (_): Removed dgettext macro definition.
482 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
484 (hildon_seekbar_finalize): removed. not needed.
485 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
487 (hildon_seekbar_size_request): indent cleanup.
489 (hildon_seekbar_size_allocate): simplified function.
491 (hildon_seekbar_button_press_event): Removed unused variables.
492 (hildon_seekbar_button_release_event): likewise.
495 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
499 * hildon-widgets/hildon-date-editor.c
501 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
502 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
504 (hildon_date_editor_get_font_width): removed (legacy static
505 function), use gtk_entry_set_width_chars instead.
507 (hildon_date_editor_mnemonic_activate): removed mnemonic
508 activation handler, since it's no more used by HildonCaption.
511 - Removed some meaningless code (if (somewidget != NULL)) from
514 - HEAVILY modified key_press, completely removed if/grab_focus
515 spaghetti by gtk_widget_child_focus
517 - Removed input validation from keypress (that would not work
518 anyway, since our input method do not generate presses). => This
519 allows to change default return value to FALSE and remove all cases
520 that just returned FALSE for some keys.
522 - Merged all *_entry_changed callbacks to use the same
523 function. Again using gtk_widget_child_focus, but now with return
524 value as well to detect last field.
526 - Changed that calendar button is no more implemented through
527 changing widget hierarchy (old implementation caused critical
528 issues when you used both stylus and hardkeys at the same time to
529 popup. => finalize method no longer contained anything => removed
531 - Locale type is no longer needed after initial setup.
533 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
534 hack from the days of background dimming (it was important to
535 process background updates before the dimming was done).
537 - Changed the field order/delimeters to be correcly derived form
540 - Rewrote validation function, combined it with validation done in
541 focus_out (since both are now called at the same time).
543 - Changed set_date function to set all components at one go
544 without doing any validation there between (before setting each
549 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
551 Cleanup set-password dialog
553 * hildon-widgets/hildon-set-password-dialog.[ch]
554 (hildon_set_password_dialog_set_domain): gchar * param is const
555 (hildon_set_password_dialog_new_with_default): likewise.
557 * hildon-widgets/hildon-set-password-dialog.c
559 (hildon_set_password_set_property): setting 'modify-protection'
562 (hildon_set_password_get_property): fixed broken 'domain' (missing
563 break statement!) and 'modify-protection' (was a null operation)
564 properties; code simplified.
566 (hildon_set_password_dialog_constructor),
568 (hildon_set_password_dialog_class_init),
569 (hildon_set_password_dialog_init):
570 hildon_set_password_dialog_constructor removed as weird and
571 obsolete and replaced with new function create_contents; fixed
572 leaking group variable; removed some unused, outdated code that
573 was already commented out.
575 (hildon_set_password_response_change),
576 (hildon_set_password_response_set): GtkWindow *parent arguments
577 changed to gpointer unused; cleaned up unnecessary strcmp's
579 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
580 checkbox). gpointer renamed to be more descriptive; Code simplified
582 (hildon_set_password_dialog_get_type): empty function argument
583 list replaced with void keyword.
585 (hildon_set_password_dialog_new),
586 (hildon_set_password_dialow_new_with_default): simplified by
587 having the simpler constructor call the more complex one, not vice
588 versa; moved callback connects to create_contents since they
589 depend on the status of 'modify-protection' property
591 (hildon_set_password_dialog_get_password): type check added
592 (hildon_set_password_dialog_get_protected): likewise
593 (hildon_set_password_dialog_set_domain): likewise
596 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
598 Cleanup name-password dialog:
600 * hildon-widgets/hildon-name-password-dialog.[ch]
602 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
603 types changed from *HildonCaption to *GtkEntry
605 (hildon_name_password_dialog_set_property): layout fixes;
606 duplicated code replaced with calls to relevant public functions
608 (hildon_name_password_dialog_get_property): layout fixes;
609 duplicated code replaced with calls to relevant public functions
611 (hildon_name_password_dialog_init): fixed leaking group variable;
612 reworked to have captions as local variables and captioned entries
613 in the private struct
615 (hildon_name_password_dialog_new_with_default): name and password
616 arguments declared const
618 (hildon_name_password_dialog_get_name): type check added + cleanup
619 (hildon_name_password_dialog_get_password): likewise.
621 (hildon_name_password_dialog_set_domain): domain argument declared
622 const; type check added + cleanup
625 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
627 Cleanup get-password dialog:
629 * hildon-widgets/hildon-get-password-dialog.[ch]
631 (HildonGetPasswordDialogPrivate): gboolean get_old added
633 (hildon_get_password_set_property): fixed broken 'numbers-only'
634 and 'max-characters' cases; 'get-old' property added
636 (hildon_get_password_get_property): added support for reading
637 'numbers-only' properties; added missing break to 'domain' case.
638 added 'get-old' property
640 (hildon_get_password_dialog_class_init): 'domain' and
641 'numbers-only' properties are now readable; 'get-old' property
644 (hildon_get_password_dialog_init, create_contents): everything
645 that depends on the type of the dialog (i.e. 'get-old' property)
646 is now done in create_contents after properties are initialized;
647 fixed leaking group variable
649 (hildon_get_password_dialog_get_type): empty function argument
650 list replaced with void keyword
652 (hildon_get_password_dialog_new): moved setting the labels of the
653 get password dialog to init where it should be done; 'get-old'
654 property set upon construction to achieve this
656 (hildon_get_password_dialog_new_with_default): password argument
659 (hildon_get_password_dialog_get_password): type check added
660 (hildon_get_password_dialog_set_domain): type check added; domain
661 argument declared const; duplicate function declaration removed
663 (hildon_get_password_dialog_set_title): type check added;
664 new_title argument declared const
666 (hildon_get_password_dialog_set_caption): type check added;
667 new_caption argument declared const
669 (hildon_get_password_dialog_set_max_characters): broken type check fixed
670 (_invalid_input): gpointer data argument renamed unused
673 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
675 (*_get_type): declared G_GNUC_CONST
677 * hildon-widgets/hildon-app.h:
678 * hildon-widgets/hildon-appview.h:
679 * hildon-widgets/hildon-calendar-popup.h:
680 * hildon-widgets/hildon-color-selector.h:
681 * hildon-widgets/hildon-date-editor.h:
682 * hildon-widgets/hildon-find-toolbar.h:
683 * hildon-widgets/hildon-get-password-dialog.h:
684 * hildon-widgets/hildon-name-password-dialog.h:
685 * hildon-widgets/hildon-number-editor.h:
686 * hildon-widgets/hildon-seekbar.h:
687 * hildon-widgets/hildon-set-password-dialog.h:
688 * hildon-widgets/hildon-sort-dialog.h:
689 * hildon-widgets/hildon-time-editor.h:
690 * hildon-widgets/hildon-weekday-picker.h:
691 * hildon-widgets/hildon-wizard-dialog.h:
693 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
697 * hildon-widgets/hildon-volumebar.c
698 (hildon_volumebar_class_init): object class casts cleaned up
699 (hildon_child_forall): removed unnecessary variable vbar; type check added
700 (hildon_volumebar_set_property): removed unnecessary variable vbar
701 (hildon_volumebar_set_level): type check added
702 (hildon_volumebar_get_level): type check added
703 (hildon_volumebar_set_mute): type check added
704 (hildon_volumebar_get_mute): type check added
705 (hildon_volumebar_get_adjustment): type check added
706 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
708 * hildon-widgets/hildon-volumebar.h
709 (hildon_volumebar_get_type): declared G_GNUC_CONST
711 * hildon-widgets/hildon-volumebar-private.h:
712 - G_BEGIN_DECLS/G_END_DECLS added
713 - ownorientation removed from private struct
715 * hildon-widgets/hildon-volumebar-range.c
716 (hildon_volumebar_range_init): vacuous return statement removed
718 (hildon_volumebar_range_set_level): removed unnecessary clamping
719 kludge that violated object oriented principles only to provide an
720 extremely minor, unnecessary optimization; type check added
722 (hildon_volumebar_range_get_level): now accesses adjustment value
723 with appropriate functions instead of reading it directly from the
724 struct, which is bad OOP; type check added
726 (hildon_volumebar_range_button_press_event): Added more descriptive comments
727 (hildon_volumebar_range_button_release_event): Added more descriptive comments
729 * hildon-widgets/hildon-volumebar-range.h
730 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
732 * hildon-widgets/hildon-hvolumebar.c
733 (hvolumebar_init): priv->ownorientation and v_ptr removed;
734 completely removed the gtk_widget_show() call that was already
737 (hildon_hvolumebar_new): empty function parameter list replaced
740 (hildon_hvolumebar_map): vbar variable removed; type check added
741 (hildon_hvolumebar_expose): type check added
742 (hildon_hvolumebar_size_request): type check added
743 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
745 * hildon-widgets/hildon-hvolumebar.h
746 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
748 * hildon-widgets/hildon-vvolumebar.c
749 (vvolumebar_init): priv->ownorientation and v_ptr removed
750 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
752 (hildon_vvolumebar_expose): type check added
753 (hildon_vvolumebar_size_request): type check added
754 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
756 * hildon-widgets/hildon-vvolumebar.h
757 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
760 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
762 * hildon-widgets/hildon-weekday-picker.c
763 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
764 last_index; added day_order_buttons
766 (hildon_weekday_picker_mnemonic_activate): removed.
767 mnemonics are no longer used.
769 (hildon_weekday_picker_class_init): Removed mnemonic_activate
770 function. Rewritten creation of buttons. Unref'ed size group.
772 (button_toggle): Removed bit mask checking, simplified function
774 (hildon_weekday_picker_set_day):
775 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
776 adjustment, unecessary for loop
778 (hildon_weekday_picker_toggle_day): Removed date adjustment and
779 unecessary for loop. Simplified button toggling
781 (hildon_weekday_picker_set_all):
782 (hildon_weekday_picker_unset_all): Removed bit mask checking and
785 (hildon_weekday_picker_isset_day): Removed date adjustment and
788 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
790 Added hildon-banner, as a clean replacement for gtk-infoprint
791 * hildon-widgets/hildon-banner.[ch]: implementation and header
792 * hildon-widgets/Makefile.am: reference new files
793 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
794 a compatibility wrapper to hildon-banner
796 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
798 * hildon-widgets/hildon-color-button.c: added comments
799 * hildon-widgets/hildon-controlbar.c: Likewise.
800 * hildon-widgets/hildon-composite-widget.c: Likewise.
801 * hildon-widgets/hildon-calendar-popup.c: Likewise.
803 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
805 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
808 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
810 * configure.ac: 0.12.1
812 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
814 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
815 * doc/tmpl/hildon-window.sgml: likewise.
816 * hildon-widgets/hildon-program.[ch]: likewise.
817 * hildon-widgets/hildon-window.[ch]: likewise.
818 * hildon-widgets/hildon-window-private.h: likewise.
819 * hildon-widgets/Makefile.am: Added these new files to the build
822 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
824 * configure.ac: 0.12.0
826 Merged hildon-lgpl into hildon-libs (and hildon-fm)
828 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
829 * doc/tmpl/hildon-appview.sgml: likewise.
830 * doc/tmpl/hildon-color-popup.sgml: likewise.
831 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
832 * doc/tmpl/hildon-app.sgml: likewise.
833 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
834 * doc/tmpl/hildon-caption.sgml: likewise.
835 * doc/tmpl/hildon-marshalers.sgml: likewise.
836 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
837 * doc/tmpl/hildon-defines.sgml: likewise.
838 * doc/tmpl/gtk-infoprint.sgml: likewise.
839 * doc/tmpl/hildon-composite-widget.sgml: likewise.
841 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
842 * hildon-widgets/hildon-app.[ch]:likewise.
843 * hildon-widgets/hildon-app-private.h:likewise.
844 * hildon-widgets/hildon-appview.[ch]:likewise.
845 * hildon-widgets/hildon-caption.[ch]:likewise.
846 * hildon-widgets/hildon-defines.[ch]:likewise.
847 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
848 * hildon-widgets/hildon-input-mode-hint.h:likewise.
850 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
851 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
859 hildon-find-toolbar.[ch]
860 hildon-input-mode-hint.h
862 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
863 path for gtk-infoprint.h and hildon-input-mode-hint.h
865 * po/en_GB.po: merged msgstr from hildon-lgpl
867 * timer/*: added from hildon-lgpl
871 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
873 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
876 * ut/hildon-widgets_tests.c (test41a): removed test case for
877 hildon_file_details_dialog
879 * doc/hildon-libs.types: likewise.
880 * doc/hildon-libs-docs.xml: likewise.
886 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
889 * Makefile.am (SUBDIRS): added timer/
891 * configure.ac: do not depend anymore on hildon-lgpl nor
892 hildon-fm, check for libmb, added Makefile output for timer/
896 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
898 * configure.ac: 0.10.2
900 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
902 N#22240 CP: Tapping outside the scroll bar invoke the applet.
903 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
904 hildon-apps scroll-control property is now handled.
905 (get_child_index_by_coord): ignores events not matching a grid
908 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
910 * configure.ac: 0.10.1
912 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
914 Missing/Buggy documentation from,
915 N#11566 make password dialog customizable (messages)
916 * hildon-widgets/hildon-get-password-dialog.c
917 (hildon_get_password_dialog_set_title): typo in gtkdoc function
919 * doc/tmpl/xxx.sgml: updated.
921 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
923 N#19369 TRUE Scketch does not show colour change when using white color
925 Color button needs inner border white, and outer border black.
926 * hildon-widgets/hildon-color-button.c
927 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
929 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
930 (hildon_color_button_realize): call the above function
932 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
934 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
935 * hildon-widgets/hildon-note.c:
936 (hildon_note_new_confirmation_add_buttons): updated doc
937 (hildon_note_set_button_texts): likewise.
939 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
941 N#21884 Cannot select read-only by using the center of the scroll key
942 * hildon-widgets/hildon-file-details-dialog.c
943 (hildon_file_details_dialog_init): Removed dialog default response.
945 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
947 N#8094 5-bit color selector: wrong margins and pixel measurements
948 M#59 HildonColorSelector needs more space
949 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
950 (hildon_color_popup_new): add space between the control bars and
951 the color preview area.
953 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
955 * hildon-widgets/hildon-calendar-popup.c
956 * hildon-widgets/hildon-color-button.c
957 * hildon-widgets/hildon-color-popup.c
958 * hildon-widgets/hildon-color-selector.c
959 * hildon-widgets/hildon-composite-widget.c
960 * hildon-widgets/hildon-controlbar.c
961 * hildon-widgets/hildon-date-editor.c
962 * hildon-widgets/hildon-dialoghelp.c
963 * hildon-widgets/hildon-file-details-dialog.c
964 * hildon-widgets/hildon-font-selection-dialog.c
965 * hildon-widgets/hildon-get-password-dialog.c
966 * hildon-widgets/hildon-grid-item.c
967 * hildon-widgets/hildon-grid.c
968 * hildon-widgets/hildon-hvolumebar.c
969 * hildon-widgets/hildon-name-password-dialog.c
970 * hildon-widgets/hildon-note.c
971 * hildon-widgets/hildon-number-editor.c
972 * hildon-widgets/hildon-range-editor.c
973 * hildon-widgets/hildon-scroll-area.c
974 * hildon-widgets/hildon-seekbar.c
975 * hildon-widgets/hildon-set-password-dialog.c
976 * hildon-widgets/hildon-sort-dialog.c
977 * hildon-widgets/hildon-time-editor.c
978 * hildon-widgets/hildon-time-picker.c
979 * hildon-widgets/hildon-volumebar-private.h
980 * hildon-widgets/hildon-volumebar-range.c
981 * hildon-widgets/hildon-volumebar.c
982 * hildon-widgets/hildon-vvolumebar.c
983 * hildon-widgets/hildon-weekday-picker.c
984 * hildon-widgets/hildon-wizard-dialog.c
987 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
989 * configure.ac: 0.10.0
991 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
993 Some more properties for Gazpacho support,
995 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
996 * hildon-widgets/hildon-color-selector.c: "color"
999 * hildon-widgets/hildon-color-selector.[ch]
1000 (hildon_color_selector_get_color): return const pointer to the
1003 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1006 Gazpacho support, added the following properties:
1008 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1009 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1010 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1011 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1012 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1013 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1014 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1015 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1016 * hildon-widgets/hildon-number-editor.c: "value"
1018 * hildon-widgets/hildon-color-button.c: minor cleanup
1021 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1023 Started new development
1024 (branche for maintenance continues with versions 0.9.x)
1026 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1028 * configure.ac: 0.9.53
1030 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1033 N#19283 Control panel - The values entered are not saved.
1034 N#19648 Hildon Date Editor widget detects values too high
1035 (note: complete fix include also fixes in GTk+)
1037 * hildon-widgets/hildon-calendar-popup.c
1038 (hildon_calendar_popup_set_property),
1039 (hildon_calendar_popup_class_init),
1040 (init_dmy): Added 'min-year', 'max-year' properties for passing
1041 the information through from HildonDateEditor to GtkCalendar
1043 * hildon-widgets/hildon-date-editor.c:
1044 (hildon_date_editor_class_init),
1045 (hildon_date_editor_init),
1046 (hildon_date_editor_set_property),
1047 (hildon_date_editor_get_property),
1049 (hildon_date_editor_entry_validate),
1050 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1051 properties and replaced hardcoded constants with them
1053 * hildon-widgets/hildon-date-editor.c
1054 (hildon_date_editor_d_entry_changed),
1055 (hildon_date_editor_m_entry_changed),
1056 (hildon_date_editor_d_entry_changed): new functions to ensure that
1057 the fields are validated and the focus is moved when maximum
1058 number of characters has been entered.
1060 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1062 * configure.ac: 0.9.52
1064 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1066 N#19140 System alerts still audible despite being turned off
1068 * hildon-widgets/hildon-note.c (sound_handling):
1070 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1072 * hildon-note.c (sound_handling): Changed to use new
1073 hildon_play_system_sound.
1074 (hildon_note_init): Signal handler id is changed to be in private
1075 structure, not in global variable.
1077 * hildon-note.c: Removed unused defines etc.
1079 * Makefile.am: Appended new files to build rules.
1081 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1083 * configure.ac: 0.9.51
1085 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1087 N#20027 PDF Reader crashes on selecting read only option in the
1090 * hildon-widgets/hildon-file-details-dialog.c:
1091 (change_state): Fixed assertion that was causing problems
1092 (check_validity): New function: We now automatically close the
1093 dialog if the displayed file is removed.
1094 (handle_focus): Callback removed:
1095 (init): Now using correct gtk way to bind container and adjustment
1096 together. Not the previous callback.
1097 (set_property): Connecting/disconnecting new handlers (for
1099 (finalize): disconnecting new handler.
1101 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1103 N#17918 Volumebar widget background image doesn't change when
1104 widget goes into mute state,
1106 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1109 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1110 using the state of the internal volumebar, not the whole container
1112 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1113 using the state of the internal volumebar, not the whole container
1115 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1117 * hildon-widgets/hildon-dialoghelp.[ch]: added
1118 gtk_dialog_help_disable and fixed bug N#19468
1120 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
1122 * configure.ac: Release 0.9.50
1124 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
1128 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1130 * hildon-widgets/hildon-grid.c
1131 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1132 label by logical name "Ckct_wi_grid_no_items"
1135 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
1137 * po/en_GB.po (ecdg_ti_verify_password): translation update.
1139 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1141 * configure.ac: Release 0.9.49
1143 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1145 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
1146 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
1147 Save the id of the idle callback and remove it when the widget is
1148 destroyed to avoid crashing. N#18096
1150 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1152 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
1153 id's are unsigned and undefined at zero (instead of signed and -1)
1155 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1157 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
1158 that was not working. N#16805
1160 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1162 * configure.ac: Release 0.9.48
1164 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1166 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
1167 allow area_rows to be 0 (ie. before widget is visible), otherwise the
1168 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
1170 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1172 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1173 Do not override the week-start property of GtkCalendar according to
1174 the hildon-libs PO file, it is automatically determined from locale
1177 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1179 * configure.ac: Release 0.9.47
1181 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1183 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
1184 property for setting the password entry accept only numeric values.
1187 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1189 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
1190 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
1191 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
1192 Use defines rather than magic numbers in the code.
1194 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1196 Update to new l10n packaging style. po-files (inside this package)
1197 are not used for now, the message catalogs come from separate packages
1198 and including them here would conflict.
1200 * Makefile.am (SUBDIRS): stop including po-files
1201 * Makefile.am (EXTRA_DIST):
1202 * debian/hildon-libs-l10n-engb.install:
1203 * debian/hildon-libs-l10n-src.install:
1204 * po/debian/*: Removed
1206 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
1208 * hildon-widgets/hildon-file-details-dialog.c: Added read only
1209 checks to cover gateway content as well.
1211 * hildon-widgets/hildon-time-editor.c:
1212 (hildon_time_editor_validate): Replace solid numbers with defined
1214 (convert_to_12h): Remove "work-around" for the broken 12h timespec
1217 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
1219 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
1220 invalid cast from `GdkWindow' to `GtkWindow'
1222 * hildon-widgets/hildon-color-popup.c
1223 (hildon_popup_palette_expose): removed debug printing
1225 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
1227 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
1230 * hildon-widgets/hildon-scroll-area.c
1231 (hildon_scroll_area_destroy): one-instruction function:
1232 removed. Call g_free directly.
1234 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
1235 right edge of window, size of the child is also shrinked. 'fixed'
1236 does not automatically update this data -> Doing it manually.
1238 * hildon-widgets/hildon-date-editor.h: added
1239 HildonDateEditorErrorType error enumeration type, removed signal
1240 "validate-date" virtual function, added signal "date-error"
1243 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1244 added custom info prints.
1245 (hildon_date_editor_validate_date): removed
1246 (hildon_date_editor_entry_validate): validate maximum and minimum
1247 limits on each field.
1248 (hildon_date_editor_entry_focus_out): check the date validation
1249 in simpler manner, don't put content if field is empty (spec
1250 doesn't say if there should be anything placed in the entry if
1252 (hildon_date_editor_get_date),
1253 (hildon_date_editor_get_month),
1254 (hildon_date_editor_get_year),
1255 (hildon_date_editor_get_day): use direct entry content, so that 0
1256 indicates empty entry, and information is more accurate.
1258 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
1260 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
1262 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
1263 http://bugzilla.gnome.org/show_bug.cgi?id=310216
1265 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
1267 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
1269 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
1271 * hildon-widgets/hildon-number-editor.c:
1272 (hildon_number_editor_select_all): new function, selects all
1273 the text in the entry.
1274 * hildon-widgets/hildon-number-editor.c: added several calls to
1275 hildon_number_editor_select_all with g_idle_add.
1277 * hildon-controlbar.c : add signal when end reached
1279 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
1281 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
1283 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
1285 Fixed incorrect values in <Filetype> Details Dialog
1287 Fixed help button usage in dialogs
1289 * hildon-dialoghelp.c: Added more documentation about the
1292 * hildon-file-details-dialog.c: Updated to match
1293 'File Management in OSSO' version 3.0
1295 * Fixed application hang after calling gtk_main_quit
1297 * hildon-date-editor.c: Fixed HildonDateEditor that caught
1298 ESC presses needlessly
1300 * hildon-time-editor.c: Fixed memory corruption