1 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
3 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
6 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
9 * hildon-widgets/hildon-wizard-dialog.c
10 (HildonWizardDialogPrivate?): Removed the previous_button and
11 next_button members of the structure (they are no longer needed).
12 (hildon_wizard_dialog_response): This new private function handles the
13 'response' signal and replaces the funtion direction_button_clicked()
14 in taking care of notebook page changes and button dimming. Much of the
15 old code in direction_button_clicked() was rewritten and simplified.
16 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now added
17 to the dialog as response buttons. This enables the
18 usage of GtkDialog? API for setting their sensitiveness
19 (dimming/undimming). Connected hildon_wizard_dialog_response to
20 "resonse" signal. Removed useless title creation because it depends
21 on the notebook which is not yet created.
22 (hildon_wizard_dialog_set_property): Minor indentation and comments
24 (hildon_wizard_dialog_create_title): Removed useless else-if statement.
25 * hildon-widgets/hildon-wizard-dialog.h
26 (hildon_wizard_dialog_get_type): added G_GNUC_CONST at end of declaration
28 * hildon-widgets/hildon-wizard-dialog.{c,h}: Reverted the patch
29 adding the page_change signal, as the application can now
30 track the response signal instead.
33 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
35 * configure.ac: 0.12.4
38 006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
42 moved widget descriptions to respective source file (*.c)
46 006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
50 * hildon-widgets/hildon-color-button.c:
51 - removed unused #include
52 - removed unused gettext macro
54 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
55 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
56 + value updated to match specifications
58 (struct _HildonColorButtonPrivate):
59 removed 'drawing_area' and 'pixbuf' members (unused)
61 (hildon_color_button_init):
62 use drawing_area directly, update COLOR_FILLED_ macro names
64 (hildon_color_button_unrealize): new function.
65 (hildon_color_button_class_init): register unrealize function
66 (hildon_color_button_finalize): free allocated GC in unrealize
67 handler instead of in finalize.
69 (hildon_color_button_recolor_pixbuf): removed. (use
70 gdk_draw_rectangle() instead)
71 (hildon_color_button_draw_pixbuf_borders): likewise
73 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
75 (hildon_color_button_set_property): queue the drawing - instead of
76 calling recolor_pixbuf
78 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
81 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
83 More cleanup for range editor,
85 * hildon-widgets/hildon-range-editor.[ch]
86 - removed useless includes
87 (hildon_range_editor_new_with_separator): set char parameter 'const'
89 * hildon-widgets/hildon-range-editor.c
90 - removed useless includes
91 - rewritten a lot of functions because code was inefficient.
92 - removed useless g_return_if_fail calls from various functions.
94 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
95 (hildon_range_editor_entry_keypress): rewritten
96 (hildon_range_editor_entry_focus_out): rewritten
97 (hildon_range_editor_refresh_widths): New function
98 (hildon_range_editor_set_range): Make sure that the values are in
100 (hildon_range_editor_set_lower): rewritten.
101 (hildon_range_editor_set_higher): rewritten.
102 (hildon_range_editor_set_min): rewritten.
103 (hildon_range_editor_set_max): rewritten.
105 (hildon_range_editor_entry_validate): New validator function
106 (hildon_range_editor_entry_changed): New signal handler for
107 "changed" for entries, this will now validate whenever entry changes.
109 (hildon_range_editor_entry_focus_out): Added g_assert for
110 editor. Removed call to hildon_range_editor_apply_current_range().
111 Added call to the new function hildon_range_editor_entry_validate()
114 (hildon_range_editor_init): connected
115 hildon_range_editor_entry_changed to "changed" for entries.
118 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
120 Major cleanup for time editor
122 * hildon-widgets/hildon-time-editor.c
123 - removed unused #includes.
124 - Removed useless g_return_if_fail(editor) calls
125 (HILDON_IS_TIME_EDITOR does this check as well for us).
127 (hildon_time_editor_add_style): removed, obsolete.
128 (hildon_time_editor_mnemonic_activate): removed, obsolete
129 (hildon_time_editor_get_max_values): removed, obsolete.
131 (validated_conversion): New helper function
133 (hildon_time_editor_entry_changed): New function, now the widget
134 interactively validates the inputted contents (not requiring focus
137 (ticks_to_time): rewritten, using less arithmetic operations.
138 (hildon_time_editor_validate): rewritten
139 (hildon_time_editor_set_ticks): rewritten
140 (hildon_time_editor_set_duration_mode): rewritten
141 (hildon_time_editor_entry_keypress): rewritten
143 * hildon-widgets/hildon-time-editor.[ch]
144 (hildon_time_editor_set_show_hours)
145 (hildon_time_editor_get_show_hours) new functions to show/hide hours
148 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
150 Cleanup number editor
152 * hildon-widgets/hildon-number-editor.c:
153 (SPACE_BORDER): removed
155 (hildon_number_editor_size_request):
156 (hildon_number_editor_size_allocate): updated to use hildondefines
158 (hildon_number_editor_mnemonic_activate): function removed,
159 mnemonic are not used
161 (hildon_number_editor_stop_repeat_timer): new function, to avoid
163 (hildon_number_editor_button_release):
164 (hildon_number_editor_finalize): updated to use new function
166 (hildon_number_editor_entry_keypress): completely rewritten
167 (change_numbers): likewise
168 (do_mouse_timeout): likewise
169 (hildon_number_editor_set_range): likewise
171 (hildon_number_editor_validate_value): new function, used for all
173 (hildon_number_editor_focus_out):
174 (hildon_number_editor_entry_changed): updated to use previous.
176 (hildon_number_editor_real_set_value): new function that formats
177 given int to field. Used by change_numbers and set_value
179 (integer_to_string): removed, we now have one place that
180 converts numbers and that uses buffer from stack.
181 (hildon_number_editor_set_value): changed to use new format function.
184 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
186 * hildon-widgets/hildon-time-picker.c:
187 reorganized how the widgets are stored to reduce code
188 (HildonTimePickerWidgetGroup): new struct
189 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
190 (hildon_time_picker_init)
191 (hildon_time_picker_arrow_press)
192 (hildon_time_picker_event_box_key_press)
193 (hildon_time_picker_change_time)
194 (hildon_time_picker_map)
195 (hildon_time_picker_event_box_key_release): use new widget organization
198 (hildon_time_picker_init): return value from nl_timeinfo() is
199 valid only until it's called again, so g_strdup() the value when
202 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
203 (HILDON_TIME_PICKER_LABEL_X_PADDING)
204 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
205 (hildon_time_picker_set_time):
206 (hildon_time_picker_get_time):
207 (hildon_time_picker_ampm_release): used the new defines
209 (struct _HildonTimePickerPrivate)
210 (hildon_time_picker_init)
211 (hildon_time_picker_event_box_key_press)
212 (hildon_time_picker_change_time):
213 - c12h renamed to show_ampm,
214 - ampo_pos renamed to ampm_left.
216 (hildon_time_picker_timeout): renamed to
217 hildon_time_picker_key_repeat_timeout(),
218 and renamed parameter to 'hildon_time_picker'
220 (hildon_time_picker_event_box_press): renamed to
221 hildon_time_picker_event_box_button_press()
223 (hildon_time_picker_finalize): Added finalizer to make sure the
224 key repeat timeout handler gets removed.
226 (hildon_time_picker_arrow_press): Placed multipliers into
227 button_multipliers[] array to avoid multiple if/then/else
231 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
233 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
234 calculates correctly which items will be visible. Fixes N#16991.
237 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
239 * hildon-widgets/hildon-find-toolbar.c
240 (hildon_find_toolbar_history_append): set "column" property only
241 after model has been set.
244 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
246 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
247 the parameter more descriptively
250 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
254 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
256 * hildon-widgets/hildon-app.[ch]
257 (hildon_zoom_level_get_type): removed G_CONST_RETURN
259 * hildon-widgets/hildon-app.c:
260 - removed HILDON_DISABLE_DEPRECATED flags
261 - added g_assert'ions to internal functions
264 (hildon_app_button): Move the fixed define to the function itself,
265 add simple autodetection, clean up comments.
267 (hildon_app_key_release): Remove bogus argument to signal emission
268 (not needed), emit the "fullscreen_state_change" directly instead
269 of calling set_fullscreen.
271 (hildon_app_construct_title): removed dead code
273 (hildon_app_register_view_with_id): do not call g_slist_nth() to
274 get the first element...
277 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
279 * hildon-widgets/hildon-appview.c:
280 (hildon_appview_init): indented comments properly
281 (paint_toolbar): indented comments properly
282 (hildon_appview_expose): indented code properly
283 (hildon_appview_toolbar_toggle_request): removed dead code
286 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
288 * hildon-widgets/hildon-caption.c
289 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
290 (hildon_caption_size_allocate): likewise.
291 (hildon_caption_forall): likewise.
294 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
296 Cleanup Find toolbar,
298 * hildon-widgets/hildon-find-toolbar.[ch]
299 (hildon_find_toolbar_new): set 'label' parameter const.
300 (hildon_find_toolbar_new_with_model): likewise.
302 * hildon-widgets/hildon-find-toolbar.c
303 (struct _HildonFindToolbarPrivate):
304 changed entry_combo_box type to GtkComboBoxEntry*
306 (hildon_find_toolbar_get_list_model): new function, to factor
307 member access and casting
308 (hildon_find_toolbar_get_entry): likewise.
309 (hildon_find_toolbar_apply_filter): removed set_column parameter
310 since it was used by only one caller, and made the caller do it
311 instead. Removed unnecessary casts.
313 (hildon_find_toolbar_find_string): new function.
314 (hildon_find_toolbar_history_append): code cleanup. use
315 hildon_find_toolbar_find_string.
317 (hildon_find_toolbar_get_property)
318 (hildon_find_toolbar_get_entry)
319 (hildon_find_toolbar_init)
320 (hildon_find_toolbar_new)
321 (hildon_find_toolbar_new_with_model)
322 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
323 and changed some of them to use the new convenience functions
326 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
327 instead of if-check to validate parameter.
330 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
332 Cleanup hildon-defines,
334 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
335 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
337 (hildon_logical_data_free): new function. Free logical data.
338 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
339 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
341 * hildon-widgets/hildon-defines.[ch]
342 (hildon_gtk_widget_set_logical_font): use const gchar*
343 (hildon_gtk_widget_set_logical_color): likewise.
345 * hildon-widgets/hildon-defines.c:
346 (hildoniconsizes): set const
347 (hildoninternaliconsizes): set static, renamed 'iis'
350 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
352 Cleanup Caption widget,
354 * hildon-lgpl/hildon-caption.[ch]
355 (hildon_caption_status_get_type, hildon_caption_get_type):
356 G_CONST_RETURN removed, G_GNUC_CONST added
358 * hildon-widgets/hildon-caption.c
360 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
362 (hildon_caption_set_property): removed useless code.
363 (hildon_caption_button_press): simplified greatly by removing the
364 unnecessary recursion to locate the first focusable child of a
365 container - simple gtk_widget_grab_focus achieves the same
366 (get_first_focusable_child): removed (not used anymore)
368 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
370 (hildon_caption_set_focus_child): removed (not used anymore)
371 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
373 (hildon_caption_hierarchy_changed): type check added
374 (hildon_caption_forall): callback null check added
375 (hildon_caption_set_status): type check added
376 (hildon_caption_set_icon_image): type check added
377 (hildon_caption_activate): activate_block kludge removed as outdated
378 (hildon_caption_get_child_expand): argument declared const
379 (hildon_caption_set_label_text): g_return_if_fail changed to
380 g_assert since this is not a public function;
381 Duplicate separator check now uses correct localized separator
382 instead of assuming ':'
385 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
389 * hildon-lgpl/hildon-appview-c:
390 (hildon_app_view_init): Fixed a problem that prevented to set an
391 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
392 between toolbars). This fix involves a change in the default gtkrc
393 file, ie. the modification of the 'border' value of the
394 "toolbar-frame-middle" image in the osso-appview-background style.
396 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
397 widget supporting adjustements, not only viewports.
399 (visible_toolbar): use proper parameter names
400 (find_findtoolbar_index): likewise.
401 (find_findtoolbar): likewise.
403 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
404 (hildon_appview_finalize): likewise.
405 (hildon_appview_signal_marshal): likewise.
406 (hildon_appview_forall): likewise.
407 (hildon_appview_switched_to): likewise.
408 (hildon_appview_real_fullscreen_state_change): likewise.
411 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
413 * hildon-widgets/hildon-date-editor.c
414 (hildon_date_editor_entry_validate): Now, if an invalid date is
415 entered, date-editor reverts to previous date, instead of setting
416 the maximum allowed days.
419 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
421 * hildon-widgets/hildon-date-editor.h
422 (enum HildonDateEditorErrorType): added NO_ERROR entry.
424 * hildon-widgets/hildon-date-editor.c
425 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
426 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
429 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
431 * hildon-widgets/hildon-get-password-dialog.c:
432 (hildon_get_password_dialog_set_title): Removed the deprecation
433 #ifdefs from the .c file.
435 * hildon-widgets/hildon-file-handling-note.c: likewise.
439 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
441 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
443 * hildon-widgets/hildon-color-selector.c
444 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
445 (hildon_color_selector_expose)
446 (hildon_color_selector_get_color)
447 (hildon_color_selector_set_color)
450 (modify_focused): Separate selected color and focused color.
451 Focused color now draws a different colored border around it.
452 Renamed modify_selected() to modify_focused().
454 * hildon-widgets/hildon-color-selector.c
455 (hildon_color_selector_expose)
456 (select_color): Changed the logic in how the box positions are
457 calculated. The old logic was wrong, but just happened to work
458 with those specific values.
460 * hildon-widgets/hildon-color-selector.c
461 (hildon_color_selector_expose): Draw the selected-border using
462 ImageBorderColor color instead of hardcoded black.
465 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
467 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
468 removed current_color; use initial_color directly.
469 Disabled select-hardkey from activating to OK-button by default.
472 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
474 * hildon-widgets/hildon-date-editor.c
475 (hildon_date_editor_keypress): removed the unnecessary check for
476 the position of the cursor in the text-field which was hindering
477 the Left key from working as expected.
480 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
482 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
483 after setting the toggle_button active. Prevents GLIB_CRITICALs.
485 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
487 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
490 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
492 * hildon-widgets/hildon-font-selection-dialog.c
493 (hildon_font_selection_dialog_show_preview): set line wrap for
497 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
499 * hildon-widgets/hildon-date-editor.c
500 (hildon_child_forall): cast 'container'
501 (hildon_date_editor_size_allocate): adjusted height allocation.
504 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
506 Cleanup calendar popup,
508 * hildon-widgets/hildon-calendar-popup.c:
509 - updated 'longdesc' comment.
510 - removed gtk-infoprint.h from included headers (unused).
512 (struct HildonCalendarPopupPrivate): removed member
513 'can_exit' (useless).
514 (hildon_calendar_day_selected): removed (useless).
515 (hildon_calendar_allow_exit): likewise.
516 (hildon_calendar_deny_exit): likewise.
518 (hildon_calendar_selected_date): new function. replaces
519 hildon_calendar_allow_exit()
521 (hildon_calendar_popup_init):
522 - Removed initialization for 'can_exit'.
523 - Removed connection to removed useless functions.
524 - Connect "selected_date" to hildon_calendar_selected_date().
525 - Do not grab the focus (useless)
527 (hildon_key_pressed): just handle ESC and Return keys.
529 (hildon_calendar_popup_get_property): removed unused variables.
532 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
534 * hildon-widgets/hildon-caption.c
535 * hildon-widgets/hildon-composite-widget.h
536 * hildon-widgets/hildon-get-password-dialog.c
537 * hildon-widgets/hildon-grid.h
538 * hildon-widgets/hildon-grid-item.h
539 * hildon-widgets/hildon-volumebar-range.c
540 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
542 (hildon_controlbar_get_type): likewise.
544 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
546 * doc/hildon-libs.types: Add missing types
547 * doc/hildon-libs-docs.sgml: Add missing links and some organization
548 * doc/tmpl/*: Regenerate and add new files
550 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
553 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
555 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
557 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
558 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
560 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
564 * doc/Makefile.am: Update gtk-doc framework bits
565 * gtk-doc.make (commit generated file)
566 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
568 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
569 * hildon-widgets/hildon-code-dialog.c:
573 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
575 * hildon-widgets/hildon-window.c: propagate key-press event to the
576 parent class (Closes N#23400)
577 * configure.ac: 0.12.3
579 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
581 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
583 * configure.ac: 0.12.2
586 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
588 * hildon-widgets/hildon-color-selector.c (key_pressed): use
589 g_assert instead of g_return_val_if_fail
594 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
596 * hildon-widgets/hildon-get-password-dialog.[ch]:
597 (hildon_get_password_dialog_set_title) marked deprecated.
599 + cleanup header coding style
602 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
604 Cleanup font selection dialog
606 * hildon-widgets/hildon-font-selection-dialog.c
608 (hildon_font_selection_dialog_construct_notebook): removed dummy
611 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
613 (hildon_font_selection_dialog_preview_key_press): Renamed argument
614 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
616 (toggle_clicked): renamed argument 'data' to 'unused'
618 (hildon_font_selection_dialog_set_preview_text): added proper
622 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
624 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
625 removed console messages.
628 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
630 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
631 (struct _HildonSortDialogPrivate):
632 - removed okButton, cancelButton
633 - removed sort_by_value, sort_order_type
634 - removed index_first
635 - renamed combo1 to combo_key
636 - renamed caption1 to caption_key
637 - renamed combo2 to combo_order
638 - renamed caption2 to cpation_order
640 (hildon_sort_dialog_init): removed init of unused fields.
642 (hildon_sort_dialog_get_sort_key): likewise.
643 (hildon_sort_dialog_get_sort_order): likewise.
644 (hildon_sort_dialog_set_sort_key): likewise.
645 (hildon_sort_dialog_set_sort_order): likewise.
646 (hildon_sort_dialog_add_sort_key): likewise.
648 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
650 * hildon-widgets/hildon-date-editor.c
651 (hildon_child_forall): use g_assert instead of g_return_if_fail
652 (hildon_date_editor_entry_validate): likewise.
655 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
657 * hildon-widgets/hildon-controlbar.c
658 (hildon_controlbar_change_value): commented function.
660 * hildon-widgets/hildon-wizard-dialog.c
661 (hildon_wizard_dialog_get_property): likewise.
664 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
666 Cleanup weekday picker,
668 * hildon-widgets/hildon-weekday-picker.c
669 (_): removed unused gettext macro
670 (button_toggle): use meaningful parameter name
671 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
672 (hildon_weekday_picker_size_allocate): likewise.
673 (button_toggle): likewise.
676 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
680 * hildon-widgets/hildon-time-editor.c
681 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
682 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
683 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
684 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
686 (struct _HildonTimeEditorPrivate):
687 - h_entry, m_entry, s_entry replaced by entries[],
688 allows to remove a lot of code.
689 - label renamed to hm_label
690 - label2 renamed to sec_label
691 - ampm renamed to ampm_label
692 - show_s renamed to show_seconds
693 - removed fields: icon, valid_value, validated
695 + moved up in the file.
697 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
699 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
701 (set_widget_allocation): removed
702 (hildon_time_editor_entry_changed): removed
704 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
706 (hildon_time_editor_forall): removed unnecessary code
707 (hildon_time_editor_destroy): likewise.
709 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
711 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
713 (hildon_time_editor_set_to_current_time): new function. (factorise code)
714 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
715 use new variable names,
716 use hildon_time_editor_set_to_current_time
718 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
719 (hildon_time_editor_set_ticks): use g_assert instead of
720 g_return_if_fails, use
721 'entries[]', removed dead code
723 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
724 (hildon_time_editor_validate): use 'entries[]', removed dead code
725 (hildon_time_editor_get_max_values): use 'entries[]'
728 (hildon_time_editor_get_show_seconds): use new variable names
729 (hildon_time_editor_set_duration_mode): likewise.
731 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
733 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
735 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
737 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
739 (set_widget_allocation): removed (unused)
740 (hildon_time_editor_entry_changed): removed (unused)
742 (IS_VALID_KEYPRESS): new macro
743 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
744 deleate dead/unnecessary code
746 use IS_VALID_KEYPRESS
748 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
750 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
752 (hildon_time_editor_size_allocate): cleanup
753 (convert_to_12h): cleanup code style
755 (hildon_time_editor_show_seconds): removed deprecation flag
756 (hildon_time_editor_enable_duration_mode): likewise.
759 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
763 * hildon-widgets/hildon-volumebar.h: removed unused #include
764 + coding style cleanup
766 * hildon-widgets/hildon-volumebar.c
767 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
769 (hildon_child_forall): use g_assert instead of g_return_if_fail
771 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
772 + coding style cleanup
774 * hildon-widgets/hildon-volumebar-private.h:
775 added missing #include.
776 added _hildon_volumebar_mute_toggled.
777 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
781 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
782 + coding style cleanup
784 * hildon-widgets/hildon-vvolumebar.c
785 (hildon_vvolumebar_size_request)
786 (hildon_vvolumebar_size_allocate)
787 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
789 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
791 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
792 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
793 (vvolumebar_init): renamed to hildon_vvolumebar_init
794 (hildon_vvolumebar_init): removed unused 'orientation'
795 initialisation. Use _hildon_volumebar_mute_toggled instead of
796 removed hildon_vvolumebar_mute.
800 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
802 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
803 renamed to hildon_hvolumebar_class_init
805 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
806 hildon_hvolumebar_init
808 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
811 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
812 removed unused 'orientation' initialisation.
814 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
815 _hildon_volumebar_mute_toggled instead of removed
816 hildon_hvolumebar_mute.
819 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
823 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
826 * hildon-widgets/hildon-color-popup.h: likewise.
828 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
831 * hildon-widgets/hildon-color-selector.c
832 (hildon_color_selector_new): use g_return_val_if_fail instead of
834 (select_color): use g_assert instead of g_return_if_fail
836 * hildon-widgets/hildon-calendar-popup.c
837 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
841 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
843 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
844 added HildonCodeDialog widget
847 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
849 * hildon-widgets/hildon-window.c:
850 - set the toolbar height explicitely
851 - use show instead of show_all on the common_toolbar
852 - add the toolbars bottom-up instead of top-down
853 * hildon-widgets/hildon-program.c:
854 - don't assume that a window was realized when added to
858 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
860 Cleanup font selection dialog,
862 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
863 + coding style cleanup
865 * hildon-widgets/hildon-font-selection-dialog.c
866 (hildon_font_selection_dialog_finalize): use g_return_if_fail
869 * hildon-widgets/hildon-font-selection-dialog.c
870 (hildon_font_selection_dialog_get_text_tag)
871 (hildon_font_selection_dialog_set_buffer)
872 (hildon_font_selection_dialog_get_font)
873 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
876 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
878 Cleanup range editor,
880 * hildon-widgets/hildon-range-editor.c
881 (hildon_range_editor_calss_init):Removed
882 widget_calss->mnemonic_activate init
884 * hildon-widgets/hildon-range-editor.c
885 (hildon_range_editor_mnemonic_activate): Removed static function
886 hildon_range_mnemonic_activate and FIXME. It is useless even
887 through it is overriding function for
888 GtkWidgetClass->mnemonic_activate. The activation and keyboard
889 focus will be realized based on different applications.
891 * hildon-widgets/hildon-range-editor.c
892 (is_valid_keyvalue_for_entry_keypress): new function.
894 * hildon-widgets/hildon-range-editor.c
895 (hildon_range_editor_entry_keypress): uses
896 is_valid_keyvalue_for_entry_keypress
898 * hildon-widgets/hildon-range-editor.c
899 (hildon_range_editor_forall): use g_return_if_fail instead of
902 * hildon-widgets/hildon-range-editor.cvn
903 (hildon_range_editor_mnemonic_activate): removed. (unused)
906 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
910 * hildon-widgets/hildon-note.[ch]
912 (hildon_note_five_line_truncate): removed.
913 (hildon_note_one_line_truncate): removed.
915 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
916 instead of _{one|five}_line_truncate() functions.
919 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
920 into wrapper of "hildon_note_new_information_with_icon_name".
922 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
923 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
925 - removed some unnessecary includes.
927 - Merged hildon_note_create & hildon_note_create_form and rewrote
928 the combination as hildon_note_rebuild
930 - Added missing g_return_* into public functions.
932 - Acquire real references to children which are packed/unpacked,
933 so we do not need to bother about refcounting while changing the
937 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
941 * hildon-widgets/hildon-number-editor.c
943 (set_widget_allocation): use const parameter.
945 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
947 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
948 (hildon_number_editor_set_range): removed 'negative'
951 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
952 use g_assert instead of g_return_if_fail
955 * hildon-widgets/hildon-time-picker.c:
956 - in several places, replace 1440 by 24*60
957 (PROP_AMPM): removed, unused.
958 (hildon_time_picker_timeout): use significant parameter name,
960 (hildon_time_picker_init): removed useless call to _change_time()
963 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
967 * hildon-widgets/hildon-seekbar.c
969 (_): Removed dgettext macro definition.
971 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
973 (hildon_seekbar_finalize): removed. not needed.
974 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
976 (hildon_seekbar_size_request): indent cleanup.
978 (hildon_seekbar_size_allocate): simplified function.
980 (hildon_seekbar_button_press_event): Removed unused variables.
981 (hildon_seekbar_button_release_event): likewise.
984 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
988 * hildon-widgets/hildon-date-editor.c
990 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
991 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
993 (hildon_date_editor_get_font_width): removed (legacy static
994 function), use gtk_entry_set_width_chars instead.
996 (hildon_date_editor_mnemonic_activate): removed mnemonic
997 activation handler, since it's no more used by HildonCaption.
1000 - Removed some meaningless code (if (somewidget != NULL)) from
1003 - HEAVILY modified key_press, completely removed if/grab_focus
1004 spaghetti by gtk_widget_child_focus
1006 - Removed input validation from keypress (that would not work
1007 anyway, since our input method do not generate presses). => This
1008 allows to change default return value to FALSE and remove all cases
1009 that just returned FALSE for some keys.
1011 - Merged all *_entry_changed callbacks to use the same
1012 function. Again using gtk_widget_child_focus, but now with return
1013 value as well to detect last field.
1015 - Changed that calendar button is no more implemented through
1016 changing widget hierarchy (old implementation caused critical
1017 issues when you used both stylus and hardkeys at the same time to
1018 popup. => finalize method no longer contained anything => removed
1020 - Locale type is no longer needed after initial setup.
1022 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1023 hack from the days of background dimming (it was important to
1024 process background updates before the dimming was done).
1026 - Changed the field order/delimeters to be correcly derived form
1029 - Rewrote validation function, combined it with validation done in
1030 focus_out (since both are now called at the same time).
1032 - Changed set_date function to set all components at one go
1033 without doing any validation there between (before setting each
1038 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1040 Cleanup set-password dialog
1042 * hildon-widgets/hildon-set-password-dialog.[ch]
1043 (hildon_set_password_dialog_set_domain): gchar * param is const
1044 (hildon_set_password_dialog_new_with_default): likewise.
1046 * hildon-widgets/hildon-set-password-dialog.c
1048 (hildon_set_password_set_property): setting 'modify-protection'
1051 (hildon_set_password_get_property): fixed broken 'domain' (missing
1052 break statement!) and 'modify-protection' (was a null operation)
1053 properties; code simplified.
1055 (hildon_set_password_dialog_constructor),
1057 (hildon_set_password_dialog_class_init),
1058 (hildon_set_password_dialog_init):
1059 hildon_set_password_dialog_constructor removed as weird and
1060 obsolete and replaced with new function create_contents; fixed
1061 leaking group variable; removed some unused, outdated code that
1062 was already commented out.
1064 (hildon_set_password_response_change),
1065 (hildon_set_password_response_set): GtkWindow *parent arguments
1066 changed to gpointer unused; cleaned up unnecessary strcmp's
1068 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1069 checkbox). gpointer renamed to be more descriptive; Code simplified
1071 (hildon_set_password_dialog_get_type): empty function argument
1072 list replaced with void keyword.
1074 (hildon_set_password_dialog_new),
1075 (hildon_set_password_dialow_new_with_default): simplified by
1076 having the simpler constructor call the more complex one, not vice
1077 versa; moved callback connects to create_contents since they
1078 depend on the status of 'modify-protection' property
1080 (hildon_set_password_dialog_get_password): type check added
1081 (hildon_set_password_dialog_get_protected): likewise
1082 (hildon_set_password_dialog_set_domain): likewise
1085 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1087 Cleanup name-password dialog:
1089 * hildon-widgets/hildon-name-password-dialog.[ch]
1091 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1092 types changed from *HildonCaption to *GtkEntry
1094 (hildon_name_password_dialog_set_property): layout fixes;
1095 duplicated code replaced with calls to relevant public functions
1097 (hildon_name_password_dialog_get_property): layout fixes;
1098 duplicated code replaced with calls to relevant public functions
1100 (hildon_name_password_dialog_init): fixed leaking group variable;
1101 reworked to have captions as local variables and captioned entries
1102 in the private struct
1104 (hildon_name_password_dialog_new_with_default): name and password
1105 arguments declared const
1107 (hildon_name_password_dialog_get_name): type check added + cleanup
1108 (hildon_name_password_dialog_get_password): likewise.
1110 (hildon_name_password_dialog_set_domain): domain argument declared
1111 const; type check added + cleanup
1114 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1116 Cleanup get-password dialog:
1118 * hildon-widgets/hildon-get-password-dialog.[ch]
1120 (HildonGetPasswordDialogPrivate): gboolean get_old added
1122 (hildon_get_password_set_property): fixed broken 'numbers-only'
1123 and 'max-characters' cases; 'get-old' property added
1125 (hildon_get_password_get_property): added support for reading
1126 'numbers-only' properties; added missing break to 'domain' case.
1127 added 'get-old' property
1129 (hildon_get_password_dialog_class_init): 'domain' and
1130 'numbers-only' properties are now readable; 'get-old' property
1133 (hildon_get_password_dialog_init, create_contents): everything
1134 that depends on the type of the dialog (i.e. 'get-old' property)
1135 is now done in create_contents after properties are initialized;
1136 fixed leaking group variable
1138 (hildon_get_password_dialog_get_type): empty function argument
1139 list replaced with void keyword
1141 (hildon_get_password_dialog_new): moved setting the labels of the
1142 get password dialog to init where it should be done; 'get-old'
1143 property set upon construction to achieve this
1145 (hildon_get_password_dialog_new_with_default): password argument
1148 (hildon_get_password_dialog_get_password): type check added
1149 (hildon_get_password_dialog_set_domain): type check added; domain
1150 argument declared const; duplicate function declaration removed
1152 (hildon_get_password_dialog_set_title): type check added;
1153 new_title argument declared const
1155 (hildon_get_password_dialog_set_caption): type check added;
1156 new_caption argument declared const
1158 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1159 (_invalid_input): gpointer data argument renamed unused
1162 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1164 (*_get_type): declared G_GNUC_CONST
1166 * hildon-widgets/hildon-app.h:
1167 * hildon-widgets/hildon-appview.h:
1168 * hildon-widgets/hildon-calendar-popup.h:
1169 * hildon-widgets/hildon-color-selector.h:
1170 * hildon-widgets/hildon-date-editor.h:
1171 * hildon-widgets/hildon-find-toolbar.h:
1172 * hildon-widgets/hildon-get-password-dialog.h:
1173 * hildon-widgets/hildon-name-password-dialog.h:
1174 * hildon-widgets/hildon-number-editor.h:
1175 * hildon-widgets/hildon-seekbar.h:
1176 * hildon-widgets/hildon-set-password-dialog.h:
1177 * hildon-widgets/hildon-sort-dialog.h:
1178 * hildon-widgets/hildon-time-editor.h:
1179 * hildon-widgets/hildon-weekday-picker.h:
1180 * hildon-widgets/hildon-wizard-dialog.h:
1182 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1186 * hildon-widgets/hildon-volumebar.c
1187 (hildon_volumebar_class_init): object class casts cleaned up
1188 (hildon_child_forall): removed unnecessary variable vbar; type check added
1189 (hildon_volumebar_set_property): removed unnecessary variable vbar
1190 (hildon_volumebar_set_level): type check added
1191 (hildon_volumebar_get_level): type check added
1192 (hildon_volumebar_set_mute): type check added
1193 (hildon_volumebar_get_mute): type check added
1194 (hildon_volumebar_get_adjustment): type check added
1195 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1197 * hildon-widgets/hildon-volumebar.h
1198 (hildon_volumebar_get_type): declared G_GNUC_CONST
1200 * hildon-widgets/hildon-volumebar-private.h:
1201 - G_BEGIN_DECLS/G_END_DECLS added
1202 - ownorientation removed from private struct
1204 * hildon-widgets/hildon-volumebar-range.c
1205 (hildon_volumebar_range_init): vacuous return statement removed
1207 (hildon_volumebar_range_set_level): removed unnecessary clamping
1208 kludge that violated object oriented principles only to provide an
1209 extremely minor, unnecessary optimization; type check added
1211 (hildon_volumebar_range_get_level): now accesses adjustment value
1212 with appropriate functions instead of reading it directly from the
1213 struct, which is bad OOP; type check added
1215 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1216 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1218 * hildon-widgets/hildon-volumebar-range.h
1219 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1221 * hildon-widgets/hildon-hvolumebar.c
1222 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1223 completely removed the gtk_widget_show() call that was already
1226 (hildon_hvolumebar_new): empty function parameter list replaced
1229 (hildon_hvolumebar_map): vbar variable removed; type check added
1230 (hildon_hvolumebar_expose): type check added
1231 (hildon_hvolumebar_size_request): type check added
1232 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1234 * hildon-widgets/hildon-hvolumebar.h
1235 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1237 * hildon-widgets/hildon-vvolumebar.c
1238 (vvolumebar_init): priv->ownorientation and v_ptr removed
1239 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1241 (hildon_vvolumebar_expose): type check added
1242 (hildon_vvolumebar_size_request): type check added
1243 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1245 * hildon-widgets/hildon-vvolumebar.h
1246 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1249 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1251 * hildon-widgets/hildon-weekday-picker.c
1252 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1253 last_index; added day_order_buttons
1255 (hildon_weekday_picker_mnemonic_activate): removed.
1256 mnemonics are no longer used.
1258 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1259 function. Rewritten creation of buttons. Unref'ed size group.
1261 (button_toggle): Removed bit mask checking, simplified function
1263 (hildon_weekday_picker_set_day):
1264 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1265 adjustment, unecessary for loop
1267 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1268 unecessary for loop. Simplified button toggling
1270 (hildon_weekday_picker_set_all):
1271 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1274 (hildon_weekday_picker_isset_day): Removed date adjustment and
1275 unecessary for loop;
1277 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1279 Added hildon-banner, as a clean replacement for gtk-infoprint
1280 * hildon-widgets/hildon-banner.[ch]: implementation and header
1281 * hildon-widgets/Makefile.am: reference new files
1282 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1283 a compatibility wrapper to hildon-banner
1285 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1287 * hildon-widgets/hildon-color-button.c: added comments
1288 * hildon-widgets/hildon-controlbar.c: Likewise.
1289 * hildon-widgets/hildon-composite-widget.c: Likewise.
1290 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1292 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1294 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1297 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1299 * configure.ac: 0.12.1
1301 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1303 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1304 * doc/tmpl/hildon-window.sgml: likewise.
1305 * hildon-widgets/hildon-program.[ch]: likewise.
1306 * hildon-widgets/hildon-window.[ch]: likewise.
1307 * hildon-widgets/hildon-window-private.h: likewise.
1308 * hildon-widgets/Makefile.am: Added these new files to the build
1311 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1313 * configure.ac: 0.12.0
1315 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1317 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1318 * doc/tmpl/hildon-appview.sgml: likewise.
1319 * doc/tmpl/hildon-color-popup.sgml: likewise.
1320 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1321 * doc/tmpl/hildon-app.sgml: likewise.
1322 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1323 * doc/tmpl/hildon-caption.sgml: likewise.
1324 * doc/tmpl/hildon-marshalers.sgml: likewise.
1325 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1326 * doc/tmpl/hildon-defines.sgml: likewise.
1327 * doc/tmpl/gtk-infoprint.sgml: likewise.
1328 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1330 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1331 * hildon-widgets/hildon-app.[ch]:likewise.
1332 * hildon-widgets/hildon-app-private.h:likewise.
1333 * hildon-widgets/hildon-appview.[ch]:likewise.
1334 * hildon-widgets/hildon-caption.[ch]:likewise.
1335 * hildon-widgets/hildon-defines.[ch]:likewise.
1336 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1337 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1339 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1340 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1344 hildon-app-private.h
1348 hildon-find-toolbar.[ch]
1349 hildon-input-mode-hint.h
1351 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1352 path for gtk-infoprint.h and hildon-input-mode-hint.h
1354 * po/en_GB.po: merged msgstr from hildon-lgpl
1356 * timer/*: added from hildon-lgpl
1360 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1362 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1365 * ut/hildon-widgets_tests.c (test41a): removed test case for
1366 hildon_file_details_dialog
1368 * doc/hildon-libs.types: likewise.
1369 * doc/hildon-libs-docs.xml: likewise.
1375 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1378 * Makefile.am (SUBDIRS): added timer/
1380 * configure.ac: do not depend anymore on hildon-lgpl nor
1381 hildon-fm, check for libmb, added Makefile output for timer/
1385 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1387 * configure.ac: 0.10.2
1389 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1391 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1392 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1393 hildon-apps scroll-control property is now handled.
1394 (get_child_index_by_coord): ignores events not matching a grid
1397 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1399 * configure.ac: 0.10.1
1401 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1403 Missing/Buggy documentation from,
1404 N#11566 make password dialog customizable (messages)
1405 * hildon-widgets/hildon-get-password-dialog.c
1406 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1408 * doc/tmpl/xxx.sgml: updated.
1410 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1412 N#19369 TRUE Scketch does not show colour change when using white color
1414 Color button needs inner border white, and outer border black.
1415 * hildon-widgets/hildon-color-button.c
1416 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1418 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1419 (hildon_color_button_realize): call the above function
1421 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1423 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1424 * hildon-widgets/hildon-note.c:
1425 (hildon_note_new_confirmation_add_buttons): updated doc
1426 (hildon_note_set_button_texts): likewise.
1428 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1430 N#21884 Cannot select read-only by using the center of the scroll key
1431 * hildon-widgets/hildon-file-details-dialog.c
1432 (hildon_file_details_dialog_init): Removed dialog default response.
1434 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1436 N#8094 5-bit color selector: wrong margins and pixel measurements
1437 M#59 HildonColorSelector needs more space
1438 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1439 (hildon_color_popup_new): add space between the control bars and
1440 the color preview area.
1442 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1444 * hildon-widgets/hildon-calendar-popup.c
1445 * hildon-widgets/hildon-color-button.c
1446 * hildon-widgets/hildon-color-popup.c
1447 * hildon-widgets/hildon-color-selector.c
1448 * hildon-widgets/hildon-composite-widget.c
1449 * hildon-widgets/hildon-controlbar.c
1450 * hildon-widgets/hildon-date-editor.c
1451 * hildon-widgets/hildon-dialoghelp.c
1452 * hildon-widgets/hildon-file-details-dialog.c
1453 * hildon-widgets/hildon-font-selection-dialog.c
1454 * hildon-widgets/hildon-get-password-dialog.c
1455 * hildon-widgets/hildon-grid-item.c
1456 * hildon-widgets/hildon-grid.c
1457 * hildon-widgets/hildon-hvolumebar.c
1458 * hildon-widgets/hildon-name-password-dialog.c
1459 * hildon-widgets/hildon-note.c
1460 * hildon-widgets/hildon-number-editor.c
1461 * hildon-widgets/hildon-range-editor.c
1462 * hildon-widgets/hildon-scroll-area.c
1463 * hildon-widgets/hildon-seekbar.c
1464 * hildon-widgets/hildon-set-password-dialog.c
1465 * hildon-widgets/hildon-sort-dialog.c
1466 * hildon-widgets/hildon-time-editor.c
1467 * hildon-widgets/hildon-time-picker.c
1468 * hildon-widgets/hildon-volumebar-private.h
1469 * hildon-widgets/hildon-volumebar-range.c
1470 * hildon-widgets/hildon-volumebar.c
1471 * hildon-widgets/hildon-vvolumebar.c
1472 * hildon-widgets/hildon-weekday-picker.c
1473 * hildon-widgets/hildon-wizard-dialog.c
1476 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1478 * configure.ac: 0.10.0
1480 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1482 Some more properties for Gazpacho support,
1484 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1485 * hildon-widgets/hildon-color-selector.c: "color"
1488 * hildon-widgets/hildon-color-selector.[ch]
1489 (hildon_color_selector_get_color): return const pointer to the
1492 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1495 Gazpacho support, added the following properties:
1497 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1498 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1499 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1500 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1501 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1502 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1503 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1504 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1505 * hildon-widgets/hildon-number-editor.c: "value"
1507 * hildon-widgets/hildon-color-button.c: minor cleanup
1510 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1512 Started new development
1513 (branche for maintenance continues with versions 0.9.x)
1515 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1517 * configure.ac: 0.9.53
1519 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1522 N#19283 Control panel - The values entered are not saved.
1523 N#19648 Hildon Date Editor widget detects values too high
1524 (note: complete fix include also fixes in GTk+)
1526 * hildon-widgets/hildon-calendar-popup.c
1527 (hildon_calendar_popup_set_property),
1528 (hildon_calendar_popup_class_init),
1529 (init_dmy): Added 'min-year', 'max-year' properties for passing
1530 the information through from HildonDateEditor to GtkCalendar
1532 * hildon-widgets/hildon-date-editor.c:
1533 (hildon_date_editor_class_init),
1534 (hildon_date_editor_init),
1535 (hildon_date_editor_set_property),
1536 (hildon_date_editor_get_property),
1538 (hildon_date_editor_entry_validate),
1539 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1540 properties and replaced hardcoded constants with them
1542 * hildon-widgets/hildon-date-editor.c
1543 (hildon_date_editor_d_entry_changed),
1544 (hildon_date_editor_m_entry_changed),
1545 (hildon_date_editor_d_entry_changed): new functions to ensure that
1546 the fields are validated and the focus is moved when maximum
1547 number of characters has been entered.
1549 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1551 * configure.ac: 0.9.52
1553 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1555 N#19140 System alerts still audible despite being turned off
1557 * hildon-widgets/hildon-note.c (sound_handling):
1559 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1561 * hildon-note.c (sound_handling): Changed to use new
1562 hildon_play_system_sound.
1563 (hildon_note_init): Signal handler id is changed to be in private
1564 structure, not in global variable.
1566 * hildon-note.c: Removed unused defines etc.
1568 * Makefile.am: Appended new files to build rules.
1570 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1572 * configure.ac: 0.9.51
1574 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1576 N#20027 PDF Reader crashes on selecting read only option in the
1579 * hildon-widgets/hildon-file-details-dialog.c:
1580 (change_state): Fixed assertion that was causing problems
1581 (check_validity): New function: We now automatically close the
1582 dialog if the displayed file is removed.
1583 (handle_focus): Callback removed:
1584 (init): Now using correct gtk way to bind container and adjustment
1585 together. Not the previous callback.
1586 (set_property): Connecting/disconnecting new handlers (for
1588 (finalize): disconnecting new handler.
1590 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1592 N#17918 Volumebar widget background image doesn't change when
1593 widget goes into mute state,
1595 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1598 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1599 using the state of the internal volumebar, not the whole container
1601 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1602 using the state of the internal volumebar, not the whole container
1604 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1606 * hildon-widgets/hildon-dialoghelp.[ch]: added
1607 gtk_dialog_help_disable and fixed bug N#19468
1609 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
1611 * configure.ac: Release 0.9.50
1613 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
1617 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1619 * hildon-widgets/hildon-grid.c
1620 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1621 label by logical name "Ckct_wi_grid_no_items"
1624 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
1626 * po/en_GB.po (ecdg_ti_verify_password): translation update.
1628 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1630 * configure.ac: Release 0.9.49
1632 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1634 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
1635 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
1636 Save the id of the idle callback and remove it when the widget is
1637 destroyed to avoid crashing. N#18096
1639 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1641 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
1642 id's are unsigned and undefined at zero (instead of signed and -1)
1644 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1646 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
1647 that was not working. N#16805
1649 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1651 * configure.ac: Release 0.9.48
1653 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1655 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
1656 allow area_rows to be 0 (ie. before widget is visible), otherwise the
1657 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
1659 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1661 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1662 Do not override the week-start property of GtkCalendar according to
1663 the hildon-libs PO file, it is automatically determined from locale
1666 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1668 * configure.ac: Release 0.9.47
1670 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1672 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
1673 property for setting the password entry accept only numeric values.
1676 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1678 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
1679 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
1680 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
1681 Use defines rather than magic numbers in the code.
1683 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1685 Update to new l10n packaging style. po-files (inside this package)
1686 are not used for now, the message catalogs come from separate packages
1687 and including them here would conflict.
1689 * Makefile.am (SUBDIRS): stop including po-files
1690 * Makefile.am (EXTRA_DIST):
1691 * debian/hildon-libs-l10n-engb.install:
1692 * debian/hildon-libs-l10n-src.install:
1693 * po/debian/*: Removed
1695 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
1697 * hildon-widgets/hildon-file-details-dialog.c: Added read only
1698 checks to cover gateway content as well.
1700 * hildon-widgets/hildon-time-editor.c:
1701 (hildon_time_editor_validate): Replace solid numbers with defined
1703 (convert_to_12h): Remove "work-around" for the broken 12h timespec
1706 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
1708 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
1709 invalid cast from `GdkWindow' to `GtkWindow'
1711 * hildon-widgets/hildon-color-popup.c
1712 (hildon_popup_palette_expose): removed debug printing
1714 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
1716 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
1719 * hildon-widgets/hildon-scroll-area.c
1720 (hildon_scroll_area_destroy): one-instruction function:
1721 removed. Call g_free directly.
1723 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
1724 right edge of window, size of the child is also shrinked. 'fixed'
1725 does not automatically update this data -> Doing it manually.
1727 * hildon-widgets/hildon-date-editor.h: added
1728 HildonDateEditorErrorType error enumeration type, removed signal
1729 "validate-date" virtual function, added signal "date-error"
1732 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1733 added custom info prints.
1734 (hildon_date_editor_validate_date): removed
1735 (hildon_date_editor_entry_validate): validate maximum and minimum
1736 limits on each field.
1737 (hildon_date_editor_entry_focus_out): check the date validation
1738 in simpler manner, don't put content if field is empty (spec
1739 doesn't say if there should be anything placed in the entry if
1741 (hildon_date_editor_get_date),
1742 (hildon_date_editor_get_month),
1743 (hildon_date_editor_get_year),
1744 (hildon_date_editor_get_day): use direct entry content, so that 0
1745 indicates empty entry, and information is more accurate.
1747 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
1749 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
1751 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
1752 http://bugzilla.gnome.org/show_bug.cgi?id=310216
1754 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
1756 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
1758 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
1760 * hildon-widgets/hildon-number-editor.c:
1761 (hildon_number_editor_select_all): new function, selects all
1762 the text in the entry.
1763 * hildon-widgets/hildon-number-editor.c: added several calls to
1764 hildon_number_editor_select_all with g_idle_add.
1766 * hildon-controlbar.c : add signal when end reached
1768 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
1770 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
1772 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
1774 Fixed incorrect values in <Filetype> Details Dialog
1776 Fixed help button usage in dialogs
1778 * hildon-dialoghelp.c: Added more documentation about the
1781 * hildon-file-details-dialog.c: Updated to match
1782 'File Management in OSSO' version 3.0
1784 * Fixed application hang after calling gtk_main_quit
1786 * hildon-date-editor.c: Fixed HildonDateEditor that caught
1787 ESC presses needlessly
1789 * hildon-time-editor.c: Fixed memory corruption