1 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
3 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
4 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
7 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
9 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
12 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
15 * hildon-widgets/hildon-wizard-dialog.c
16 (HildonWizardDialogPrivate?): Removed the previous_button and
17 next_button members of the structure (they are no longer needed).
18 (hildon_wizard_dialog_response): This new private function handles the
19 'response' signal and replaces the funtion direction_button_clicked()
20 in taking care of notebook page changes and button dimming. Much of the
21 old code in direction_button_clicked() was rewritten and simplified.
22 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now added
23 to the dialog as response buttons. This enables the
24 usage of GtkDialog? API for setting their sensitiveness
25 (dimming/undimming). Connected hildon_wizard_dialog_response to
26 "resonse" signal. Removed useless title creation because it depends
27 on the notebook which is not yet created.
28 (hildon_wizard_dialog_set_property): Minor indentation and comments
30 (hildon_wizard_dialog_create_title): Removed useless else-if statement.
31 * hildon-widgets/hildon-wizard-dialog.h
32 (hildon_wizard_dialog_get_type): added G_GNUC_CONST at end of declaration
34 * hildon-widgets/hildon-wizard-dialog.{c,h}: Reverted the patch
35 adding the page_change signal, as the application can now
36 track the response signal instead.
39 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
41 * configure.ac: 0.12.4
44 006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
48 moved widget descriptions to respective source file (*.c)
52 006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
56 * hildon-widgets/hildon-color-button.c:
57 - removed unused #include
58 - removed unused gettext macro
60 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
61 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
62 + value updated to match specifications
64 (struct _HildonColorButtonPrivate):
65 removed 'drawing_area' and 'pixbuf' members (unused)
67 (hildon_color_button_init):
68 use drawing_area directly, update COLOR_FILLED_ macro names
70 (hildon_color_button_unrealize): new function.
71 (hildon_color_button_class_init): register unrealize function
72 (hildon_color_button_finalize): free allocated GC in unrealize
73 handler instead of in finalize.
75 (hildon_color_button_recolor_pixbuf): removed. (use
76 gdk_draw_rectangle() instead)
77 (hildon_color_button_draw_pixbuf_borders): likewise
79 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
81 (hildon_color_button_set_property): queue the drawing - instead of
82 calling recolor_pixbuf
84 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
87 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
89 More cleanup for range editor,
91 * hildon-widgets/hildon-range-editor.[ch]
92 - removed useless includes
93 (hildon_range_editor_new_with_separator): set char parameter 'const'
95 * hildon-widgets/hildon-range-editor.c
96 - removed useless includes
97 - rewritten a lot of functions because code was inefficient.
98 - removed useless g_return_if_fail calls from various functions.
100 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
101 (hildon_range_editor_entry_keypress): rewritten
102 (hildon_range_editor_entry_focus_out): rewritten
103 (hildon_range_editor_refresh_widths): New function
104 (hildon_range_editor_set_range): Make sure that the values are in
106 (hildon_range_editor_set_lower): rewritten.
107 (hildon_range_editor_set_higher): rewritten.
108 (hildon_range_editor_set_min): rewritten.
109 (hildon_range_editor_set_max): rewritten.
111 (hildon_range_editor_entry_validate): New validator function
112 (hildon_range_editor_entry_changed): New signal handler for
113 "changed" for entries, this will now validate whenever entry changes.
115 (hildon_range_editor_entry_focus_out): Added g_assert for
116 editor. Removed call to hildon_range_editor_apply_current_range().
117 Added call to the new function hildon_range_editor_entry_validate()
120 (hildon_range_editor_init): connected
121 hildon_range_editor_entry_changed to "changed" for entries.
124 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
126 Major cleanup for time editor
128 * hildon-widgets/hildon-time-editor.c
129 - removed unused #includes.
130 - Removed useless g_return_if_fail(editor) calls
131 (HILDON_IS_TIME_EDITOR does this check as well for us).
133 (hildon_time_editor_add_style): removed, obsolete.
134 (hildon_time_editor_mnemonic_activate): removed, obsolete
135 (hildon_time_editor_get_max_values): removed, obsolete.
137 (validated_conversion): New helper function
139 (hildon_time_editor_entry_changed): New function, now the widget
140 interactively validates the inputted contents (not requiring focus
143 (ticks_to_time): rewritten, using less arithmetic operations.
144 (hildon_time_editor_validate): rewritten
145 (hildon_time_editor_set_ticks): rewritten
146 (hildon_time_editor_set_duration_mode): rewritten
147 (hildon_time_editor_entry_keypress): rewritten
149 * hildon-widgets/hildon-time-editor.[ch]
150 (hildon_time_editor_set_show_hours)
151 (hildon_time_editor_get_show_hours) new functions to show/hide hours
154 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
156 Cleanup number editor
158 * hildon-widgets/hildon-number-editor.c:
159 (SPACE_BORDER): removed
161 (hildon_number_editor_size_request):
162 (hildon_number_editor_size_allocate): updated to use hildondefines
164 (hildon_number_editor_mnemonic_activate): function removed,
165 mnemonic are not used
167 (hildon_number_editor_stop_repeat_timer): new function, to avoid
169 (hildon_number_editor_button_release):
170 (hildon_number_editor_finalize): updated to use new function
172 (hildon_number_editor_entry_keypress): completely rewritten
173 (change_numbers): likewise
174 (do_mouse_timeout): likewise
175 (hildon_number_editor_set_range): likewise
177 (hildon_number_editor_validate_value): new function, used for all
179 (hildon_number_editor_focus_out):
180 (hildon_number_editor_entry_changed): updated to use previous.
182 (hildon_number_editor_real_set_value): new function that formats
183 given int to field. Used by change_numbers and set_value
185 (integer_to_string): removed, we now have one place that
186 converts numbers and that uses buffer from stack.
187 (hildon_number_editor_set_value): changed to use new format function.
190 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
192 * hildon-widgets/hildon-time-picker.c:
193 reorganized how the widgets are stored to reduce code
194 (HildonTimePickerWidgetGroup): new struct
195 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
196 (hildon_time_picker_init)
197 (hildon_time_picker_arrow_press)
198 (hildon_time_picker_event_box_key_press)
199 (hildon_time_picker_change_time)
200 (hildon_time_picker_map)
201 (hildon_time_picker_event_box_key_release): use new widget organization
204 (hildon_time_picker_init): return value from nl_timeinfo() is
205 valid only until it's called again, so g_strdup() the value when
208 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
209 (HILDON_TIME_PICKER_LABEL_X_PADDING)
210 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
211 (hildon_time_picker_set_time):
212 (hildon_time_picker_get_time):
213 (hildon_time_picker_ampm_release): used the new defines
215 (struct _HildonTimePickerPrivate)
216 (hildon_time_picker_init)
217 (hildon_time_picker_event_box_key_press)
218 (hildon_time_picker_change_time):
219 - c12h renamed to show_ampm,
220 - ampo_pos renamed to ampm_left.
222 (hildon_time_picker_timeout): renamed to
223 hildon_time_picker_key_repeat_timeout(),
224 and renamed parameter to 'hildon_time_picker'
226 (hildon_time_picker_event_box_press): renamed to
227 hildon_time_picker_event_box_button_press()
229 (hildon_time_picker_finalize): Added finalizer to make sure the
230 key repeat timeout handler gets removed.
232 (hildon_time_picker_arrow_press): Placed multipliers into
233 button_multipliers[] array to avoid multiple if/then/else
237 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
239 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
240 calculates correctly which items will be visible. Fixes N#16991.
243 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
245 * hildon-widgets/hildon-find-toolbar.c
246 (hildon_find_toolbar_history_append): set "column" property only
247 after model has been set.
250 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
252 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
253 the parameter more descriptively
256 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
260 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
262 * hildon-widgets/hildon-app.[ch]
263 (hildon_zoom_level_get_type): removed G_CONST_RETURN
265 * hildon-widgets/hildon-app.c:
266 - removed HILDON_DISABLE_DEPRECATED flags
267 - added g_assert'ions to internal functions
270 (hildon_app_button): Move the fixed define to the function itself,
271 add simple autodetection, clean up comments.
273 (hildon_app_key_release): Remove bogus argument to signal emission
274 (not needed), emit the "fullscreen_state_change" directly instead
275 of calling set_fullscreen.
277 (hildon_app_construct_title): removed dead code
279 (hildon_app_register_view_with_id): do not call g_slist_nth() to
280 get the first element...
283 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
285 * hildon-widgets/hildon-appview.c:
286 (hildon_appview_init): indented comments properly
287 (paint_toolbar): indented comments properly
288 (hildon_appview_expose): indented code properly
289 (hildon_appview_toolbar_toggle_request): removed dead code
292 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
294 * hildon-widgets/hildon-caption.c
295 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
296 (hildon_caption_size_allocate): likewise.
297 (hildon_caption_forall): likewise.
300 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
302 Cleanup Find toolbar,
304 * hildon-widgets/hildon-find-toolbar.[ch]
305 (hildon_find_toolbar_new): set 'label' parameter const.
306 (hildon_find_toolbar_new_with_model): likewise.
308 * hildon-widgets/hildon-find-toolbar.c
309 (struct _HildonFindToolbarPrivate):
310 changed entry_combo_box type to GtkComboBoxEntry*
312 (hildon_find_toolbar_get_list_model): new function, to factor
313 member access and casting
314 (hildon_find_toolbar_get_entry): likewise.
315 (hildon_find_toolbar_apply_filter): removed set_column parameter
316 since it was used by only one caller, and made the caller do it
317 instead. Removed unnecessary casts.
319 (hildon_find_toolbar_find_string): new function.
320 (hildon_find_toolbar_history_append): code cleanup. use
321 hildon_find_toolbar_find_string.
323 (hildon_find_toolbar_get_property)
324 (hildon_find_toolbar_get_entry)
325 (hildon_find_toolbar_init)
326 (hildon_find_toolbar_new)
327 (hildon_find_toolbar_new_with_model)
328 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
329 and changed some of them to use the new convenience functions
332 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
333 instead of if-check to validate parameter.
336 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
338 Cleanup hildon-defines,
340 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
341 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
343 (hildon_logical_data_free): new function. Free logical data.
344 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
345 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
347 * hildon-widgets/hildon-defines.[ch]
348 (hildon_gtk_widget_set_logical_font): use const gchar*
349 (hildon_gtk_widget_set_logical_color): likewise.
351 * hildon-widgets/hildon-defines.c:
352 (hildoniconsizes): set const
353 (hildoninternaliconsizes): set static, renamed 'iis'
356 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
358 Cleanup Caption widget,
360 * hildon-lgpl/hildon-caption.[ch]
361 (hildon_caption_status_get_type, hildon_caption_get_type):
362 G_CONST_RETURN removed, G_GNUC_CONST added
364 * hildon-widgets/hildon-caption.c
366 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
368 (hildon_caption_set_property): removed useless code.
369 (hildon_caption_button_press): simplified greatly by removing the
370 unnecessary recursion to locate the first focusable child of a
371 container - simple gtk_widget_grab_focus achieves the same
372 (get_first_focusable_child): removed (not used anymore)
374 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
376 (hildon_caption_set_focus_child): removed (not used anymore)
377 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
379 (hildon_caption_hierarchy_changed): type check added
380 (hildon_caption_forall): callback null check added
381 (hildon_caption_set_status): type check added
382 (hildon_caption_set_icon_image): type check added
383 (hildon_caption_activate): activate_block kludge removed as outdated
384 (hildon_caption_get_child_expand): argument declared const
385 (hildon_caption_set_label_text): g_return_if_fail changed to
386 g_assert since this is not a public function;
387 Duplicate separator check now uses correct localized separator
388 instead of assuming ':'
391 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
395 * hildon-lgpl/hildon-appview-c:
396 (hildon_app_view_init): Fixed a problem that prevented to set an
397 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
398 between toolbars). This fix involves a change in the default gtkrc
399 file, ie. the modification of the 'border' value of the
400 "toolbar-frame-middle" image in the osso-appview-background style.
402 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
403 widget supporting adjustements, not only viewports.
405 (visible_toolbar): use proper parameter names
406 (find_findtoolbar_index): likewise.
407 (find_findtoolbar): likewise.
409 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
410 (hildon_appview_finalize): likewise.
411 (hildon_appview_signal_marshal): likewise.
412 (hildon_appview_forall): likewise.
413 (hildon_appview_switched_to): likewise.
414 (hildon_appview_real_fullscreen_state_change): likewise.
417 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
419 * hildon-widgets/hildon-date-editor.c
420 (hildon_date_editor_entry_validate): Now, if an invalid date is
421 entered, date-editor reverts to previous date, instead of setting
422 the maximum allowed days.
425 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
427 * hildon-widgets/hildon-date-editor.h
428 (enum HildonDateEditorErrorType): added NO_ERROR entry.
430 * hildon-widgets/hildon-date-editor.c
431 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
432 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
435 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
437 * hildon-widgets/hildon-get-password-dialog.c:
438 (hildon_get_password_dialog_set_title): Removed the deprecation
439 #ifdefs from the .c file.
441 * hildon-widgets/hildon-file-handling-note.c: likewise.
445 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
447 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
449 * hildon-widgets/hildon-color-selector.c
450 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
451 (hildon_color_selector_expose)
452 (hildon_color_selector_get_color)
453 (hildon_color_selector_set_color)
456 (modify_focused): Separate selected color and focused color.
457 Focused color now draws a different colored border around it.
458 Renamed modify_selected() to modify_focused().
460 * hildon-widgets/hildon-color-selector.c
461 (hildon_color_selector_expose)
462 (select_color): Changed the logic in how the box positions are
463 calculated. The old logic was wrong, but just happened to work
464 with those specific values.
466 * hildon-widgets/hildon-color-selector.c
467 (hildon_color_selector_expose): Draw the selected-border using
468 ImageBorderColor color instead of hardcoded black.
471 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
473 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
474 removed current_color; use initial_color directly.
475 Disabled select-hardkey from activating to OK-button by default.
478 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
480 * hildon-widgets/hildon-date-editor.c
481 (hildon_date_editor_keypress): removed the unnecessary check for
482 the position of the cursor in the text-field which was hindering
483 the Left key from working as expected.
486 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
488 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
489 after setting the toggle_button active. Prevents GLIB_CRITICALs.
491 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
493 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
496 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
498 * hildon-widgets/hildon-font-selection-dialog.c
499 (hildon_font_selection_dialog_show_preview): set line wrap for
503 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
505 * hildon-widgets/hildon-date-editor.c
506 (hildon_child_forall): cast 'container'
507 (hildon_date_editor_size_allocate): adjusted height allocation.
510 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
512 Cleanup calendar popup,
514 * hildon-widgets/hildon-calendar-popup.c:
515 - updated 'longdesc' comment.
516 - removed gtk-infoprint.h from included headers (unused).
518 (struct HildonCalendarPopupPrivate): removed member
519 'can_exit' (useless).
520 (hildon_calendar_day_selected): removed (useless).
521 (hildon_calendar_allow_exit): likewise.
522 (hildon_calendar_deny_exit): likewise.
524 (hildon_calendar_selected_date): new function. replaces
525 hildon_calendar_allow_exit()
527 (hildon_calendar_popup_init):
528 - Removed initialization for 'can_exit'.
529 - Removed connection to removed useless functions.
530 - Connect "selected_date" to hildon_calendar_selected_date().
531 - Do not grab the focus (useless)
533 (hildon_key_pressed): just handle ESC and Return keys.
535 (hildon_calendar_popup_get_property): removed unused variables.
538 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
540 * hildon-widgets/hildon-caption.c
541 * hildon-widgets/hildon-composite-widget.h
542 * hildon-widgets/hildon-get-password-dialog.c
543 * hildon-widgets/hildon-grid.h
544 * hildon-widgets/hildon-grid-item.h
545 * hildon-widgets/hildon-volumebar-range.c
546 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
548 (hildon_controlbar_get_type): likewise.
550 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
552 * doc/hildon-libs.types: Add missing types
553 * doc/hildon-libs-docs.sgml: Add missing links and some organization
554 * doc/tmpl/*: Regenerate and add new files
556 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
559 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
561 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
563 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
564 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
566 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
570 * doc/Makefile.am: Update gtk-doc framework bits
571 * gtk-doc.make (commit generated file)
572 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
574 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
575 * hildon-widgets/hildon-code-dialog.c:
579 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
581 * hildon-widgets/hildon-window.c: propagate key-press event to the
582 parent class (Closes N#23400)
583 * configure.ac: 0.12.3
585 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
587 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
589 * configure.ac: 0.12.2
592 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
594 * hildon-widgets/hildon-color-selector.c (key_pressed): use
595 g_assert instead of g_return_val_if_fail
600 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
602 * hildon-widgets/hildon-get-password-dialog.[ch]:
603 (hildon_get_password_dialog_set_title) marked deprecated.
605 + cleanup header coding style
608 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
610 Cleanup font selection dialog
612 * hildon-widgets/hildon-font-selection-dialog.c
614 (hildon_font_selection_dialog_construct_notebook): removed dummy
617 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
619 (hildon_font_selection_dialog_preview_key_press): Renamed argument
620 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
622 (toggle_clicked): renamed argument 'data' to 'unused'
624 (hildon_font_selection_dialog_set_preview_text): added proper
628 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
630 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
631 removed console messages.
634 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
636 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
637 (struct _HildonSortDialogPrivate):
638 - removed okButton, cancelButton
639 - removed sort_by_value, sort_order_type
640 - removed index_first
641 - renamed combo1 to combo_key
642 - renamed caption1 to caption_key
643 - renamed combo2 to combo_order
644 - renamed caption2 to cpation_order
646 (hildon_sort_dialog_init): removed init of unused fields.
648 (hildon_sort_dialog_get_sort_key): likewise.
649 (hildon_sort_dialog_get_sort_order): likewise.
650 (hildon_sort_dialog_set_sort_key): likewise.
651 (hildon_sort_dialog_set_sort_order): likewise.
652 (hildon_sort_dialog_add_sort_key): likewise.
654 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
656 * hildon-widgets/hildon-date-editor.c
657 (hildon_child_forall): use g_assert instead of g_return_if_fail
658 (hildon_date_editor_entry_validate): likewise.
661 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
663 * hildon-widgets/hildon-controlbar.c
664 (hildon_controlbar_change_value): commented function.
666 * hildon-widgets/hildon-wizard-dialog.c
667 (hildon_wizard_dialog_get_property): likewise.
670 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
672 Cleanup weekday picker,
674 * hildon-widgets/hildon-weekday-picker.c
675 (_): removed unused gettext macro
676 (button_toggle): use meaningful parameter name
677 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
678 (hildon_weekday_picker_size_allocate): likewise.
679 (button_toggle): likewise.
682 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
686 * hildon-widgets/hildon-time-editor.c
687 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
688 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
689 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
690 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
692 (struct _HildonTimeEditorPrivate):
693 - h_entry, m_entry, s_entry replaced by entries[],
694 allows to remove a lot of code.
695 - label renamed to hm_label
696 - label2 renamed to sec_label
697 - ampm renamed to ampm_label
698 - show_s renamed to show_seconds
699 - removed fields: icon, valid_value, validated
701 + moved up in the file.
703 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
705 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
707 (set_widget_allocation): removed
708 (hildon_time_editor_entry_changed): removed
710 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
712 (hildon_time_editor_forall): removed unnecessary code
713 (hildon_time_editor_destroy): likewise.
715 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
717 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
719 (hildon_time_editor_set_to_current_time): new function. (factorise code)
720 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
721 use new variable names,
722 use hildon_time_editor_set_to_current_time
724 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
725 (hildon_time_editor_set_ticks): use g_assert instead of
726 g_return_if_fails, use
727 'entries[]', removed dead code
729 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
730 (hildon_time_editor_validate): use 'entries[]', removed dead code
731 (hildon_time_editor_get_max_values): use 'entries[]'
734 (hildon_time_editor_get_show_seconds): use new variable names
735 (hildon_time_editor_set_duration_mode): likewise.
737 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
739 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
741 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
743 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
745 (set_widget_allocation): removed (unused)
746 (hildon_time_editor_entry_changed): removed (unused)
748 (IS_VALID_KEYPRESS): new macro
749 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
750 deleate dead/unnecessary code
752 use IS_VALID_KEYPRESS
754 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
756 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
758 (hildon_time_editor_size_allocate): cleanup
759 (convert_to_12h): cleanup code style
761 (hildon_time_editor_show_seconds): removed deprecation flag
762 (hildon_time_editor_enable_duration_mode): likewise.
765 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
769 * hildon-widgets/hildon-volumebar.h: removed unused #include
770 + coding style cleanup
772 * hildon-widgets/hildon-volumebar.c
773 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
775 (hildon_child_forall): use g_assert instead of g_return_if_fail
777 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
778 + coding style cleanup
780 * hildon-widgets/hildon-volumebar-private.h:
781 added missing #include.
782 added _hildon_volumebar_mute_toggled.
783 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
787 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
788 + coding style cleanup
790 * hildon-widgets/hildon-vvolumebar.c
791 (hildon_vvolumebar_size_request)
792 (hildon_vvolumebar_size_allocate)
793 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
795 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
797 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
798 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
799 (vvolumebar_init): renamed to hildon_vvolumebar_init
800 (hildon_vvolumebar_init): removed unused 'orientation'
801 initialisation. Use _hildon_volumebar_mute_toggled instead of
802 removed hildon_vvolumebar_mute.
806 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
808 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
809 renamed to hildon_hvolumebar_class_init
811 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
812 hildon_hvolumebar_init
814 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
817 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
818 removed unused 'orientation' initialisation.
820 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
821 _hildon_volumebar_mute_toggled instead of removed
822 hildon_hvolumebar_mute.
825 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
829 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
832 * hildon-widgets/hildon-color-popup.h: likewise.
834 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
837 * hildon-widgets/hildon-color-selector.c
838 (hildon_color_selector_new): use g_return_val_if_fail instead of
840 (select_color): use g_assert instead of g_return_if_fail
842 * hildon-widgets/hildon-calendar-popup.c
843 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
847 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
849 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
850 added HildonCodeDialog widget
853 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
855 * hildon-widgets/hildon-window.c:
856 - set the toolbar height explicitely
857 - use show instead of show_all on the common_toolbar
858 - add the toolbars bottom-up instead of top-down
859 * hildon-widgets/hildon-program.c:
860 - don't assume that a window was realized when added to
864 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
866 Cleanup font selection dialog,
868 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
869 + coding style cleanup
871 * hildon-widgets/hildon-font-selection-dialog.c
872 (hildon_font_selection_dialog_finalize): use g_return_if_fail
875 * hildon-widgets/hildon-font-selection-dialog.c
876 (hildon_font_selection_dialog_get_text_tag)
877 (hildon_font_selection_dialog_set_buffer)
878 (hildon_font_selection_dialog_get_font)
879 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
882 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
884 Cleanup range editor,
886 * hildon-widgets/hildon-range-editor.c
887 (hildon_range_editor_calss_init):Removed
888 widget_calss->mnemonic_activate init
890 * hildon-widgets/hildon-range-editor.c
891 (hildon_range_editor_mnemonic_activate): Removed static function
892 hildon_range_mnemonic_activate and FIXME. It is useless even
893 through it is overriding function for
894 GtkWidgetClass->mnemonic_activate. The activation and keyboard
895 focus will be realized based on different applications.
897 * hildon-widgets/hildon-range-editor.c
898 (is_valid_keyvalue_for_entry_keypress): new function.
900 * hildon-widgets/hildon-range-editor.c
901 (hildon_range_editor_entry_keypress): uses
902 is_valid_keyvalue_for_entry_keypress
904 * hildon-widgets/hildon-range-editor.c
905 (hildon_range_editor_forall): use g_return_if_fail instead of
908 * hildon-widgets/hildon-range-editor.cvn
909 (hildon_range_editor_mnemonic_activate): removed. (unused)
912 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
916 * hildon-widgets/hildon-note.[ch]
918 (hildon_note_five_line_truncate): removed.
919 (hildon_note_one_line_truncate): removed.
921 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
922 instead of _{one|five}_line_truncate() functions.
925 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
926 into wrapper of "hildon_note_new_information_with_icon_name".
928 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
929 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
931 - removed some unnessecary includes.
933 - Merged hildon_note_create & hildon_note_create_form and rewrote
934 the combination as hildon_note_rebuild
936 - Added missing g_return_* into public functions.
938 - Acquire real references to children which are packed/unpacked,
939 so we do not need to bother about refcounting while changing the
943 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
947 * hildon-widgets/hildon-number-editor.c
949 (set_widget_allocation): use const parameter.
951 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
953 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
954 (hildon_number_editor_set_range): removed 'negative'
957 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
958 use g_assert instead of g_return_if_fail
961 * hildon-widgets/hildon-time-picker.c:
962 - in several places, replace 1440 by 24*60
963 (PROP_AMPM): removed, unused.
964 (hildon_time_picker_timeout): use significant parameter name,
966 (hildon_time_picker_init): removed useless call to _change_time()
969 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
973 * hildon-widgets/hildon-seekbar.c
975 (_): Removed dgettext macro definition.
977 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
979 (hildon_seekbar_finalize): removed. not needed.
980 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
982 (hildon_seekbar_size_request): indent cleanup.
984 (hildon_seekbar_size_allocate): simplified function.
986 (hildon_seekbar_button_press_event): Removed unused variables.
987 (hildon_seekbar_button_release_event): likewise.
990 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
994 * hildon-widgets/hildon-date-editor.c
996 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
997 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
999 (hildon_date_editor_get_font_width): removed (legacy static
1000 function), use gtk_entry_set_width_chars instead.
1002 (hildon_date_editor_mnemonic_activate): removed mnemonic
1003 activation handler, since it's no more used by HildonCaption.
1006 - Removed some meaningless code (if (somewidget != NULL)) from
1009 - HEAVILY modified key_press, completely removed if/grab_focus
1010 spaghetti by gtk_widget_child_focus
1012 - Removed input validation from keypress (that would not work
1013 anyway, since our input method do not generate presses). => This
1014 allows to change default return value to FALSE and remove all cases
1015 that just returned FALSE for some keys.
1017 - Merged all *_entry_changed callbacks to use the same
1018 function. Again using gtk_widget_child_focus, but now with return
1019 value as well to detect last field.
1021 - Changed that calendar button is no more implemented through
1022 changing widget hierarchy (old implementation caused critical
1023 issues when you used both stylus and hardkeys at the same time to
1024 popup. => finalize method no longer contained anything => removed
1026 - Locale type is no longer needed after initial setup.
1028 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1029 hack from the days of background dimming (it was important to
1030 process background updates before the dimming was done).
1032 - Changed the field order/delimeters to be correcly derived form
1035 - Rewrote validation function, combined it with validation done in
1036 focus_out (since both are now called at the same time).
1038 - Changed set_date function to set all components at one go
1039 without doing any validation there between (before setting each
1044 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1046 Cleanup set-password dialog
1048 * hildon-widgets/hildon-set-password-dialog.[ch]
1049 (hildon_set_password_dialog_set_domain): gchar * param is const
1050 (hildon_set_password_dialog_new_with_default): likewise.
1052 * hildon-widgets/hildon-set-password-dialog.c
1054 (hildon_set_password_set_property): setting 'modify-protection'
1057 (hildon_set_password_get_property): fixed broken 'domain' (missing
1058 break statement!) and 'modify-protection' (was a null operation)
1059 properties; code simplified.
1061 (hildon_set_password_dialog_constructor),
1063 (hildon_set_password_dialog_class_init),
1064 (hildon_set_password_dialog_init):
1065 hildon_set_password_dialog_constructor removed as weird and
1066 obsolete and replaced with new function create_contents; fixed
1067 leaking group variable; removed some unused, outdated code that
1068 was already commented out.
1070 (hildon_set_password_response_change),
1071 (hildon_set_password_response_set): GtkWindow *parent arguments
1072 changed to gpointer unused; cleaned up unnecessary strcmp's
1074 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1075 checkbox). gpointer renamed to be more descriptive; Code simplified
1077 (hildon_set_password_dialog_get_type): empty function argument
1078 list replaced with void keyword.
1080 (hildon_set_password_dialog_new),
1081 (hildon_set_password_dialow_new_with_default): simplified by
1082 having the simpler constructor call the more complex one, not vice
1083 versa; moved callback connects to create_contents since they
1084 depend on the status of 'modify-protection' property
1086 (hildon_set_password_dialog_get_password): type check added
1087 (hildon_set_password_dialog_get_protected): likewise
1088 (hildon_set_password_dialog_set_domain): likewise
1091 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1093 Cleanup name-password dialog:
1095 * hildon-widgets/hildon-name-password-dialog.[ch]
1097 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1098 types changed from *HildonCaption to *GtkEntry
1100 (hildon_name_password_dialog_set_property): layout fixes;
1101 duplicated code replaced with calls to relevant public functions
1103 (hildon_name_password_dialog_get_property): layout fixes;
1104 duplicated code replaced with calls to relevant public functions
1106 (hildon_name_password_dialog_init): fixed leaking group variable;
1107 reworked to have captions as local variables and captioned entries
1108 in the private struct
1110 (hildon_name_password_dialog_new_with_default): name and password
1111 arguments declared const
1113 (hildon_name_password_dialog_get_name): type check added + cleanup
1114 (hildon_name_password_dialog_get_password): likewise.
1116 (hildon_name_password_dialog_set_domain): domain argument declared
1117 const; type check added + cleanup
1120 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1122 Cleanup get-password dialog:
1124 * hildon-widgets/hildon-get-password-dialog.[ch]
1126 (HildonGetPasswordDialogPrivate): gboolean get_old added
1128 (hildon_get_password_set_property): fixed broken 'numbers-only'
1129 and 'max-characters' cases; 'get-old' property added
1131 (hildon_get_password_get_property): added support for reading
1132 'numbers-only' properties; added missing break to 'domain' case.
1133 added 'get-old' property
1135 (hildon_get_password_dialog_class_init): 'domain' and
1136 'numbers-only' properties are now readable; 'get-old' property
1139 (hildon_get_password_dialog_init, create_contents): everything
1140 that depends on the type of the dialog (i.e. 'get-old' property)
1141 is now done in create_contents after properties are initialized;
1142 fixed leaking group variable
1144 (hildon_get_password_dialog_get_type): empty function argument
1145 list replaced with void keyword
1147 (hildon_get_password_dialog_new): moved setting the labels of the
1148 get password dialog to init where it should be done; 'get-old'
1149 property set upon construction to achieve this
1151 (hildon_get_password_dialog_new_with_default): password argument
1154 (hildon_get_password_dialog_get_password): type check added
1155 (hildon_get_password_dialog_set_domain): type check added; domain
1156 argument declared const; duplicate function declaration removed
1158 (hildon_get_password_dialog_set_title): type check added;
1159 new_title argument declared const
1161 (hildon_get_password_dialog_set_caption): type check added;
1162 new_caption argument declared const
1164 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1165 (_invalid_input): gpointer data argument renamed unused
1168 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1170 (*_get_type): declared G_GNUC_CONST
1172 * hildon-widgets/hildon-app.h:
1173 * hildon-widgets/hildon-appview.h:
1174 * hildon-widgets/hildon-calendar-popup.h:
1175 * hildon-widgets/hildon-color-selector.h:
1176 * hildon-widgets/hildon-date-editor.h:
1177 * hildon-widgets/hildon-find-toolbar.h:
1178 * hildon-widgets/hildon-get-password-dialog.h:
1179 * hildon-widgets/hildon-name-password-dialog.h:
1180 * hildon-widgets/hildon-number-editor.h:
1181 * hildon-widgets/hildon-seekbar.h:
1182 * hildon-widgets/hildon-set-password-dialog.h:
1183 * hildon-widgets/hildon-sort-dialog.h:
1184 * hildon-widgets/hildon-time-editor.h:
1185 * hildon-widgets/hildon-weekday-picker.h:
1186 * hildon-widgets/hildon-wizard-dialog.h:
1188 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1192 * hildon-widgets/hildon-volumebar.c
1193 (hildon_volumebar_class_init): object class casts cleaned up
1194 (hildon_child_forall): removed unnecessary variable vbar; type check added
1195 (hildon_volumebar_set_property): removed unnecessary variable vbar
1196 (hildon_volumebar_set_level): type check added
1197 (hildon_volumebar_get_level): type check added
1198 (hildon_volumebar_set_mute): type check added
1199 (hildon_volumebar_get_mute): type check added
1200 (hildon_volumebar_get_adjustment): type check added
1201 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1203 * hildon-widgets/hildon-volumebar.h
1204 (hildon_volumebar_get_type): declared G_GNUC_CONST
1206 * hildon-widgets/hildon-volumebar-private.h:
1207 - G_BEGIN_DECLS/G_END_DECLS added
1208 - ownorientation removed from private struct
1210 * hildon-widgets/hildon-volumebar-range.c
1211 (hildon_volumebar_range_init): vacuous return statement removed
1213 (hildon_volumebar_range_set_level): removed unnecessary clamping
1214 kludge that violated object oriented principles only to provide an
1215 extremely minor, unnecessary optimization; type check added
1217 (hildon_volumebar_range_get_level): now accesses adjustment value
1218 with appropriate functions instead of reading it directly from the
1219 struct, which is bad OOP; type check added
1221 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1222 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1224 * hildon-widgets/hildon-volumebar-range.h
1225 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1227 * hildon-widgets/hildon-hvolumebar.c
1228 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1229 completely removed the gtk_widget_show() call that was already
1232 (hildon_hvolumebar_new): empty function parameter list replaced
1235 (hildon_hvolumebar_map): vbar variable removed; type check added
1236 (hildon_hvolumebar_expose): type check added
1237 (hildon_hvolumebar_size_request): type check added
1238 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1240 * hildon-widgets/hildon-hvolumebar.h
1241 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1243 * hildon-widgets/hildon-vvolumebar.c
1244 (vvolumebar_init): priv->ownorientation and v_ptr removed
1245 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1247 (hildon_vvolumebar_expose): type check added
1248 (hildon_vvolumebar_size_request): type check added
1249 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1251 * hildon-widgets/hildon-vvolumebar.h
1252 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1255 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1257 * hildon-widgets/hildon-weekday-picker.c
1258 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1259 last_index; added day_order_buttons
1261 (hildon_weekday_picker_mnemonic_activate): removed.
1262 mnemonics are no longer used.
1264 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1265 function. Rewritten creation of buttons. Unref'ed size group.
1267 (button_toggle): Removed bit mask checking, simplified function
1269 (hildon_weekday_picker_set_day):
1270 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1271 adjustment, unecessary for loop
1273 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1274 unecessary for loop. Simplified button toggling
1276 (hildon_weekday_picker_set_all):
1277 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1280 (hildon_weekday_picker_isset_day): Removed date adjustment and
1281 unecessary for loop;
1283 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1285 Added hildon-banner, as a clean replacement for gtk-infoprint
1286 * hildon-widgets/hildon-banner.[ch]: implementation and header
1287 * hildon-widgets/Makefile.am: reference new files
1288 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1289 a compatibility wrapper to hildon-banner
1291 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1293 * hildon-widgets/hildon-color-button.c: added comments
1294 * hildon-widgets/hildon-controlbar.c: Likewise.
1295 * hildon-widgets/hildon-composite-widget.c: Likewise.
1296 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1298 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1300 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1303 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1305 * configure.ac: 0.12.1
1307 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1309 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1310 * doc/tmpl/hildon-window.sgml: likewise.
1311 * hildon-widgets/hildon-program.[ch]: likewise.
1312 * hildon-widgets/hildon-window.[ch]: likewise.
1313 * hildon-widgets/hildon-window-private.h: likewise.
1314 * hildon-widgets/Makefile.am: Added these new files to the build
1317 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1319 * configure.ac: 0.12.0
1321 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1323 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1324 * doc/tmpl/hildon-appview.sgml: likewise.
1325 * doc/tmpl/hildon-color-popup.sgml: likewise.
1326 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1327 * doc/tmpl/hildon-app.sgml: likewise.
1328 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1329 * doc/tmpl/hildon-caption.sgml: likewise.
1330 * doc/tmpl/hildon-marshalers.sgml: likewise.
1331 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1332 * doc/tmpl/hildon-defines.sgml: likewise.
1333 * doc/tmpl/gtk-infoprint.sgml: likewise.
1334 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1336 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1337 * hildon-widgets/hildon-app.[ch]:likewise.
1338 * hildon-widgets/hildon-app-private.h:likewise.
1339 * hildon-widgets/hildon-appview.[ch]:likewise.
1340 * hildon-widgets/hildon-caption.[ch]:likewise.
1341 * hildon-widgets/hildon-defines.[ch]:likewise.
1342 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1343 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1345 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1346 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1350 hildon-app-private.h
1354 hildon-find-toolbar.[ch]
1355 hildon-input-mode-hint.h
1357 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1358 path for gtk-infoprint.h and hildon-input-mode-hint.h
1360 * po/en_GB.po: merged msgstr from hildon-lgpl
1362 * timer/*: added from hildon-lgpl
1366 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1368 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1371 * ut/hildon-widgets_tests.c (test41a): removed test case for
1372 hildon_file_details_dialog
1374 * doc/hildon-libs.types: likewise.
1375 * doc/hildon-libs-docs.xml: likewise.
1381 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1384 * Makefile.am (SUBDIRS): added timer/
1386 * configure.ac: do not depend anymore on hildon-lgpl nor
1387 hildon-fm, check for libmb, added Makefile output for timer/
1391 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1393 * configure.ac: 0.10.2
1395 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1397 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1398 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1399 hildon-apps scroll-control property is now handled.
1400 (get_child_index_by_coord): ignores events not matching a grid
1403 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1405 * configure.ac: 0.10.1
1407 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1409 Missing/Buggy documentation from,
1410 N#11566 make password dialog customizable (messages)
1411 * hildon-widgets/hildon-get-password-dialog.c
1412 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1414 * doc/tmpl/xxx.sgml: updated.
1416 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1418 N#19369 TRUE Scketch does not show colour change when using white color
1420 Color button needs inner border white, and outer border black.
1421 * hildon-widgets/hildon-color-button.c
1422 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1424 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1425 (hildon_color_button_realize): call the above function
1427 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1429 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1430 * hildon-widgets/hildon-note.c:
1431 (hildon_note_new_confirmation_add_buttons): updated doc
1432 (hildon_note_set_button_texts): likewise.
1434 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1436 N#21884 Cannot select read-only by using the center of the scroll key
1437 * hildon-widgets/hildon-file-details-dialog.c
1438 (hildon_file_details_dialog_init): Removed dialog default response.
1440 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1442 N#8094 5-bit color selector: wrong margins and pixel measurements
1443 M#59 HildonColorSelector needs more space
1444 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1445 (hildon_color_popup_new): add space between the control bars and
1446 the color preview area.
1448 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1450 * hildon-widgets/hildon-calendar-popup.c
1451 * hildon-widgets/hildon-color-button.c
1452 * hildon-widgets/hildon-color-popup.c
1453 * hildon-widgets/hildon-color-selector.c
1454 * hildon-widgets/hildon-composite-widget.c
1455 * hildon-widgets/hildon-controlbar.c
1456 * hildon-widgets/hildon-date-editor.c
1457 * hildon-widgets/hildon-dialoghelp.c
1458 * hildon-widgets/hildon-file-details-dialog.c
1459 * hildon-widgets/hildon-font-selection-dialog.c
1460 * hildon-widgets/hildon-get-password-dialog.c
1461 * hildon-widgets/hildon-grid-item.c
1462 * hildon-widgets/hildon-grid.c
1463 * hildon-widgets/hildon-hvolumebar.c
1464 * hildon-widgets/hildon-name-password-dialog.c
1465 * hildon-widgets/hildon-note.c
1466 * hildon-widgets/hildon-number-editor.c
1467 * hildon-widgets/hildon-range-editor.c
1468 * hildon-widgets/hildon-scroll-area.c
1469 * hildon-widgets/hildon-seekbar.c
1470 * hildon-widgets/hildon-set-password-dialog.c
1471 * hildon-widgets/hildon-sort-dialog.c
1472 * hildon-widgets/hildon-time-editor.c
1473 * hildon-widgets/hildon-time-picker.c
1474 * hildon-widgets/hildon-volumebar-private.h
1475 * hildon-widgets/hildon-volumebar-range.c
1476 * hildon-widgets/hildon-volumebar.c
1477 * hildon-widgets/hildon-vvolumebar.c
1478 * hildon-widgets/hildon-weekday-picker.c
1479 * hildon-widgets/hildon-wizard-dialog.c
1482 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1484 * configure.ac: 0.10.0
1486 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1488 Some more properties for Gazpacho support,
1490 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1491 * hildon-widgets/hildon-color-selector.c: "color"
1494 * hildon-widgets/hildon-color-selector.[ch]
1495 (hildon_color_selector_get_color): return const pointer to the
1498 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1501 Gazpacho support, added the following properties:
1503 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1504 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1505 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1506 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1507 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1508 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1509 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1510 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1511 * hildon-widgets/hildon-number-editor.c: "value"
1513 * hildon-widgets/hildon-color-button.c: minor cleanup
1516 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1518 Started new development
1519 (branche for maintenance continues with versions 0.9.x)
1521 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1523 * configure.ac: 0.9.53
1525 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1528 N#19283 Control panel - The values entered are not saved.
1529 N#19648 Hildon Date Editor widget detects values too high
1530 (note: complete fix include also fixes in GTk+)
1532 * hildon-widgets/hildon-calendar-popup.c
1533 (hildon_calendar_popup_set_property),
1534 (hildon_calendar_popup_class_init),
1535 (init_dmy): Added 'min-year', 'max-year' properties for passing
1536 the information through from HildonDateEditor to GtkCalendar
1538 * hildon-widgets/hildon-date-editor.c:
1539 (hildon_date_editor_class_init),
1540 (hildon_date_editor_init),
1541 (hildon_date_editor_set_property),
1542 (hildon_date_editor_get_property),
1544 (hildon_date_editor_entry_validate),
1545 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1546 properties and replaced hardcoded constants with them
1548 * hildon-widgets/hildon-date-editor.c
1549 (hildon_date_editor_d_entry_changed),
1550 (hildon_date_editor_m_entry_changed),
1551 (hildon_date_editor_d_entry_changed): new functions to ensure that
1552 the fields are validated and the focus is moved when maximum
1553 number of characters has been entered.
1555 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1557 * configure.ac: 0.9.52
1559 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1561 N#19140 System alerts still audible despite being turned off
1563 * hildon-widgets/hildon-note.c (sound_handling):
1565 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1567 * hildon-note.c (sound_handling): Changed to use new
1568 hildon_play_system_sound.
1569 (hildon_note_init): Signal handler id is changed to be in private
1570 structure, not in global variable.
1572 * hildon-note.c: Removed unused defines etc.
1574 * Makefile.am: Appended new files to build rules.
1576 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1578 * configure.ac: 0.9.51
1580 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1582 N#20027 PDF Reader crashes on selecting read only option in the
1585 * hildon-widgets/hildon-file-details-dialog.c:
1586 (change_state): Fixed assertion that was causing problems
1587 (check_validity): New function: We now automatically close the
1588 dialog if the displayed file is removed.
1589 (handle_focus): Callback removed:
1590 (init): Now using correct gtk way to bind container and adjustment
1591 together. Not the previous callback.
1592 (set_property): Connecting/disconnecting new handlers (for
1594 (finalize): disconnecting new handler.
1596 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1598 N#17918 Volumebar widget background image doesn't change when
1599 widget goes into mute state,
1601 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1604 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1605 using the state of the internal volumebar, not the whole container
1607 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1608 using the state of the internal volumebar, not the whole container
1610 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1612 * hildon-widgets/hildon-dialoghelp.[ch]: added
1613 gtk_dialog_help_disable and fixed bug N#19468
1615 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
1617 * configure.ac: Release 0.9.50
1619 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
1623 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1625 * hildon-widgets/hildon-grid.c
1626 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1627 label by logical name "Ckct_wi_grid_no_items"
1630 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
1632 * po/en_GB.po (ecdg_ti_verify_password): translation update.
1634 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1636 * configure.ac: Release 0.9.49
1638 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1640 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
1641 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
1642 Save the id of the idle callback and remove it when the widget is
1643 destroyed to avoid crashing. N#18096
1645 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1647 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
1648 id's are unsigned and undefined at zero (instead of signed and -1)
1650 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1652 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
1653 that was not working. N#16805
1655 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1657 * configure.ac: Release 0.9.48
1659 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1661 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
1662 allow area_rows to be 0 (ie. before widget is visible), otherwise the
1663 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
1665 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1667 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1668 Do not override the week-start property of GtkCalendar according to
1669 the hildon-libs PO file, it is automatically determined from locale
1672 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1674 * configure.ac: Release 0.9.47
1676 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1678 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
1679 property for setting the password entry accept only numeric values.
1682 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1684 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
1685 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
1686 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
1687 Use defines rather than magic numbers in the code.
1689 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1691 Update to new l10n packaging style. po-files (inside this package)
1692 are not used for now, the message catalogs come from separate packages
1693 and including them here would conflict.
1695 * Makefile.am (SUBDIRS): stop including po-files
1696 * Makefile.am (EXTRA_DIST):
1697 * debian/hildon-libs-l10n-engb.install:
1698 * debian/hildon-libs-l10n-src.install:
1699 * po/debian/*: Removed
1701 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
1703 * hildon-widgets/hildon-file-details-dialog.c: Added read only
1704 checks to cover gateway content as well.
1706 * hildon-widgets/hildon-time-editor.c:
1707 (hildon_time_editor_validate): Replace solid numbers with defined
1709 (convert_to_12h): Remove "work-around" for the broken 12h timespec
1712 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
1714 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
1715 invalid cast from `GdkWindow' to `GtkWindow'
1717 * hildon-widgets/hildon-color-popup.c
1718 (hildon_popup_palette_expose): removed debug printing
1720 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
1722 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
1725 * hildon-widgets/hildon-scroll-area.c
1726 (hildon_scroll_area_destroy): one-instruction function:
1727 removed. Call g_free directly.
1729 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
1730 right edge of window, size of the child is also shrinked. 'fixed'
1731 does not automatically update this data -> Doing it manually.
1733 * hildon-widgets/hildon-date-editor.h: added
1734 HildonDateEditorErrorType error enumeration type, removed signal
1735 "validate-date" virtual function, added signal "date-error"
1738 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1739 added custom info prints.
1740 (hildon_date_editor_validate_date): removed
1741 (hildon_date_editor_entry_validate): validate maximum and minimum
1742 limits on each field.
1743 (hildon_date_editor_entry_focus_out): check the date validation
1744 in simpler manner, don't put content if field is empty (spec
1745 doesn't say if there should be anything placed in the entry if
1747 (hildon_date_editor_get_date),
1748 (hildon_date_editor_get_month),
1749 (hildon_date_editor_get_year),
1750 (hildon_date_editor_get_day): use direct entry content, so that 0
1751 indicates empty entry, and information is more accurate.
1753 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
1755 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
1757 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
1758 http://bugzilla.gnome.org/show_bug.cgi?id=310216
1760 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
1762 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
1764 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
1766 * hildon-widgets/hildon-number-editor.c:
1767 (hildon_number_editor_select_all): new function, selects all
1768 the text in the entry.
1769 * hildon-widgets/hildon-number-editor.c: added several calls to
1770 hildon_number_editor_select_all with g_idle_add.
1772 * hildon-controlbar.c : add signal when end reached
1774 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
1776 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
1778 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
1780 Fixed incorrect values in <Filetype> Details Dialog
1782 Fixed help button usage in dialogs
1784 * hildon-dialoghelp.c: Added more documentation about the
1787 * hildon-file-details-dialog.c: Updated to match
1788 'File Management in OSSO' version 3.0
1790 * Fixed application hang after calling gtk_main_quit
1792 * hildon-date-editor.c: Fixed HildonDateEditor that caught
1793 ESC presses needlessly
1795 * hildon-time-editor.c: Fixed memory corruption