1 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
3 From Murray Cumming <murrayc@murrayc.com>, M#183.
5 * hildon-widgets/hildon-calendar-popup.c:
6 (hildon_calendar_popup_new): Use only g_object_new(), passing
7 it properties, so that language bindings can do the same.
8 (hildon_calendar_popup_set_date): Veryify the date here,
9 instead of only in the _new() function.
10 (hildon_calendar_popup_set_property): Use get/set_date() to
11 verify the new date and to select it.
12 (hildon_calendar_popup_get_property): Remove unused variables.
13 * ut/hildon-widgets_tests.c (test45): New.
15 * hildon-widgets/hildon-add-home-dialog.c:
16 (hildon_add_home_dialog_new): Move code into
17 hildon_add_home_dialog_init(),
18 hildon_add_home_dialog_set_old_name(), and
19 hildon_add_home_dialog_set_new_name(). Supply parameters as
20 properties values to g_object_new() instead, so that language
21 bindings can do the same.
22 (hildon_add_home_dialog_class_init): Added name and new_name
24 (hildon_add_home_dialog_init): Create always-needed widgets.
25 (hildon_add_home_dialog_get_property),
26 (hildon_add_home_dialog_set_property): Get/Set the name and
27 new_name properties, recreating widgets if necessary, using new
28 static helper function.
29 * ut/hildon-widgets_tests.c (test46): New.
31 * hildon-widgets/hildon-grid-item.c
32 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
33 (hildon_grid_item_class_init): Add icon-basename property.
34 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
35 from here to hildon_grid_item_init(), so we can just call
37 (hildon_grid_item_set_label): Convert NULL label to empty string.
38 Bug fix: don't cast the label widget to a string and compare it
39 against the new label text, use gtk_label_get_label instead.
40 Expect priv->label to always be non-NULL.
41 (update_icon): Don't pass NULL icon name to
42 gtk_icon_theme_load_icon, use default icon instead in that case.
43 * hildon-widgets/hildon-grid-item.h: Make
44 _hildon_grid_item_set_label into public
45 hildon_grid_item_set_label(), so that language bindings can use
47 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
48 (test33a2, test33b4, test33b4): Expect them to succeed now that a
49 HildonGridItem can handle NULL icons.
51 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
53 * configure.ac: 0.12.11
56 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
58 * thread safety (N#24348), fixed timeout and idle callbacks :
59 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
60 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
61 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
62 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
63 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
64 hildon-widgets/hildon-time-editor.c : highlight_callback()
65 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
67 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
69 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
70 correct state for fullscreen, fixes N#26611
72 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
75 * hildon-widgets/hildon-window.c:
76 - hildon_window_toggle_menu now returns whether or not something was
78 - hildon_window_key_press_event(): when handling the menu hard key,
79 return TRUE if we actually handled it
80 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
81 now returns if something was done
82 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
83 if we actually handled the menu hard key.
85 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
87 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
90 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
92 * configure.ac: 0.12.10
95 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
97 * doc/hildon-libs-docs.sgml: added index for new symbols.
100 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
102 * doc/Makefile.am (version.xml): generates version.xml
103 * doc/hildon-libs-docs.sgml: added &version; entity, and display
104 the version number in the doc title.
107 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
109 Minor changes for gtk-doc
111 * hildon-weekday-picker.h
112 * hildon-name-password-dialog.c
113 * hildon-calendar-popup.h
114 * hildon-range-editor.h
115 * hildon-volumebar-range.h
118 * hildon-time-editor.c
120 * hildon-date-editor.h
123 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
125 * hildon-widgets/hildon-time-editor.c
126 (hildon_time_editor_set_show_hours)
127 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
130 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
133 * hildon-widgets/hildon-time-editor.c
134 (hildon_time_editor_entry_keypress): use
135 hildon_gtk_button_set_depressed, provided by osso-GTK, since
136 2.6.10-1.osso4, instead of GTK private symbol
137 _gtk_button_set_depressed
140 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
142 From Murray Cummings (M#185 M#283), with slight changes:
144 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
145 can disable the regeneration of hildon-libs-enum-types.[h|c], also
146 based on the gnome-vfs build.
148 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
149 hildon-libs-enum-types.[h|c], and build them, based on the
150 gnome-vfs build. This adds GTypes for the enums, needed for
151 accurate signal registration, needed by bindings.
153 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
154 default signal handler to range_error, so it has the same name as
155 the signal, as expected by bindings.
157 * hildon-widgets/hildon-marshalers.list: Change to the now-used
160 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
161 since hildon_note_type_get_type is defined manually and
162 glib-mkenums should ignore this enum.
164 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
165 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
167 Correct the signal registration for:
169 * hildon-widgets/hildon-app.c
170 (hildon_app_class_init):
176 * hildon-widgets/hildon-date-editor.c
177 (hildon_date_editor_class_init):
180 * hildon-widgets/hildon-find-toolbar.c
181 (hildon_find_toolbar_class_init):
185 "history_append signals"
187 * hildon-widgets/hildon-grid.c
188 (hildon_grid_class_init):
191 * hildon-widgets/hildon-number-editor.c
192 (hildon_number_editor_class_init):
196 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
198 M#90 - Use standard GLib macro names.
199 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
201 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
202 * hildon-widgets/hildon-calendar-popup.h:
203 * hildon-widgets/hildon-date-editor.h:
204 * hildon-widgets/hildon-range-editor.h:
205 * hildon-widgets/hildon-weekday-picker.h:
206 * hildon-widgets/hildon-volumebar-range.h:
209 * hildon-widgets/hildon-calendar-popup.c:
210 * hildon-widgets/hildon-date-editor.c:
211 * hildon-widgets/hildon-range-editor.c:
212 * hildon-widgets/hildon-volumebar-range.c:
213 * hildon-widgets/hildon-weekday-picker.c:
216 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
218 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
219 for Ok and Cancel buttons.
221 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
223 * configure.ac: 0.12.9
225 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
227 * hildon-widgets/hildon-color-button.c
228 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
232 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
234 * hildon-widgets/hildon-time-editor.c
235 (convert_to_12h): removed m and s paramters (useless)
236 (convert_to_24h): likewise.
239 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
241 Automatic focus movement for HildonTimeEditor (IMP-13)
243 * hildon-widgets/hildon-time-editor.c
244 (hildon_time_editor_init): connect after signal "insert_text"
245 (hildon_time_editor_inserted_text): new function.
246 On inserted text, if entry has two digits, jumps to the next field.
249 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
251 Pops up the color selector on 'select' hardkey (IMP-15)
253 * hildon-widgets/hildon-color-button.c
254 (hildon_color_button_init): connect "key-release-event"
255 (hildon_color_button_key_released): new function.
256 Pops up the color selector on 'select' hardkey release
259 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
261 Hildon grid, set items to be focus-and-activate instead of single
262 tap activation (IMP-14)
264 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
265 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
268 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
270 Fetch hours/minutes/seconds separators from current locale (IMP-8)
273 * hildon-widgets/hildon-time-editor.c
274 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
275 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
276 (hildon_time_editor_finalize): free separator symbols
277 (get_time_separators): new function. Get time separators from locale.
278 (hildon_time_editor_check_locale): call get_time_separators.
280 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
282 Removed icon for mandatory fields (IMP-3).
283 Note: the logic and API to specify mandatory fields is preserved.
285 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
286 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
287 (hildon_caption_set_property): case PROP_STATUS, removed related code.
288 (hildon_caption_set_label_alignment): removed related code.
291 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
293 * configure.ac: 0.12.8
295 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
297 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
300 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
302 - Added support for Pango markup
303 Added hildon_banner_show_information_with_markup
304 - Removed hildon_banner_show_confirmation
305 - Re-position the banner when its content changes
306 - Banner now doesn't truncate strings nor insert linebreaks
307 - fixes N#24339 - Information banners do not resize
309 * hildon-widgets/hildon-banner.[ch]
310 (hildon_banner_show_information_with_markup): new function. Adds
311 pango markup support for information banners.
313 (hildon_banner_show_confirmation): removed. 'confirmation' was
314 used only for the taask navigator (at most). It should use
315 _show_information_with_markup with appropriate markup.
317 (hildon_banner_set_markup): new function.
319 (hildon_banner_check_position): new function. Factor code from
320 hildon_banner_realize(), and update position calculation.
322 (struct _HildonBannerPrivate): removed max_lines.
323 Uses as much lines as needed.
325 (hildon_banner_init): set banner label to wrap lines.
327 (hildon_banner_set_text): do not truncate. Update banner's position.
329 (hildon_banner_set_markup): new function.
330 Set banner's text with Pango markup.
332 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
335 * hildon-widgets/gtk-infoprint.c
336 (gtk_confirmation_banner): use hildon_banner_show_information
337 instead of _show_confirmation.
338 (gtk_confirmation_banner_with_icon_name): likewise.
341 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
343 * hildon-widgets/hildon-color-button.c
344 (hildon_color_field_expose_event): correct parameter order.
347 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
349 * hildon-widgets/hildon-window.c:
350 - Fixed a potential infinite loop when detaching the menus
351 from the window widget (Closes N#26033)
353 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
355 * hildon-widgets/hildon-window.c:
356 - Fixed a bug that made window fullscreen state tracking fail
357 - Apply correct theming to menus so that they get placed
358 correctly (Fixes N#24325)
359 - Redraw the window borders if the size of the toolbar vbox changes
360 - Reset the program to NULL in hildon_window_destroy
361 - Stop the ESC key-press timeout when the window loses the focus
363 * hildon-widgets/hildon-program.c:
364 - Reset the common toolbar to NULL when the program is finalised
366 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
368 * hildon-widgets/hildon-get-password-dialog.h,
369 hildon-widgets/hildon-get-password-dialog.c
370 (hildon_get_password_dialog_new,
371 hildon_get_password_dialog_new_with_default): Renamed
372 get_old_password_title parameter to "get_old" to correspond with
373 the property name. This helps the C++ bindings.
374 * ut/hildon-widgets_tests.c (test43, test44): New.
376 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
378 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
379 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
384 * hildon-lgpl/hildon-caption.c:
385 (hildon_caption_init): Do the hildon_caption_set_child_expand()
387 (hildon_caption_new): Use the child property from GtkContainer
388 instead of calling gtk_container_add(), because _new() functions
389 should just use g_object_new(), so that language-bindings can do
392 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
394 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
396 * configure.ac: 0.12.7
398 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
401 * hildon-widgets/hildon-font-selection-dialog.c
402 (REFERENCE_LINE): removed
403 (hildon_font_selection_dialog_show_preview): added l10n support
404 for the reference string (use to differentiate sub/super script in
406 (hildon_font_selection_dialog_show_preview): likewise
409 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
411 * po/en_GB.po: update
413 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
415 * hildon-widgets/hildon-add-home-dialog.c
416 (hildon_add_home_dialog_init): removed i18n support (deprecated
417 widget. Hinder logical ID processing)
418 (hildon_add_home_dialog_new): likewise.
420 * hildon-widgets/hildon-insert-object-dialog.c
421 (hildon_insert_object_dialog_init): likewise.
424 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
426 * hildon-widgets/hildon-font-selection-dialog.c
427 (hildon_font_selection_dialog_construct_notebook): logical ID typo
430 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
432 * hildon-widgets/hildon-window.[ch]:
433 - update the title when the window is realized
434 - added support for long press on the ESC key. Fixes N#24620
436 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
438 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
440 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
442 * hildon-widgets/hildon-seekbar.c
443 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
445 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
447 * configure.ac: 0.12.6
449 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
451 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
452 fixed typo GKD_Left -> GDK_Left, N#24042
455 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
461 Updated logical id to lower case: Ckct_ -> ckct_
462 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
463 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
464 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
465 (hildon_range_editor_init, hildon_range_editor_entry_validate)
466 (hildon_range_editor_entry_validate):
467 * hildon-widgets/hildon-time-editor.c (validated_conversion)
468 (validated_conversion, hildon_time_editor_real_validate):
469 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
473 Updated logical id to lower case: Ecdg_ -> ecdg_
474 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
475 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
476 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
477 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
478 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
479 (hildon_wizard_dialog_create_title):
480 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
481 (hildon_find_toolbar_init):
482 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
483 (hildon_note_rebuild, hildon_note_set_button_text):
486 Removed i18n support for property description,
487 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
490 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
492 * configure.ac: 0.12.5
494 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
496 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
497 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
500 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
502 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
505 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
507 Cleanup wizard dialog,
509 * hildon-widgets/hildon-wizard-dialog.c
510 (struct HildonWizardDialogPrivate): removed 'previous_button'
511 and 'next_button' (obsolete)
513 (hildon_wizard_dialog_response): new private function. Handles the
514 'response' signal and replaces direction_button_clicked() in
515 taking care of notebook page changes and button dimming.
517 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
518 added to the dialog as response buttons. This enables the usage of
519 GtkDialog API for setting their sensitiveness.
521 (dimming/undimming): Connected hildon_wizard_dialog_response to
522 "resonse" signal. Removed useless title creation because it
523 depends on the notebook which is not yet created.
525 (hildon_wizard_dialog_set_property): minor code cleanup
527 (hildon_wizard_dialog_create_title): removed useless else-if
530 * hildon-widgets/hildon-wizard-dialog.h
531 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
534 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
535 adding the page_change signal, as the application can now track
536 the response signal instead.
539 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
541 * configure.ac: 0.12.4
544 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
548 moved widget descriptions to respective source file (*.c)
552 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
556 * hildon-widgets/hildon-color-button.c:
557 - removed unused #include
558 - removed unused gettext macro
560 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
561 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
562 + value updated to match specifications
564 (struct _HildonColorButtonPrivate):
565 removed 'drawing_area' and 'pixbuf' members (unused)
567 (hildon_color_button_init):
568 use drawing_area directly, update COLOR_FILLED_ macro names
570 (hildon_color_button_unrealize): new function.
571 (hildon_color_button_class_init): register unrealize function
572 (hildon_color_button_finalize): free allocated GC in unrealize
573 handler instead of in finalize.
575 (hildon_color_button_recolor_pixbuf): removed. (use
576 gdk_draw_rectangle() instead)
577 (hildon_color_button_draw_pixbuf_borders): likewise
579 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
581 (hildon_color_button_set_property): queue the drawing - instead of
582 calling recolor_pixbuf
584 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
587 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
589 More cleanup for range editor,
591 * hildon-widgets/hildon-range-editor.[ch]
592 - removed useless includes
593 (hildon_range_editor_new_with_separator): set char parameter 'const'
595 * hildon-widgets/hildon-range-editor.c
596 - removed useless includes
597 - rewritten a lot of functions because code was inefficient.
598 - removed useless g_return_if_fail calls from various functions.
600 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
601 (hildon_range_editor_entry_keypress): rewritten
602 (hildon_range_editor_entry_focus_out): rewritten
603 (hildon_range_editor_refresh_widths): New function
604 (hildon_range_editor_set_range): Make sure that the values are in
606 (hildon_range_editor_set_lower): rewritten.
607 (hildon_range_editor_set_higher): rewritten.
608 (hildon_range_editor_set_min): rewritten.
609 (hildon_range_editor_set_max): rewritten.
611 (hildon_range_editor_entry_validate): New validator function
612 (hildon_range_editor_entry_changed): New signal handler for
613 "changed" for entries, this will now validate whenever entry changes.
615 (hildon_range_editor_entry_focus_out): Added g_assert for
616 editor. Removed call to hildon_range_editor_apply_current_range().
617 Added call to the new function hildon_range_editor_entry_validate()
620 (hildon_range_editor_init): connected
621 hildon_range_editor_entry_changed to "changed" for entries.
624 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
626 Major cleanup for time editor
628 * hildon-widgets/hildon-time-editor.c
629 - removed unused #includes.
630 - Removed useless g_return_if_fail(editor) calls
631 (HILDON_IS_TIME_EDITOR does this check as well for us).
633 (hildon_time_editor_add_style): removed, obsolete.
634 (hildon_time_editor_mnemonic_activate): removed, obsolete
635 (hildon_time_editor_get_max_values): removed, obsolete.
637 (validated_conversion): New helper function
639 (hildon_time_editor_entry_changed): New function, now the widget
640 interactively validates the inputted contents (not requiring focus
643 (ticks_to_time): rewritten, using less arithmetic operations.
644 (hildon_time_editor_validate): rewritten
645 (hildon_time_editor_set_ticks): rewritten
646 (hildon_time_editor_set_duration_mode): rewritten
647 (hildon_time_editor_entry_keypress): rewritten
649 * hildon-widgets/hildon-time-editor.[ch]
650 (hildon_time_editor_set_show_hours)
651 (hildon_time_editor_get_show_hours) new functions to show/hide hours
654 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
656 Cleanup number editor
658 * hildon-widgets/hildon-number-editor.c:
659 (SPACE_BORDER): removed
661 (hildon_number_editor_size_request):
662 (hildon_number_editor_size_allocate): updated to use hildondefines
664 (hildon_number_editor_mnemonic_activate): function removed,
665 mnemonic are not used
667 (hildon_number_editor_stop_repeat_timer): new function, to avoid
669 (hildon_number_editor_button_release):
670 (hildon_number_editor_finalize): updated to use new function
672 (hildon_number_editor_entry_keypress): completely rewritten
673 (change_numbers): likewise
674 (do_mouse_timeout): likewise
675 (hildon_number_editor_set_range): likewise
677 (hildon_number_editor_validate_value): new function, used for all
679 (hildon_number_editor_focus_out):
680 (hildon_number_editor_entry_changed): updated to use previous.
682 (hildon_number_editor_real_set_value): new function that formats
683 given int to field. Used by change_numbers and set_value
685 (integer_to_string): removed, we now have one place that
686 converts numbers and that uses buffer from stack.
687 (hildon_number_editor_set_value): changed to use new format function.
690 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
692 * hildon-widgets/hildon-time-picker.c:
693 reorganized how the widgets are stored to reduce code
694 (HildonTimePickerWidgetGroup): new struct
695 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
696 (hildon_time_picker_init)
697 (hildon_time_picker_arrow_press)
698 (hildon_time_picker_event_box_key_press)
699 (hildon_time_picker_change_time)
700 (hildon_time_picker_map)
701 (hildon_time_picker_event_box_key_release): use new widget organization
704 (hildon_time_picker_init): return value from nl_timeinfo() is
705 valid only until it's called again, so g_strdup() the value when
708 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
709 (HILDON_TIME_PICKER_LABEL_X_PADDING)
710 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
711 (hildon_time_picker_set_time):
712 (hildon_time_picker_get_time):
713 (hildon_time_picker_ampm_release): used the new defines
715 (struct _HildonTimePickerPrivate)
716 (hildon_time_picker_init)
717 (hildon_time_picker_event_box_key_press)
718 (hildon_time_picker_change_time):
719 - c12h renamed to show_ampm,
720 - ampo_pos renamed to ampm_left.
722 (hildon_time_picker_timeout): renamed to
723 hildon_time_picker_key_repeat_timeout(),
724 and renamed parameter to 'hildon_time_picker'
726 (hildon_time_picker_event_box_press): renamed to
727 hildon_time_picker_event_box_button_press()
729 (hildon_time_picker_finalize): Added finalizer to make sure the
730 key repeat timeout handler gets removed.
732 (hildon_time_picker_arrow_press): Placed multipliers into
733 button_multipliers[] array to avoid multiple if/then/else
737 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
739 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
740 calculates correctly which items will be visible. Fixes N#16991.
743 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
745 * hildon-widgets/hildon-find-toolbar.c
746 (hildon_find_toolbar_history_append): set "column" property only
747 after model has been set.
750 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
752 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
753 the parameter more descriptively
756 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
760 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
762 * hildon-widgets/hildon-app.[ch]
763 (hildon_zoom_level_get_type): removed G_CONST_RETURN
765 * hildon-widgets/hildon-app.c:
766 - removed HILDON_DISABLE_DEPRECATED flags
767 - added g_assert'ions to internal functions
770 (hildon_app_button): Move the fixed define to the function itself,
771 add simple autodetection, clean up comments.
773 (hildon_app_key_release): Remove bogus argument to signal emission
774 (not needed), emit the "fullscreen_state_change" directly instead
775 of calling set_fullscreen.
777 (hildon_app_construct_title): removed dead code
779 (hildon_app_register_view_with_id): do not call g_slist_nth() to
780 get the first element...
783 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
785 * hildon-widgets/hildon-appview.c:
786 (hildon_appview_init): indented comments properly
787 (paint_toolbar): indented comments properly
788 (hildon_appview_expose): indented code properly
789 (hildon_appview_toolbar_toggle_request): removed dead code
792 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
794 * hildon-widgets/hildon-caption.c
795 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
796 (hildon_caption_size_allocate): likewise.
797 (hildon_caption_forall): likewise.
800 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
802 Cleanup Find toolbar,
804 * hildon-widgets/hildon-find-toolbar.[ch]
805 (hildon_find_toolbar_new): set 'label' parameter const.
806 (hildon_find_toolbar_new_with_model): likewise.
808 * hildon-widgets/hildon-find-toolbar.c
809 (struct _HildonFindToolbarPrivate):
810 changed entry_combo_box type to GtkComboBoxEntry*
812 (hildon_find_toolbar_get_list_model): new function, to factor
813 member access and casting
814 (hildon_find_toolbar_get_entry): likewise.
815 (hildon_find_toolbar_apply_filter): removed set_column parameter
816 since it was used by only one caller, and made the caller do it
817 instead. Removed unnecessary casts.
819 (hildon_find_toolbar_find_string): new function.
820 (hildon_find_toolbar_history_append): code cleanup. use
821 hildon_find_toolbar_find_string.
823 (hildon_find_toolbar_get_property)
824 (hildon_find_toolbar_get_entry)
825 (hildon_find_toolbar_init)
826 (hildon_find_toolbar_new)
827 (hildon_find_toolbar_new_with_model)
828 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
829 and changed some of them to use the new convenience functions
832 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
833 instead of if-check to validate parameter.
836 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
838 Cleanup hildon-defines,
840 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
841 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
843 (hildon_logical_data_free): new function. Free logical data.
844 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
845 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
847 * hildon-widgets/hildon-defines.[ch]
848 (hildon_gtk_widget_set_logical_font): use const gchar*
849 (hildon_gtk_widget_set_logical_color): likewise.
851 * hildon-widgets/hildon-defines.c:
852 (hildoniconsizes): set const
853 (hildoninternaliconsizes): set static, renamed 'iis'
856 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
858 Cleanup Caption widget,
860 * hildon-lgpl/hildon-caption.[ch]
861 (hildon_caption_status_get_type, hildon_caption_get_type):
862 G_CONST_RETURN removed, G_GNUC_CONST added
864 * hildon-widgets/hildon-caption.c
866 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
868 (hildon_caption_set_property): removed useless code.
869 (hildon_caption_button_press): simplified greatly by removing the
870 unnecessary recursion to locate the first focusable child of a
871 container - simple gtk_widget_grab_focus achieves the same
872 (get_first_focusable_child): removed (not used anymore)
874 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
876 (hildon_caption_set_focus_child): removed (not used anymore)
877 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
879 (hildon_caption_hierarchy_changed): type check added
880 (hildon_caption_forall): callback null check added
881 (hildon_caption_set_status): type check added
882 (hildon_caption_set_icon_image): type check added
883 (hildon_caption_activate): activate_block kludge removed as outdated
884 (hildon_caption_get_child_expand): argument declared const
885 (hildon_caption_set_label_text): g_return_if_fail changed to
886 g_assert since this is not a public function;
887 Duplicate separator check now uses correct localized separator
888 instead of assuming ':'
891 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
895 * hildon-lgpl/hildon-appview-c:
896 (hildon_app_view_init): Fixed a problem that prevented to set an
897 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
898 between toolbars). This fix involves a change in the default gtkrc
899 file, ie. the modification of the 'border' value of the
900 "toolbar-frame-middle" image in the osso-appview-background style.
902 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
903 widget supporting adjustements, not only viewports.
905 (visible_toolbar): use proper parameter names
906 (find_findtoolbar_index): likewise.
907 (find_findtoolbar): likewise.
909 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
910 (hildon_appview_finalize): likewise.
911 (hildon_appview_signal_marshal): likewise.
912 (hildon_appview_forall): likewise.
913 (hildon_appview_switched_to): likewise.
914 (hildon_appview_real_fullscreen_state_change): likewise.
917 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
919 * hildon-widgets/hildon-date-editor.c
920 (hildon_date_editor_entry_validate): Now, if an invalid date is
921 entered, date-editor reverts to previous date, instead of setting
922 the maximum allowed days.
925 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
927 * hildon-widgets/hildon-date-editor.h
928 (enum HildonDateEditorErrorType): added NO_ERROR entry.
930 * hildon-widgets/hildon-date-editor.c
931 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
932 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
935 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
937 * hildon-widgets/hildon-get-password-dialog.c:
938 (hildon_get_password_dialog_set_title): Removed the deprecation
939 #ifdefs from the .c file.
941 * hildon-widgets/hildon-file-handling-note.c: likewise.
945 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
947 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
949 * hildon-widgets/hildon-color-selector.c
950 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
951 (hildon_color_selector_expose)
952 (hildon_color_selector_get_color)
953 (hildon_color_selector_set_color)
956 (modify_focused): Separate selected color and focused color.
957 Focused color now draws a different colored border around it.
958 Renamed modify_selected() to modify_focused().
960 * hildon-widgets/hildon-color-selector.c
961 (hildon_color_selector_expose)
962 (select_color): Changed the logic in how the box positions are
963 calculated. The old logic was wrong, but just happened to work
964 with those specific values.
966 * hildon-widgets/hildon-color-selector.c
967 (hildon_color_selector_expose): Draw the selected-border using
968 ImageBorderColor color instead of hardcoded black.
971 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
973 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
974 removed current_color; use initial_color directly.
975 Disabled select-hardkey from activating to OK-button by default.
978 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
980 * hildon-widgets/hildon-date-editor.c
981 (hildon_date_editor_keypress): removed the unnecessary check for
982 the position of the cursor in the text-field which was hindering
983 the Left key from working as expected.
986 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
988 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
989 after setting the toggle_button active. Prevents GLIB_CRITICALs.
991 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
993 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
996 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
998 * hildon-widgets/hildon-font-selection-dialog.c
999 (hildon_font_selection_dialog_show_preview): set line wrap for
1003 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1005 * hildon-widgets/hildon-date-editor.c
1006 (hildon_child_forall): cast 'container'
1007 (hildon_date_editor_size_allocate): adjusted height allocation.
1010 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1012 Cleanup calendar popup,
1014 * hildon-widgets/hildon-calendar-popup.c:
1015 - updated 'longdesc' comment.
1016 - removed gtk-infoprint.h from included headers (unused).
1018 (struct HildonCalendarPopupPrivate): removed member
1019 'can_exit' (useless).
1020 (hildon_calendar_day_selected): removed (useless).
1021 (hildon_calendar_allow_exit): likewise.
1022 (hildon_calendar_deny_exit): likewise.
1024 (hildon_calendar_selected_date): new function. replaces
1025 hildon_calendar_allow_exit()
1027 (hildon_calendar_popup_init):
1028 - Removed initialization for 'can_exit'.
1029 - Removed connection to removed useless functions.
1030 - Connect "selected_date" to hildon_calendar_selected_date().
1031 - Do not grab the focus (useless)
1033 (hildon_key_pressed): just handle ESC and Return keys.
1035 (hildon_calendar_popup_get_property): removed unused variables.
1038 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1040 * hildon-widgets/hildon-caption.c
1041 * hildon-widgets/hildon-composite-widget.h
1042 * hildon-widgets/hildon-get-password-dialog.c
1043 * hildon-widgets/hildon-grid.h
1044 * hildon-widgets/hildon-grid-item.h
1045 * hildon-widgets/hildon-volumebar-range.c
1046 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1048 (hildon_controlbar_get_type): likewise.
1050 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1052 * doc/hildon-libs.types: Add missing types
1053 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1054 * doc/tmpl/*: Regenerate and add new files
1056 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1059 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1061 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1063 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1064 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1066 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1070 * doc/Makefile.am: Update gtk-doc framework bits
1071 * gtk-doc.make (commit generated file)
1072 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1074 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1075 * hildon-widgets/hildon-code-dialog.c:
1079 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1081 * hildon-widgets/hildon-window.c: propagate key-press event to the
1082 parent class (Closes N#23400)
1083 * configure.ac: 0.12.3
1085 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1087 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1089 * configure.ac: 0.12.2
1092 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1094 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1095 g_assert instead of g_return_val_if_fail
1100 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1102 * hildon-widgets/hildon-get-password-dialog.[ch]:
1103 (hildon_get_password_dialog_set_title) marked deprecated.
1105 + cleanup header coding style
1108 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1110 Cleanup font selection dialog
1112 * hildon-widgets/hildon-font-selection-dialog.c
1114 (hildon_font_selection_dialog_construct_notebook): removed dummy
1117 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1119 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1120 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1122 (toggle_clicked): renamed argument 'data' to 'unused'
1124 (hildon_font_selection_dialog_set_preview_text): added proper
1128 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1130 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1131 removed console messages.
1134 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1136 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1137 (struct _HildonSortDialogPrivate):
1138 - removed okButton, cancelButton
1139 - removed sort_by_value, sort_order_type
1140 - removed index_first
1141 - renamed combo1 to combo_key
1142 - renamed caption1 to caption_key
1143 - renamed combo2 to combo_order
1144 - renamed caption2 to cpation_order
1146 (hildon_sort_dialog_init): removed init of unused fields.
1147 use new field names.
1148 (hildon_sort_dialog_get_sort_key): likewise.
1149 (hildon_sort_dialog_get_sort_order): likewise.
1150 (hildon_sort_dialog_set_sort_key): likewise.
1151 (hildon_sort_dialog_set_sort_order): likewise.
1152 (hildon_sort_dialog_add_sort_key): likewise.
1154 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1156 * hildon-widgets/hildon-date-editor.c
1157 (hildon_child_forall): use g_assert instead of g_return_if_fail
1158 (hildon_date_editor_entry_validate): likewise.
1161 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1163 * hildon-widgets/hildon-controlbar.c
1164 (hildon_controlbar_change_value): commented function.
1166 * hildon-widgets/hildon-wizard-dialog.c
1167 (hildon_wizard_dialog_get_property): likewise.
1170 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1172 Cleanup weekday picker,
1174 * hildon-widgets/hildon-weekday-picker.c
1175 (_): removed unused gettext macro
1176 (button_toggle): use meaningful parameter name
1177 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1178 (hildon_weekday_picker_size_allocate): likewise.
1179 (button_toggle): likewise.
1182 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1184 Cleanup time editor,
1186 * hildon-widgets/hildon-time-editor.c
1187 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1188 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1189 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1190 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1192 (struct _HildonTimeEditorPrivate):
1193 - h_entry, m_entry, s_entry replaced by entries[],
1194 allows to remove a lot of code.
1195 - label renamed to hm_label
1196 - label2 renamed to sec_label
1197 - ampm renamed to ampm_label
1198 - show_s renamed to show_seconds
1199 - removed fields: icon, valid_value, validated
1201 + moved up in the file.
1203 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1205 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1207 (set_widget_allocation): removed
1208 (hildon_time_editor_entry_changed): removed
1210 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1212 (hildon_time_editor_forall): removed unnecessary code
1213 (hildon_time_editor_destroy): likewise.
1215 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1217 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1219 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1220 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1221 use new variable names,
1222 use hildon_time_editor_set_to_current_time
1224 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1225 (hildon_time_editor_set_ticks): use g_assert instead of
1226 g_return_if_fails, use
1227 'entries[]', removed dead code
1229 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1230 (hildon_time_editor_validate): use 'entries[]', removed dead code
1231 (hildon_time_editor_get_max_values): use 'entries[]'
1234 (hildon_time_editor_get_show_seconds): use new variable names
1235 (hildon_time_editor_set_duration_mode): likewise.
1237 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1239 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1241 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1243 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1245 (set_widget_allocation): removed (unused)
1246 (hildon_time_editor_entry_changed): removed (unused)
1248 (IS_VALID_KEYPRESS): new macro
1249 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1250 deleate dead/unnecessary code
1252 use IS_VALID_KEYPRESS
1254 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1256 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1258 (hildon_time_editor_size_allocate): cleanup
1259 (convert_to_12h): cleanup code style
1261 (hildon_time_editor_show_seconds): removed deprecation flag
1262 (hildon_time_editor_enable_duration_mode): likewise.
1265 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1267 Cleanup volume bars,
1269 * hildon-widgets/hildon-volumebar.h: removed unused #include
1270 + coding style cleanup
1272 * hildon-widgets/hildon-volumebar.c
1273 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1275 (hildon_child_forall): use g_assert instead of g_return_if_fail
1277 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1278 + coding style cleanup
1280 * hildon-widgets/hildon-volumebar-private.h:
1281 added missing #include.
1282 added _hildon_volumebar_mute_toggled.
1283 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1287 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1288 + coding style cleanup
1290 * hildon-widgets/hildon-vvolumebar.c
1291 (hildon_vvolumebar_size_request)
1292 (hildon_vvolumebar_size_allocate)
1293 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1295 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1297 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1298 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1299 (vvolumebar_init): renamed to hildon_vvolumebar_init
1300 (hildon_vvolumebar_init): removed unused 'orientation'
1301 initialisation. Use _hildon_volumebar_mute_toggled instead of
1302 removed hildon_vvolumebar_mute.
1306 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1308 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1309 renamed to hildon_hvolumebar_class_init
1311 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1312 hildon_hvolumebar_init
1314 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1317 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1318 removed unused 'orientation' initialisation.
1320 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1321 _hildon_volumebar_mute_toggled instead of removed
1322 hildon_hvolumebar_mute.
1325 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1329 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1330 coding style cleanup
1332 * hildon-widgets/hildon-color-popup.h: likewise.
1334 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1337 * hildon-widgets/hildon-color-selector.c
1338 (hildon_color_selector_new): use g_return_val_if_fail instead of
1340 (select_color): use g_assert instead of g_return_if_fail
1342 * hildon-widgets/hildon-calendar-popup.c
1343 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1347 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1349 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1350 added HildonCodeDialog widget
1353 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1355 * hildon-widgets/hildon-window.c:
1356 - set the toolbar height explicitely
1357 - use show instead of show_all on the common_toolbar
1358 - add the toolbars bottom-up instead of top-down
1359 * hildon-widgets/hildon-program.c:
1360 - don't assume that a window was realized when added to
1364 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1366 Cleanup font selection dialog,
1368 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1369 + coding style cleanup
1371 * hildon-widgets/hildon-font-selection-dialog.c
1372 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1373 instead of g_assert.
1375 * hildon-widgets/hildon-font-selection-dialog.c
1376 (hildon_font_selection_dialog_get_text_tag)
1377 (hildon_font_selection_dialog_set_buffer)
1378 (hildon_font_selection_dialog_get_font)
1379 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1382 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1384 Cleanup range editor,
1386 * hildon-widgets/hildon-range-editor.c
1387 (hildon_range_editor_calss_init):Removed
1388 widget_calss->mnemonic_activate init
1390 * hildon-widgets/hildon-range-editor.c
1391 (hildon_range_editor_mnemonic_activate): Removed static function
1392 hildon_range_mnemonic_activate and FIXME. It is useless even
1393 through it is overriding function for
1394 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1395 focus will be realized based on different applications.
1397 * hildon-widgets/hildon-range-editor.c
1398 (is_valid_keyvalue_for_entry_keypress): new function.
1400 * hildon-widgets/hildon-range-editor.c
1401 (hildon_range_editor_entry_keypress): uses
1402 is_valid_keyvalue_for_entry_keypress
1404 * hildon-widgets/hildon-range-editor.c
1405 (hildon_range_editor_forall): use g_return_if_fail instead of
1408 * hildon-widgets/hildon-range-editor.cvn
1409 (hildon_range_editor_mnemonic_activate): removed. (unused)
1412 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1414 Cleanup hildon-note,
1416 * hildon-widgets/hildon-note.[ch]
1418 (hildon_note_five_line_truncate): removed.
1419 (hildon_note_one_line_truncate): removed.
1421 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1422 instead of _{one|five}_line_truncate() functions.
1425 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1426 into wrapper of "hildon_note_new_information_with_icon_name".
1428 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1429 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1431 - removed some unnessecary includes.
1433 - Merged hildon_note_create & hildon_note_create_form and rewrote
1434 the combination as hildon_note_rebuild
1436 - Added missing g_return_* into public functions.
1438 - Acquire real references to children which are packed/unpacked,
1439 so we do not need to bother about refcounting while changing the
1443 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1447 * hildon-widgets/hildon-number-editor.c
1449 (set_widget_allocation): use const parameter.
1451 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1453 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1454 (hildon_number_editor_set_range): removed 'negative'
1457 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1458 use g_assert instead of g_return_if_fail
1461 * hildon-widgets/hildon-time-picker.c:
1462 - in several places, replace 1440 by 24*60
1463 (PROP_AMPM): removed, unused.
1464 (hildon_time_picker_timeout): use significant parameter name,
1466 (hildon_time_picker_init): removed useless call to _change_time()
1469 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1473 * hildon-widgets/hildon-seekbar.c
1475 (_): Removed dgettext macro definition.
1477 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1479 (hildon_seekbar_finalize): removed. not needed.
1480 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1482 (hildon_seekbar_size_request): indent cleanup.
1484 (hildon_seekbar_size_allocate): simplified function.
1486 (hildon_seekbar_button_press_event): Removed unused variables.
1487 (hildon_seekbar_button_release_event): likewise.
1490 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1492 Cleanup date editor,
1494 * hildon-widgets/hildon-date-editor.c
1496 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1497 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1499 (hildon_date_editor_get_font_width): removed (legacy static
1500 function), use gtk_entry_set_width_chars instead.
1502 (hildon_date_editor_mnemonic_activate): removed mnemonic
1503 activation handler, since it's no more used by HildonCaption.
1506 - Removed some meaningless code (if (somewidget != NULL)) from
1509 - HEAVILY modified key_press, completely removed if/grab_focus
1510 spaghetti by gtk_widget_child_focus
1512 - Removed input validation from keypress (that would not work
1513 anyway, since our input method do not generate presses). => This
1514 allows to change default return value to FALSE and remove all cases
1515 that just returned FALSE for some keys.
1517 - Merged all *_entry_changed callbacks to use the same
1518 function. Again using gtk_widget_child_focus, but now with return
1519 value as well to detect last field.
1521 - Changed that calendar button is no more implemented through
1522 changing widget hierarchy (old implementation caused critical
1523 issues when you used both stylus and hardkeys at the same time to
1524 popup. => finalize method no longer contained anything => removed
1526 - Locale type is no longer needed after initial setup.
1528 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1529 hack from the days of background dimming (it was important to
1530 process background updates before the dimming was done).
1532 - Changed the field order/delimeters to be correcly derived form
1535 - Rewrote validation function, combined it with validation done in
1536 focus_out (since both are now called at the same time).
1538 - Changed set_date function to set all components at one go
1539 without doing any validation there between (before setting each
1544 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1546 Cleanup set-password dialog
1548 * hildon-widgets/hildon-set-password-dialog.[ch]
1549 (hildon_set_password_dialog_set_domain): gchar * param is const
1550 (hildon_set_password_dialog_new_with_default): likewise.
1552 * hildon-widgets/hildon-set-password-dialog.c
1554 (hildon_set_password_set_property): setting 'modify-protection'
1557 (hildon_set_password_get_property): fixed broken 'domain' (missing
1558 break statement!) and 'modify-protection' (was a null operation)
1559 properties; code simplified.
1561 (hildon_set_password_dialog_constructor),
1563 (hildon_set_password_dialog_class_init),
1564 (hildon_set_password_dialog_init):
1565 hildon_set_password_dialog_constructor removed as weird and
1566 obsolete and replaced with new function create_contents; fixed
1567 leaking group variable; removed some unused, outdated code that
1568 was already commented out.
1570 (hildon_set_password_response_change),
1571 (hildon_set_password_response_set): GtkWindow *parent arguments
1572 changed to gpointer unused; cleaned up unnecessary strcmp's
1574 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1575 checkbox). gpointer renamed to be more descriptive; Code simplified
1577 (hildon_set_password_dialog_get_type): empty function argument
1578 list replaced with void keyword.
1580 (hildon_set_password_dialog_new),
1581 (hildon_set_password_dialow_new_with_default): simplified by
1582 having the simpler constructor call the more complex one, not vice
1583 versa; moved callback connects to create_contents since they
1584 depend on the status of 'modify-protection' property
1586 (hildon_set_password_dialog_get_password): type check added
1587 (hildon_set_password_dialog_get_protected): likewise
1588 (hildon_set_password_dialog_set_domain): likewise
1591 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1593 Cleanup name-password dialog:
1595 * hildon-widgets/hildon-name-password-dialog.[ch]
1597 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1598 types changed from *HildonCaption to *GtkEntry
1600 (hildon_name_password_dialog_set_property): layout fixes;
1601 duplicated code replaced with calls to relevant public functions
1603 (hildon_name_password_dialog_get_property): layout fixes;
1604 duplicated code replaced with calls to relevant public functions
1606 (hildon_name_password_dialog_init): fixed leaking group variable;
1607 reworked to have captions as local variables and captioned entries
1608 in the private struct
1610 (hildon_name_password_dialog_new_with_default): name and password
1611 arguments declared const
1613 (hildon_name_password_dialog_get_name): type check added + cleanup
1614 (hildon_name_password_dialog_get_password): likewise.
1616 (hildon_name_password_dialog_set_domain): domain argument declared
1617 const; type check added + cleanup
1620 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1622 Cleanup get-password dialog:
1624 * hildon-widgets/hildon-get-password-dialog.[ch]
1626 (HildonGetPasswordDialogPrivate): gboolean get_old added
1628 (hildon_get_password_set_property): fixed broken 'numbers-only'
1629 and 'max-characters' cases; 'get-old' property added
1631 (hildon_get_password_get_property): added support for reading
1632 'numbers-only' properties; added missing break to 'domain' case.
1633 added 'get-old' property
1635 (hildon_get_password_dialog_class_init): 'domain' and
1636 'numbers-only' properties are now readable; 'get-old' property
1639 (hildon_get_password_dialog_init, create_contents): everything
1640 that depends on the type of the dialog (i.e. 'get-old' property)
1641 is now done in create_contents after properties are initialized;
1642 fixed leaking group variable
1644 (hildon_get_password_dialog_get_type): empty function argument
1645 list replaced with void keyword
1647 (hildon_get_password_dialog_new): moved setting the labels of the
1648 get password dialog to init where it should be done; 'get-old'
1649 property set upon construction to achieve this
1651 (hildon_get_password_dialog_new_with_default): password argument
1654 (hildon_get_password_dialog_get_password): type check added
1655 (hildon_get_password_dialog_set_domain): type check added; domain
1656 argument declared const; duplicate function declaration removed
1658 (hildon_get_password_dialog_set_title): type check added;
1659 new_title argument declared const
1661 (hildon_get_password_dialog_set_caption): type check added;
1662 new_caption argument declared const
1664 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1665 (_invalid_input): gpointer data argument renamed unused
1668 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1670 (*_get_type): declared G_GNUC_CONST
1672 * hildon-widgets/hildon-app.h:
1673 * hildon-widgets/hildon-appview.h:
1674 * hildon-widgets/hildon-calendar-popup.h:
1675 * hildon-widgets/hildon-color-selector.h:
1676 * hildon-widgets/hildon-date-editor.h:
1677 * hildon-widgets/hildon-find-toolbar.h:
1678 * hildon-widgets/hildon-get-password-dialog.h:
1679 * hildon-widgets/hildon-name-password-dialog.h:
1680 * hildon-widgets/hildon-number-editor.h:
1681 * hildon-widgets/hildon-seekbar.h:
1682 * hildon-widgets/hildon-set-password-dialog.h:
1683 * hildon-widgets/hildon-sort-dialog.h:
1684 * hildon-widgets/hildon-time-editor.h:
1685 * hildon-widgets/hildon-weekday-picker.h:
1686 * hildon-widgets/hildon-wizard-dialog.h:
1688 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1692 * hildon-widgets/hildon-volumebar.c
1693 (hildon_volumebar_class_init): object class casts cleaned up
1694 (hildon_child_forall): removed unnecessary variable vbar; type check added
1695 (hildon_volumebar_set_property): removed unnecessary variable vbar
1696 (hildon_volumebar_set_level): type check added
1697 (hildon_volumebar_get_level): type check added
1698 (hildon_volumebar_set_mute): type check added
1699 (hildon_volumebar_get_mute): type check added
1700 (hildon_volumebar_get_adjustment): type check added
1701 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1703 * hildon-widgets/hildon-volumebar.h
1704 (hildon_volumebar_get_type): declared G_GNUC_CONST
1706 * hildon-widgets/hildon-volumebar-private.h:
1707 - G_BEGIN_DECLS/G_END_DECLS added
1708 - ownorientation removed from private struct
1710 * hildon-widgets/hildon-volumebar-range.c
1711 (hildon_volumebar_range_init): vacuous return statement removed
1713 (hildon_volumebar_range_set_level): removed unnecessary clamping
1714 kludge that violated object oriented principles only to provide an
1715 extremely minor, unnecessary optimization; type check added
1717 (hildon_volumebar_range_get_level): now accesses adjustment value
1718 with appropriate functions instead of reading it directly from the
1719 struct, which is bad OOP; type check added
1721 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1722 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1724 * hildon-widgets/hildon-volumebar-range.h
1725 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1727 * hildon-widgets/hildon-hvolumebar.c
1728 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1729 completely removed the gtk_widget_show() call that was already
1732 (hildon_hvolumebar_new): empty function parameter list replaced
1735 (hildon_hvolumebar_map): vbar variable removed; type check added
1736 (hildon_hvolumebar_expose): type check added
1737 (hildon_hvolumebar_size_request): type check added
1738 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1740 * hildon-widgets/hildon-hvolumebar.h
1741 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1743 * hildon-widgets/hildon-vvolumebar.c
1744 (vvolumebar_init): priv->ownorientation and v_ptr removed
1745 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1747 (hildon_vvolumebar_expose): type check added
1748 (hildon_vvolumebar_size_request): type check added
1749 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1751 * hildon-widgets/hildon-vvolumebar.h
1752 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1755 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1757 * hildon-widgets/hildon-weekday-picker.c
1758 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1759 last_index; added day_order_buttons
1761 (hildon_weekday_picker_mnemonic_activate): removed.
1762 mnemonics are no longer used.
1764 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1765 function. Rewritten creation of buttons. Unref'ed size group.
1767 (button_toggle): Removed bit mask checking, simplified function
1769 (hildon_weekday_picker_set_day):
1770 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1771 adjustment, unecessary for loop
1773 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1774 unecessary for loop. Simplified button toggling
1776 (hildon_weekday_picker_set_all):
1777 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1780 (hildon_weekday_picker_isset_day): Removed date adjustment and
1781 unecessary for loop;
1783 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1785 Added hildon-banner, as a clean replacement for gtk-infoprint
1786 * hildon-widgets/hildon-banner.[ch]: implementation and header
1787 * hildon-widgets/Makefile.am: reference new files
1788 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1789 a compatibility wrapper to hildon-banner
1791 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1793 * hildon-widgets/hildon-color-button.c: added comments
1794 * hildon-widgets/hildon-controlbar.c: Likewise.
1795 * hildon-widgets/hildon-composite-widget.c: Likewise.
1796 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1798 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1800 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1803 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1805 * configure.ac: 0.12.1
1807 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1809 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1810 * doc/tmpl/hildon-window.sgml: likewise.
1811 * hildon-widgets/hildon-program.[ch]: likewise.
1812 * hildon-widgets/hildon-window.[ch]: likewise.
1813 * hildon-widgets/hildon-window-private.h: likewise.
1814 * hildon-widgets/Makefile.am: Added these new files to the build
1817 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1819 * configure.ac: 0.12.0
1821 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1823 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1824 * doc/tmpl/hildon-appview.sgml: likewise.
1825 * doc/tmpl/hildon-color-popup.sgml: likewise.
1826 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1827 * doc/tmpl/hildon-app.sgml: likewise.
1828 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1829 * doc/tmpl/hildon-caption.sgml: likewise.
1830 * doc/tmpl/hildon-marshalers.sgml: likewise.
1831 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1832 * doc/tmpl/hildon-defines.sgml: likewise.
1833 * doc/tmpl/gtk-infoprint.sgml: likewise.
1834 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1836 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1837 * hildon-widgets/hildon-app.[ch]:likewise.
1838 * hildon-widgets/hildon-app-private.h:likewise.
1839 * hildon-widgets/hildon-appview.[ch]:likewise.
1840 * hildon-widgets/hildon-caption.[ch]:likewise.
1841 * hildon-widgets/hildon-defines.[ch]:likewise.
1842 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1843 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1845 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1846 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1850 hildon-app-private.h
1854 hildon-find-toolbar.[ch]
1855 hildon-input-mode-hint.h
1857 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1858 path for gtk-infoprint.h and hildon-input-mode-hint.h
1860 * po/en_GB.po: merged msgstr from hildon-lgpl
1862 * timer/*: added from hildon-lgpl
1866 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1868 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1871 * ut/hildon-widgets_tests.c (test41a): removed test case for
1872 hildon_file_details_dialog
1874 * doc/hildon-libs.types: likewise.
1875 * doc/hildon-libs-docs.xml: likewise.
1881 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1884 * Makefile.am (SUBDIRS): added timer/
1886 * configure.ac: do not depend anymore on hildon-lgpl nor
1887 hildon-fm, check for libmb, added Makefile output for timer/
1891 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1893 * configure.ac: 0.10.2
1895 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1897 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1898 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1899 hildon-apps scroll-control property is now handled.
1900 (get_child_index_by_coord): ignores events not matching a grid
1903 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1905 * configure.ac: 0.10.1
1907 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1909 Missing/Buggy documentation from,
1910 N#11566 make password dialog customizable (messages)
1911 * hildon-widgets/hildon-get-password-dialog.c
1912 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1914 * doc/tmpl/xxx.sgml: updated.
1916 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1918 N#19369 TRUE Scketch does not show colour change when using white color
1920 Color button needs inner border white, and outer border black.
1921 * hildon-widgets/hildon-color-button.c
1922 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1924 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1925 (hildon_color_button_realize): call the above function
1927 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1929 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1930 * hildon-widgets/hildon-note.c:
1931 (hildon_note_new_confirmation_add_buttons): updated doc
1932 (hildon_note_set_button_texts): likewise.
1934 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1936 N#21884 Cannot select read-only by using the center of the scroll key
1937 * hildon-widgets/hildon-file-details-dialog.c
1938 (hildon_file_details_dialog_init): Removed dialog default response.
1940 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1942 N#8094 5-bit color selector: wrong margins and pixel measurements
1943 M#59 HildonColorSelector needs more space
1944 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1945 (hildon_color_popup_new): add space between the control bars and
1946 the color preview area.
1948 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
1950 * hildon-widgets/hildon-calendar-popup.c
1951 * hildon-widgets/hildon-color-button.c
1952 * hildon-widgets/hildon-color-popup.c
1953 * hildon-widgets/hildon-color-selector.c
1954 * hildon-widgets/hildon-composite-widget.c
1955 * hildon-widgets/hildon-controlbar.c
1956 * hildon-widgets/hildon-date-editor.c
1957 * hildon-widgets/hildon-dialoghelp.c
1958 * hildon-widgets/hildon-file-details-dialog.c
1959 * hildon-widgets/hildon-font-selection-dialog.c
1960 * hildon-widgets/hildon-get-password-dialog.c
1961 * hildon-widgets/hildon-grid-item.c
1962 * hildon-widgets/hildon-grid.c
1963 * hildon-widgets/hildon-hvolumebar.c
1964 * hildon-widgets/hildon-name-password-dialog.c
1965 * hildon-widgets/hildon-note.c
1966 * hildon-widgets/hildon-number-editor.c
1967 * hildon-widgets/hildon-range-editor.c
1968 * hildon-widgets/hildon-scroll-area.c
1969 * hildon-widgets/hildon-seekbar.c
1970 * hildon-widgets/hildon-set-password-dialog.c
1971 * hildon-widgets/hildon-sort-dialog.c
1972 * hildon-widgets/hildon-time-editor.c
1973 * hildon-widgets/hildon-time-picker.c
1974 * hildon-widgets/hildon-volumebar-private.h
1975 * hildon-widgets/hildon-volumebar-range.c
1976 * hildon-widgets/hildon-volumebar.c
1977 * hildon-widgets/hildon-vvolumebar.c
1978 * hildon-widgets/hildon-weekday-picker.c
1979 * hildon-widgets/hildon-wizard-dialog.c
1982 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
1984 * configure.ac: 0.10.0
1986 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
1988 Some more properties for Gazpacho support,
1990 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1991 * hildon-widgets/hildon-color-selector.c: "color"
1994 * hildon-widgets/hildon-color-selector.[ch]
1995 (hildon_color_selector_get_color): return const pointer to the
1998 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2001 Gazpacho support, added the following properties:
2003 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2004 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2005 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2006 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2007 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2008 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2009 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2010 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2011 * hildon-widgets/hildon-number-editor.c: "value"
2013 * hildon-widgets/hildon-color-button.c: minor cleanup
2016 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2018 Started new development
2019 (branche for maintenance continues with versions 0.9.x)
2021 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2023 * configure.ac: 0.9.53
2025 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2028 N#19283 Control panel - The values entered are not saved.
2029 N#19648 Hildon Date Editor widget detects values too high
2030 (note: complete fix include also fixes in GTk+)
2032 * hildon-widgets/hildon-calendar-popup.c
2033 (hildon_calendar_popup_set_property),
2034 (hildon_calendar_popup_class_init),
2035 (init_dmy): Added 'min-year', 'max-year' properties for passing
2036 the information through from HildonDateEditor to GtkCalendar
2038 * hildon-widgets/hildon-date-editor.c:
2039 (hildon_date_editor_class_init),
2040 (hildon_date_editor_init),
2041 (hildon_date_editor_set_property),
2042 (hildon_date_editor_get_property),
2044 (hildon_date_editor_entry_validate),
2045 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2046 properties and replaced hardcoded constants with them
2048 * hildon-widgets/hildon-date-editor.c
2049 (hildon_date_editor_d_entry_changed),
2050 (hildon_date_editor_m_entry_changed),
2051 (hildon_date_editor_d_entry_changed): new functions to ensure that
2052 the fields are validated and the focus is moved when maximum
2053 number of characters has been entered.
2055 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2057 * configure.ac: 0.9.52
2059 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2061 N#19140 System alerts still audible despite being turned off
2063 * hildon-widgets/hildon-note.c (sound_handling):
2065 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2067 * hildon-note.c (sound_handling): Changed to use new
2068 hildon_play_system_sound.
2069 (hildon_note_init): Signal handler id is changed to be in private
2070 structure, not in global variable.
2072 * hildon-note.c: Removed unused defines etc.
2074 * Makefile.am: Appended new files to build rules.
2076 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2078 * configure.ac: 0.9.51
2080 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2082 N#20027 PDF Reader crashes on selecting read only option in the
2085 * hildon-widgets/hildon-file-details-dialog.c:
2086 (change_state): Fixed assertion that was causing problems
2087 (check_validity): New function: We now automatically close the
2088 dialog if the displayed file is removed.
2089 (handle_focus): Callback removed:
2090 (init): Now using correct gtk way to bind container and adjustment
2091 together. Not the previous callback.
2092 (set_property): Connecting/disconnecting new handlers (for
2094 (finalize): disconnecting new handler.
2096 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2098 N#17918 Volumebar widget background image doesn't change when
2099 widget goes into mute state,
2101 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2104 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2105 using the state of the internal volumebar, not the whole container
2107 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2108 using the state of the internal volumebar, not the whole container
2110 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2112 * hildon-widgets/hildon-dialoghelp.[ch]: added
2113 gtk_dialog_help_disable and fixed bug N#19468
2115 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2117 * configure.ac: Release 0.9.50
2119 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2123 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2125 * hildon-widgets/hildon-grid.c
2126 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2127 label by logical name "Ckct_wi_grid_no_items"
2130 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2132 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2134 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2136 * configure.ac: Release 0.9.49
2138 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2140 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2141 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2142 Save the id of the idle callback and remove it when the widget is
2143 destroyed to avoid crashing. N#18096
2145 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2147 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2148 id's are unsigned and undefined at zero (instead of signed and -1)
2150 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2152 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2153 that was not working. N#16805
2155 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2157 * configure.ac: Release 0.9.48
2159 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2161 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2162 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2163 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2165 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2167 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2168 Do not override the week-start property of GtkCalendar according to
2169 the hildon-libs PO file, it is automatically determined from locale
2172 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2174 * configure.ac: Release 0.9.47
2176 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2178 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2179 property for setting the password entry accept only numeric values.
2182 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2184 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2185 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2186 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2187 Use defines rather than magic numbers in the code.
2189 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2191 Update to new l10n packaging style. po-files (inside this package)
2192 are not used for now, the message catalogs come from separate packages
2193 and including them here would conflict.
2195 * Makefile.am (SUBDIRS): stop including po-files
2196 * Makefile.am (EXTRA_DIST):
2197 * debian/hildon-libs-l10n-engb.install:
2198 * debian/hildon-libs-l10n-src.install:
2199 * po/debian/*: Removed
2201 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2203 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2204 checks to cover gateway content as well.
2206 * hildon-widgets/hildon-time-editor.c:
2207 (hildon_time_editor_validate): Replace solid numbers with defined
2209 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2212 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2214 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2215 invalid cast from `GdkWindow' to `GtkWindow'
2217 * hildon-widgets/hildon-color-popup.c
2218 (hildon_popup_palette_expose): removed debug printing
2220 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2222 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2225 * hildon-widgets/hildon-scroll-area.c
2226 (hildon_scroll_area_destroy): one-instruction function:
2227 removed. Call g_free directly.
2229 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2230 right edge of window, size of the child is also shrinked. 'fixed'
2231 does not automatically update this data -> Doing it manually.
2233 * hildon-widgets/hildon-date-editor.h: added
2234 HildonDateEditorErrorType error enumeration type, removed signal
2235 "validate-date" virtual function, added signal "date-error"
2238 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2239 added custom info prints.
2240 (hildon_date_editor_validate_date): removed
2241 (hildon_date_editor_entry_validate): validate maximum and minimum
2242 limits on each field.
2243 (hildon_date_editor_entry_focus_out): check the date validation
2244 in simpler manner, don't put content if field is empty (spec
2245 doesn't say if there should be anything placed in the entry if
2247 (hildon_date_editor_get_date),
2248 (hildon_date_editor_get_month),
2249 (hildon_date_editor_get_year),
2250 (hildon_date_editor_get_day): use direct entry content, so that 0
2251 indicates empty entry, and information is more accurate.
2253 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2255 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2257 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2258 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2260 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2262 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2264 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2266 * hildon-widgets/hildon-number-editor.c:
2267 (hildon_number_editor_select_all): new function, selects all
2268 the text in the entry.
2269 * hildon-widgets/hildon-number-editor.c: added several calls to
2270 hildon_number_editor_select_all with g_idle_add.
2272 * hildon-controlbar.c : add signal when end reached
2274 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2276 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2278 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2280 Fixed incorrect values in <Filetype> Details Dialog
2282 Fixed help button usage in dialogs
2284 * hildon-dialoghelp.c: Added more documentation about the
2287 * hildon-file-details-dialog.c: Updated to match
2288 'File Management in OSSO' version 3.0
2290 * Fixed application hang after calling gtk_main_quit
2292 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2293 ESC presses needlessly
2295 * hildon-time-editor.c: Fixed memory corruption