1 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
3 * hildon-widgets/hildon-banner.[ch]: code cleanup.
6 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
8 * hildon-widgets/hildon-window.c:
9 - removed connection to self, replaced with overridding virtual
11 - removed gtk_widget_set_event in init, legacy from HildonApp
12 - use gtk_widget_get_child_requisition() instead of
13 gtk_widget_size_request() in _allocation
14 - don't allocate space for the child if it is not visible
16 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
18 * hildon-widgets/hildon-window.c:
19 - forgot to reinitialize convenience pointers to borders after they
21 - replaced a g_return_if_fail with a g_return_val_if_fail now
22 that toggle_menu returns a g_boolean
24 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
27 * hildon-widgets/hildon-window.c: Free the borders structure
28 when the window is destroyed.
30 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
32 * hildon-widgets/hildon-caption.c : check if ancestor
33 (still) exists in set-focus handler, fixes N#25501
35 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
37 * hildon-widgets/hildon-time-editor.c
38 (hildon_time_editor_check_locale): do not force lower case for
39 AM/PM symbols. Use the string as it is given by the locale. Makes
40 it coherent with hildon time picker. Fixes N#27963
43 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
45 * hildon-widgets/hildon-set-password-dialog.c
46 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
47 (hildon_set_password_response_set): use c_ for common strings
48 (hildon_set_password_response_change): likewise.
51 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
54 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
56 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
57 "hildon-fm" as textual domain. Fixes N#27702
59 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
61 * configure.ac: 0.12.12
63 * Makefile.am (clean-all): brutal target to cleanup the
64 folder. Will do this properly later.
66 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
68 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
69 included Makefile if missing).
71 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
72 integration environement)
74 * configure.ac: print configuration summary after processing
76 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
78 From Murray Cumming <murrayc@murrayc.com>, M#183.
80 * hildon-widgets/hildon-calendar-popup.c:
81 (hildon_calendar_popup_new): Use only g_object_new(), passing
82 it properties, so that language bindings can do the same.
83 (hildon_calendar_popup_set_date): Veryify the date here,
84 instead of only in the _new() function.
85 (hildon_calendar_popup_set_property): Use get/set_date() to
86 verify the new date and to select it.
87 (hildon_calendar_popup_get_property): Remove unused variables.
88 * ut/hildon-widgets_tests.c (test45): New.
90 * hildon-widgets/hildon-add-home-dialog.c:
91 (hildon_add_home_dialog_new): Move code into
92 hildon_add_home_dialog_init(),
93 hildon_add_home_dialog_set_old_name(), and
94 hildon_add_home_dialog_set_new_name(). Supply parameters as
95 properties values to g_object_new() instead, so that language
96 bindings can do the same.
97 (hildon_add_home_dialog_class_init): Added name and new_name
99 (hildon_add_home_dialog_init): Create always-needed widgets.
100 (hildon_add_home_dialog_get_property),
101 (hildon_add_home_dialog_set_property): Get/Set the name and
102 new_name properties, recreating widgets if necessary, using new
103 static helper function.
104 * ut/hildon-widgets_tests.c (test46): New.
106 * hildon-widgets/hildon-grid-item.c
107 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
108 (hildon_grid_item_class_init): Add icon-basename property.
109 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
110 from here to hildon_grid_item_init(), so we can just call
112 (hildon_grid_item_set_label): Convert NULL label to empty string.
113 Bug fix: don't cast the label widget to a string and compare it
114 against the new label text, use gtk_label_get_label instead.
115 Expect priv->label to always be non-NULL.
116 (update_icon): Don't pass NULL icon name to
117 gtk_icon_theme_load_icon, use default icon instead in that case.
118 * hildon-widgets/hildon-grid-item.h: Make
119 _hildon_grid_item_set_label into public
120 hildon_grid_item_set_label(), so that language bindings can use
122 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
123 (test33a2, test33b4, test33b4): Expect them to succeed now that a
124 HildonGridItem can handle NULL icons.
126 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
128 * configure.ac: 0.12.11
131 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
133 * thread safety (N#24348), fixed timeout and idle callbacks :
134 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
135 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
136 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
137 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
138 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
139 hildon-widgets/hildon-time-editor.c : highlight_callback()
140 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
142 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
144 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
145 correct state for fullscreen, fixes N#26611
147 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
150 * hildon-widgets/hildon-window.c:
151 - hildon_window_toggle_menu now returns whether or not something was
153 - hildon_window_key_press_event(): when handling the menu hard key,
154 return TRUE if we actually handled it
155 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
156 now returns if something was done
157 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
158 if we actually handled the menu hard key.
160 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
162 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
165 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
167 * configure.ac: 0.12.10
170 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
172 * doc/hildon-libs-docs.sgml: added index for new symbols.
175 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
177 * doc/Makefile.am (version.xml): generates version.xml
178 * doc/hildon-libs-docs.sgml: added &version; entity, and display
179 the version number in the doc title.
182 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
184 Minor changes for gtk-doc
186 * hildon-weekday-picker.h
187 * hildon-name-password-dialog.c
188 * hildon-calendar-popup.h
189 * hildon-range-editor.h
190 * hildon-volumebar-range.h
193 * hildon-time-editor.c
195 * hildon-date-editor.h
198 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
200 * hildon-widgets/hildon-time-editor.c
201 (hildon_time_editor_set_show_hours)
202 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
205 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
208 * hildon-widgets/hildon-time-editor.c
209 (hildon_time_editor_entry_keypress): use
210 hildon_gtk_button_set_depressed, provided by osso-GTK, since
211 2.6.10-1.osso4, instead of GTK private symbol
212 _gtk_button_set_depressed
215 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
217 From Murray Cummings (M#185 M#283), with slight changes:
219 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
220 can disable the regeneration of hildon-libs-enum-types.[h|c], also
221 based on the gnome-vfs build.
223 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
224 hildon-libs-enum-types.[h|c], and build them, based on the
225 gnome-vfs build. This adds GTypes for the enums, needed for
226 accurate signal registration, needed by bindings.
228 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
229 default signal handler to range_error, so it has the same name as
230 the signal, as expected by bindings.
232 * hildon-widgets/hildon-marshalers.list: Change to the now-used
235 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
236 since hildon_note_type_get_type is defined manually and
237 glib-mkenums should ignore this enum.
239 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
240 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
242 Correct the signal registration for:
244 * hildon-widgets/hildon-app.c
245 (hildon_app_class_init):
251 * hildon-widgets/hildon-date-editor.c
252 (hildon_date_editor_class_init):
255 * hildon-widgets/hildon-find-toolbar.c
256 (hildon_find_toolbar_class_init):
260 "history_append signals"
262 * hildon-widgets/hildon-grid.c
263 (hildon_grid_class_init):
266 * hildon-widgets/hildon-number-editor.c
267 (hildon_number_editor_class_init):
271 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
273 M#90 - Use standard GLib macro names.
274 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
276 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
277 * hildon-widgets/hildon-calendar-popup.h:
278 * hildon-widgets/hildon-date-editor.h:
279 * hildon-widgets/hildon-range-editor.h:
280 * hildon-widgets/hildon-weekday-picker.h:
281 * hildon-widgets/hildon-volumebar-range.h:
284 * hildon-widgets/hildon-calendar-popup.c:
285 * hildon-widgets/hildon-date-editor.c:
286 * hildon-widgets/hildon-range-editor.c:
287 * hildon-widgets/hildon-volumebar-range.c:
288 * hildon-widgets/hildon-weekday-picker.c:
291 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
293 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
294 for Ok and Cancel buttons.
296 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
298 * configure.ac: 0.12.9
300 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
302 * hildon-widgets/hildon-color-button.c
303 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
307 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
309 * hildon-widgets/hildon-time-editor.c
310 (convert_to_12h): removed m and s paramters (useless)
311 (convert_to_24h): likewise.
314 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
316 Automatic focus movement for HildonTimeEditor (IMP-13)
318 * hildon-widgets/hildon-time-editor.c
319 (hildon_time_editor_init): connect after signal "insert_text"
320 (hildon_time_editor_inserted_text): new function.
321 On inserted text, if entry has two digits, jumps to the next field.
324 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
326 Pops up the color selector on 'select' hardkey (IMP-15)
328 * hildon-widgets/hildon-color-button.c
329 (hildon_color_button_init): connect "key-release-event"
330 (hildon_color_button_key_released): new function.
331 Pops up the color selector on 'select' hardkey release
334 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
336 Hildon grid, set items to be focus-and-activate instead of single
337 tap activation (IMP-14)
339 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
340 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
343 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
345 Fetch hours/minutes/seconds separators from current locale (IMP-8)
348 * hildon-widgets/hildon-time-editor.c
349 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
350 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
351 (hildon_time_editor_finalize): free separator symbols
352 (get_time_separators): new function. Get time separators from locale.
353 (hildon_time_editor_check_locale): call get_time_separators.
355 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
357 Removed icon for mandatory fields (IMP-3).
358 Note: the logic and API to specify mandatory fields is preserved.
360 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
361 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
362 (hildon_caption_set_property): case PROP_STATUS, removed related code.
363 (hildon_caption_set_label_alignment): removed related code.
366 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
368 * configure.ac: 0.12.8
370 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
372 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
375 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
377 - Added support for Pango markup
378 Added hildon_banner_show_information_with_markup
379 - Removed hildon_banner_show_confirmation
380 - Re-position the banner when its content changes
381 - Banner now doesn't truncate strings nor insert linebreaks
382 - fixes N#24339 - Information banners do not resize
384 * hildon-widgets/hildon-banner.[ch]
385 (hildon_banner_show_information_with_markup): new function. Adds
386 pango markup support for information banners.
388 (hildon_banner_show_confirmation): removed. 'confirmation' was
389 used only for the taask navigator (at most). It should use
390 _show_information_with_markup with appropriate markup.
392 (hildon_banner_set_markup): new function.
394 (hildon_banner_check_position): new function. Factor code from
395 hildon_banner_realize(), and update position calculation.
397 (struct _HildonBannerPrivate): removed max_lines.
398 Uses as much lines as needed.
400 (hildon_banner_init): set banner label to wrap lines.
402 (hildon_banner_set_text): do not truncate. Update banner's position.
404 (hildon_banner_set_markup): new function.
405 Set banner's text with Pango markup.
407 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
410 * hildon-widgets/gtk-infoprint.c
411 (gtk_confirmation_banner): use hildon_banner_show_information
412 instead of _show_confirmation.
413 (gtk_confirmation_banner_with_icon_name): likewise.
416 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
418 * hildon-widgets/hildon-color-button.c
419 (hildon_color_field_expose_event): correct parameter order.
422 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
424 * hildon-widgets/hildon-window.c:
425 - Fixed a potential infinite loop when detaching the menus
426 from the window widget (Closes N#26033)
428 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
430 * hildon-widgets/hildon-window.c:
431 - Fixed a bug that made window fullscreen state tracking fail
432 - Apply correct theming to menus so that they get placed
433 correctly (Fixes N#24325)
434 - Redraw the window borders if the size of the toolbar vbox changes
435 - Reset the program to NULL in hildon_window_destroy
436 - Stop the ESC key-press timeout when the window loses the focus
438 * hildon-widgets/hildon-program.c:
439 - Reset the common toolbar to NULL when the program is finalised
441 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
443 * hildon-widgets/hildon-get-password-dialog.h,
444 hildon-widgets/hildon-get-password-dialog.c
445 (hildon_get_password_dialog_new,
446 hildon_get_password_dialog_new_with_default): Renamed
447 get_old_password_title parameter to "get_old" to correspond with
448 the property name. This helps the C++ bindings.
449 * ut/hildon-widgets_tests.c (test43, test44): New.
451 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
453 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
454 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
459 * hildon-lgpl/hildon-caption.c:
460 (hildon_caption_init): Do the hildon_caption_set_child_expand()
462 (hildon_caption_new): Use the child property from GtkContainer
463 instead of calling gtk_container_add(), because _new() functions
464 should just use g_object_new(), so that language-bindings can do
467 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
469 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
471 * configure.ac: 0.12.7
473 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
476 * hildon-widgets/hildon-font-selection-dialog.c
477 (REFERENCE_LINE): removed
478 (hildon_font_selection_dialog_show_preview): added l10n support
479 for the reference string (use to differentiate sub/super script in
481 (hildon_font_selection_dialog_show_preview): likewise
484 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
486 * po/en_GB.po: update
488 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
490 * hildon-widgets/hildon-add-home-dialog.c
491 (hildon_add_home_dialog_init): removed i18n support (deprecated
492 widget. Hinder logical ID processing)
493 (hildon_add_home_dialog_new): likewise.
495 * hildon-widgets/hildon-insert-object-dialog.c
496 (hildon_insert_object_dialog_init): likewise.
499 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
501 * hildon-widgets/hildon-font-selection-dialog.c
502 (hildon_font_selection_dialog_construct_notebook): logical ID typo
505 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
507 * hildon-widgets/hildon-window.[ch]:
508 - update the title when the window is realized
509 - added support for long press on the ESC key. Fixes N#24620
511 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
513 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
515 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
517 * hildon-widgets/hildon-seekbar.c
518 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
520 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
522 * configure.ac: 0.12.6
524 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
526 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
527 fixed typo GKD_Left -> GDK_Left, N#24042
530 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
536 Updated logical id to lower case: Ckct_ -> ckct_
537 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
538 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
539 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
540 (hildon_range_editor_init, hildon_range_editor_entry_validate)
541 (hildon_range_editor_entry_validate):
542 * hildon-widgets/hildon-time-editor.c (validated_conversion)
543 (validated_conversion, hildon_time_editor_real_validate):
544 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
548 Updated logical id to lower case: Ecdg_ -> ecdg_
549 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
550 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
551 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
552 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
553 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
554 (hildon_wizard_dialog_create_title):
555 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
556 (hildon_find_toolbar_init):
557 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
558 (hildon_note_rebuild, hildon_note_set_button_text):
561 Removed i18n support for property description,
562 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
565 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
567 * configure.ac: 0.12.5
569 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
571 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
572 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
575 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
577 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
580 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
582 Cleanup wizard dialog,
584 * hildon-widgets/hildon-wizard-dialog.c
585 (struct HildonWizardDialogPrivate): removed 'previous_button'
586 and 'next_button' (obsolete)
588 (hildon_wizard_dialog_response): new private function. Handles the
589 'response' signal and replaces direction_button_clicked() in
590 taking care of notebook page changes and button dimming.
592 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
593 added to the dialog as response buttons. This enables the usage of
594 GtkDialog API for setting their sensitiveness.
596 (dimming/undimming): Connected hildon_wizard_dialog_response to
597 "resonse" signal. Removed useless title creation because it
598 depends on the notebook which is not yet created.
600 (hildon_wizard_dialog_set_property): minor code cleanup
602 (hildon_wizard_dialog_create_title): removed useless else-if
605 * hildon-widgets/hildon-wizard-dialog.h
606 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
609 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
610 adding the page_change signal, as the application can now track
611 the response signal instead.
614 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
616 * configure.ac: 0.12.4
619 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
623 moved widget descriptions to respective source file (*.c)
627 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
631 * hildon-widgets/hildon-color-button.c:
632 - removed unused #include
633 - removed unused gettext macro
635 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
636 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
637 + value updated to match specifications
639 (struct _HildonColorButtonPrivate):
640 removed 'drawing_area' and 'pixbuf' members (unused)
642 (hildon_color_button_init):
643 use drawing_area directly, update COLOR_FILLED_ macro names
645 (hildon_color_button_unrealize): new function.
646 (hildon_color_button_class_init): register unrealize function
647 (hildon_color_button_finalize): free allocated GC in unrealize
648 handler instead of in finalize.
650 (hildon_color_button_recolor_pixbuf): removed. (use
651 gdk_draw_rectangle() instead)
652 (hildon_color_button_draw_pixbuf_borders): likewise
654 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
656 (hildon_color_button_set_property): queue the drawing - instead of
657 calling recolor_pixbuf
659 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
662 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
664 More cleanup for range editor,
666 * hildon-widgets/hildon-range-editor.[ch]
667 - removed useless includes
668 (hildon_range_editor_new_with_separator): set char parameter 'const'
670 * hildon-widgets/hildon-range-editor.c
671 - removed useless includes
672 - rewritten a lot of functions because code was inefficient.
673 - removed useless g_return_if_fail calls from various functions.
675 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
676 (hildon_range_editor_entry_keypress): rewritten
677 (hildon_range_editor_entry_focus_out): rewritten
678 (hildon_range_editor_refresh_widths): New function
679 (hildon_range_editor_set_range): Make sure that the values are in
681 (hildon_range_editor_set_lower): rewritten.
682 (hildon_range_editor_set_higher): rewritten.
683 (hildon_range_editor_set_min): rewritten.
684 (hildon_range_editor_set_max): rewritten.
686 (hildon_range_editor_entry_validate): New validator function
687 (hildon_range_editor_entry_changed): New signal handler for
688 "changed" for entries, this will now validate whenever entry changes.
690 (hildon_range_editor_entry_focus_out): Added g_assert for
691 editor. Removed call to hildon_range_editor_apply_current_range().
692 Added call to the new function hildon_range_editor_entry_validate()
695 (hildon_range_editor_init): connected
696 hildon_range_editor_entry_changed to "changed" for entries.
699 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
701 Major cleanup for time editor
703 * hildon-widgets/hildon-time-editor.c
704 - removed unused #includes.
705 - Removed useless g_return_if_fail(editor) calls
706 (HILDON_IS_TIME_EDITOR does this check as well for us).
708 (hildon_time_editor_add_style): removed, obsolete.
709 (hildon_time_editor_mnemonic_activate): removed, obsolete
710 (hildon_time_editor_get_max_values): removed, obsolete.
712 (validated_conversion): New helper function
714 (hildon_time_editor_entry_changed): New function, now the widget
715 interactively validates the inputted contents (not requiring focus
718 (ticks_to_time): rewritten, using less arithmetic operations.
719 (hildon_time_editor_validate): rewritten
720 (hildon_time_editor_set_ticks): rewritten
721 (hildon_time_editor_set_duration_mode): rewritten
722 (hildon_time_editor_entry_keypress): rewritten
724 * hildon-widgets/hildon-time-editor.[ch]
725 (hildon_time_editor_set_show_hours)
726 (hildon_time_editor_get_show_hours) new functions to show/hide hours
729 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
731 Cleanup number editor
733 * hildon-widgets/hildon-number-editor.c:
734 (SPACE_BORDER): removed
736 (hildon_number_editor_size_request):
737 (hildon_number_editor_size_allocate): updated to use hildondefines
739 (hildon_number_editor_mnemonic_activate): function removed,
740 mnemonic are not used
742 (hildon_number_editor_stop_repeat_timer): new function, to avoid
744 (hildon_number_editor_button_release):
745 (hildon_number_editor_finalize): updated to use new function
747 (hildon_number_editor_entry_keypress): completely rewritten
748 (change_numbers): likewise
749 (do_mouse_timeout): likewise
750 (hildon_number_editor_set_range): likewise
752 (hildon_number_editor_validate_value): new function, used for all
754 (hildon_number_editor_focus_out):
755 (hildon_number_editor_entry_changed): updated to use previous.
757 (hildon_number_editor_real_set_value): new function that formats
758 given int to field. Used by change_numbers and set_value
760 (integer_to_string): removed, we now have one place that
761 converts numbers and that uses buffer from stack.
762 (hildon_number_editor_set_value): changed to use new format function.
765 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
767 * hildon-widgets/hildon-time-picker.c:
768 reorganized how the widgets are stored to reduce code
769 (HildonTimePickerWidgetGroup): new struct
770 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
771 (hildon_time_picker_init)
772 (hildon_time_picker_arrow_press)
773 (hildon_time_picker_event_box_key_press)
774 (hildon_time_picker_change_time)
775 (hildon_time_picker_map)
776 (hildon_time_picker_event_box_key_release): use new widget organization
779 (hildon_time_picker_init): return value from nl_timeinfo() is
780 valid only until it's called again, so g_strdup() the value when
783 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
784 (HILDON_TIME_PICKER_LABEL_X_PADDING)
785 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
786 (hildon_time_picker_set_time):
787 (hildon_time_picker_get_time):
788 (hildon_time_picker_ampm_release): used the new defines
790 (struct _HildonTimePickerPrivate)
791 (hildon_time_picker_init)
792 (hildon_time_picker_event_box_key_press)
793 (hildon_time_picker_change_time):
794 - c12h renamed to show_ampm,
795 - ampo_pos renamed to ampm_left.
797 (hildon_time_picker_timeout): renamed to
798 hildon_time_picker_key_repeat_timeout(),
799 and renamed parameter to 'hildon_time_picker'
801 (hildon_time_picker_event_box_press): renamed to
802 hildon_time_picker_event_box_button_press()
804 (hildon_time_picker_finalize): Added finalizer to make sure the
805 key repeat timeout handler gets removed.
807 (hildon_time_picker_arrow_press): Placed multipliers into
808 button_multipliers[] array to avoid multiple if/then/else
812 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
814 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
815 calculates correctly which items will be visible. Fixes N#16991.
818 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
820 * hildon-widgets/hildon-find-toolbar.c
821 (hildon_find_toolbar_history_append): set "column" property only
822 after model has been set.
825 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
827 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
828 the parameter more descriptively
831 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
835 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
837 * hildon-widgets/hildon-app.[ch]
838 (hildon_zoom_level_get_type): removed G_CONST_RETURN
840 * hildon-widgets/hildon-app.c:
841 - removed HILDON_DISABLE_DEPRECATED flags
842 - added g_assert'ions to internal functions
845 (hildon_app_button): Move the fixed define to the function itself,
846 add simple autodetection, clean up comments.
848 (hildon_app_key_release): Remove bogus argument to signal emission
849 (not needed), emit the "fullscreen_state_change" directly instead
850 of calling set_fullscreen.
852 (hildon_app_construct_title): removed dead code
854 (hildon_app_register_view_with_id): do not call g_slist_nth() to
855 get the first element...
858 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
860 * hildon-widgets/hildon-appview.c:
861 (hildon_appview_init): indented comments properly
862 (paint_toolbar): indented comments properly
863 (hildon_appview_expose): indented code properly
864 (hildon_appview_toolbar_toggle_request): removed dead code
867 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
869 * hildon-widgets/hildon-caption.c
870 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
871 (hildon_caption_size_allocate): likewise.
872 (hildon_caption_forall): likewise.
875 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
877 Cleanup Find toolbar,
879 * hildon-widgets/hildon-find-toolbar.[ch]
880 (hildon_find_toolbar_new): set 'label' parameter const.
881 (hildon_find_toolbar_new_with_model): likewise.
883 * hildon-widgets/hildon-find-toolbar.c
884 (struct _HildonFindToolbarPrivate):
885 changed entry_combo_box type to GtkComboBoxEntry*
887 (hildon_find_toolbar_get_list_model): new function, to factor
888 member access and casting
889 (hildon_find_toolbar_get_entry): likewise.
890 (hildon_find_toolbar_apply_filter): removed set_column parameter
891 since it was used by only one caller, and made the caller do it
892 instead. Removed unnecessary casts.
894 (hildon_find_toolbar_find_string): new function.
895 (hildon_find_toolbar_history_append): code cleanup. use
896 hildon_find_toolbar_find_string.
898 (hildon_find_toolbar_get_property)
899 (hildon_find_toolbar_get_entry)
900 (hildon_find_toolbar_init)
901 (hildon_find_toolbar_new)
902 (hildon_find_toolbar_new_with_model)
903 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
904 and changed some of them to use the new convenience functions
907 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
908 instead of if-check to validate parameter.
911 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
913 Cleanup hildon-defines,
915 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
916 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
918 (hildon_logical_data_free): new function. Free logical data.
919 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
920 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
922 * hildon-widgets/hildon-defines.[ch]
923 (hildon_gtk_widget_set_logical_font): use const gchar*
924 (hildon_gtk_widget_set_logical_color): likewise.
926 * hildon-widgets/hildon-defines.c:
927 (hildoniconsizes): set const
928 (hildoninternaliconsizes): set static, renamed 'iis'
931 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
933 Cleanup Caption widget,
935 * hildon-lgpl/hildon-caption.[ch]
936 (hildon_caption_status_get_type, hildon_caption_get_type):
937 G_CONST_RETURN removed, G_GNUC_CONST added
939 * hildon-widgets/hildon-caption.c
941 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
943 (hildon_caption_set_property): removed useless code.
944 (hildon_caption_button_press): simplified greatly by removing the
945 unnecessary recursion to locate the first focusable child of a
946 container - simple gtk_widget_grab_focus achieves the same
947 (get_first_focusable_child): removed (not used anymore)
949 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
951 (hildon_caption_set_focus_child): removed (not used anymore)
952 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
954 (hildon_caption_hierarchy_changed): type check added
955 (hildon_caption_forall): callback null check added
956 (hildon_caption_set_status): type check added
957 (hildon_caption_set_icon_image): type check added
958 (hildon_caption_activate): activate_block kludge removed as outdated
959 (hildon_caption_get_child_expand): argument declared const
960 (hildon_caption_set_label_text): g_return_if_fail changed to
961 g_assert since this is not a public function;
962 Duplicate separator check now uses correct localized separator
963 instead of assuming ':'
966 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
970 * hildon-lgpl/hildon-appview-c:
971 (hildon_app_view_init): Fixed a problem that prevented to set an
972 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
973 between toolbars). This fix involves a change in the default gtkrc
974 file, ie. the modification of the 'border' value of the
975 "toolbar-frame-middle" image in the osso-appview-background style.
977 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
978 widget supporting adjustements, not only viewports.
980 (visible_toolbar): use proper parameter names
981 (find_findtoolbar_index): likewise.
982 (find_findtoolbar): likewise.
984 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
985 (hildon_appview_finalize): likewise.
986 (hildon_appview_signal_marshal): likewise.
987 (hildon_appview_forall): likewise.
988 (hildon_appview_switched_to): likewise.
989 (hildon_appview_real_fullscreen_state_change): likewise.
992 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
994 * hildon-widgets/hildon-date-editor.c
995 (hildon_date_editor_entry_validate): Now, if an invalid date is
996 entered, date-editor reverts to previous date, instead of setting
997 the maximum allowed days.
1000 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1002 * hildon-widgets/hildon-date-editor.h
1003 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1005 * hildon-widgets/hildon-date-editor.c
1006 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1007 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1010 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1012 * hildon-widgets/hildon-get-password-dialog.c:
1013 (hildon_get_password_dialog_set_title): Removed the deprecation
1014 #ifdefs from the .c file.
1016 * hildon-widgets/hildon-file-handling-note.c: likewise.
1020 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1022 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1024 * hildon-widgets/hildon-color-selector.c
1025 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1026 (hildon_color_selector_expose)
1027 (hildon_color_selector_get_color)
1028 (hildon_color_selector_set_color)
1031 (modify_focused): Separate selected color and focused color.
1032 Focused color now draws a different colored border around it.
1033 Renamed modify_selected() to modify_focused().
1035 * hildon-widgets/hildon-color-selector.c
1036 (hildon_color_selector_expose)
1037 (select_color): Changed the logic in how the box positions are
1038 calculated. The old logic was wrong, but just happened to work
1039 with those specific values.
1041 * hildon-widgets/hildon-color-selector.c
1042 (hildon_color_selector_expose): Draw the selected-border using
1043 ImageBorderColor color instead of hardcoded black.
1046 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1048 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1049 removed current_color; use initial_color directly.
1050 Disabled select-hardkey from activating to OK-button by default.
1053 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1055 * hildon-widgets/hildon-date-editor.c
1056 (hildon_date_editor_keypress): removed the unnecessary check for
1057 the position of the cursor in the text-field which was hindering
1058 the Left key from working as expected.
1061 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1063 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1064 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1066 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1068 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1071 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1073 * hildon-widgets/hildon-font-selection-dialog.c
1074 (hildon_font_selection_dialog_show_preview): set line wrap for
1078 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1080 * hildon-widgets/hildon-date-editor.c
1081 (hildon_child_forall): cast 'container'
1082 (hildon_date_editor_size_allocate): adjusted height allocation.
1085 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1087 Cleanup calendar popup,
1089 * hildon-widgets/hildon-calendar-popup.c:
1090 - updated 'longdesc' comment.
1091 - removed gtk-infoprint.h from included headers (unused).
1093 (struct HildonCalendarPopupPrivate): removed member
1094 'can_exit' (useless).
1095 (hildon_calendar_day_selected): removed (useless).
1096 (hildon_calendar_allow_exit): likewise.
1097 (hildon_calendar_deny_exit): likewise.
1099 (hildon_calendar_selected_date): new function. replaces
1100 hildon_calendar_allow_exit()
1102 (hildon_calendar_popup_init):
1103 - Removed initialization for 'can_exit'.
1104 - Removed connection to removed useless functions.
1105 - Connect "selected_date" to hildon_calendar_selected_date().
1106 - Do not grab the focus (useless)
1108 (hildon_key_pressed): just handle ESC and Return keys.
1110 (hildon_calendar_popup_get_property): removed unused variables.
1113 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1115 * hildon-widgets/hildon-caption.c
1116 * hildon-widgets/hildon-composite-widget.h
1117 * hildon-widgets/hildon-get-password-dialog.c
1118 * hildon-widgets/hildon-grid.h
1119 * hildon-widgets/hildon-grid-item.h
1120 * hildon-widgets/hildon-volumebar-range.c
1121 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1123 (hildon_controlbar_get_type): likewise.
1125 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1127 * doc/hildon-libs.types: Add missing types
1128 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1129 * doc/tmpl/*: Regenerate and add new files
1131 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1134 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1136 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1138 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1139 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1141 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1145 * doc/Makefile.am: Update gtk-doc framework bits
1146 * gtk-doc.make (commit generated file)
1147 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1149 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1150 * hildon-widgets/hildon-code-dialog.c:
1154 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1156 * hildon-widgets/hildon-window.c: propagate key-press event to the
1157 parent class (Closes N#23400)
1158 * configure.ac: 0.12.3
1160 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1162 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1164 * configure.ac: 0.12.2
1167 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1169 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1170 g_assert instead of g_return_val_if_fail
1175 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1177 * hildon-widgets/hildon-get-password-dialog.[ch]:
1178 (hildon_get_password_dialog_set_title) marked deprecated.
1180 + cleanup header coding style
1183 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1185 Cleanup font selection dialog
1187 * hildon-widgets/hildon-font-selection-dialog.c
1189 (hildon_font_selection_dialog_construct_notebook): removed dummy
1192 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1194 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1195 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1197 (toggle_clicked): renamed argument 'data' to 'unused'
1199 (hildon_font_selection_dialog_set_preview_text): added proper
1203 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1205 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1206 removed console messages.
1209 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1211 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1212 (struct _HildonSortDialogPrivate):
1213 - removed okButton, cancelButton
1214 - removed sort_by_value, sort_order_type
1215 - removed index_first
1216 - renamed combo1 to combo_key
1217 - renamed caption1 to caption_key
1218 - renamed combo2 to combo_order
1219 - renamed caption2 to cpation_order
1221 (hildon_sort_dialog_init): removed init of unused fields.
1222 use new field names.
1223 (hildon_sort_dialog_get_sort_key): likewise.
1224 (hildon_sort_dialog_get_sort_order): likewise.
1225 (hildon_sort_dialog_set_sort_key): likewise.
1226 (hildon_sort_dialog_set_sort_order): likewise.
1227 (hildon_sort_dialog_add_sort_key): likewise.
1229 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1231 * hildon-widgets/hildon-date-editor.c
1232 (hildon_child_forall): use g_assert instead of g_return_if_fail
1233 (hildon_date_editor_entry_validate): likewise.
1236 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1238 * hildon-widgets/hildon-controlbar.c
1239 (hildon_controlbar_change_value): commented function.
1241 * hildon-widgets/hildon-wizard-dialog.c
1242 (hildon_wizard_dialog_get_property): likewise.
1245 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1247 Cleanup weekday picker,
1249 * hildon-widgets/hildon-weekday-picker.c
1250 (_): removed unused gettext macro
1251 (button_toggle): use meaningful parameter name
1252 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1253 (hildon_weekday_picker_size_allocate): likewise.
1254 (button_toggle): likewise.
1257 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1259 Cleanup time editor,
1261 * hildon-widgets/hildon-time-editor.c
1262 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1263 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1264 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1265 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1267 (struct _HildonTimeEditorPrivate):
1268 - h_entry, m_entry, s_entry replaced by entries[],
1269 allows to remove a lot of code.
1270 - label renamed to hm_label
1271 - label2 renamed to sec_label
1272 - ampm renamed to ampm_label
1273 - show_s renamed to show_seconds
1274 - removed fields: icon, valid_value, validated
1276 + moved up in the file.
1278 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1280 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1282 (set_widget_allocation): removed
1283 (hildon_time_editor_entry_changed): removed
1285 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1287 (hildon_time_editor_forall): removed unnecessary code
1288 (hildon_time_editor_destroy): likewise.
1290 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1292 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1294 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1295 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1296 use new variable names,
1297 use hildon_time_editor_set_to_current_time
1299 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1300 (hildon_time_editor_set_ticks): use g_assert instead of
1301 g_return_if_fails, use
1302 'entries[]', removed dead code
1304 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1305 (hildon_time_editor_validate): use 'entries[]', removed dead code
1306 (hildon_time_editor_get_max_values): use 'entries[]'
1309 (hildon_time_editor_get_show_seconds): use new variable names
1310 (hildon_time_editor_set_duration_mode): likewise.
1312 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1314 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1316 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1318 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1320 (set_widget_allocation): removed (unused)
1321 (hildon_time_editor_entry_changed): removed (unused)
1323 (IS_VALID_KEYPRESS): new macro
1324 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1325 deleate dead/unnecessary code
1327 use IS_VALID_KEYPRESS
1329 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1331 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1333 (hildon_time_editor_size_allocate): cleanup
1334 (convert_to_12h): cleanup code style
1336 (hildon_time_editor_show_seconds): removed deprecation flag
1337 (hildon_time_editor_enable_duration_mode): likewise.
1340 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1342 Cleanup volume bars,
1344 * hildon-widgets/hildon-volumebar.h: removed unused #include
1345 + coding style cleanup
1347 * hildon-widgets/hildon-volumebar.c
1348 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1350 (hildon_child_forall): use g_assert instead of g_return_if_fail
1352 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1353 + coding style cleanup
1355 * hildon-widgets/hildon-volumebar-private.h:
1356 added missing #include.
1357 added _hildon_volumebar_mute_toggled.
1358 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1362 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1363 + coding style cleanup
1365 * hildon-widgets/hildon-vvolumebar.c
1366 (hildon_vvolumebar_size_request)
1367 (hildon_vvolumebar_size_allocate)
1368 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1370 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1372 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1373 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1374 (vvolumebar_init): renamed to hildon_vvolumebar_init
1375 (hildon_vvolumebar_init): removed unused 'orientation'
1376 initialisation. Use _hildon_volumebar_mute_toggled instead of
1377 removed hildon_vvolumebar_mute.
1381 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1383 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1384 renamed to hildon_hvolumebar_class_init
1386 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1387 hildon_hvolumebar_init
1389 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1392 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1393 removed unused 'orientation' initialisation.
1395 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1396 _hildon_volumebar_mute_toggled instead of removed
1397 hildon_hvolumebar_mute.
1400 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1404 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1405 coding style cleanup
1407 * hildon-widgets/hildon-color-popup.h: likewise.
1409 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1412 * hildon-widgets/hildon-color-selector.c
1413 (hildon_color_selector_new): use g_return_val_if_fail instead of
1415 (select_color): use g_assert instead of g_return_if_fail
1417 * hildon-widgets/hildon-calendar-popup.c
1418 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1422 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1424 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1425 added HildonCodeDialog widget
1428 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1430 * hildon-widgets/hildon-window.c:
1431 - set the toolbar height explicitely
1432 - use show instead of show_all on the common_toolbar
1433 - add the toolbars bottom-up instead of top-down
1434 * hildon-widgets/hildon-program.c:
1435 - don't assume that a window was realized when added to
1439 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1441 Cleanup font selection dialog,
1443 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1444 + coding style cleanup
1446 * hildon-widgets/hildon-font-selection-dialog.c
1447 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1448 instead of g_assert.
1450 * hildon-widgets/hildon-font-selection-dialog.c
1451 (hildon_font_selection_dialog_get_text_tag)
1452 (hildon_font_selection_dialog_set_buffer)
1453 (hildon_font_selection_dialog_get_font)
1454 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1457 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1459 Cleanup range editor,
1461 * hildon-widgets/hildon-range-editor.c
1462 (hildon_range_editor_calss_init):Removed
1463 widget_calss->mnemonic_activate init
1465 * hildon-widgets/hildon-range-editor.c
1466 (hildon_range_editor_mnemonic_activate): Removed static function
1467 hildon_range_mnemonic_activate and FIXME. It is useless even
1468 through it is overriding function for
1469 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1470 focus will be realized based on different applications.
1472 * hildon-widgets/hildon-range-editor.c
1473 (is_valid_keyvalue_for_entry_keypress): new function.
1475 * hildon-widgets/hildon-range-editor.c
1476 (hildon_range_editor_entry_keypress): uses
1477 is_valid_keyvalue_for_entry_keypress
1479 * hildon-widgets/hildon-range-editor.c
1480 (hildon_range_editor_forall): use g_return_if_fail instead of
1483 * hildon-widgets/hildon-range-editor.cvn
1484 (hildon_range_editor_mnemonic_activate): removed. (unused)
1487 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1489 Cleanup hildon-note,
1491 * hildon-widgets/hildon-note.[ch]
1493 (hildon_note_five_line_truncate): removed.
1494 (hildon_note_one_line_truncate): removed.
1496 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1497 instead of _{one|five}_line_truncate() functions.
1500 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1501 into wrapper of "hildon_note_new_information_with_icon_name".
1503 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1504 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1506 - removed some unnessecary includes.
1508 - Merged hildon_note_create & hildon_note_create_form and rewrote
1509 the combination as hildon_note_rebuild
1511 - Added missing g_return_* into public functions.
1513 - Acquire real references to children which are packed/unpacked,
1514 so we do not need to bother about refcounting while changing the
1518 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1522 * hildon-widgets/hildon-number-editor.c
1524 (set_widget_allocation): use const parameter.
1526 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1528 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1529 (hildon_number_editor_set_range): removed 'negative'
1532 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1533 use g_assert instead of g_return_if_fail
1536 * hildon-widgets/hildon-time-picker.c:
1537 - in several places, replace 1440 by 24*60
1538 (PROP_AMPM): removed, unused.
1539 (hildon_time_picker_timeout): use significant parameter name,
1541 (hildon_time_picker_init): removed useless call to _change_time()
1544 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1548 * hildon-widgets/hildon-seekbar.c
1550 (_): Removed dgettext macro definition.
1552 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1554 (hildon_seekbar_finalize): removed. not needed.
1555 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1557 (hildon_seekbar_size_request): indent cleanup.
1559 (hildon_seekbar_size_allocate): simplified function.
1561 (hildon_seekbar_button_press_event): Removed unused variables.
1562 (hildon_seekbar_button_release_event): likewise.
1565 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1567 Cleanup date editor,
1569 * hildon-widgets/hildon-date-editor.c
1571 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1572 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1574 (hildon_date_editor_get_font_width): removed (legacy static
1575 function), use gtk_entry_set_width_chars instead.
1577 (hildon_date_editor_mnemonic_activate): removed mnemonic
1578 activation handler, since it's no more used by HildonCaption.
1581 - Removed some meaningless code (if (somewidget != NULL)) from
1584 - HEAVILY modified key_press, completely removed if/grab_focus
1585 spaghetti by gtk_widget_child_focus
1587 - Removed input validation from keypress (that would not work
1588 anyway, since our input method do not generate presses). => This
1589 allows to change default return value to FALSE and remove all cases
1590 that just returned FALSE for some keys.
1592 - Merged all *_entry_changed callbacks to use the same
1593 function. Again using gtk_widget_child_focus, but now with return
1594 value as well to detect last field.
1596 - Changed that calendar button is no more implemented through
1597 changing widget hierarchy (old implementation caused critical
1598 issues when you used both stylus and hardkeys at the same time to
1599 popup. => finalize method no longer contained anything => removed
1601 - Locale type is no longer needed after initial setup.
1603 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1604 hack from the days of background dimming (it was important to
1605 process background updates before the dimming was done).
1607 - Changed the field order/delimeters to be correcly derived form
1610 - Rewrote validation function, combined it with validation done in
1611 focus_out (since both are now called at the same time).
1613 - Changed set_date function to set all components at one go
1614 without doing any validation there between (before setting each
1619 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1621 Cleanup set-password dialog
1623 * hildon-widgets/hildon-set-password-dialog.[ch]
1624 (hildon_set_password_dialog_set_domain): gchar * param is const
1625 (hildon_set_password_dialog_new_with_default): likewise.
1627 * hildon-widgets/hildon-set-password-dialog.c
1629 (hildon_set_password_set_property): setting 'modify-protection'
1632 (hildon_set_password_get_property): fixed broken 'domain' (missing
1633 break statement!) and 'modify-protection' (was a null operation)
1634 properties; code simplified.
1636 (hildon_set_password_dialog_constructor),
1638 (hildon_set_password_dialog_class_init),
1639 (hildon_set_password_dialog_init):
1640 hildon_set_password_dialog_constructor removed as weird and
1641 obsolete and replaced with new function create_contents; fixed
1642 leaking group variable; removed some unused, outdated code that
1643 was already commented out.
1645 (hildon_set_password_response_change),
1646 (hildon_set_password_response_set): GtkWindow *parent arguments
1647 changed to gpointer unused; cleaned up unnecessary strcmp's
1649 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1650 checkbox). gpointer renamed to be more descriptive; Code simplified
1652 (hildon_set_password_dialog_get_type): empty function argument
1653 list replaced with void keyword.
1655 (hildon_set_password_dialog_new),
1656 (hildon_set_password_dialow_new_with_default): simplified by
1657 having the simpler constructor call the more complex one, not vice
1658 versa; moved callback connects to create_contents since they
1659 depend on the status of 'modify-protection' property
1661 (hildon_set_password_dialog_get_password): type check added
1662 (hildon_set_password_dialog_get_protected): likewise
1663 (hildon_set_password_dialog_set_domain): likewise
1666 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1668 Cleanup name-password dialog:
1670 * hildon-widgets/hildon-name-password-dialog.[ch]
1672 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1673 types changed from *HildonCaption to *GtkEntry
1675 (hildon_name_password_dialog_set_property): layout fixes;
1676 duplicated code replaced with calls to relevant public functions
1678 (hildon_name_password_dialog_get_property): layout fixes;
1679 duplicated code replaced with calls to relevant public functions
1681 (hildon_name_password_dialog_init): fixed leaking group variable;
1682 reworked to have captions as local variables and captioned entries
1683 in the private struct
1685 (hildon_name_password_dialog_new_with_default): name and password
1686 arguments declared const
1688 (hildon_name_password_dialog_get_name): type check added + cleanup
1689 (hildon_name_password_dialog_get_password): likewise.
1691 (hildon_name_password_dialog_set_domain): domain argument declared
1692 const; type check added + cleanup
1695 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1697 Cleanup get-password dialog:
1699 * hildon-widgets/hildon-get-password-dialog.[ch]
1701 (HildonGetPasswordDialogPrivate): gboolean get_old added
1703 (hildon_get_password_set_property): fixed broken 'numbers-only'
1704 and 'max-characters' cases; 'get-old' property added
1706 (hildon_get_password_get_property): added support for reading
1707 'numbers-only' properties; added missing break to 'domain' case.
1708 added 'get-old' property
1710 (hildon_get_password_dialog_class_init): 'domain' and
1711 'numbers-only' properties are now readable; 'get-old' property
1714 (hildon_get_password_dialog_init, create_contents): everything
1715 that depends on the type of the dialog (i.e. 'get-old' property)
1716 is now done in create_contents after properties are initialized;
1717 fixed leaking group variable
1719 (hildon_get_password_dialog_get_type): empty function argument
1720 list replaced with void keyword
1722 (hildon_get_password_dialog_new): moved setting the labels of the
1723 get password dialog to init where it should be done; 'get-old'
1724 property set upon construction to achieve this
1726 (hildon_get_password_dialog_new_with_default): password argument
1729 (hildon_get_password_dialog_get_password): type check added
1730 (hildon_get_password_dialog_set_domain): type check added; domain
1731 argument declared const; duplicate function declaration removed
1733 (hildon_get_password_dialog_set_title): type check added;
1734 new_title argument declared const
1736 (hildon_get_password_dialog_set_caption): type check added;
1737 new_caption argument declared const
1739 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1740 (_invalid_input): gpointer data argument renamed unused
1743 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1745 (*_get_type): declared G_GNUC_CONST
1747 * hildon-widgets/hildon-app.h:
1748 * hildon-widgets/hildon-appview.h:
1749 * hildon-widgets/hildon-calendar-popup.h:
1750 * hildon-widgets/hildon-color-selector.h:
1751 * hildon-widgets/hildon-date-editor.h:
1752 * hildon-widgets/hildon-find-toolbar.h:
1753 * hildon-widgets/hildon-get-password-dialog.h:
1754 * hildon-widgets/hildon-name-password-dialog.h:
1755 * hildon-widgets/hildon-number-editor.h:
1756 * hildon-widgets/hildon-seekbar.h:
1757 * hildon-widgets/hildon-set-password-dialog.h:
1758 * hildon-widgets/hildon-sort-dialog.h:
1759 * hildon-widgets/hildon-time-editor.h:
1760 * hildon-widgets/hildon-weekday-picker.h:
1761 * hildon-widgets/hildon-wizard-dialog.h:
1763 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1767 * hildon-widgets/hildon-volumebar.c
1768 (hildon_volumebar_class_init): object class casts cleaned up
1769 (hildon_child_forall): removed unnecessary variable vbar; type check added
1770 (hildon_volumebar_set_property): removed unnecessary variable vbar
1771 (hildon_volumebar_set_level): type check added
1772 (hildon_volumebar_get_level): type check added
1773 (hildon_volumebar_set_mute): type check added
1774 (hildon_volumebar_get_mute): type check added
1775 (hildon_volumebar_get_adjustment): type check added
1776 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1778 * hildon-widgets/hildon-volumebar.h
1779 (hildon_volumebar_get_type): declared G_GNUC_CONST
1781 * hildon-widgets/hildon-volumebar-private.h:
1782 - G_BEGIN_DECLS/G_END_DECLS added
1783 - ownorientation removed from private struct
1785 * hildon-widgets/hildon-volumebar-range.c
1786 (hildon_volumebar_range_init): vacuous return statement removed
1788 (hildon_volumebar_range_set_level): removed unnecessary clamping
1789 kludge that violated object oriented principles only to provide an
1790 extremely minor, unnecessary optimization; type check added
1792 (hildon_volumebar_range_get_level): now accesses adjustment value
1793 with appropriate functions instead of reading it directly from the
1794 struct, which is bad OOP; type check added
1796 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1797 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1799 * hildon-widgets/hildon-volumebar-range.h
1800 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1802 * hildon-widgets/hildon-hvolumebar.c
1803 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1804 completely removed the gtk_widget_show() call that was already
1807 (hildon_hvolumebar_new): empty function parameter list replaced
1810 (hildon_hvolumebar_map): vbar variable removed; type check added
1811 (hildon_hvolumebar_expose): type check added
1812 (hildon_hvolumebar_size_request): type check added
1813 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1815 * hildon-widgets/hildon-hvolumebar.h
1816 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1818 * hildon-widgets/hildon-vvolumebar.c
1819 (vvolumebar_init): priv->ownorientation and v_ptr removed
1820 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1822 (hildon_vvolumebar_expose): type check added
1823 (hildon_vvolumebar_size_request): type check added
1824 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1826 * hildon-widgets/hildon-vvolumebar.h
1827 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1830 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1832 * hildon-widgets/hildon-weekday-picker.c
1833 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1834 last_index; added day_order_buttons
1836 (hildon_weekday_picker_mnemonic_activate): removed.
1837 mnemonics are no longer used.
1839 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1840 function. Rewritten creation of buttons. Unref'ed size group.
1842 (button_toggle): Removed bit mask checking, simplified function
1844 (hildon_weekday_picker_set_day):
1845 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1846 adjustment, unecessary for loop
1848 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1849 unecessary for loop. Simplified button toggling
1851 (hildon_weekday_picker_set_all):
1852 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1855 (hildon_weekday_picker_isset_day): Removed date adjustment and
1856 unecessary for loop;
1858 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1860 Added hildon-banner, as a clean replacement for gtk-infoprint
1861 * hildon-widgets/hildon-banner.[ch]: implementation and header
1862 * hildon-widgets/Makefile.am: reference new files
1863 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1864 a compatibility wrapper to hildon-banner
1866 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1868 * hildon-widgets/hildon-color-button.c: added comments
1869 * hildon-widgets/hildon-controlbar.c: Likewise.
1870 * hildon-widgets/hildon-composite-widget.c: Likewise.
1871 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1873 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1875 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1878 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1880 * configure.ac: 0.12.1
1882 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1884 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1885 * doc/tmpl/hildon-window.sgml: likewise.
1886 * hildon-widgets/hildon-program.[ch]: likewise.
1887 * hildon-widgets/hildon-window.[ch]: likewise.
1888 * hildon-widgets/hildon-window-private.h: likewise.
1889 * hildon-widgets/Makefile.am: Added these new files to the build
1892 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1894 * configure.ac: 0.12.0
1896 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1898 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1899 * doc/tmpl/hildon-appview.sgml: likewise.
1900 * doc/tmpl/hildon-color-popup.sgml: likewise.
1901 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1902 * doc/tmpl/hildon-app.sgml: likewise.
1903 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1904 * doc/tmpl/hildon-caption.sgml: likewise.
1905 * doc/tmpl/hildon-marshalers.sgml: likewise.
1906 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1907 * doc/tmpl/hildon-defines.sgml: likewise.
1908 * doc/tmpl/gtk-infoprint.sgml: likewise.
1909 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1911 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1912 * hildon-widgets/hildon-app.[ch]:likewise.
1913 * hildon-widgets/hildon-app-private.h:likewise.
1914 * hildon-widgets/hildon-appview.[ch]:likewise.
1915 * hildon-widgets/hildon-caption.[ch]:likewise.
1916 * hildon-widgets/hildon-defines.[ch]:likewise.
1917 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1918 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1920 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1921 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1925 hildon-app-private.h
1929 hildon-find-toolbar.[ch]
1930 hildon-input-mode-hint.h
1932 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1933 path for gtk-infoprint.h and hildon-input-mode-hint.h
1935 * po/en_GB.po: merged msgstr from hildon-lgpl
1937 * timer/*: added from hildon-lgpl
1941 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1943 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1946 * ut/hildon-widgets_tests.c (test41a): removed test case for
1947 hildon_file_details_dialog
1949 * doc/hildon-libs.types: likewise.
1950 * doc/hildon-libs-docs.xml: likewise.
1956 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1959 * Makefile.am (SUBDIRS): added timer/
1961 * configure.ac: do not depend anymore on hildon-lgpl nor
1962 hildon-fm, check for libmb, added Makefile output for timer/
1966 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1968 * configure.ac: 0.10.2
1970 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1972 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1973 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1974 hildon-apps scroll-control property is now handled.
1975 (get_child_index_by_coord): ignores events not matching a grid
1978 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1980 * configure.ac: 0.10.1
1982 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1984 Missing/Buggy documentation from,
1985 N#11566 make password dialog customizable (messages)
1986 * hildon-widgets/hildon-get-password-dialog.c
1987 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1989 * doc/tmpl/xxx.sgml: updated.
1991 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1993 N#19369 TRUE Scketch does not show colour change when using white color
1995 Color button needs inner border white, and outer border black.
1996 * hildon-widgets/hildon-color-button.c
1997 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1999 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
2000 (hildon_color_button_realize): call the above function
2002 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2004 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2005 * hildon-widgets/hildon-note.c:
2006 (hildon_note_new_confirmation_add_buttons): updated doc
2007 (hildon_note_set_button_texts): likewise.
2009 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2011 N#21884 Cannot select read-only by using the center of the scroll key
2012 * hildon-widgets/hildon-file-details-dialog.c
2013 (hildon_file_details_dialog_init): Removed dialog default response.
2015 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2017 N#8094 5-bit color selector: wrong margins and pixel measurements
2018 M#59 HildonColorSelector needs more space
2019 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2020 (hildon_color_popup_new): add space between the control bars and
2021 the color preview area.
2023 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2025 * hildon-widgets/hildon-calendar-popup.c
2026 * hildon-widgets/hildon-color-button.c
2027 * hildon-widgets/hildon-color-popup.c
2028 * hildon-widgets/hildon-color-selector.c
2029 * hildon-widgets/hildon-composite-widget.c
2030 * hildon-widgets/hildon-controlbar.c
2031 * hildon-widgets/hildon-date-editor.c
2032 * hildon-widgets/hildon-dialoghelp.c
2033 * hildon-widgets/hildon-file-details-dialog.c
2034 * hildon-widgets/hildon-font-selection-dialog.c
2035 * hildon-widgets/hildon-get-password-dialog.c
2036 * hildon-widgets/hildon-grid-item.c
2037 * hildon-widgets/hildon-grid.c
2038 * hildon-widgets/hildon-hvolumebar.c
2039 * hildon-widgets/hildon-name-password-dialog.c
2040 * hildon-widgets/hildon-note.c
2041 * hildon-widgets/hildon-number-editor.c
2042 * hildon-widgets/hildon-range-editor.c
2043 * hildon-widgets/hildon-scroll-area.c
2044 * hildon-widgets/hildon-seekbar.c
2045 * hildon-widgets/hildon-set-password-dialog.c
2046 * hildon-widgets/hildon-sort-dialog.c
2047 * hildon-widgets/hildon-time-editor.c
2048 * hildon-widgets/hildon-time-picker.c
2049 * hildon-widgets/hildon-volumebar-private.h
2050 * hildon-widgets/hildon-volumebar-range.c
2051 * hildon-widgets/hildon-volumebar.c
2052 * hildon-widgets/hildon-vvolumebar.c
2053 * hildon-widgets/hildon-weekday-picker.c
2054 * hildon-widgets/hildon-wizard-dialog.c
2057 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2059 * configure.ac: 0.10.0
2061 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2063 Some more properties for Gazpacho support,
2065 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2066 * hildon-widgets/hildon-color-selector.c: "color"
2069 * hildon-widgets/hildon-color-selector.[ch]
2070 (hildon_color_selector_get_color): return const pointer to the
2073 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2076 Gazpacho support, added the following properties:
2078 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2079 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2080 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2081 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2082 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2083 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2084 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2085 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2086 * hildon-widgets/hildon-number-editor.c: "value"
2088 * hildon-widgets/hildon-color-button.c: minor cleanup
2091 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2093 Started new development
2094 (branche for maintenance continues with versions 0.9.x)
2096 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2098 * configure.ac: 0.9.53
2100 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2103 N#19283 Control panel - The values entered are not saved.
2104 N#19648 Hildon Date Editor widget detects values too high
2105 (note: complete fix include also fixes in GTk+)
2107 * hildon-widgets/hildon-calendar-popup.c
2108 (hildon_calendar_popup_set_property),
2109 (hildon_calendar_popup_class_init),
2110 (init_dmy): Added 'min-year', 'max-year' properties for passing
2111 the information through from HildonDateEditor to GtkCalendar
2113 * hildon-widgets/hildon-date-editor.c:
2114 (hildon_date_editor_class_init),
2115 (hildon_date_editor_init),
2116 (hildon_date_editor_set_property),
2117 (hildon_date_editor_get_property),
2119 (hildon_date_editor_entry_validate),
2120 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2121 properties and replaced hardcoded constants with them
2123 * hildon-widgets/hildon-date-editor.c
2124 (hildon_date_editor_d_entry_changed),
2125 (hildon_date_editor_m_entry_changed),
2126 (hildon_date_editor_d_entry_changed): new functions to ensure that
2127 the fields are validated and the focus is moved when maximum
2128 number of characters has been entered.
2130 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2132 * configure.ac: 0.9.52
2134 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2136 N#19140 System alerts still audible despite being turned off
2138 * hildon-widgets/hildon-note.c (sound_handling):
2140 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2142 * hildon-note.c (sound_handling): Changed to use new
2143 hildon_play_system_sound.
2144 (hildon_note_init): Signal handler id is changed to be in private
2145 structure, not in global variable.
2147 * hildon-note.c: Removed unused defines etc.
2149 * Makefile.am: Appended new files to build rules.
2151 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2153 * configure.ac: 0.9.51
2155 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2157 N#20027 PDF Reader crashes on selecting read only option in the
2160 * hildon-widgets/hildon-file-details-dialog.c:
2161 (change_state): Fixed assertion that was causing problems
2162 (check_validity): New function: We now automatically close the
2163 dialog if the displayed file is removed.
2164 (handle_focus): Callback removed:
2165 (init): Now using correct gtk way to bind container and adjustment
2166 together. Not the previous callback.
2167 (set_property): Connecting/disconnecting new handlers (for
2169 (finalize): disconnecting new handler.
2171 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2173 N#17918 Volumebar widget background image doesn't change when
2174 widget goes into mute state,
2176 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2179 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2180 using the state of the internal volumebar, not the whole container
2182 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2183 using the state of the internal volumebar, not the whole container
2185 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2187 * hildon-widgets/hildon-dialoghelp.[ch]: added
2188 gtk_dialog_help_disable and fixed bug N#19468
2190 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2192 * configure.ac: Release 0.9.50
2194 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2198 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2200 * hildon-widgets/hildon-grid.c
2201 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2202 label by logical name "Ckct_wi_grid_no_items"
2205 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2207 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2209 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2211 * configure.ac: Release 0.9.49
2213 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2215 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2216 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2217 Save the id of the idle callback and remove it when the widget is
2218 destroyed to avoid crashing. N#18096
2220 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2222 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2223 id's are unsigned and undefined at zero (instead of signed and -1)
2225 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2227 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2228 that was not working. N#16805
2230 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2232 * configure.ac: Release 0.9.48
2234 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2236 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2237 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2238 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2240 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2242 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2243 Do not override the week-start property of GtkCalendar according to
2244 the hildon-libs PO file, it is automatically determined from locale
2247 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2249 * configure.ac: Release 0.9.47
2251 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2253 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2254 property for setting the password entry accept only numeric values.
2257 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2259 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2260 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2261 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2262 Use defines rather than magic numbers in the code.
2264 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2266 Update to new l10n packaging style. po-files (inside this package)
2267 are not used for now, the message catalogs come from separate packages
2268 and including them here would conflict.
2270 * Makefile.am (SUBDIRS): stop including po-files
2271 * Makefile.am (EXTRA_DIST):
2272 * debian/hildon-libs-l10n-engb.install:
2273 * debian/hildon-libs-l10n-src.install:
2274 * po/debian/*: Removed
2276 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2278 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2279 checks to cover gateway content as well.
2281 * hildon-widgets/hildon-time-editor.c:
2282 (hildon_time_editor_validate): Replace solid numbers with defined
2284 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2287 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2289 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2290 invalid cast from `GdkWindow' to `GtkWindow'
2292 * hildon-widgets/hildon-color-popup.c
2293 (hildon_popup_palette_expose): removed debug printing
2295 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2297 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2300 * hildon-widgets/hildon-scroll-area.c
2301 (hildon_scroll_area_destroy): one-instruction function:
2302 removed. Call g_free directly.
2304 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2305 right edge of window, size of the child is also shrinked. 'fixed'
2306 does not automatically update this data -> Doing it manually.
2308 * hildon-widgets/hildon-date-editor.h: added
2309 HildonDateEditorErrorType error enumeration type, removed signal
2310 "validate-date" virtual function, added signal "date-error"
2313 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2314 added custom info prints.
2315 (hildon_date_editor_validate_date): removed
2316 (hildon_date_editor_entry_validate): validate maximum and minimum
2317 limits on each field.
2318 (hildon_date_editor_entry_focus_out): check the date validation
2319 in simpler manner, don't put content if field is empty (spec
2320 doesn't say if there should be anything placed in the entry if
2322 (hildon_date_editor_get_date),
2323 (hildon_date_editor_get_month),
2324 (hildon_date_editor_get_year),
2325 (hildon_date_editor_get_day): use direct entry content, so that 0
2326 indicates empty entry, and information is more accurate.
2328 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2330 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2332 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2333 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2335 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2337 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2339 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2341 * hildon-widgets/hildon-number-editor.c:
2342 (hildon_number_editor_select_all): new function, selects all
2343 the text in the entry.
2344 * hildon-widgets/hildon-number-editor.c: added several calls to
2345 hildon_number_editor_select_all with g_idle_add.
2347 * hildon-controlbar.c : add signal when end reached
2349 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2351 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2353 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2355 Fixed incorrect values in <Filetype> Details Dialog
2357 Fixed help button usage in dialogs
2359 * hildon-dialoghelp.c: Added more documentation about the
2362 * hildon-file-details-dialog.c: Updated to match
2363 'File Management in OSSO' version 3.0
2365 * Fixed application hang after calling gtk_main_quit
2367 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2368 ESC presses needlessly
2370 * hildon-time-editor.c: Fixed memory corruption