1 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
5 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
7 * hildon-widgets/hildon-add-home-dialog.c
8 (hildon_add_home_dialog_init): removed i18n support (deprecated
9 widget. Hinder logical ID processing)
10 (hildon_add_home_dialog_new): likewise.
12 * hildon-widgets/hildon-insert-object-dialog.c
13 (hildon_insert_object_dialog_init): likewise.
16 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
18 * hildon-widgets/hildon-font-selection-dialog.c
19 (hildon_font_selection_dialog_construct_notebook): logical ID typo
22 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
24 * hildon-widgets/hildon-window.[ch]:
25 - update the title when the window is realized
26 - added support for long press on the ESC key. Fixes N#24620
28 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
30 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
32 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
34 * hildon-widgets/hildon-seekbar.c
35 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
37 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
39 * configure.ac: 0.12.6
41 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
43 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
44 fixed typo GKD_Left -> GDK_Left
47 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
53 Updated logical id to lower case: Ckct_ -> ckct_
54 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
55 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
56 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
57 (hildon_range_editor_init, hildon_range_editor_entry_validate)
58 (hildon_range_editor_entry_validate):
59 * hildon-widgets/hildon-time-editor.c (validated_conversion)
60 (validated_conversion, hildon_time_editor_real_validate):
61 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
65 Updated logical id to lower case: Ecdg_ -> ecdg_
66 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
67 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
68 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
69 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
70 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
71 (hildon_wizard_dialog_create_title):
72 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
73 (hildon_find_toolbar_init):
74 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
75 (hildon_note_rebuild, hildon_note_set_button_text):
78 Removed i18n support for property description,
79 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
82 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
84 * configure.ac: 0.12.5
86 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
88 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
89 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
92 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
94 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
97 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
99 Cleanup wizard dialog,
101 * hildon-widgets/hildon-wizard-dialog.c
102 (struct HildonWizardDialogPrivate): removed 'previous_button'
103 and 'next_button' (obsolete)
105 (hildon_wizard_dialog_response): new private function. Handles the
106 'response' signal and replaces direction_button_clicked() in
107 taking care of notebook page changes and button dimming.
109 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
110 added to the dialog as response buttons. This enables the usage of
111 GtkDialog API for setting their sensitiveness.
113 (dimming/undimming): Connected hildon_wizard_dialog_response to
114 "resonse" signal. Removed useless title creation because it
115 depends on the notebook which is not yet created.
117 (hildon_wizard_dialog_set_property): minor code cleanup
119 (hildon_wizard_dialog_create_title): removed useless else-if
122 * hildon-widgets/hildon-wizard-dialog.h
123 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
126 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
127 adding the page_change signal, as the application can now track
128 the response signal instead.
131 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
133 * configure.ac: 0.12.4
136 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
140 moved widget descriptions to respective source file (*.c)
144 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
148 * hildon-widgets/hildon-color-button.c:
149 - removed unused #include
150 - removed unused gettext macro
152 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
153 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
154 + value updated to match specifications
156 (struct _HildonColorButtonPrivate):
157 removed 'drawing_area' and 'pixbuf' members (unused)
159 (hildon_color_button_init):
160 use drawing_area directly, update COLOR_FILLED_ macro names
162 (hildon_color_button_unrealize): new function.
163 (hildon_color_button_class_init): register unrealize function
164 (hildon_color_button_finalize): free allocated GC in unrealize
165 handler instead of in finalize.
167 (hildon_color_button_recolor_pixbuf): removed. (use
168 gdk_draw_rectangle() instead)
169 (hildon_color_button_draw_pixbuf_borders): likewise
171 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
173 (hildon_color_button_set_property): queue the drawing - instead of
174 calling recolor_pixbuf
176 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
179 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
181 More cleanup for range editor,
183 * hildon-widgets/hildon-range-editor.[ch]
184 - removed useless includes
185 (hildon_range_editor_new_with_separator): set char parameter 'const'
187 * hildon-widgets/hildon-range-editor.c
188 - removed useless includes
189 - rewritten a lot of functions because code was inefficient.
190 - removed useless g_return_if_fail calls from various functions.
192 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
193 (hildon_range_editor_entry_keypress): rewritten
194 (hildon_range_editor_entry_focus_out): rewritten
195 (hildon_range_editor_refresh_widths): New function
196 (hildon_range_editor_set_range): Make sure that the values are in
198 (hildon_range_editor_set_lower): rewritten.
199 (hildon_range_editor_set_higher): rewritten.
200 (hildon_range_editor_set_min): rewritten.
201 (hildon_range_editor_set_max): rewritten.
203 (hildon_range_editor_entry_validate): New validator function
204 (hildon_range_editor_entry_changed): New signal handler for
205 "changed" for entries, this will now validate whenever entry changes.
207 (hildon_range_editor_entry_focus_out): Added g_assert for
208 editor. Removed call to hildon_range_editor_apply_current_range().
209 Added call to the new function hildon_range_editor_entry_validate()
212 (hildon_range_editor_init): connected
213 hildon_range_editor_entry_changed to "changed" for entries.
216 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
218 Major cleanup for time editor
220 * hildon-widgets/hildon-time-editor.c
221 - removed unused #includes.
222 - Removed useless g_return_if_fail(editor) calls
223 (HILDON_IS_TIME_EDITOR does this check as well for us).
225 (hildon_time_editor_add_style): removed, obsolete.
226 (hildon_time_editor_mnemonic_activate): removed, obsolete
227 (hildon_time_editor_get_max_values): removed, obsolete.
229 (validated_conversion): New helper function
231 (hildon_time_editor_entry_changed): New function, now the widget
232 interactively validates the inputted contents (not requiring focus
235 (ticks_to_time): rewritten, using less arithmetic operations.
236 (hildon_time_editor_validate): rewritten
237 (hildon_time_editor_set_ticks): rewritten
238 (hildon_time_editor_set_duration_mode): rewritten
239 (hildon_time_editor_entry_keypress): rewritten
241 * hildon-widgets/hildon-time-editor.[ch]
242 (hildon_time_editor_set_show_hours)
243 (hildon_time_editor_get_show_hours) new functions to show/hide hours
246 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
248 Cleanup number editor
250 * hildon-widgets/hildon-number-editor.c:
251 (SPACE_BORDER): removed
253 (hildon_number_editor_size_request):
254 (hildon_number_editor_size_allocate): updated to use hildondefines
256 (hildon_number_editor_mnemonic_activate): function removed,
257 mnemonic are not used
259 (hildon_number_editor_stop_repeat_timer): new function, to avoid
261 (hildon_number_editor_button_release):
262 (hildon_number_editor_finalize): updated to use new function
264 (hildon_number_editor_entry_keypress): completely rewritten
265 (change_numbers): likewise
266 (do_mouse_timeout): likewise
267 (hildon_number_editor_set_range): likewise
269 (hildon_number_editor_validate_value): new function, used for all
271 (hildon_number_editor_focus_out):
272 (hildon_number_editor_entry_changed): updated to use previous.
274 (hildon_number_editor_real_set_value): new function that formats
275 given int to field. Used by change_numbers and set_value
277 (integer_to_string): removed, we now have one place that
278 converts numbers and that uses buffer from stack.
279 (hildon_number_editor_set_value): changed to use new format function.
282 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
284 * hildon-widgets/hildon-time-picker.c:
285 reorganized how the widgets are stored to reduce code
286 (HildonTimePickerWidgetGroup): new struct
287 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
288 (hildon_time_picker_init)
289 (hildon_time_picker_arrow_press)
290 (hildon_time_picker_event_box_key_press)
291 (hildon_time_picker_change_time)
292 (hildon_time_picker_map)
293 (hildon_time_picker_event_box_key_release): use new widget organization
296 (hildon_time_picker_init): return value from nl_timeinfo() is
297 valid only until it's called again, so g_strdup() the value when
300 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
301 (HILDON_TIME_PICKER_LABEL_X_PADDING)
302 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
303 (hildon_time_picker_set_time):
304 (hildon_time_picker_get_time):
305 (hildon_time_picker_ampm_release): used the new defines
307 (struct _HildonTimePickerPrivate)
308 (hildon_time_picker_init)
309 (hildon_time_picker_event_box_key_press)
310 (hildon_time_picker_change_time):
311 - c12h renamed to show_ampm,
312 - ampo_pos renamed to ampm_left.
314 (hildon_time_picker_timeout): renamed to
315 hildon_time_picker_key_repeat_timeout(),
316 and renamed parameter to 'hildon_time_picker'
318 (hildon_time_picker_event_box_press): renamed to
319 hildon_time_picker_event_box_button_press()
321 (hildon_time_picker_finalize): Added finalizer to make sure the
322 key repeat timeout handler gets removed.
324 (hildon_time_picker_arrow_press): Placed multipliers into
325 button_multipliers[] array to avoid multiple if/then/else
329 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
331 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
332 calculates correctly which items will be visible. Fixes N#16991.
335 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
337 * hildon-widgets/hildon-find-toolbar.c
338 (hildon_find_toolbar_history_append): set "column" property only
339 after model has been set.
342 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
344 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
345 the parameter more descriptively
348 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
352 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
354 * hildon-widgets/hildon-app.[ch]
355 (hildon_zoom_level_get_type): removed G_CONST_RETURN
357 * hildon-widgets/hildon-app.c:
358 - removed HILDON_DISABLE_DEPRECATED flags
359 - added g_assert'ions to internal functions
362 (hildon_app_button): Move the fixed define to the function itself,
363 add simple autodetection, clean up comments.
365 (hildon_app_key_release): Remove bogus argument to signal emission
366 (not needed), emit the "fullscreen_state_change" directly instead
367 of calling set_fullscreen.
369 (hildon_app_construct_title): removed dead code
371 (hildon_app_register_view_with_id): do not call g_slist_nth() to
372 get the first element...
375 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
377 * hildon-widgets/hildon-appview.c:
378 (hildon_appview_init): indented comments properly
379 (paint_toolbar): indented comments properly
380 (hildon_appview_expose): indented code properly
381 (hildon_appview_toolbar_toggle_request): removed dead code
384 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
386 * hildon-widgets/hildon-caption.c
387 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
388 (hildon_caption_size_allocate): likewise.
389 (hildon_caption_forall): likewise.
392 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
394 Cleanup Find toolbar,
396 * hildon-widgets/hildon-find-toolbar.[ch]
397 (hildon_find_toolbar_new): set 'label' parameter const.
398 (hildon_find_toolbar_new_with_model): likewise.
400 * hildon-widgets/hildon-find-toolbar.c
401 (struct _HildonFindToolbarPrivate):
402 changed entry_combo_box type to GtkComboBoxEntry*
404 (hildon_find_toolbar_get_list_model): new function, to factor
405 member access and casting
406 (hildon_find_toolbar_get_entry): likewise.
407 (hildon_find_toolbar_apply_filter): removed set_column parameter
408 since it was used by only one caller, and made the caller do it
409 instead. Removed unnecessary casts.
411 (hildon_find_toolbar_find_string): new function.
412 (hildon_find_toolbar_history_append): code cleanup. use
413 hildon_find_toolbar_find_string.
415 (hildon_find_toolbar_get_property)
416 (hildon_find_toolbar_get_entry)
417 (hildon_find_toolbar_init)
418 (hildon_find_toolbar_new)
419 (hildon_find_toolbar_new_with_model)
420 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
421 and changed some of them to use the new convenience functions
424 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
425 instead of if-check to validate parameter.
428 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
430 Cleanup hildon-defines,
432 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
433 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
435 (hildon_logical_data_free): new function. Free logical data.
436 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
437 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
439 * hildon-widgets/hildon-defines.[ch]
440 (hildon_gtk_widget_set_logical_font): use const gchar*
441 (hildon_gtk_widget_set_logical_color): likewise.
443 * hildon-widgets/hildon-defines.c:
444 (hildoniconsizes): set const
445 (hildoninternaliconsizes): set static, renamed 'iis'
448 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
450 Cleanup Caption widget,
452 * hildon-lgpl/hildon-caption.[ch]
453 (hildon_caption_status_get_type, hildon_caption_get_type):
454 G_CONST_RETURN removed, G_GNUC_CONST added
456 * hildon-widgets/hildon-caption.c
458 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
460 (hildon_caption_set_property): removed useless code.
461 (hildon_caption_button_press): simplified greatly by removing the
462 unnecessary recursion to locate the first focusable child of a
463 container - simple gtk_widget_grab_focus achieves the same
464 (get_first_focusable_child): removed (not used anymore)
466 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
468 (hildon_caption_set_focus_child): removed (not used anymore)
469 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
471 (hildon_caption_hierarchy_changed): type check added
472 (hildon_caption_forall): callback null check added
473 (hildon_caption_set_status): type check added
474 (hildon_caption_set_icon_image): type check added
475 (hildon_caption_activate): activate_block kludge removed as outdated
476 (hildon_caption_get_child_expand): argument declared const
477 (hildon_caption_set_label_text): g_return_if_fail changed to
478 g_assert since this is not a public function;
479 Duplicate separator check now uses correct localized separator
480 instead of assuming ':'
483 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
487 * hildon-lgpl/hildon-appview-c:
488 (hildon_app_view_init): Fixed a problem that prevented to set an
489 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
490 between toolbars). This fix involves a change in the default gtkrc
491 file, ie. the modification of the 'border' value of the
492 "toolbar-frame-middle" image in the osso-appview-background style.
494 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
495 widget supporting adjustements, not only viewports.
497 (visible_toolbar): use proper parameter names
498 (find_findtoolbar_index): likewise.
499 (find_findtoolbar): likewise.
501 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
502 (hildon_appview_finalize): likewise.
503 (hildon_appview_signal_marshal): likewise.
504 (hildon_appview_forall): likewise.
505 (hildon_appview_switched_to): likewise.
506 (hildon_appview_real_fullscreen_state_change): likewise.
509 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
511 * hildon-widgets/hildon-date-editor.c
512 (hildon_date_editor_entry_validate): Now, if an invalid date is
513 entered, date-editor reverts to previous date, instead of setting
514 the maximum allowed days.
517 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
519 * hildon-widgets/hildon-date-editor.h
520 (enum HildonDateEditorErrorType): added NO_ERROR entry.
522 * hildon-widgets/hildon-date-editor.c
523 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
524 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
527 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
529 * hildon-widgets/hildon-get-password-dialog.c:
530 (hildon_get_password_dialog_set_title): Removed the deprecation
531 #ifdefs from the .c file.
533 * hildon-widgets/hildon-file-handling-note.c: likewise.
537 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
539 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
541 * hildon-widgets/hildon-color-selector.c
542 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
543 (hildon_color_selector_expose)
544 (hildon_color_selector_get_color)
545 (hildon_color_selector_set_color)
548 (modify_focused): Separate selected color and focused color.
549 Focused color now draws a different colored border around it.
550 Renamed modify_selected() to modify_focused().
552 * hildon-widgets/hildon-color-selector.c
553 (hildon_color_selector_expose)
554 (select_color): Changed the logic in how the box positions are
555 calculated. The old logic was wrong, but just happened to work
556 with those specific values.
558 * hildon-widgets/hildon-color-selector.c
559 (hildon_color_selector_expose): Draw the selected-border using
560 ImageBorderColor color instead of hardcoded black.
563 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
565 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
566 removed current_color; use initial_color directly.
567 Disabled select-hardkey from activating to OK-button by default.
570 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
572 * hildon-widgets/hildon-date-editor.c
573 (hildon_date_editor_keypress): removed the unnecessary check for
574 the position of the cursor in the text-field which was hindering
575 the Left key from working as expected.
578 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
580 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
581 after setting the toggle_button active. Prevents GLIB_CRITICALs.
583 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
585 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
588 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
590 * hildon-widgets/hildon-font-selection-dialog.c
591 (hildon_font_selection_dialog_show_preview): set line wrap for
595 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
597 * hildon-widgets/hildon-date-editor.c
598 (hildon_child_forall): cast 'container'
599 (hildon_date_editor_size_allocate): adjusted height allocation.
602 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
604 Cleanup calendar popup,
606 * hildon-widgets/hildon-calendar-popup.c:
607 - updated 'longdesc' comment.
608 - removed gtk-infoprint.h from included headers (unused).
610 (struct HildonCalendarPopupPrivate): removed member
611 'can_exit' (useless).
612 (hildon_calendar_day_selected): removed (useless).
613 (hildon_calendar_allow_exit): likewise.
614 (hildon_calendar_deny_exit): likewise.
616 (hildon_calendar_selected_date): new function. replaces
617 hildon_calendar_allow_exit()
619 (hildon_calendar_popup_init):
620 - Removed initialization for 'can_exit'.
621 - Removed connection to removed useless functions.
622 - Connect "selected_date" to hildon_calendar_selected_date().
623 - Do not grab the focus (useless)
625 (hildon_key_pressed): just handle ESC and Return keys.
627 (hildon_calendar_popup_get_property): removed unused variables.
630 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
632 * hildon-widgets/hildon-caption.c
633 * hildon-widgets/hildon-composite-widget.h
634 * hildon-widgets/hildon-get-password-dialog.c
635 * hildon-widgets/hildon-grid.h
636 * hildon-widgets/hildon-grid-item.h
637 * hildon-widgets/hildon-volumebar-range.c
638 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
640 (hildon_controlbar_get_type): likewise.
642 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
644 * doc/hildon-libs.types: Add missing types
645 * doc/hildon-libs-docs.sgml: Add missing links and some organization
646 * doc/tmpl/*: Regenerate and add new files
648 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
651 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
653 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
655 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
656 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
658 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
662 * doc/Makefile.am: Update gtk-doc framework bits
663 * gtk-doc.make (commit generated file)
664 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
666 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
667 * hildon-widgets/hildon-code-dialog.c:
671 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
673 * hildon-widgets/hildon-window.c: propagate key-press event to the
674 parent class (Closes N#23400)
675 * configure.ac: 0.12.3
677 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
679 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
681 * configure.ac: 0.12.2
684 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
686 * hildon-widgets/hildon-color-selector.c (key_pressed): use
687 g_assert instead of g_return_val_if_fail
692 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
694 * hildon-widgets/hildon-get-password-dialog.[ch]:
695 (hildon_get_password_dialog_set_title) marked deprecated.
697 + cleanup header coding style
700 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
702 Cleanup font selection dialog
704 * hildon-widgets/hildon-font-selection-dialog.c
706 (hildon_font_selection_dialog_construct_notebook): removed dummy
709 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
711 (hildon_font_selection_dialog_preview_key_press): Renamed argument
712 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
714 (toggle_clicked): renamed argument 'data' to 'unused'
716 (hildon_font_selection_dialog_set_preview_text): added proper
720 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
722 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
723 removed console messages.
726 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
728 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
729 (struct _HildonSortDialogPrivate):
730 - removed okButton, cancelButton
731 - removed sort_by_value, sort_order_type
732 - removed index_first
733 - renamed combo1 to combo_key
734 - renamed caption1 to caption_key
735 - renamed combo2 to combo_order
736 - renamed caption2 to cpation_order
738 (hildon_sort_dialog_init): removed init of unused fields.
740 (hildon_sort_dialog_get_sort_key): likewise.
741 (hildon_sort_dialog_get_sort_order): likewise.
742 (hildon_sort_dialog_set_sort_key): likewise.
743 (hildon_sort_dialog_set_sort_order): likewise.
744 (hildon_sort_dialog_add_sort_key): likewise.
746 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
748 * hildon-widgets/hildon-date-editor.c
749 (hildon_child_forall): use g_assert instead of g_return_if_fail
750 (hildon_date_editor_entry_validate): likewise.
753 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
755 * hildon-widgets/hildon-controlbar.c
756 (hildon_controlbar_change_value): commented function.
758 * hildon-widgets/hildon-wizard-dialog.c
759 (hildon_wizard_dialog_get_property): likewise.
762 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
764 Cleanup weekday picker,
766 * hildon-widgets/hildon-weekday-picker.c
767 (_): removed unused gettext macro
768 (button_toggle): use meaningful parameter name
769 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
770 (hildon_weekday_picker_size_allocate): likewise.
771 (button_toggle): likewise.
774 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
778 * hildon-widgets/hildon-time-editor.c
779 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
780 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
781 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
782 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
784 (struct _HildonTimeEditorPrivate):
785 - h_entry, m_entry, s_entry replaced by entries[],
786 allows to remove a lot of code.
787 - label renamed to hm_label
788 - label2 renamed to sec_label
789 - ampm renamed to ampm_label
790 - show_s renamed to show_seconds
791 - removed fields: icon, valid_value, validated
793 + moved up in the file.
795 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
797 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
799 (set_widget_allocation): removed
800 (hildon_time_editor_entry_changed): removed
802 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
804 (hildon_time_editor_forall): removed unnecessary code
805 (hildon_time_editor_destroy): likewise.
807 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
809 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
811 (hildon_time_editor_set_to_current_time): new function. (factorise code)
812 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
813 use new variable names,
814 use hildon_time_editor_set_to_current_time
816 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
817 (hildon_time_editor_set_ticks): use g_assert instead of
818 g_return_if_fails, use
819 'entries[]', removed dead code
821 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
822 (hildon_time_editor_validate): use 'entries[]', removed dead code
823 (hildon_time_editor_get_max_values): use 'entries[]'
826 (hildon_time_editor_get_show_seconds): use new variable names
827 (hildon_time_editor_set_duration_mode): likewise.
829 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
831 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
833 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
835 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
837 (set_widget_allocation): removed (unused)
838 (hildon_time_editor_entry_changed): removed (unused)
840 (IS_VALID_KEYPRESS): new macro
841 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
842 deleate dead/unnecessary code
844 use IS_VALID_KEYPRESS
846 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
848 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
850 (hildon_time_editor_size_allocate): cleanup
851 (convert_to_12h): cleanup code style
853 (hildon_time_editor_show_seconds): removed deprecation flag
854 (hildon_time_editor_enable_duration_mode): likewise.
857 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
861 * hildon-widgets/hildon-volumebar.h: removed unused #include
862 + coding style cleanup
864 * hildon-widgets/hildon-volumebar.c
865 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
867 (hildon_child_forall): use g_assert instead of g_return_if_fail
869 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
870 + coding style cleanup
872 * hildon-widgets/hildon-volumebar-private.h:
873 added missing #include.
874 added _hildon_volumebar_mute_toggled.
875 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
879 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
880 + coding style cleanup
882 * hildon-widgets/hildon-vvolumebar.c
883 (hildon_vvolumebar_size_request)
884 (hildon_vvolumebar_size_allocate)
885 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
887 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
889 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
890 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
891 (vvolumebar_init): renamed to hildon_vvolumebar_init
892 (hildon_vvolumebar_init): removed unused 'orientation'
893 initialisation. Use _hildon_volumebar_mute_toggled instead of
894 removed hildon_vvolumebar_mute.
898 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
900 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
901 renamed to hildon_hvolumebar_class_init
903 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
904 hildon_hvolumebar_init
906 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
909 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
910 removed unused 'orientation' initialisation.
912 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
913 _hildon_volumebar_mute_toggled instead of removed
914 hildon_hvolumebar_mute.
917 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
921 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
924 * hildon-widgets/hildon-color-popup.h: likewise.
926 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
929 * hildon-widgets/hildon-color-selector.c
930 (hildon_color_selector_new): use g_return_val_if_fail instead of
932 (select_color): use g_assert instead of g_return_if_fail
934 * hildon-widgets/hildon-calendar-popup.c
935 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
939 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
941 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
942 added HildonCodeDialog widget
945 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
947 * hildon-widgets/hildon-window.c:
948 - set the toolbar height explicitely
949 - use show instead of show_all on the common_toolbar
950 - add the toolbars bottom-up instead of top-down
951 * hildon-widgets/hildon-program.c:
952 - don't assume that a window was realized when added to
956 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
958 Cleanup font selection dialog,
960 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
961 + coding style cleanup
963 * hildon-widgets/hildon-font-selection-dialog.c
964 (hildon_font_selection_dialog_finalize): use g_return_if_fail
967 * hildon-widgets/hildon-font-selection-dialog.c
968 (hildon_font_selection_dialog_get_text_tag)
969 (hildon_font_selection_dialog_set_buffer)
970 (hildon_font_selection_dialog_get_font)
971 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
974 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
976 Cleanup range editor,
978 * hildon-widgets/hildon-range-editor.c
979 (hildon_range_editor_calss_init):Removed
980 widget_calss->mnemonic_activate init
982 * hildon-widgets/hildon-range-editor.c
983 (hildon_range_editor_mnemonic_activate): Removed static function
984 hildon_range_mnemonic_activate and FIXME. It is useless even
985 through it is overriding function for
986 GtkWidgetClass->mnemonic_activate. The activation and keyboard
987 focus will be realized based on different applications.
989 * hildon-widgets/hildon-range-editor.c
990 (is_valid_keyvalue_for_entry_keypress): new function.
992 * hildon-widgets/hildon-range-editor.c
993 (hildon_range_editor_entry_keypress): uses
994 is_valid_keyvalue_for_entry_keypress
996 * hildon-widgets/hildon-range-editor.c
997 (hildon_range_editor_forall): use g_return_if_fail instead of
1000 * hildon-widgets/hildon-range-editor.cvn
1001 (hildon_range_editor_mnemonic_activate): removed. (unused)
1004 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1006 Cleanup hildon-note,
1008 * hildon-widgets/hildon-note.[ch]
1010 (hildon_note_five_line_truncate): removed.
1011 (hildon_note_one_line_truncate): removed.
1013 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1014 instead of _{one|five}_line_truncate() functions.
1017 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1018 into wrapper of "hildon_note_new_information_with_icon_name".
1020 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1021 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1023 - removed some unnessecary includes.
1025 - Merged hildon_note_create & hildon_note_create_form and rewrote
1026 the combination as hildon_note_rebuild
1028 - Added missing g_return_* into public functions.
1030 - Acquire real references to children which are packed/unpacked,
1031 so we do not need to bother about refcounting while changing the
1035 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1039 * hildon-widgets/hildon-number-editor.c
1041 (set_widget_allocation): use const parameter.
1043 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1045 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1046 (hildon_number_editor_set_range): removed 'negative'
1049 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1050 use g_assert instead of g_return_if_fail
1053 * hildon-widgets/hildon-time-picker.c:
1054 - in several places, replace 1440 by 24*60
1055 (PROP_AMPM): removed, unused.
1056 (hildon_time_picker_timeout): use significant parameter name,
1058 (hildon_time_picker_init): removed useless call to _change_time()
1061 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1065 * hildon-widgets/hildon-seekbar.c
1067 (_): Removed dgettext macro definition.
1069 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1071 (hildon_seekbar_finalize): removed. not needed.
1072 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1074 (hildon_seekbar_size_request): indent cleanup.
1076 (hildon_seekbar_size_allocate): simplified function.
1078 (hildon_seekbar_button_press_event): Removed unused variables.
1079 (hildon_seekbar_button_release_event): likewise.
1082 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1084 Cleanup date editor,
1086 * hildon-widgets/hildon-date-editor.c
1088 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1089 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1091 (hildon_date_editor_get_font_width): removed (legacy static
1092 function), use gtk_entry_set_width_chars instead.
1094 (hildon_date_editor_mnemonic_activate): removed mnemonic
1095 activation handler, since it's no more used by HildonCaption.
1098 - Removed some meaningless code (if (somewidget != NULL)) from
1101 - HEAVILY modified key_press, completely removed if/grab_focus
1102 spaghetti by gtk_widget_child_focus
1104 - Removed input validation from keypress (that would not work
1105 anyway, since our input method do not generate presses). => This
1106 allows to change default return value to FALSE and remove all cases
1107 that just returned FALSE for some keys.
1109 - Merged all *_entry_changed callbacks to use the same
1110 function. Again using gtk_widget_child_focus, but now with return
1111 value as well to detect last field.
1113 - Changed that calendar button is no more implemented through
1114 changing widget hierarchy (old implementation caused critical
1115 issues when you used both stylus and hardkeys at the same time to
1116 popup. => finalize method no longer contained anything => removed
1118 - Locale type is no longer needed after initial setup.
1120 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1121 hack from the days of background dimming (it was important to
1122 process background updates before the dimming was done).
1124 - Changed the field order/delimeters to be correcly derived form
1127 - Rewrote validation function, combined it with validation done in
1128 focus_out (since both are now called at the same time).
1130 - Changed set_date function to set all components at one go
1131 without doing any validation there between (before setting each
1136 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1138 Cleanup set-password dialog
1140 * hildon-widgets/hildon-set-password-dialog.[ch]
1141 (hildon_set_password_dialog_set_domain): gchar * param is const
1142 (hildon_set_password_dialog_new_with_default): likewise.
1144 * hildon-widgets/hildon-set-password-dialog.c
1146 (hildon_set_password_set_property): setting 'modify-protection'
1149 (hildon_set_password_get_property): fixed broken 'domain' (missing
1150 break statement!) and 'modify-protection' (was a null operation)
1151 properties; code simplified.
1153 (hildon_set_password_dialog_constructor),
1155 (hildon_set_password_dialog_class_init),
1156 (hildon_set_password_dialog_init):
1157 hildon_set_password_dialog_constructor removed as weird and
1158 obsolete and replaced with new function create_contents; fixed
1159 leaking group variable; removed some unused, outdated code that
1160 was already commented out.
1162 (hildon_set_password_response_change),
1163 (hildon_set_password_response_set): GtkWindow *parent arguments
1164 changed to gpointer unused; cleaned up unnecessary strcmp's
1166 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1167 checkbox). gpointer renamed to be more descriptive; Code simplified
1169 (hildon_set_password_dialog_get_type): empty function argument
1170 list replaced with void keyword.
1172 (hildon_set_password_dialog_new),
1173 (hildon_set_password_dialow_new_with_default): simplified by
1174 having the simpler constructor call the more complex one, not vice
1175 versa; moved callback connects to create_contents since they
1176 depend on the status of 'modify-protection' property
1178 (hildon_set_password_dialog_get_password): type check added
1179 (hildon_set_password_dialog_get_protected): likewise
1180 (hildon_set_password_dialog_set_domain): likewise
1183 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1185 Cleanup name-password dialog:
1187 * hildon-widgets/hildon-name-password-dialog.[ch]
1189 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1190 types changed from *HildonCaption to *GtkEntry
1192 (hildon_name_password_dialog_set_property): layout fixes;
1193 duplicated code replaced with calls to relevant public functions
1195 (hildon_name_password_dialog_get_property): layout fixes;
1196 duplicated code replaced with calls to relevant public functions
1198 (hildon_name_password_dialog_init): fixed leaking group variable;
1199 reworked to have captions as local variables and captioned entries
1200 in the private struct
1202 (hildon_name_password_dialog_new_with_default): name and password
1203 arguments declared const
1205 (hildon_name_password_dialog_get_name): type check added + cleanup
1206 (hildon_name_password_dialog_get_password): likewise.
1208 (hildon_name_password_dialog_set_domain): domain argument declared
1209 const; type check added + cleanup
1212 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1214 Cleanup get-password dialog:
1216 * hildon-widgets/hildon-get-password-dialog.[ch]
1218 (HildonGetPasswordDialogPrivate): gboolean get_old added
1220 (hildon_get_password_set_property): fixed broken 'numbers-only'
1221 and 'max-characters' cases; 'get-old' property added
1223 (hildon_get_password_get_property): added support for reading
1224 'numbers-only' properties; added missing break to 'domain' case.
1225 added 'get-old' property
1227 (hildon_get_password_dialog_class_init): 'domain' and
1228 'numbers-only' properties are now readable; 'get-old' property
1231 (hildon_get_password_dialog_init, create_contents): everything
1232 that depends on the type of the dialog (i.e. 'get-old' property)
1233 is now done in create_contents after properties are initialized;
1234 fixed leaking group variable
1236 (hildon_get_password_dialog_get_type): empty function argument
1237 list replaced with void keyword
1239 (hildon_get_password_dialog_new): moved setting the labels of the
1240 get password dialog to init where it should be done; 'get-old'
1241 property set upon construction to achieve this
1243 (hildon_get_password_dialog_new_with_default): password argument
1246 (hildon_get_password_dialog_get_password): type check added
1247 (hildon_get_password_dialog_set_domain): type check added; domain
1248 argument declared const; duplicate function declaration removed
1250 (hildon_get_password_dialog_set_title): type check added;
1251 new_title argument declared const
1253 (hildon_get_password_dialog_set_caption): type check added;
1254 new_caption argument declared const
1256 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1257 (_invalid_input): gpointer data argument renamed unused
1260 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1262 (*_get_type): declared G_GNUC_CONST
1264 * hildon-widgets/hildon-app.h:
1265 * hildon-widgets/hildon-appview.h:
1266 * hildon-widgets/hildon-calendar-popup.h:
1267 * hildon-widgets/hildon-color-selector.h:
1268 * hildon-widgets/hildon-date-editor.h:
1269 * hildon-widgets/hildon-find-toolbar.h:
1270 * hildon-widgets/hildon-get-password-dialog.h:
1271 * hildon-widgets/hildon-name-password-dialog.h:
1272 * hildon-widgets/hildon-number-editor.h:
1273 * hildon-widgets/hildon-seekbar.h:
1274 * hildon-widgets/hildon-set-password-dialog.h:
1275 * hildon-widgets/hildon-sort-dialog.h:
1276 * hildon-widgets/hildon-time-editor.h:
1277 * hildon-widgets/hildon-weekday-picker.h:
1278 * hildon-widgets/hildon-wizard-dialog.h:
1280 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1284 * hildon-widgets/hildon-volumebar.c
1285 (hildon_volumebar_class_init): object class casts cleaned up
1286 (hildon_child_forall): removed unnecessary variable vbar; type check added
1287 (hildon_volumebar_set_property): removed unnecessary variable vbar
1288 (hildon_volumebar_set_level): type check added
1289 (hildon_volumebar_get_level): type check added
1290 (hildon_volumebar_set_mute): type check added
1291 (hildon_volumebar_get_mute): type check added
1292 (hildon_volumebar_get_adjustment): type check added
1293 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1295 * hildon-widgets/hildon-volumebar.h
1296 (hildon_volumebar_get_type): declared G_GNUC_CONST
1298 * hildon-widgets/hildon-volumebar-private.h:
1299 - G_BEGIN_DECLS/G_END_DECLS added
1300 - ownorientation removed from private struct
1302 * hildon-widgets/hildon-volumebar-range.c
1303 (hildon_volumebar_range_init): vacuous return statement removed
1305 (hildon_volumebar_range_set_level): removed unnecessary clamping
1306 kludge that violated object oriented principles only to provide an
1307 extremely minor, unnecessary optimization; type check added
1309 (hildon_volumebar_range_get_level): now accesses adjustment value
1310 with appropriate functions instead of reading it directly from the
1311 struct, which is bad OOP; type check added
1313 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1314 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1316 * hildon-widgets/hildon-volumebar-range.h
1317 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1319 * hildon-widgets/hildon-hvolumebar.c
1320 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1321 completely removed the gtk_widget_show() call that was already
1324 (hildon_hvolumebar_new): empty function parameter list replaced
1327 (hildon_hvolumebar_map): vbar variable removed; type check added
1328 (hildon_hvolumebar_expose): type check added
1329 (hildon_hvolumebar_size_request): type check added
1330 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1332 * hildon-widgets/hildon-hvolumebar.h
1333 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1335 * hildon-widgets/hildon-vvolumebar.c
1336 (vvolumebar_init): priv->ownorientation and v_ptr removed
1337 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1339 (hildon_vvolumebar_expose): type check added
1340 (hildon_vvolumebar_size_request): type check added
1341 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1343 * hildon-widgets/hildon-vvolumebar.h
1344 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1347 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1349 * hildon-widgets/hildon-weekday-picker.c
1350 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1351 last_index; added day_order_buttons
1353 (hildon_weekday_picker_mnemonic_activate): removed.
1354 mnemonics are no longer used.
1356 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1357 function. Rewritten creation of buttons. Unref'ed size group.
1359 (button_toggle): Removed bit mask checking, simplified function
1361 (hildon_weekday_picker_set_day):
1362 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1363 adjustment, unecessary for loop
1365 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1366 unecessary for loop. Simplified button toggling
1368 (hildon_weekday_picker_set_all):
1369 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1372 (hildon_weekday_picker_isset_day): Removed date adjustment and
1373 unecessary for loop;
1375 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1377 Added hildon-banner, as a clean replacement for gtk-infoprint
1378 * hildon-widgets/hildon-banner.[ch]: implementation and header
1379 * hildon-widgets/Makefile.am: reference new files
1380 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1381 a compatibility wrapper to hildon-banner
1383 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1385 * hildon-widgets/hildon-color-button.c: added comments
1386 * hildon-widgets/hildon-controlbar.c: Likewise.
1387 * hildon-widgets/hildon-composite-widget.c: Likewise.
1388 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1390 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1392 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1395 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1397 * configure.ac: 0.12.1
1399 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1401 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1402 * doc/tmpl/hildon-window.sgml: likewise.
1403 * hildon-widgets/hildon-program.[ch]: likewise.
1404 * hildon-widgets/hildon-window.[ch]: likewise.
1405 * hildon-widgets/hildon-window-private.h: likewise.
1406 * hildon-widgets/Makefile.am: Added these new files to the build
1409 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1411 * configure.ac: 0.12.0
1413 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1415 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1416 * doc/tmpl/hildon-appview.sgml: likewise.
1417 * doc/tmpl/hildon-color-popup.sgml: likewise.
1418 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1419 * doc/tmpl/hildon-app.sgml: likewise.
1420 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1421 * doc/tmpl/hildon-caption.sgml: likewise.
1422 * doc/tmpl/hildon-marshalers.sgml: likewise.
1423 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1424 * doc/tmpl/hildon-defines.sgml: likewise.
1425 * doc/tmpl/gtk-infoprint.sgml: likewise.
1426 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1428 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1429 * hildon-widgets/hildon-app.[ch]:likewise.
1430 * hildon-widgets/hildon-app-private.h:likewise.
1431 * hildon-widgets/hildon-appview.[ch]:likewise.
1432 * hildon-widgets/hildon-caption.[ch]:likewise.
1433 * hildon-widgets/hildon-defines.[ch]:likewise.
1434 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1435 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1437 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1438 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1442 hildon-app-private.h
1446 hildon-find-toolbar.[ch]
1447 hildon-input-mode-hint.h
1449 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1450 path for gtk-infoprint.h and hildon-input-mode-hint.h
1452 * po/en_GB.po: merged msgstr from hildon-lgpl
1454 * timer/*: added from hildon-lgpl
1458 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1460 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1463 * ut/hildon-widgets_tests.c (test41a): removed test case for
1464 hildon_file_details_dialog
1466 * doc/hildon-libs.types: likewise.
1467 * doc/hildon-libs-docs.xml: likewise.
1473 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1476 * Makefile.am (SUBDIRS): added timer/
1478 * configure.ac: do not depend anymore on hildon-lgpl nor
1479 hildon-fm, check for libmb, added Makefile output for timer/
1483 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1485 * configure.ac: 0.10.2
1487 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1489 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1490 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1491 hildon-apps scroll-control property is now handled.
1492 (get_child_index_by_coord): ignores events not matching a grid
1495 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1497 * configure.ac: 0.10.1
1499 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1501 Missing/Buggy documentation from,
1502 N#11566 make password dialog customizable (messages)
1503 * hildon-widgets/hildon-get-password-dialog.c
1504 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1506 * doc/tmpl/xxx.sgml: updated.
1508 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1510 N#19369 TRUE Scketch does not show colour change when using white color
1512 Color button needs inner border white, and outer border black.
1513 * hildon-widgets/hildon-color-button.c
1514 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1516 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1517 (hildon_color_button_realize): call the above function
1519 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1521 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1522 * hildon-widgets/hildon-note.c:
1523 (hildon_note_new_confirmation_add_buttons): updated doc
1524 (hildon_note_set_button_texts): likewise.
1526 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1528 N#21884 Cannot select read-only by using the center of the scroll key
1529 * hildon-widgets/hildon-file-details-dialog.c
1530 (hildon_file_details_dialog_init): Removed dialog default response.
1532 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1534 N#8094 5-bit color selector: wrong margins and pixel measurements
1535 M#59 HildonColorSelector needs more space
1536 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1537 (hildon_color_popup_new): add space between the control bars and
1538 the color preview area.
1540 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1542 * hildon-widgets/hildon-calendar-popup.c
1543 * hildon-widgets/hildon-color-button.c
1544 * hildon-widgets/hildon-color-popup.c
1545 * hildon-widgets/hildon-color-selector.c
1546 * hildon-widgets/hildon-composite-widget.c
1547 * hildon-widgets/hildon-controlbar.c
1548 * hildon-widgets/hildon-date-editor.c
1549 * hildon-widgets/hildon-dialoghelp.c
1550 * hildon-widgets/hildon-file-details-dialog.c
1551 * hildon-widgets/hildon-font-selection-dialog.c
1552 * hildon-widgets/hildon-get-password-dialog.c
1553 * hildon-widgets/hildon-grid-item.c
1554 * hildon-widgets/hildon-grid.c
1555 * hildon-widgets/hildon-hvolumebar.c
1556 * hildon-widgets/hildon-name-password-dialog.c
1557 * hildon-widgets/hildon-note.c
1558 * hildon-widgets/hildon-number-editor.c
1559 * hildon-widgets/hildon-range-editor.c
1560 * hildon-widgets/hildon-scroll-area.c
1561 * hildon-widgets/hildon-seekbar.c
1562 * hildon-widgets/hildon-set-password-dialog.c
1563 * hildon-widgets/hildon-sort-dialog.c
1564 * hildon-widgets/hildon-time-editor.c
1565 * hildon-widgets/hildon-time-picker.c
1566 * hildon-widgets/hildon-volumebar-private.h
1567 * hildon-widgets/hildon-volumebar-range.c
1568 * hildon-widgets/hildon-volumebar.c
1569 * hildon-widgets/hildon-vvolumebar.c
1570 * hildon-widgets/hildon-weekday-picker.c
1571 * hildon-widgets/hildon-wizard-dialog.c
1574 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1576 * configure.ac: 0.10.0
1578 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1580 Some more properties for Gazpacho support,
1582 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1583 * hildon-widgets/hildon-color-selector.c: "color"
1586 * hildon-widgets/hildon-color-selector.[ch]
1587 (hildon_color_selector_get_color): return const pointer to the
1590 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1593 Gazpacho support, added the following properties:
1595 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1596 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1597 * hildon-widgets/hildon-grid-item.c: "emblem-type"
1598 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1599 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1600 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1601 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1602 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1603 * hildon-widgets/hildon-number-editor.c: "value"
1605 * hildon-widgets/hildon-color-button.c: minor cleanup
1608 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
1610 Started new development
1611 (branche for maintenance continues with versions 0.9.x)
1613 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
1615 * configure.ac: 0.9.53
1617 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
1620 N#19283 Control panel - The values entered are not saved.
1621 N#19648 Hildon Date Editor widget detects values too high
1622 (note: complete fix include also fixes in GTk+)
1624 * hildon-widgets/hildon-calendar-popup.c
1625 (hildon_calendar_popup_set_property),
1626 (hildon_calendar_popup_class_init),
1627 (init_dmy): Added 'min-year', 'max-year' properties for passing
1628 the information through from HildonDateEditor to GtkCalendar
1630 * hildon-widgets/hildon-date-editor.c:
1631 (hildon_date_editor_class_init),
1632 (hildon_date_editor_init),
1633 (hildon_date_editor_set_property),
1634 (hildon_date_editor_get_property),
1636 (hildon_date_editor_entry_validate),
1637 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1638 properties and replaced hardcoded constants with them
1640 * hildon-widgets/hildon-date-editor.c
1641 (hildon_date_editor_d_entry_changed),
1642 (hildon_date_editor_m_entry_changed),
1643 (hildon_date_editor_d_entry_changed): new functions to ensure that
1644 the fields are validated and the focus is moved when maximum
1645 number of characters has been entered.
1647 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
1649 * configure.ac: 0.9.52
1651 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
1653 N#19140 System alerts still audible despite being turned off
1655 * hildon-widgets/hildon-note.c (sound_handling):
1657 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1659 * hildon-note.c (sound_handling): Changed to use new
1660 hildon_play_system_sound.
1661 (hildon_note_init): Signal handler id is changed to be in private
1662 structure, not in global variable.
1664 * hildon-note.c: Removed unused defines etc.
1666 * Makefile.am: Appended new files to build rules.
1668 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1670 * configure.ac: 0.9.51
1672 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1674 N#20027 PDF Reader crashes on selecting read only option in the
1677 * hildon-widgets/hildon-file-details-dialog.c:
1678 (change_state): Fixed assertion that was causing problems
1679 (check_validity): New function: We now automatically close the
1680 dialog if the displayed file is removed.
1681 (handle_focus): Callback removed:
1682 (init): Now using correct gtk way to bind container and adjustment
1683 together. Not the previous callback.
1684 (set_property): Connecting/disconnecting new handlers (for
1686 (finalize): disconnecting new handler.
1688 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
1690 N#17918 Volumebar widget background image doesn't change when
1691 widget goes into mute state,
1693 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1696 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1697 using the state of the internal volumebar, not the whole container
1699 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1700 using the state of the internal volumebar, not the whole container
1702 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1704 * hildon-widgets/hildon-dialoghelp.[ch]: added
1705 gtk_dialog_help_disable and fixed bug N#19468
1707 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
1709 * configure.ac: Release 0.9.50
1711 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
1715 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1717 * hildon-widgets/hildon-grid.c
1718 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1719 label by logical name "Ckct_wi_grid_no_items"
1722 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
1724 * po/en_GB.po (ecdg_ti_verify_password): translation update.
1726 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1728 * configure.ac: Release 0.9.49
1730 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1732 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
1733 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
1734 Save the id of the idle callback and remove it when the widget is
1735 destroyed to avoid crashing. N#18096
1737 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1739 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
1740 id's are unsigned and undefined at zero (instead of signed and -1)
1742 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
1744 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
1745 that was not working. N#16805
1747 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1749 * configure.ac: Release 0.9.48
1751 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1753 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
1754 allow area_rows to be 0 (ie. before widget is visible), otherwise the
1755 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
1757 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
1759 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1760 Do not override the week-start property of GtkCalendar according to
1761 the hildon-libs PO file, it is automatically determined from locale
1764 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1766 * configure.ac: Release 0.9.47
1768 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1770 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
1771 property for setting the password entry accept only numeric values.
1774 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1776 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
1777 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
1778 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
1779 Use defines rather than magic numbers in the code.
1781 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
1783 Update to new l10n packaging style. po-files (inside this package)
1784 are not used for now, the message catalogs come from separate packages
1785 and including them here would conflict.
1787 * Makefile.am (SUBDIRS): stop including po-files
1788 * Makefile.am (EXTRA_DIST):
1789 * debian/hildon-libs-l10n-engb.install:
1790 * debian/hildon-libs-l10n-src.install:
1791 * po/debian/*: Removed
1793 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
1795 * hildon-widgets/hildon-file-details-dialog.c: Added read only
1796 checks to cover gateway content as well.
1798 * hildon-widgets/hildon-time-editor.c:
1799 (hildon_time_editor_validate): Replace solid numbers with defined
1801 (convert_to_12h): Remove "work-around" for the broken 12h timespec
1804 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
1806 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
1807 invalid cast from `GdkWindow' to `GtkWindow'
1809 * hildon-widgets/hildon-color-popup.c
1810 (hildon_popup_palette_expose): removed debug printing
1812 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
1814 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
1817 * hildon-widgets/hildon-scroll-area.c
1818 (hildon_scroll_area_destroy): one-instruction function:
1819 removed. Call g_free directly.
1821 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
1822 right edge of window, size of the child is also shrinked. 'fixed'
1823 does not automatically update this data -> Doing it manually.
1825 * hildon-widgets/hildon-date-editor.h: added
1826 HildonDateEditorErrorType error enumeration type, removed signal
1827 "validate-date" virtual function, added signal "date-error"
1830 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1831 added custom info prints.
1832 (hildon_date_editor_validate_date): removed
1833 (hildon_date_editor_entry_validate): validate maximum and minimum
1834 limits on each field.
1835 (hildon_date_editor_entry_focus_out): check the date validation
1836 in simpler manner, don't put content if field is empty (spec
1837 doesn't say if there should be anything placed in the entry if
1839 (hildon_date_editor_get_date),
1840 (hildon_date_editor_get_month),
1841 (hildon_date_editor_get_year),
1842 (hildon_date_editor_get_day): use direct entry content, so that 0
1843 indicates empty entry, and information is more accurate.
1845 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
1847 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
1849 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
1850 http://bugzilla.gnome.org/show_bug.cgi?id=310216
1852 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
1854 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
1856 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
1858 * hildon-widgets/hildon-number-editor.c:
1859 (hildon_number_editor_select_all): new function, selects all
1860 the text in the entry.
1861 * hildon-widgets/hildon-number-editor.c: added several calls to
1862 hildon_number_editor_select_all with g_idle_add.
1864 * hildon-controlbar.c : add signal when end reached
1866 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
1868 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
1870 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
1872 Fixed incorrect values in <Filetype> Details Dialog
1874 Fixed help button usage in dialogs
1876 * hildon-dialoghelp.c: Added more documentation about the
1879 * hildon-file-details-dialog.c: Updated to match
1880 'File Management in OSSO' version 3.0
1882 * Fixed application hang after calling gtk_main_quit
1884 * hildon-date-editor.c: Fixed HildonDateEditor that caught
1885 ESC presses needlessly
1887 * hildon-time-editor.c: Fixed memory corruption