1 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
4 * hildon-widgets/hildon-font-selection-dialog.c
5 (REFERENCE_LINE): removed
6 (hildon_font_selection_dialog_show_preview): added l10n support
7 for the reference string (use to differentiate sub/super script in
9 (hildon_font_selection_dialog_show_preview): likewise
12 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
16 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
18 * hildon-widgets/hildon-add-home-dialog.c
19 (hildon_add_home_dialog_init): removed i18n support (deprecated
20 widget. Hinder logical ID processing)
21 (hildon_add_home_dialog_new): likewise.
23 * hildon-widgets/hildon-insert-object-dialog.c
24 (hildon_insert_object_dialog_init): likewise.
27 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
29 * hildon-widgets/hildon-font-selection-dialog.c
30 (hildon_font_selection_dialog_construct_notebook): logical ID typo
33 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
35 * hildon-widgets/hildon-window.[ch]:
36 - update the title when the window is realized
37 - added support for long press on the ESC key. Fixes N#24620
39 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
41 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
43 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
45 * hildon-widgets/hildon-seekbar.c
46 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
48 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
50 * configure.ac: 0.12.6
52 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
54 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
55 fixed typo GKD_Left -> GDK_Left
58 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
64 Updated logical id to lower case: Ckct_ -> ckct_
65 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
66 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
67 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
68 (hildon_range_editor_init, hildon_range_editor_entry_validate)
69 (hildon_range_editor_entry_validate):
70 * hildon-widgets/hildon-time-editor.c (validated_conversion)
71 (validated_conversion, hildon_time_editor_real_validate):
72 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
76 Updated logical id to lower case: Ecdg_ -> ecdg_
77 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
78 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
79 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
80 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
81 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
82 (hildon_wizard_dialog_create_title):
83 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
84 (hildon_find_toolbar_init):
85 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
86 (hildon_note_rebuild, hildon_note_set_button_text):
89 Removed i18n support for property description,
90 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
93 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
95 * configure.ac: 0.12.5
97 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
99 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
100 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
103 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
105 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
108 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
110 Cleanup wizard dialog,
112 * hildon-widgets/hildon-wizard-dialog.c
113 (struct HildonWizardDialogPrivate): removed 'previous_button'
114 and 'next_button' (obsolete)
116 (hildon_wizard_dialog_response): new private function. Handles the
117 'response' signal and replaces direction_button_clicked() in
118 taking care of notebook page changes and button dimming.
120 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
121 added to the dialog as response buttons. This enables the usage of
122 GtkDialog API for setting their sensitiveness.
124 (dimming/undimming): Connected hildon_wizard_dialog_response to
125 "resonse" signal. Removed useless title creation because it
126 depends on the notebook which is not yet created.
128 (hildon_wizard_dialog_set_property): minor code cleanup
130 (hildon_wizard_dialog_create_title): removed useless else-if
133 * hildon-widgets/hildon-wizard-dialog.h
134 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
137 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
138 adding the page_change signal, as the application can now track
139 the response signal instead.
142 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
144 * configure.ac: 0.12.4
147 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
151 moved widget descriptions to respective source file (*.c)
155 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
159 * hildon-widgets/hildon-color-button.c:
160 - removed unused #include
161 - removed unused gettext macro
163 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
164 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
165 + value updated to match specifications
167 (struct _HildonColorButtonPrivate):
168 removed 'drawing_area' and 'pixbuf' members (unused)
170 (hildon_color_button_init):
171 use drawing_area directly, update COLOR_FILLED_ macro names
173 (hildon_color_button_unrealize): new function.
174 (hildon_color_button_class_init): register unrealize function
175 (hildon_color_button_finalize): free allocated GC in unrealize
176 handler instead of in finalize.
178 (hildon_color_button_recolor_pixbuf): removed. (use
179 gdk_draw_rectangle() instead)
180 (hildon_color_button_draw_pixbuf_borders): likewise
182 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
184 (hildon_color_button_set_property): queue the drawing - instead of
185 calling recolor_pixbuf
187 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
190 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
192 More cleanup for range editor,
194 * hildon-widgets/hildon-range-editor.[ch]
195 - removed useless includes
196 (hildon_range_editor_new_with_separator): set char parameter 'const'
198 * hildon-widgets/hildon-range-editor.c
199 - removed useless includes
200 - rewritten a lot of functions because code was inefficient.
201 - removed useless g_return_if_fail calls from various functions.
203 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
204 (hildon_range_editor_entry_keypress): rewritten
205 (hildon_range_editor_entry_focus_out): rewritten
206 (hildon_range_editor_refresh_widths): New function
207 (hildon_range_editor_set_range): Make sure that the values are in
209 (hildon_range_editor_set_lower): rewritten.
210 (hildon_range_editor_set_higher): rewritten.
211 (hildon_range_editor_set_min): rewritten.
212 (hildon_range_editor_set_max): rewritten.
214 (hildon_range_editor_entry_validate): New validator function
215 (hildon_range_editor_entry_changed): New signal handler for
216 "changed" for entries, this will now validate whenever entry changes.
218 (hildon_range_editor_entry_focus_out): Added g_assert for
219 editor. Removed call to hildon_range_editor_apply_current_range().
220 Added call to the new function hildon_range_editor_entry_validate()
223 (hildon_range_editor_init): connected
224 hildon_range_editor_entry_changed to "changed" for entries.
227 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
229 Major cleanup for time editor
231 * hildon-widgets/hildon-time-editor.c
232 - removed unused #includes.
233 - Removed useless g_return_if_fail(editor) calls
234 (HILDON_IS_TIME_EDITOR does this check as well for us).
236 (hildon_time_editor_add_style): removed, obsolete.
237 (hildon_time_editor_mnemonic_activate): removed, obsolete
238 (hildon_time_editor_get_max_values): removed, obsolete.
240 (validated_conversion): New helper function
242 (hildon_time_editor_entry_changed): New function, now the widget
243 interactively validates the inputted contents (not requiring focus
246 (ticks_to_time): rewritten, using less arithmetic operations.
247 (hildon_time_editor_validate): rewritten
248 (hildon_time_editor_set_ticks): rewritten
249 (hildon_time_editor_set_duration_mode): rewritten
250 (hildon_time_editor_entry_keypress): rewritten
252 * hildon-widgets/hildon-time-editor.[ch]
253 (hildon_time_editor_set_show_hours)
254 (hildon_time_editor_get_show_hours) new functions to show/hide hours
257 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
259 Cleanup number editor
261 * hildon-widgets/hildon-number-editor.c:
262 (SPACE_BORDER): removed
264 (hildon_number_editor_size_request):
265 (hildon_number_editor_size_allocate): updated to use hildondefines
267 (hildon_number_editor_mnemonic_activate): function removed,
268 mnemonic are not used
270 (hildon_number_editor_stop_repeat_timer): new function, to avoid
272 (hildon_number_editor_button_release):
273 (hildon_number_editor_finalize): updated to use new function
275 (hildon_number_editor_entry_keypress): completely rewritten
276 (change_numbers): likewise
277 (do_mouse_timeout): likewise
278 (hildon_number_editor_set_range): likewise
280 (hildon_number_editor_validate_value): new function, used for all
282 (hildon_number_editor_focus_out):
283 (hildon_number_editor_entry_changed): updated to use previous.
285 (hildon_number_editor_real_set_value): new function that formats
286 given int to field. Used by change_numbers and set_value
288 (integer_to_string): removed, we now have one place that
289 converts numbers and that uses buffer from stack.
290 (hildon_number_editor_set_value): changed to use new format function.
293 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
295 * hildon-widgets/hildon-time-picker.c:
296 reorganized how the widgets are stored to reduce code
297 (HildonTimePickerWidgetGroup): new struct
298 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
299 (hildon_time_picker_init)
300 (hildon_time_picker_arrow_press)
301 (hildon_time_picker_event_box_key_press)
302 (hildon_time_picker_change_time)
303 (hildon_time_picker_map)
304 (hildon_time_picker_event_box_key_release): use new widget organization
307 (hildon_time_picker_init): return value from nl_timeinfo() is
308 valid only until it's called again, so g_strdup() the value when
311 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
312 (HILDON_TIME_PICKER_LABEL_X_PADDING)
313 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
314 (hildon_time_picker_set_time):
315 (hildon_time_picker_get_time):
316 (hildon_time_picker_ampm_release): used the new defines
318 (struct _HildonTimePickerPrivate)
319 (hildon_time_picker_init)
320 (hildon_time_picker_event_box_key_press)
321 (hildon_time_picker_change_time):
322 - c12h renamed to show_ampm,
323 - ampo_pos renamed to ampm_left.
325 (hildon_time_picker_timeout): renamed to
326 hildon_time_picker_key_repeat_timeout(),
327 and renamed parameter to 'hildon_time_picker'
329 (hildon_time_picker_event_box_press): renamed to
330 hildon_time_picker_event_box_button_press()
332 (hildon_time_picker_finalize): Added finalizer to make sure the
333 key repeat timeout handler gets removed.
335 (hildon_time_picker_arrow_press): Placed multipliers into
336 button_multipliers[] array to avoid multiple if/then/else
340 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
342 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
343 calculates correctly which items will be visible. Fixes N#16991.
346 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
348 * hildon-widgets/hildon-find-toolbar.c
349 (hildon_find_toolbar_history_append): set "column" property only
350 after model has been set.
353 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
355 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
356 the parameter more descriptively
359 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
363 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
365 * hildon-widgets/hildon-app.[ch]
366 (hildon_zoom_level_get_type): removed G_CONST_RETURN
368 * hildon-widgets/hildon-app.c:
369 - removed HILDON_DISABLE_DEPRECATED flags
370 - added g_assert'ions to internal functions
373 (hildon_app_button): Move the fixed define to the function itself,
374 add simple autodetection, clean up comments.
376 (hildon_app_key_release): Remove bogus argument to signal emission
377 (not needed), emit the "fullscreen_state_change" directly instead
378 of calling set_fullscreen.
380 (hildon_app_construct_title): removed dead code
382 (hildon_app_register_view_with_id): do not call g_slist_nth() to
383 get the first element...
386 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
388 * hildon-widgets/hildon-appview.c:
389 (hildon_appview_init): indented comments properly
390 (paint_toolbar): indented comments properly
391 (hildon_appview_expose): indented code properly
392 (hildon_appview_toolbar_toggle_request): removed dead code
395 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
397 * hildon-widgets/hildon-caption.c
398 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
399 (hildon_caption_size_allocate): likewise.
400 (hildon_caption_forall): likewise.
403 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
405 Cleanup Find toolbar,
407 * hildon-widgets/hildon-find-toolbar.[ch]
408 (hildon_find_toolbar_new): set 'label' parameter const.
409 (hildon_find_toolbar_new_with_model): likewise.
411 * hildon-widgets/hildon-find-toolbar.c
412 (struct _HildonFindToolbarPrivate):
413 changed entry_combo_box type to GtkComboBoxEntry*
415 (hildon_find_toolbar_get_list_model): new function, to factor
416 member access and casting
417 (hildon_find_toolbar_get_entry): likewise.
418 (hildon_find_toolbar_apply_filter): removed set_column parameter
419 since it was used by only one caller, and made the caller do it
420 instead. Removed unnecessary casts.
422 (hildon_find_toolbar_find_string): new function.
423 (hildon_find_toolbar_history_append): code cleanup. use
424 hildon_find_toolbar_find_string.
426 (hildon_find_toolbar_get_property)
427 (hildon_find_toolbar_get_entry)
428 (hildon_find_toolbar_init)
429 (hildon_find_toolbar_new)
430 (hildon_find_toolbar_new_with_model)
431 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
432 and changed some of them to use the new convenience functions
435 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
436 instead of if-check to validate parameter.
439 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
441 Cleanup hildon-defines,
443 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
444 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
446 (hildon_logical_data_free): new function. Free logical data.
447 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
448 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
450 * hildon-widgets/hildon-defines.[ch]
451 (hildon_gtk_widget_set_logical_font): use const gchar*
452 (hildon_gtk_widget_set_logical_color): likewise.
454 * hildon-widgets/hildon-defines.c:
455 (hildoniconsizes): set const
456 (hildoninternaliconsizes): set static, renamed 'iis'
459 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
461 Cleanup Caption widget,
463 * hildon-lgpl/hildon-caption.[ch]
464 (hildon_caption_status_get_type, hildon_caption_get_type):
465 G_CONST_RETURN removed, G_GNUC_CONST added
467 * hildon-widgets/hildon-caption.c
469 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
471 (hildon_caption_set_property): removed useless code.
472 (hildon_caption_button_press): simplified greatly by removing the
473 unnecessary recursion to locate the first focusable child of a
474 container - simple gtk_widget_grab_focus achieves the same
475 (get_first_focusable_child): removed (not used anymore)
477 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
479 (hildon_caption_set_focus_child): removed (not used anymore)
480 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
482 (hildon_caption_hierarchy_changed): type check added
483 (hildon_caption_forall): callback null check added
484 (hildon_caption_set_status): type check added
485 (hildon_caption_set_icon_image): type check added
486 (hildon_caption_activate): activate_block kludge removed as outdated
487 (hildon_caption_get_child_expand): argument declared const
488 (hildon_caption_set_label_text): g_return_if_fail changed to
489 g_assert since this is not a public function;
490 Duplicate separator check now uses correct localized separator
491 instead of assuming ':'
494 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
498 * hildon-lgpl/hildon-appview-c:
499 (hildon_app_view_init): Fixed a problem that prevented to set an
500 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
501 between toolbars). This fix involves a change in the default gtkrc
502 file, ie. the modification of the 'border' value of the
503 "toolbar-frame-middle" image in the osso-appview-background style.
505 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
506 widget supporting adjustements, not only viewports.
508 (visible_toolbar): use proper parameter names
509 (find_findtoolbar_index): likewise.
510 (find_findtoolbar): likewise.
512 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
513 (hildon_appview_finalize): likewise.
514 (hildon_appview_signal_marshal): likewise.
515 (hildon_appview_forall): likewise.
516 (hildon_appview_switched_to): likewise.
517 (hildon_appview_real_fullscreen_state_change): likewise.
520 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
522 * hildon-widgets/hildon-date-editor.c
523 (hildon_date_editor_entry_validate): Now, if an invalid date is
524 entered, date-editor reverts to previous date, instead of setting
525 the maximum allowed days.
528 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
530 * hildon-widgets/hildon-date-editor.h
531 (enum HildonDateEditorErrorType): added NO_ERROR entry.
533 * hildon-widgets/hildon-date-editor.c
534 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
535 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
538 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
540 * hildon-widgets/hildon-get-password-dialog.c:
541 (hildon_get_password_dialog_set_title): Removed the deprecation
542 #ifdefs from the .c file.
544 * hildon-widgets/hildon-file-handling-note.c: likewise.
548 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
550 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
552 * hildon-widgets/hildon-color-selector.c
553 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
554 (hildon_color_selector_expose)
555 (hildon_color_selector_get_color)
556 (hildon_color_selector_set_color)
559 (modify_focused): Separate selected color and focused color.
560 Focused color now draws a different colored border around it.
561 Renamed modify_selected() to modify_focused().
563 * hildon-widgets/hildon-color-selector.c
564 (hildon_color_selector_expose)
565 (select_color): Changed the logic in how the box positions are
566 calculated. The old logic was wrong, but just happened to work
567 with those specific values.
569 * hildon-widgets/hildon-color-selector.c
570 (hildon_color_selector_expose): Draw the selected-border using
571 ImageBorderColor color instead of hardcoded black.
574 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
576 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
577 removed current_color; use initial_color directly.
578 Disabled select-hardkey from activating to OK-button by default.
581 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
583 * hildon-widgets/hildon-date-editor.c
584 (hildon_date_editor_keypress): removed the unnecessary check for
585 the position of the cursor in the text-field which was hindering
586 the Left key from working as expected.
589 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
591 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
592 after setting the toggle_button active. Prevents GLIB_CRITICALs.
594 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
596 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
599 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
601 * hildon-widgets/hildon-font-selection-dialog.c
602 (hildon_font_selection_dialog_show_preview): set line wrap for
606 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
608 * hildon-widgets/hildon-date-editor.c
609 (hildon_child_forall): cast 'container'
610 (hildon_date_editor_size_allocate): adjusted height allocation.
613 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
615 Cleanup calendar popup,
617 * hildon-widgets/hildon-calendar-popup.c:
618 - updated 'longdesc' comment.
619 - removed gtk-infoprint.h from included headers (unused).
621 (struct HildonCalendarPopupPrivate): removed member
622 'can_exit' (useless).
623 (hildon_calendar_day_selected): removed (useless).
624 (hildon_calendar_allow_exit): likewise.
625 (hildon_calendar_deny_exit): likewise.
627 (hildon_calendar_selected_date): new function. replaces
628 hildon_calendar_allow_exit()
630 (hildon_calendar_popup_init):
631 - Removed initialization for 'can_exit'.
632 - Removed connection to removed useless functions.
633 - Connect "selected_date" to hildon_calendar_selected_date().
634 - Do not grab the focus (useless)
636 (hildon_key_pressed): just handle ESC and Return keys.
638 (hildon_calendar_popup_get_property): removed unused variables.
641 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
643 * hildon-widgets/hildon-caption.c
644 * hildon-widgets/hildon-composite-widget.h
645 * hildon-widgets/hildon-get-password-dialog.c
646 * hildon-widgets/hildon-grid.h
647 * hildon-widgets/hildon-grid-item.h
648 * hildon-widgets/hildon-volumebar-range.c
649 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
651 (hildon_controlbar_get_type): likewise.
653 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
655 * doc/hildon-libs.types: Add missing types
656 * doc/hildon-libs-docs.sgml: Add missing links and some organization
657 * doc/tmpl/*: Regenerate and add new files
659 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
662 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
664 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
666 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
667 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
669 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
673 * doc/Makefile.am: Update gtk-doc framework bits
674 * gtk-doc.make (commit generated file)
675 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
677 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
678 * hildon-widgets/hildon-code-dialog.c:
682 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
684 * hildon-widgets/hildon-window.c: propagate key-press event to the
685 parent class (Closes N#23400)
686 * configure.ac: 0.12.3
688 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
690 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
692 * configure.ac: 0.12.2
695 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
697 * hildon-widgets/hildon-color-selector.c (key_pressed): use
698 g_assert instead of g_return_val_if_fail
703 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
705 * hildon-widgets/hildon-get-password-dialog.[ch]:
706 (hildon_get_password_dialog_set_title) marked deprecated.
708 + cleanup header coding style
711 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
713 Cleanup font selection dialog
715 * hildon-widgets/hildon-font-selection-dialog.c
717 (hildon_font_selection_dialog_construct_notebook): removed dummy
720 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
722 (hildon_font_selection_dialog_preview_key_press): Renamed argument
723 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
725 (toggle_clicked): renamed argument 'data' to 'unused'
727 (hildon_font_selection_dialog_set_preview_text): added proper
731 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
733 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
734 removed console messages.
737 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
739 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
740 (struct _HildonSortDialogPrivate):
741 - removed okButton, cancelButton
742 - removed sort_by_value, sort_order_type
743 - removed index_first
744 - renamed combo1 to combo_key
745 - renamed caption1 to caption_key
746 - renamed combo2 to combo_order
747 - renamed caption2 to cpation_order
749 (hildon_sort_dialog_init): removed init of unused fields.
751 (hildon_sort_dialog_get_sort_key): likewise.
752 (hildon_sort_dialog_get_sort_order): likewise.
753 (hildon_sort_dialog_set_sort_key): likewise.
754 (hildon_sort_dialog_set_sort_order): likewise.
755 (hildon_sort_dialog_add_sort_key): likewise.
757 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
759 * hildon-widgets/hildon-date-editor.c
760 (hildon_child_forall): use g_assert instead of g_return_if_fail
761 (hildon_date_editor_entry_validate): likewise.
764 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
766 * hildon-widgets/hildon-controlbar.c
767 (hildon_controlbar_change_value): commented function.
769 * hildon-widgets/hildon-wizard-dialog.c
770 (hildon_wizard_dialog_get_property): likewise.
773 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
775 Cleanup weekday picker,
777 * hildon-widgets/hildon-weekday-picker.c
778 (_): removed unused gettext macro
779 (button_toggle): use meaningful parameter name
780 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
781 (hildon_weekday_picker_size_allocate): likewise.
782 (button_toggle): likewise.
785 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
789 * hildon-widgets/hildon-time-editor.c
790 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
791 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
792 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
793 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
795 (struct _HildonTimeEditorPrivate):
796 - h_entry, m_entry, s_entry replaced by entries[],
797 allows to remove a lot of code.
798 - label renamed to hm_label
799 - label2 renamed to sec_label
800 - ampm renamed to ampm_label
801 - show_s renamed to show_seconds
802 - removed fields: icon, valid_value, validated
804 + moved up in the file.
806 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
808 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
810 (set_widget_allocation): removed
811 (hildon_time_editor_entry_changed): removed
813 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
815 (hildon_time_editor_forall): removed unnecessary code
816 (hildon_time_editor_destroy): likewise.
818 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
820 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
822 (hildon_time_editor_set_to_current_time): new function. (factorise code)
823 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
824 use new variable names,
825 use hildon_time_editor_set_to_current_time
827 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
828 (hildon_time_editor_set_ticks): use g_assert instead of
829 g_return_if_fails, use
830 'entries[]', removed dead code
832 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
833 (hildon_time_editor_validate): use 'entries[]', removed dead code
834 (hildon_time_editor_get_max_values): use 'entries[]'
837 (hildon_time_editor_get_show_seconds): use new variable names
838 (hildon_time_editor_set_duration_mode): likewise.
840 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
842 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
844 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
846 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
848 (set_widget_allocation): removed (unused)
849 (hildon_time_editor_entry_changed): removed (unused)
851 (IS_VALID_KEYPRESS): new macro
852 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
853 deleate dead/unnecessary code
855 use IS_VALID_KEYPRESS
857 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
859 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
861 (hildon_time_editor_size_allocate): cleanup
862 (convert_to_12h): cleanup code style
864 (hildon_time_editor_show_seconds): removed deprecation flag
865 (hildon_time_editor_enable_duration_mode): likewise.
868 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
872 * hildon-widgets/hildon-volumebar.h: removed unused #include
873 + coding style cleanup
875 * hildon-widgets/hildon-volumebar.c
876 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
878 (hildon_child_forall): use g_assert instead of g_return_if_fail
880 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
881 + coding style cleanup
883 * hildon-widgets/hildon-volumebar-private.h:
884 added missing #include.
885 added _hildon_volumebar_mute_toggled.
886 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
890 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
891 + coding style cleanup
893 * hildon-widgets/hildon-vvolumebar.c
894 (hildon_vvolumebar_size_request)
895 (hildon_vvolumebar_size_allocate)
896 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
898 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
900 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
901 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
902 (vvolumebar_init): renamed to hildon_vvolumebar_init
903 (hildon_vvolumebar_init): removed unused 'orientation'
904 initialisation. Use _hildon_volumebar_mute_toggled instead of
905 removed hildon_vvolumebar_mute.
909 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
911 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
912 renamed to hildon_hvolumebar_class_init
914 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
915 hildon_hvolumebar_init
917 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
920 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
921 removed unused 'orientation' initialisation.
923 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
924 _hildon_volumebar_mute_toggled instead of removed
925 hildon_hvolumebar_mute.
928 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
932 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
935 * hildon-widgets/hildon-color-popup.h: likewise.
937 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
940 * hildon-widgets/hildon-color-selector.c
941 (hildon_color_selector_new): use g_return_val_if_fail instead of
943 (select_color): use g_assert instead of g_return_if_fail
945 * hildon-widgets/hildon-calendar-popup.c
946 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
950 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
952 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
953 added HildonCodeDialog widget
956 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
958 * hildon-widgets/hildon-window.c:
959 - set the toolbar height explicitely
960 - use show instead of show_all on the common_toolbar
961 - add the toolbars bottom-up instead of top-down
962 * hildon-widgets/hildon-program.c:
963 - don't assume that a window was realized when added to
967 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
969 Cleanup font selection dialog,
971 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
972 + coding style cleanup
974 * hildon-widgets/hildon-font-selection-dialog.c
975 (hildon_font_selection_dialog_finalize): use g_return_if_fail
978 * hildon-widgets/hildon-font-selection-dialog.c
979 (hildon_font_selection_dialog_get_text_tag)
980 (hildon_font_selection_dialog_set_buffer)
981 (hildon_font_selection_dialog_get_font)
982 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
985 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
987 Cleanup range editor,
989 * hildon-widgets/hildon-range-editor.c
990 (hildon_range_editor_calss_init):Removed
991 widget_calss->mnemonic_activate init
993 * hildon-widgets/hildon-range-editor.c
994 (hildon_range_editor_mnemonic_activate): Removed static function
995 hildon_range_mnemonic_activate and FIXME. It is useless even
996 through it is overriding function for
997 GtkWidgetClass->mnemonic_activate. The activation and keyboard
998 focus will be realized based on different applications.
1000 * hildon-widgets/hildon-range-editor.c
1001 (is_valid_keyvalue_for_entry_keypress): new function.
1003 * hildon-widgets/hildon-range-editor.c
1004 (hildon_range_editor_entry_keypress): uses
1005 is_valid_keyvalue_for_entry_keypress
1007 * hildon-widgets/hildon-range-editor.c
1008 (hildon_range_editor_forall): use g_return_if_fail instead of
1011 * hildon-widgets/hildon-range-editor.cvn
1012 (hildon_range_editor_mnemonic_activate): removed. (unused)
1015 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1017 Cleanup hildon-note,
1019 * hildon-widgets/hildon-note.[ch]
1021 (hildon_note_five_line_truncate): removed.
1022 (hildon_note_one_line_truncate): removed.
1024 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1025 instead of _{one|five}_line_truncate() functions.
1028 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1029 into wrapper of "hildon_note_new_information_with_icon_name".
1031 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1032 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1034 - removed some unnessecary includes.
1036 - Merged hildon_note_create & hildon_note_create_form and rewrote
1037 the combination as hildon_note_rebuild
1039 - Added missing g_return_* into public functions.
1041 - Acquire real references to children which are packed/unpacked,
1042 so we do not need to bother about refcounting while changing the
1046 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1050 * hildon-widgets/hildon-number-editor.c
1052 (set_widget_allocation): use const parameter.
1054 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1056 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1057 (hildon_number_editor_set_range): removed 'negative'
1060 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1061 use g_assert instead of g_return_if_fail
1064 * hildon-widgets/hildon-time-picker.c:
1065 - in several places, replace 1440 by 24*60
1066 (PROP_AMPM): removed, unused.
1067 (hildon_time_picker_timeout): use significant parameter name,
1069 (hildon_time_picker_init): removed useless call to _change_time()
1072 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1076 * hildon-widgets/hildon-seekbar.c
1078 (_): Removed dgettext macro definition.
1080 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1082 (hildon_seekbar_finalize): removed. not needed.
1083 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1085 (hildon_seekbar_size_request): indent cleanup.
1087 (hildon_seekbar_size_allocate): simplified function.
1089 (hildon_seekbar_button_press_event): Removed unused variables.
1090 (hildon_seekbar_button_release_event): likewise.
1093 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1095 Cleanup date editor,
1097 * hildon-widgets/hildon-date-editor.c
1099 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1100 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1102 (hildon_date_editor_get_font_width): removed (legacy static
1103 function), use gtk_entry_set_width_chars instead.
1105 (hildon_date_editor_mnemonic_activate): removed mnemonic
1106 activation handler, since it's no more used by HildonCaption.
1109 - Removed some meaningless code (if (somewidget != NULL)) from
1112 - HEAVILY modified key_press, completely removed if/grab_focus
1113 spaghetti by gtk_widget_child_focus
1115 - Removed input validation from keypress (that would not work
1116 anyway, since our input method do not generate presses). => This
1117 allows to change default return value to FALSE and remove all cases
1118 that just returned FALSE for some keys.
1120 - Merged all *_entry_changed callbacks to use the same
1121 function. Again using gtk_widget_child_focus, but now with return
1122 value as well to detect last field.
1124 - Changed that calendar button is no more implemented through
1125 changing widget hierarchy (old implementation caused critical
1126 issues when you used both stylus and hardkeys at the same time to
1127 popup. => finalize method no longer contained anything => removed
1129 - Locale type is no longer needed after initial setup.
1131 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1132 hack from the days of background dimming (it was important to
1133 process background updates before the dimming was done).
1135 - Changed the field order/delimeters to be correcly derived form
1138 - Rewrote validation function, combined it with validation done in
1139 focus_out (since both are now called at the same time).
1141 - Changed set_date function to set all components at one go
1142 without doing any validation there between (before setting each
1147 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1149 Cleanup set-password dialog
1151 * hildon-widgets/hildon-set-password-dialog.[ch]
1152 (hildon_set_password_dialog_set_domain): gchar * param is const
1153 (hildon_set_password_dialog_new_with_default): likewise.
1155 * hildon-widgets/hildon-set-password-dialog.c
1157 (hildon_set_password_set_property): setting 'modify-protection'
1160 (hildon_set_password_get_property): fixed broken 'domain' (missing
1161 break statement!) and 'modify-protection' (was a null operation)
1162 properties; code simplified.
1164 (hildon_set_password_dialog_constructor),
1166 (hildon_set_password_dialog_class_init),
1167 (hildon_set_password_dialog_init):
1168 hildon_set_password_dialog_constructor removed as weird and
1169 obsolete and replaced with new function create_contents; fixed
1170 leaking group variable; removed some unused, outdated code that
1171 was already commented out.
1173 (hildon_set_password_response_change),
1174 (hildon_set_password_response_set): GtkWindow *parent arguments
1175 changed to gpointer unused; cleaned up unnecessary strcmp's
1177 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1178 checkbox). gpointer renamed to be more descriptive; Code simplified
1180 (hildon_set_password_dialog_get_type): empty function argument
1181 list replaced with void keyword.
1183 (hildon_set_password_dialog_new),
1184 (hildon_set_password_dialow_new_with_default): simplified by
1185 having the simpler constructor call the more complex one, not vice
1186 versa; moved callback connects to create_contents since they
1187 depend on the status of 'modify-protection' property
1189 (hildon_set_password_dialog_get_password): type check added
1190 (hildon_set_password_dialog_get_protected): likewise
1191 (hildon_set_password_dialog_set_domain): likewise
1194 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1196 Cleanup name-password dialog:
1198 * hildon-widgets/hildon-name-password-dialog.[ch]
1200 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1201 types changed from *HildonCaption to *GtkEntry
1203 (hildon_name_password_dialog_set_property): layout fixes;
1204 duplicated code replaced with calls to relevant public functions
1206 (hildon_name_password_dialog_get_property): layout fixes;
1207 duplicated code replaced with calls to relevant public functions
1209 (hildon_name_password_dialog_init): fixed leaking group variable;
1210 reworked to have captions as local variables and captioned entries
1211 in the private struct
1213 (hildon_name_password_dialog_new_with_default): name and password
1214 arguments declared const
1216 (hildon_name_password_dialog_get_name): type check added + cleanup
1217 (hildon_name_password_dialog_get_password): likewise.
1219 (hildon_name_password_dialog_set_domain): domain argument declared
1220 const; type check added + cleanup
1223 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1225 Cleanup get-password dialog:
1227 * hildon-widgets/hildon-get-password-dialog.[ch]
1229 (HildonGetPasswordDialogPrivate): gboolean get_old added
1231 (hildon_get_password_set_property): fixed broken 'numbers-only'
1232 and 'max-characters' cases; 'get-old' property added
1234 (hildon_get_password_get_property): added support for reading
1235 'numbers-only' properties; added missing break to 'domain' case.
1236 added 'get-old' property
1238 (hildon_get_password_dialog_class_init): 'domain' and
1239 'numbers-only' properties are now readable; 'get-old' property
1242 (hildon_get_password_dialog_init, create_contents): everything
1243 that depends on the type of the dialog (i.e. 'get-old' property)
1244 is now done in create_contents after properties are initialized;
1245 fixed leaking group variable
1247 (hildon_get_password_dialog_get_type): empty function argument
1248 list replaced with void keyword
1250 (hildon_get_password_dialog_new): moved setting the labels of the
1251 get password dialog to init where it should be done; 'get-old'
1252 property set upon construction to achieve this
1254 (hildon_get_password_dialog_new_with_default): password argument
1257 (hildon_get_password_dialog_get_password): type check added
1258 (hildon_get_password_dialog_set_domain): type check added; domain
1259 argument declared const; duplicate function declaration removed
1261 (hildon_get_password_dialog_set_title): type check added;
1262 new_title argument declared const
1264 (hildon_get_password_dialog_set_caption): type check added;
1265 new_caption argument declared const
1267 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1268 (_invalid_input): gpointer data argument renamed unused
1271 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1273 (*_get_type): declared G_GNUC_CONST
1275 * hildon-widgets/hildon-app.h:
1276 * hildon-widgets/hildon-appview.h:
1277 * hildon-widgets/hildon-calendar-popup.h:
1278 * hildon-widgets/hildon-color-selector.h:
1279 * hildon-widgets/hildon-date-editor.h:
1280 * hildon-widgets/hildon-find-toolbar.h:
1281 * hildon-widgets/hildon-get-password-dialog.h:
1282 * hildon-widgets/hildon-name-password-dialog.h:
1283 * hildon-widgets/hildon-number-editor.h:
1284 * hildon-widgets/hildon-seekbar.h:
1285 * hildon-widgets/hildon-set-password-dialog.h:
1286 * hildon-widgets/hildon-sort-dialog.h:
1287 * hildon-widgets/hildon-time-editor.h:
1288 * hildon-widgets/hildon-weekday-picker.h:
1289 * hildon-widgets/hildon-wizard-dialog.h:
1291 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1295 * hildon-widgets/hildon-volumebar.c
1296 (hildon_volumebar_class_init): object class casts cleaned up
1297 (hildon_child_forall): removed unnecessary variable vbar; type check added
1298 (hildon_volumebar_set_property): removed unnecessary variable vbar
1299 (hildon_volumebar_set_level): type check added
1300 (hildon_volumebar_get_level): type check added
1301 (hildon_volumebar_set_mute): type check added
1302 (hildon_volumebar_get_mute): type check added
1303 (hildon_volumebar_get_adjustment): type check added
1304 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1306 * hildon-widgets/hildon-volumebar.h
1307 (hildon_volumebar_get_type): declared G_GNUC_CONST
1309 * hildon-widgets/hildon-volumebar-private.h:
1310 - G_BEGIN_DECLS/G_END_DECLS added
1311 - ownorientation removed from private struct
1313 * hildon-widgets/hildon-volumebar-range.c
1314 (hildon_volumebar_range_init): vacuous return statement removed
1316 (hildon_volumebar_range_set_level): removed unnecessary clamping
1317 kludge that violated object oriented principles only to provide an
1318 extremely minor, unnecessary optimization; type check added
1320 (hildon_volumebar_range_get_level): now accesses adjustment value
1321 with appropriate functions instead of reading it directly from the
1322 struct, which is bad OOP; type check added
1324 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1325 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1327 * hildon-widgets/hildon-volumebar-range.h
1328 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1330 * hildon-widgets/hildon-hvolumebar.c
1331 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1332 completely removed the gtk_widget_show() call that was already
1335 (hildon_hvolumebar_new): empty function parameter list replaced
1338 (hildon_hvolumebar_map): vbar variable removed; type check added
1339 (hildon_hvolumebar_expose): type check added
1340 (hildon_hvolumebar_size_request): type check added
1341 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1343 * hildon-widgets/hildon-hvolumebar.h
1344 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1346 * hildon-widgets/hildon-vvolumebar.c
1347 (vvolumebar_init): priv->ownorientation and v_ptr removed
1348 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1350 (hildon_vvolumebar_expose): type check added
1351 (hildon_vvolumebar_size_request): type check added
1352 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1354 * hildon-widgets/hildon-vvolumebar.h
1355 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1358 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1360 * hildon-widgets/hildon-weekday-picker.c
1361 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1362 last_index; added day_order_buttons
1364 (hildon_weekday_picker_mnemonic_activate): removed.
1365 mnemonics are no longer used.
1367 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1368 function. Rewritten creation of buttons. Unref'ed size group.
1370 (button_toggle): Removed bit mask checking, simplified function
1372 (hildon_weekday_picker_set_day):
1373 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1374 adjustment, unecessary for loop
1376 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1377 unecessary for loop. Simplified button toggling
1379 (hildon_weekday_picker_set_all):
1380 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1383 (hildon_weekday_picker_isset_day): Removed date adjustment and
1384 unecessary for loop;
1386 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1388 Added hildon-banner, as a clean replacement for gtk-infoprint
1389 * hildon-widgets/hildon-banner.[ch]: implementation and header
1390 * hildon-widgets/Makefile.am: reference new files
1391 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1392 a compatibility wrapper to hildon-banner
1394 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1396 * hildon-widgets/hildon-color-button.c: added comments
1397 * hildon-widgets/hildon-controlbar.c: Likewise.
1398 * hildon-widgets/hildon-composite-widget.c: Likewise.
1399 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1401 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1403 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1406 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1408 * configure.ac: 0.12.1
1410 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1412 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1413 * doc/tmpl/hildon-window.sgml: likewise.
1414 * hildon-widgets/hildon-program.[ch]: likewise.
1415 * hildon-widgets/hildon-window.[ch]: likewise.
1416 * hildon-widgets/hildon-window-private.h: likewise.
1417 * hildon-widgets/Makefile.am: Added these new files to the build
1420 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1422 * configure.ac: 0.12.0
1424 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1426 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1427 * doc/tmpl/hildon-appview.sgml: likewise.
1428 * doc/tmpl/hildon-color-popup.sgml: likewise.
1429 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1430 * doc/tmpl/hildon-app.sgml: likewise.
1431 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1432 * doc/tmpl/hildon-caption.sgml: likewise.
1433 * doc/tmpl/hildon-marshalers.sgml: likewise.
1434 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1435 * doc/tmpl/hildon-defines.sgml: likewise.
1436 * doc/tmpl/gtk-infoprint.sgml: likewise.
1437 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1439 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1440 * hildon-widgets/hildon-app.[ch]:likewise.
1441 * hildon-widgets/hildon-app-private.h:likewise.
1442 * hildon-widgets/hildon-appview.[ch]:likewise.
1443 * hildon-widgets/hildon-caption.[ch]:likewise.
1444 * hildon-widgets/hildon-defines.[ch]:likewise.
1445 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1446 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1448 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1449 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1453 hildon-app-private.h
1457 hildon-find-toolbar.[ch]
1458 hildon-input-mode-hint.h
1460 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1461 path for gtk-infoprint.h and hildon-input-mode-hint.h
1463 * po/en_GB.po: merged msgstr from hildon-lgpl
1465 * timer/*: added from hildon-lgpl
1469 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1471 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1474 * ut/hildon-widgets_tests.c (test41a): removed test case for
1475 hildon_file_details_dialog
1477 * doc/hildon-libs.types: likewise.
1478 * doc/hildon-libs-docs.xml: likewise.
1484 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1487 * Makefile.am (SUBDIRS): added timer/
1489 * configure.ac: do not depend anymore on hildon-lgpl nor
1490 hildon-fm, check for libmb, added Makefile output for timer/
1494 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1496 * configure.ac: 0.10.2
1498 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1500 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1501 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1502 hildon-apps scroll-control property is now handled.
1503 (get_child_index_by_coord): ignores events not matching a grid
1506 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1508 * configure.ac: 0.10.1
1510 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1512 Missing/Buggy documentation from,
1513 N#11566 make password dialog customizable (messages)
1514 * hildon-widgets/hildon-get-password-dialog.c
1515 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1517 * doc/tmpl/xxx.sgml: updated.
1519 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1521 N#19369 TRUE Scketch does not show colour change when using white color
1523 Color button needs inner border white, and outer border black.
1524 * hildon-widgets/hildon-color-button.c
1525 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1527 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1528 (hildon_color_button_realize): call the above function
1530 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1532 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1533 * hildon-widgets/hildon-note.c:
1534 (hildon_note_new_confirmation_add_buttons): updated doc
1535 (hildon_note_set_button_texts): likewise.
1537 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1539 N#21884 Cannot select read-only by using the center of the scroll key
1540 * hildon-widgets/hildon-file-details-dialog.c
1541 (hildon_file_details_dialog_init): Removed dialog default response.
1543 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1545 N#8094 5-bit color selector: wrong margins and pixel measurements
1546 M#59 HildonColorSelector needs more space
1547 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1548 (hildon_color_popup_new): add space between the control bars and
1549 the color preview area.
1551 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1553 * hildon-widgets/hildon-calendar-popup.c
1554 * hildon-widgets/hildon-color-button.c
1555 * hildon-widgets/hildon-color-popup.c
1556 * hildon-widgets/hildon-color-selector.c
1557 * hildon-widgets/hildon-composite-widget.c
1558 * hildon-widgets/hildon-controlbar.c
1559 * hildon-widgets/hildon-date-editor.c
1560 * hildon-widgets/hildon-dialoghelp.c
1561 * hildon-widgets/hildon-file-details-dialog.c
1562 * hildon-widgets/hildon-font-selection-dialog.c
1563 * hildon-widgets/hildon-get-password-dialog.c
1564 * hildon-widgets/hildon-grid-item.c
1565 * hildon-widgets/hildon-grid.c
1566 * hildon-widgets/hildon-hvolumebar.c
1567 * hildon-widgets/hildon-name-password-dialog.c
1568 * hildon-widgets/hildon-note.c
1569 * hildon-widgets/hildon-number-editor.c
1570 * hildon-widgets/hildon-range-editor.c
1571 * hildon-widgets/hildon-scroll-area.c
1572 * hildon-widgets/hildon-seekbar.c
1573 * hildon-widgets/hildon-set-password-dialog.c
1574 * hildon-widgets/hildon-sort-dialog.c
1575 * hildon-widgets/hildon-time-editor.c
1576 * hildon-widgets/hildon-time-picker.c
1577 * hildon-widgets/hildon-volumebar-private.h
1578 * hildon-widgets/hildon-volumebar-range.c
1579 * hildon-widgets/hildon-volumebar.c
1580 * hildon-widgets/hildon-vvolumebar.c
1581 * hildon-widgets/hildon-weekday-picker.c
1582 * hildon-widgets/hildon-wizard-dialog.c
1585 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1587 * configure.ac: 0.10.0
1589 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1591 Some more properties for Gazpacho support,
1593 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1594 * hildon-widgets/hildon-color-selector.c: "color"
1597 * hildon-widgets/hildon-color-selector.[ch]
1598 (hildon_color_selector_get_color): return const pointer to the
1601 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1604 Gazpacho support, added the following properties:
1606 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1607 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1608 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1609 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1610 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1611 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1612 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1613 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1614 * hildon-widgets/hildon-number-editor.c: "value"
1616 * hildon-widgets/hildon-color-button.c: minor cleanup
1619 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1621 Started new development
1622 (branche for maintenance continues with versions 0.9.x)
1624 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1626 * configure.ac: 0.9.53
1628 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1631 N#19283 Control panel - The values entered are not saved.
1632 N#19648 Hildon Date Editor widget detects values too high
1633 (note: complete fix include also fixes in GTk+)
1635 * hildon-widgets/hildon-calendar-popup.c
1636 (hildon_calendar_popup_set_property),
1637 (hildon_calendar_popup_class_init),
1638 (init_dmy): Added 'min-year', 'max-year' properties for passing
1639 the information through from HildonDateEditor to GtkCalendar
1641 * hildon-widgets/hildon-date-editor.c:
1642 (hildon_date_editor_class_init),
1643 (hildon_date_editor_init),
1644 (hildon_date_editor_set_property),
1645 (hildon_date_editor_get_property),
1647 (hildon_date_editor_entry_validate),
1648 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1649 properties and replaced hardcoded constants with them
1651 * hildon-widgets/hildon-date-editor.c
1652 (hildon_date_editor_d_entry_changed),
1653 (hildon_date_editor_m_entry_changed),
1654 (hildon_date_editor_d_entry_changed): new functions to ensure that
1655 the fields are validated and the focus is moved when maximum
1656 number of characters has been entered.
1658 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1660 * configure.ac: 0.9.52
1662 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1664 N#19140 System alerts still audible despite being turned off
1666 * hildon-widgets/hildon-note.c (sound_handling):
1668 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1670 * hildon-note.c (sound_handling): Changed to use new
1671 hildon_play_system_sound.
1672 (hildon_note_init): Signal handler id is changed to be in private
1673 structure, not in global variable.
1675 * hildon-note.c: Removed unused defines etc.
1677 * Makefile.am: Appended new files to build rules.
1679 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1681 * configure.ac: 0.9.51
1683 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1685 N#20027 PDF Reader crashes on selecting read only option in the
1688 * hildon-widgets/hildon-file-details-dialog.c:
1689 (change_state): Fixed assertion that was causing problems
1690 (check_validity): New function: We now automatically close the
1691 dialog if the displayed file is removed.
1692 (handle_focus): Callback removed:
1693 (init): Now using correct gtk way to bind container and adjustment
1694 together. Not the previous callback.
1695 (set_property): Connecting/disconnecting new handlers (for
1697 (finalize): disconnecting new handler.
1699 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1701 N#17918 Volumebar widget background image doesn't change when
1702 widget goes into mute state,
1704 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1707 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1708 using the state of the internal volumebar, not the whole container
1710 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1711 using the state of the internal volumebar, not the whole container
1713 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1715 * hildon-widgets/hildon-dialoghelp.[ch]: added
1716 gtk_dialog_help_disable and fixed bug N#19468
1718 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
1720 * configure.ac: Release 0.9.50
1722 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
1726 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1728 * hildon-widgets/hildon-grid.c
1729 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1730 label by logical name "Ckct_wi_grid_no_items"
1733 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
1735 * po/en_GB.po (ecdg_ti_verify_password): translation update.
1737 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1739 * configure.ac: Release 0.9.49
1741 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1743 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
1744 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
1745 Save the id of the idle callback and remove it when the widget is
1746 destroyed to avoid crashing. N#18096
1748 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1750 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
1751 id's are unsigned and undefined at zero (instead of signed and -1)
1753 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1755 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
1756 that was not working. N#16805
1758 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1760 * configure.ac: Release 0.9.48
1762 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1764 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
1765 allow area_rows to be 0 (ie. before widget is visible), otherwise the
1766 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
1768 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1770 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1771 Do not override the week-start property of GtkCalendar according to
1772 the hildon-libs PO file, it is automatically determined from locale
1775 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1777 * configure.ac: Release 0.9.47
1779 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1781 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
1782 property for setting the password entry accept only numeric values.
1785 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1787 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
1788 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
1789 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
1790 Use defines rather than magic numbers in the code.
1792 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1794 Update to new l10n packaging style. po-files (inside this package)
1795 are not used for now, the message catalogs come from separate packages
1796 and including them here would conflict.
1798 * Makefile.am (SUBDIRS): stop including po-files
1799 * Makefile.am (EXTRA_DIST):
1800 * debian/hildon-libs-l10n-engb.install:
1801 * debian/hildon-libs-l10n-src.install:
1802 * po/debian/*: Removed
1804 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
1806 * hildon-widgets/hildon-file-details-dialog.c: Added read only
1807 checks to cover gateway content as well.
1809 * hildon-widgets/hildon-time-editor.c:
1810 (hildon_time_editor_validate): Replace solid numbers with defined
1812 (convert_to_12h): Remove "work-around" for the broken 12h timespec
1815 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
1817 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
1818 invalid cast from `GdkWindow' to `GtkWindow'
1820 * hildon-widgets/hildon-color-popup.c
1821 (hildon_popup_palette_expose): removed debug printing
1823 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
1825 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
1828 * hildon-widgets/hildon-scroll-area.c
1829 (hildon_scroll_area_destroy): one-instruction function:
1830 removed. Call g_free directly.
1832 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
1833 right edge of window, size of the child is also shrinked. 'fixed'
1834 does not automatically update this data -> Doing it manually.
1836 * hildon-widgets/hildon-date-editor.h: added
1837 HildonDateEditorErrorType error enumeration type, removed signal
1838 "validate-date" virtual function, added signal "date-error"
1841 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1842 added custom info prints.
1843 (hildon_date_editor_validate_date): removed
1844 (hildon_date_editor_entry_validate): validate maximum and minimum
1845 limits on each field.
1846 (hildon_date_editor_entry_focus_out): check the date validation
1847 in simpler manner, don't put content if field is empty (spec
1848 doesn't say if there should be anything placed in the entry if
1850 (hildon_date_editor_get_date),
1851 (hildon_date_editor_get_month),
1852 (hildon_date_editor_get_year),
1853 (hildon_date_editor_get_day): use direct entry content, so that 0
1854 indicates empty entry, and information is more accurate.
1856 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
1858 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
1860 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
1861 http://bugzilla.gnome.org/show_bug.cgi?id=310216
1863 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
1865 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
1867 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
1869 * hildon-widgets/hildon-number-editor.c:
1870 (hildon_number_editor_select_all): new function, selects all
1871 the text in the entry.
1872 * hildon-widgets/hildon-number-editor.c: added several calls to
1873 hildon_number_editor_select_all with g_idle_add.
1875 * hildon-controlbar.c : add signal when end reached
1877 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
1879 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
1881 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
1883 Fixed incorrect values in <Filetype> Details Dialog
1885 Fixed help button usage in dialogs
1887 * hildon-dialoghelp.c: Added more documentation about the
1890 * hildon-file-details-dialog.c: Updated to match
1891 'File Management in OSSO' version 3.0
1893 * Fixed application hang after calling gtk_main_quit
1895 * hildon-date-editor.c: Fixed HildonDateEditor that caught
1896 ESC presses needlessly
1898 * hildon-time-editor.c: Fixed memory corruption