1 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
3 * hildon-widgets/hildon-window.c:
4 - removed connection to self, replaced with overridding virtual
6 - removed gtk_widget_set_event in init, legacy from HildonApp
7 - use gtk_widget_get_child_requisition() instead of
8 gtk_widget_size_request() in _allocation
9 - don't allocate space for the child if it is not visible
11 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
13 * hildon-widgets/hildon-window.c:
14 - forgot to reinitialize convenience pointers to borders after they
16 - replaced a g_return_if_fail with a g_return_val_if_fail now
17 that toggle_menu returns a g_boolean
19 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
22 * hildon-widgets/hildon-window.c: Free the borders structure
23 when the window is destroyed.
25 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
27 * hildon-widgets/hildon-caption.c : check if ancestor
28 (still) exists in set-focus handler, fixes N#25501
30 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
32 * hildon-widgets/hildon-time-editor.c
33 (hildon_time_editor_check_locale): do not force lower case for
34 AM/PM symbols. Use the string as it is given by the locale. Makes
35 it coherent with hildon time picker. Fixes N#27963
38 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
40 * hildon-widgets/hildon-set-password-dialog.c
41 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
42 (hildon_set_password_response_set): use c_ for common strings
43 (hildon_set_password_response_change): likewise.
46 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
49 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
51 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
52 "hildon-fm" as textual domain. Fixes N#27702
54 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
56 * configure.ac: 0.12.12
58 * Makefile.am (clean-all): brutal target to cleanup the
59 folder. Will do this properly later.
61 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
63 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
64 included Makefile if missing).
66 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
67 integration environement)
69 * configure.ac: print configuration summary after processing
71 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
73 From Murray Cumming <murrayc@murrayc.com>, M#183.
75 * hildon-widgets/hildon-calendar-popup.c:
76 (hildon_calendar_popup_new): Use only g_object_new(), passing
77 it properties, so that language bindings can do the same.
78 (hildon_calendar_popup_set_date): Veryify the date here,
79 instead of only in the _new() function.
80 (hildon_calendar_popup_set_property): Use get/set_date() to
81 verify the new date and to select it.
82 (hildon_calendar_popup_get_property): Remove unused variables.
83 * ut/hildon-widgets_tests.c (test45): New.
85 * hildon-widgets/hildon-add-home-dialog.c:
86 (hildon_add_home_dialog_new): Move code into
87 hildon_add_home_dialog_init(),
88 hildon_add_home_dialog_set_old_name(), and
89 hildon_add_home_dialog_set_new_name(). Supply parameters as
90 properties values to g_object_new() instead, so that language
91 bindings can do the same.
92 (hildon_add_home_dialog_class_init): Added name and new_name
94 (hildon_add_home_dialog_init): Create always-needed widgets.
95 (hildon_add_home_dialog_get_property),
96 (hildon_add_home_dialog_set_property): Get/Set the name and
97 new_name properties, recreating widgets if necessary, using new
98 static helper function.
99 * ut/hildon-widgets_tests.c (test46): New.
101 * hildon-widgets/hildon-grid-item.c
102 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
103 (hildon_grid_item_class_init): Add icon-basename property.
104 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
105 from here to hildon_grid_item_init(), so we can just call
107 (hildon_grid_item_set_label): Convert NULL label to empty string.
108 Bug fix: don't cast the label widget to a string and compare it
109 against the new label text, use gtk_label_get_label instead.
110 Expect priv->label to always be non-NULL.
111 (update_icon): Don't pass NULL icon name to
112 gtk_icon_theme_load_icon, use default icon instead in that case.
113 * hildon-widgets/hildon-grid-item.h: Make
114 _hildon_grid_item_set_label into public
115 hildon_grid_item_set_label(), so that language bindings can use
117 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
118 (test33a2, test33b4, test33b4): Expect them to succeed now that a
119 HildonGridItem can handle NULL icons.
121 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
123 * configure.ac: 0.12.11
126 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
128 * thread safety (N#24348), fixed timeout and idle callbacks :
129 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
130 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
131 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
132 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
133 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
134 hildon-widgets/hildon-time-editor.c : highlight_callback()
135 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
137 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
139 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
140 correct state for fullscreen, fixes N#26611
142 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
145 * hildon-widgets/hildon-window.c:
146 - hildon_window_toggle_menu now returns whether or not something was
148 - hildon_window_key_press_event(): when handling the menu hard key,
149 return TRUE if we actually handled it
150 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
151 now returns if something was done
152 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
153 if we actually handled the menu hard key.
155 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
157 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
160 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
162 * configure.ac: 0.12.10
165 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
167 * doc/hildon-libs-docs.sgml: added index for new symbols.
170 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
172 * doc/Makefile.am (version.xml): generates version.xml
173 * doc/hildon-libs-docs.sgml: added &version; entity, and display
174 the version number in the doc title.
177 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
179 Minor changes for gtk-doc
181 * hildon-weekday-picker.h
182 * hildon-name-password-dialog.c
183 * hildon-calendar-popup.h
184 * hildon-range-editor.h
185 * hildon-volumebar-range.h
188 * hildon-time-editor.c
190 * hildon-date-editor.h
193 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
195 * hildon-widgets/hildon-time-editor.c
196 (hildon_time_editor_set_show_hours)
197 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
200 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
203 * hildon-widgets/hildon-time-editor.c
204 (hildon_time_editor_entry_keypress): use
205 hildon_gtk_button_set_depressed, provided by osso-GTK, since
206 2.6.10-1.osso4, instead of GTK private symbol
207 _gtk_button_set_depressed
210 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
212 From Murray Cummings (M#185 M#283), with slight changes:
214 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
215 can disable the regeneration of hildon-libs-enum-types.[h|c], also
216 based on the gnome-vfs build.
218 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
219 hildon-libs-enum-types.[h|c], and build them, based on the
220 gnome-vfs build. This adds GTypes for the enums, needed for
221 accurate signal registration, needed by bindings.
223 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
224 default signal handler to range_error, so it has the same name as
225 the signal, as expected by bindings.
227 * hildon-widgets/hildon-marshalers.list: Change to the now-used
230 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
231 since hildon_note_type_get_type is defined manually and
232 glib-mkenums should ignore this enum.
234 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
235 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
237 Correct the signal registration for:
239 * hildon-widgets/hildon-app.c
240 (hildon_app_class_init):
246 * hildon-widgets/hildon-date-editor.c
247 (hildon_date_editor_class_init):
250 * hildon-widgets/hildon-find-toolbar.c
251 (hildon_find_toolbar_class_init):
255 "history_append signals"
257 * hildon-widgets/hildon-grid.c
258 (hildon_grid_class_init):
261 * hildon-widgets/hildon-number-editor.c
262 (hildon_number_editor_class_init):
266 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
268 M#90 - Use standard GLib macro names.
269 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
271 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
272 * hildon-widgets/hildon-calendar-popup.h:
273 * hildon-widgets/hildon-date-editor.h:
274 * hildon-widgets/hildon-range-editor.h:
275 * hildon-widgets/hildon-weekday-picker.h:
276 * hildon-widgets/hildon-volumebar-range.h:
279 * hildon-widgets/hildon-calendar-popup.c:
280 * hildon-widgets/hildon-date-editor.c:
281 * hildon-widgets/hildon-range-editor.c:
282 * hildon-widgets/hildon-volumebar-range.c:
283 * hildon-widgets/hildon-weekday-picker.c:
286 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
288 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
289 for Ok and Cancel buttons.
291 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
293 * configure.ac: 0.12.9
295 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
297 * hildon-widgets/hildon-color-button.c
298 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
302 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
304 * hildon-widgets/hildon-time-editor.c
305 (convert_to_12h): removed m and s paramters (useless)
306 (convert_to_24h): likewise.
309 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
311 Automatic focus movement for HildonTimeEditor (IMP-13)
313 * hildon-widgets/hildon-time-editor.c
314 (hildon_time_editor_init): connect after signal "insert_text"
315 (hildon_time_editor_inserted_text): new function.
316 On inserted text, if entry has two digits, jumps to the next field.
319 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
321 Pops up the color selector on 'select' hardkey (IMP-15)
323 * hildon-widgets/hildon-color-button.c
324 (hildon_color_button_init): connect "key-release-event"
325 (hildon_color_button_key_released): new function.
326 Pops up the color selector on 'select' hardkey release
329 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
331 Hildon grid, set items to be focus-and-activate instead of single
332 tap activation (IMP-14)
334 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
335 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
338 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
340 Fetch hours/minutes/seconds separators from current locale (IMP-8)
343 * hildon-widgets/hildon-time-editor.c
344 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
345 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
346 (hildon_time_editor_finalize): free separator symbols
347 (get_time_separators): new function. Get time separators from locale.
348 (hildon_time_editor_check_locale): call get_time_separators.
350 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
352 Removed icon for mandatory fields (IMP-3).
353 Note: the logic and API to specify mandatory fields is preserved.
355 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
356 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
357 (hildon_caption_set_property): case PROP_STATUS, removed related code.
358 (hildon_caption_set_label_alignment): removed related code.
361 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
363 * configure.ac: 0.12.8
365 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
367 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
370 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
372 - Added support for Pango markup
373 Added hildon_banner_show_information_with_markup
374 - Removed hildon_banner_show_confirmation
375 - Re-position the banner when its content changes
376 - Banner now doesn't truncate strings nor insert linebreaks
377 - fixes N#24339 - Information banners do not resize
379 * hildon-widgets/hildon-banner.[ch]
380 (hildon_banner_show_information_with_markup): new function. Adds
381 pango markup support for information banners.
383 (hildon_banner_show_confirmation): removed. 'confirmation' was
384 used only for the taask navigator (at most). It should use
385 _show_information_with_markup with appropriate markup.
387 (hildon_banner_set_markup): new function.
389 (hildon_banner_check_position): new function. Factor code from
390 hildon_banner_realize(), and update position calculation.
392 (struct _HildonBannerPrivate): removed max_lines.
393 Uses as much lines as needed.
395 (hildon_banner_init): set banner label to wrap lines.
397 (hildon_banner_set_text): do not truncate. Update banner's position.
399 (hildon_banner_set_markup): new function.
400 Set banner's text with Pango markup.
402 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
405 * hildon-widgets/gtk-infoprint.c
406 (gtk_confirmation_banner): use hildon_banner_show_information
407 instead of _show_confirmation.
408 (gtk_confirmation_banner_with_icon_name): likewise.
411 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
413 * hildon-widgets/hildon-color-button.c
414 (hildon_color_field_expose_event): correct parameter order.
417 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
419 * hildon-widgets/hildon-window.c:
420 - Fixed a potential infinite loop when detaching the menus
421 from the window widget (Closes N#26033)
423 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
425 * hildon-widgets/hildon-window.c:
426 - Fixed a bug that made window fullscreen state tracking fail
427 - Apply correct theming to menus so that they get placed
428 correctly (Fixes N#24325)
429 - Redraw the window borders if the size of the toolbar vbox changes
430 - Reset the program to NULL in hildon_window_destroy
431 - Stop the ESC key-press timeout when the window loses the focus
433 * hildon-widgets/hildon-program.c:
434 - Reset the common toolbar to NULL when the program is finalised
436 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
438 * hildon-widgets/hildon-get-password-dialog.h,
439 hildon-widgets/hildon-get-password-dialog.c
440 (hildon_get_password_dialog_new,
441 hildon_get_password_dialog_new_with_default): Renamed
442 get_old_password_title parameter to "get_old" to correspond with
443 the property name. This helps the C++ bindings.
444 * ut/hildon-widgets_tests.c (test43, test44): New.
446 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
448 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
449 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
454 * hildon-lgpl/hildon-caption.c:
455 (hildon_caption_init): Do the hildon_caption_set_child_expand()
457 (hildon_caption_new): Use the child property from GtkContainer
458 instead of calling gtk_container_add(), because _new() functions
459 should just use g_object_new(), so that language-bindings can do
462 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
464 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
466 * configure.ac: 0.12.7
468 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
471 * hildon-widgets/hildon-font-selection-dialog.c
472 (REFERENCE_LINE): removed
473 (hildon_font_selection_dialog_show_preview): added l10n support
474 for the reference string (use to differentiate sub/super script in
476 (hildon_font_selection_dialog_show_preview): likewise
479 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
481 * po/en_GB.po: update
483 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
485 * hildon-widgets/hildon-add-home-dialog.c
486 (hildon_add_home_dialog_init): removed i18n support (deprecated
487 widget. Hinder logical ID processing)
488 (hildon_add_home_dialog_new): likewise.
490 * hildon-widgets/hildon-insert-object-dialog.c
491 (hildon_insert_object_dialog_init): likewise.
494 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
496 * hildon-widgets/hildon-font-selection-dialog.c
497 (hildon_font_selection_dialog_construct_notebook): logical ID typo
500 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
502 * hildon-widgets/hildon-window.[ch]:
503 - update the title when the window is realized
504 - added support for long press on the ESC key. Fixes N#24620
506 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
508 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
510 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
512 * hildon-widgets/hildon-seekbar.c
513 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
515 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
517 * configure.ac: 0.12.6
519 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
521 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
522 fixed typo GKD_Left -> GDK_Left, N#24042
525 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
531 Updated logical id to lower case: Ckct_ -> ckct_
532 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
533 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
534 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
535 (hildon_range_editor_init, hildon_range_editor_entry_validate)
536 (hildon_range_editor_entry_validate):
537 * hildon-widgets/hildon-time-editor.c (validated_conversion)
538 (validated_conversion, hildon_time_editor_real_validate):
539 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
543 Updated logical id to lower case: Ecdg_ -> ecdg_
544 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
545 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
546 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
547 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
548 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
549 (hildon_wizard_dialog_create_title):
550 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
551 (hildon_find_toolbar_init):
552 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
553 (hildon_note_rebuild, hildon_note_set_button_text):
556 Removed i18n support for property description,
557 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
560 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
562 * configure.ac: 0.12.5
564 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
566 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
567 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
570 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
572 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
575 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
577 Cleanup wizard dialog,
579 * hildon-widgets/hildon-wizard-dialog.c
580 (struct HildonWizardDialogPrivate): removed 'previous_button'
581 and 'next_button' (obsolete)
583 (hildon_wizard_dialog_response): new private function. Handles the
584 'response' signal and replaces direction_button_clicked() in
585 taking care of notebook page changes and button dimming.
587 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
588 added to the dialog as response buttons. This enables the usage of
589 GtkDialog API for setting their sensitiveness.
591 (dimming/undimming): Connected hildon_wizard_dialog_response to
592 "resonse" signal. Removed useless title creation because it
593 depends on the notebook which is not yet created.
595 (hildon_wizard_dialog_set_property): minor code cleanup
597 (hildon_wizard_dialog_create_title): removed useless else-if
600 * hildon-widgets/hildon-wizard-dialog.h
601 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
604 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
605 adding the page_change signal, as the application can now track
606 the response signal instead.
609 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
611 * configure.ac: 0.12.4
614 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
618 moved widget descriptions to respective source file (*.c)
622 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
626 * hildon-widgets/hildon-color-button.c:
627 - removed unused #include
628 - removed unused gettext macro
630 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
631 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
632 + value updated to match specifications
634 (struct _HildonColorButtonPrivate):
635 removed 'drawing_area' and 'pixbuf' members (unused)
637 (hildon_color_button_init):
638 use drawing_area directly, update COLOR_FILLED_ macro names
640 (hildon_color_button_unrealize): new function.
641 (hildon_color_button_class_init): register unrealize function
642 (hildon_color_button_finalize): free allocated GC in unrealize
643 handler instead of in finalize.
645 (hildon_color_button_recolor_pixbuf): removed. (use
646 gdk_draw_rectangle() instead)
647 (hildon_color_button_draw_pixbuf_borders): likewise
649 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
651 (hildon_color_button_set_property): queue the drawing - instead of
652 calling recolor_pixbuf
654 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
657 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
659 More cleanup for range editor,
661 * hildon-widgets/hildon-range-editor.[ch]
662 - removed useless includes
663 (hildon_range_editor_new_with_separator): set char parameter 'const'
665 * hildon-widgets/hildon-range-editor.c
666 - removed useless includes
667 - rewritten a lot of functions because code was inefficient.
668 - removed useless g_return_if_fail calls from various functions.
670 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
671 (hildon_range_editor_entry_keypress): rewritten
672 (hildon_range_editor_entry_focus_out): rewritten
673 (hildon_range_editor_refresh_widths): New function
674 (hildon_range_editor_set_range): Make sure that the values are in
676 (hildon_range_editor_set_lower): rewritten.
677 (hildon_range_editor_set_higher): rewritten.
678 (hildon_range_editor_set_min): rewritten.
679 (hildon_range_editor_set_max): rewritten.
681 (hildon_range_editor_entry_validate): New validator function
682 (hildon_range_editor_entry_changed): New signal handler for
683 "changed" for entries, this will now validate whenever entry changes.
685 (hildon_range_editor_entry_focus_out): Added g_assert for
686 editor. Removed call to hildon_range_editor_apply_current_range().
687 Added call to the new function hildon_range_editor_entry_validate()
690 (hildon_range_editor_init): connected
691 hildon_range_editor_entry_changed to "changed" for entries.
694 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
696 Major cleanup for time editor
698 * hildon-widgets/hildon-time-editor.c
699 - removed unused #includes.
700 - Removed useless g_return_if_fail(editor) calls
701 (HILDON_IS_TIME_EDITOR does this check as well for us).
703 (hildon_time_editor_add_style): removed, obsolete.
704 (hildon_time_editor_mnemonic_activate): removed, obsolete
705 (hildon_time_editor_get_max_values): removed, obsolete.
707 (validated_conversion): New helper function
709 (hildon_time_editor_entry_changed): New function, now the widget
710 interactively validates the inputted contents (not requiring focus
713 (ticks_to_time): rewritten, using less arithmetic operations.
714 (hildon_time_editor_validate): rewritten
715 (hildon_time_editor_set_ticks): rewritten
716 (hildon_time_editor_set_duration_mode): rewritten
717 (hildon_time_editor_entry_keypress): rewritten
719 * hildon-widgets/hildon-time-editor.[ch]
720 (hildon_time_editor_set_show_hours)
721 (hildon_time_editor_get_show_hours) new functions to show/hide hours
724 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
726 Cleanup number editor
728 * hildon-widgets/hildon-number-editor.c:
729 (SPACE_BORDER): removed
731 (hildon_number_editor_size_request):
732 (hildon_number_editor_size_allocate): updated to use hildondefines
734 (hildon_number_editor_mnemonic_activate): function removed,
735 mnemonic are not used
737 (hildon_number_editor_stop_repeat_timer): new function, to avoid
739 (hildon_number_editor_button_release):
740 (hildon_number_editor_finalize): updated to use new function
742 (hildon_number_editor_entry_keypress): completely rewritten
743 (change_numbers): likewise
744 (do_mouse_timeout): likewise
745 (hildon_number_editor_set_range): likewise
747 (hildon_number_editor_validate_value): new function, used for all
749 (hildon_number_editor_focus_out):
750 (hildon_number_editor_entry_changed): updated to use previous.
752 (hildon_number_editor_real_set_value): new function that formats
753 given int to field. Used by change_numbers and set_value
755 (integer_to_string): removed, we now have one place that
756 converts numbers and that uses buffer from stack.
757 (hildon_number_editor_set_value): changed to use new format function.
760 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
762 * hildon-widgets/hildon-time-picker.c:
763 reorganized how the widgets are stored to reduce code
764 (HildonTimePickerWidgetGroup): new struct
765 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
766 (hildon_time_picker_init)
767 (hildon_time_picker_arrow_press)
768 (hildon_time_picker_event_box_key_press)
769 (hildon_time_picker_change_time)
770 (hildon_time_picker_map)
771 (hildon_time_picker_event_box_key_release): use new widget organization
774 (hildon_time_picker_init): return value from nl_timeinfo() is
775 valid only until it's called again, so g_strdup() the value when
778 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
779 (HILDON_TIME_PICKER_LABEL_X_PADDING)
780 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
781 (hildon_time_picker_set_time):
782 (hildon_time_picker_get_time):
783 (hildon_time_picker_ampm_release): used the new defines
785 (struct _HildonTimePickerPrivate)
786 (hildon_time_picker_init)
787 (hildon_time_picker_event_box_key_press)
788 (hildon_time_picker_change_time):
789 - c12h renamed to show_ampm,
790 - ampo_pos renamed to ampm_left.
792 (hildon_time_picker_timeout): renamed to
793 hildon_time_picker_key_repeat_timeout(),
794 and renamed parameter to 'hildon_time_picker'
796 (hildon_time_picker_event_box_press): renamed to
797 hildon_time_picker_event_box_button_press()
799 (hildon_time_picker_finalize): Added finalizer to make sure the
800 key repeat timeout handler gets removed.
802 (hildon_time_picker_arrow_press): Placed multipliers into
803 button_multipliers[] array to avoid multiple if/then/else
807 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
809 * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
810 calculates correctly which items will be visible. Fixes N#16991.
813 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
815 * hildon-widgets/hildon-find-toolbar.c
816 (hildon_find_toolbar_history_append): set "column" property only
817 after model has been set.
820 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
822 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
823 the parameter more descriptively
826 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
830 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
832 * hildon-widgets/hildon-app.[ch]
833 (hildon_zoom_level_get_type): removed G_CONST_RETURN
835 * hildon-widgets/hildon-app.c:
836 - removed HILDON_DISABLE_DEPRECATED flags
837 - added g_assert'ions to internal functions
840 (hildon_app_button): Move the fixed define to the function itself,
841 add simple autodetection, clean up comments.
843 (hildon_app_key_release): Remove bogus argument to signal emission
844 (not needed), emit the "fullscreen_state_change" directly instead
845 of calling set_fullscreen.
847 (hildon_app_construct_title): removed dead code
849 (hildon_app_register_view_with_id): do not call g_slist_nth() to
850 get the first element...
853 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
855 * hildon-widgets/hildon-appview.c:
856 (hildon_appview_init): indented comments properly
857 (paint_toolbar): indented comments properly
858 (hildon_appview_expose): indented code properly
859 (hildon_appview_toolbar_toggle_request): removed dead code
862 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
864 * hildon-widgets/hildon-caption.c
865 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
866 (hildon_caption_size_allocate): likewise.
867 (hildon_caption_forall): likewise.
870 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
872 Cleanup Find toolbar,
874 * hildon-widgets/hildon-find-toolbar.[ch]
875 (hildon_find_toolbar_new): set 'label' parameter const.
876 (hildon_find_toolbar_new_with_model): likewise.
878 * hildon-widgets/hildon-find-toolbar.c
879 (struct _HildonFindToolbarPrivate):
880 changed entry_combo_box type to GtkComboBoxEntry*
882 (hildon_find_toolbar_get_list_model): new function, to factor
883 member access and casting
884 (hildon_find_toolbar_get_entry): likewise.
885 (hildon_find_toolbar_apply_filter): removed set_column parameter
886 since it was used by only one caller, and made the caller do it
887 instead. Removed unnecessary casts.
889 (hildon_find_toolbar_find_string): new function.
890 (hildon_find_toolbar_history_append): code cleanup. use
891 hildon_find_toolbar_find_string.
893 (hildon_find_toolbar_get_property)
894 (hildon_find_toolbar_get_entry)
895 (hildon_find_toolbar_init)
896 (hildon_find_toolbar_new)
897 (hildon_find_toolbar_new_with_model)
898 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
899 and changed some of them to use the new convenience functions
902 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
903 instead of if-check to validate parameter.
906 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
908 Cleanup hildon-defines,
910 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
911 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
913 (hildon_logical_data_free): new function. Free logical data.
914 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
915 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
917 * hildon-widgets/hildon-defines.[ch]
918 (hildon_gtk_widget_set_logical_font): use const gchar*
919 (hildon_gtk_widget_set_logical_color): likewise.
921 * hildon-widgets/hildon-defines.c:
922 (hildoniconsizes): set const
923 (hildoninternaliconsizes): set static, renamed 'iis'
926 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
928 Cleanup Caption widget,
930 * hildon-lgpl/hildon-caption.[ch]
931 (hildon_caption_status_get_type, hildon_caption_get_type):
932 G_CONST_RETURN removed, G_GNUC_CONST added
934 * hildon-widgets/hildon-caption.c
936 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
938 (hildon_caption_set_property): removed useless code.
939 (hildon_caption_button_press): simplified greatly by removing the
940 unnecessary recursion to locate the first focusable child of a
941 container - simple gtk_widget_grab_focus achieves the same
942 (get_first_focusable_child): removed (not used anymore)
944 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
946 (hildon_caption_set_focus_child): removed (not used anymore)
947 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
949 (hildon_caption_hierarchy_changed): type check added
950 (hildon_caption_forall): callback null check added
951 (hildon_caption_set_status): type check added
952 (hildon_caption_set_icon_image): type check added
953 (hildon_caption_activate): activate_block kludge removed as outdated
954 (hildon_caption_get_child_expand): argument declared const
955 (hildon_caption_set_label_text): g_return_if_fail changed to
956 g_assert since this is not a public function;
957 Duplicate separator check now uses correct localized separator
958 instead of assuming ':'
961 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
965 * hildon-lgpl/hildon-appview-c:
966 (hildon_app_view_init): Fixed a problem that prevented to set an
967 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
968 between toolbars). This fix involves a change in the default gtkrc
969 file, ie. the modification of the 'border' value of the
970 "toolbar-frame-middle" image in the osso-appview-background style.
972 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
973 widget supporting adjustements, not only viewports.
975 (visible_toolbar): use proper parameter names
976 (find_findtoolbar_index): likewise.
977 (find_findtoolbar): likewise.
979 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
980 (hildon_appview_finalize): likewise.
981 (hildon_appview_signal_marshal): likewise.
982 (hildon_appview_forall): likewise.
983 (hildon_appview_switched_to): likewise.
984 (hildon_appview_real_fullscreen_state_change): likewise.
987 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
989 * hildon-widgets/hildon-date-editor.c
990 (hildon_date_editor_entry_validate): Now, if an invalid date is
991 entered, date-editor reverts to previous date, instead of setting
992 the maximum allowed days.
995 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
997 * hildon-widgets/hildon-date-editor.h
998 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1000 * hildon-widgets/hildon-date-editor.c
1001 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1002 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1005 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1007 * hildon-widgets/hildon-get-password-dialog.c:
1008 (hildon_get_password_dialog_set_title): Removed the deprecation
1009 #ifdefs from the .c file.
1011 * hildon-widgets/hildon-file-handling-note.c: likewise.
1015 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1017 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1019 * hildon-widgets/hildon-color-selector.c
1020 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1021 (hildon_color_selector_expose)
1022 (hildon_color_selector_get_color)
1023 (hildon_color_selector_set_color)
1026 (modify_focused): Separate selected color and focused color.
1027 Focused color now draws a different colored border around it.
1028 Renamed modify_selected() to modify_focused().
1030 * hildon-widgets/hildon-color-selector.c
1031 (hildon_color_selector_expose)
1032 (select_color): Changed the logic in how the box positions are
1033 calculated. The old logic was wrong, but just happened to work
1034 with those specific values.
1036 * hildon-widgets/hildon-color-selector.c
1037 (hildon_color_selector_expose): Draw the selected-border using
1038 ImageBorderColor color instead of hardcoded black.
1041 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1043 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1044 removed current_color; use initial_color directly.
1045 Disabled select-hardkey from activating to OK-button by default.
1048 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1050 * hildon-widgets/hildon-date-editor.c
1051 (hildon_date_editor_keypress): removed the unnecessary check for
1052 the position of the cursor in the text-field which was hindering
1053 the Left key from working as expected.
1056 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1058 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1059 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1061 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1063 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1066 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1068 * hildon-widgets/hildon-font-selection-dialog.c
1069 (hildon_font_selection_dialog_show_preview): set line wrap for
1073 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1075 * hildon-widgets/hildon-date-editor.c
1076 (hildon_child_forall): cast 'container'
1077 (hildon_date_editor_size_allocate): adjusted height allocation.
1080 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1082 Cleanup calendar popup,
1084 * hildon-widgets/hildon-calendar-popup.c:
1085 - updated 'longdesc' comment.
1086 - removed gtk-infoprint.h from included headers (unused).
1088 (struct HildonCalendarPopupPrivate): removed member
1089 'can_exit' (useless).
1090 (hildon_calendar_day_selected): removed (useless).
1091 (hildon_calendar_allow_exit): likewise.
1092 (hildon_calendar_deny_exit): likewise.
1094 (hildon_calendar_selected_date): new function. replaces
1095 hildon_calendar_allow_exit()
1097 (hildon_calendar_popup_init):
1098 - Removed initialization for 'can_exit'.
1099 - Removed connection to removed useless functions.
1100 - Connect "selected_date" to hildon_calendar_selected_date().
1101 - Do not grab the focus (useless)
1103 (hildon_key_pressed): just handle ESC and Return keys.
1105 (hildon_calendar_popup_get_property): removed unused variables.
1108 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1110 * hildon-widgets/hildon-caption.c
1111 * hildon-widgets/hildon-composite-widget.h
1112 * hildon-widgets/hildon-get-password-dialog.c
1113 * hildon-widgets/hildon-grid.h
1114 * hildon-widgets/hildon-grid-item.h
1115 * hildon-widgets/hildon-volumebar-range.c
1116 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1118 (hildon_controlbar_get_type): likewise.
1120 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1122 * doc/hildon-libs.types: Add missing types
1123 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1124 * doc/tmpl/*: Regenerate and add new files
1126 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1129 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1131 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1133 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1134 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1136 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1140 * doc/Makefile.am: Update gtk-doc framework bits
1141 * gtk-doc.make (commit generated file)
1142 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1144 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1145 * hildon-widgets/hildon-code-dialog.c:
1149 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1151 * hildon-widgets/hildon-window.c: propagate key-press event to the
1152 parent class (Closes N#23400)
1153 * configure.ac: 0.12.3
1155 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1157 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1159 * configure.ac: 0.12.2
1162 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1164 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1165 g_assert instead of g_return_val_if_fail
1170 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1172 * hildon-widgets/hildon-get-password-dialog.[ch]:
1173 (hildon_get_password_dialog_set_title) marked deprecated.
1175 + cleanup header coding style
1178 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1180 Cleanup font selection dialog
1182 * hildon-widgets/hildon-font-selection-dialog.c
1184 (hildon_font_selection_dialog_construct_notebook): removed dummy
1187 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1189 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1190 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1192 (toggle_clicked): renamed argument 'data' to 'unused'
1194 (hildon_font_selection_dialog_set_preview_text): added proper
1198 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1200 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1201 removed console messages.
1204 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1206 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1207 (struct _HildonSortDialogPrivate):
1208 - removed okButton, cancelButton
1209 - removed sort_by_value, sort_order_type
1210 - removed index_first
1211 - renamed combo1 to combo_key
1212 - renamed caption1 to caption_key
1213 - renamed combo2 to combo_order
1214 - renamed caption2 to cpation_order
1216 (hildon_sort_dialog_init): removed init of unused fields.
1217 use new field names.
1218 (hildon_sort_dialog_get_sort_key): likewise.
1219 (hildon_sort_dialog_get_sort_order): likewise.
1220 (hildon_sort_dialog_set_sort_key): likewise.
1221 (hildon_sort_dialog_set_sort_order): likewise.
1222 (hildon_sort_dialog_add_sort_key): likewise.
1224 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1226 * hildon-widgets/hildon-date-editor.c
1227 (hildon_child_forall): use g_assert instead of g_return_if_fail
1228 (hildon_date_editor_entry_validate): likewise.
1231 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1233 * hildon-widgets/hildon-controlbar.c
1234 (hildon_controlbar_change_value): commented function.
1236 * hildon-widgets/hildon-wizard-dialog.c
1237 (hildon_wizard_dialog_get_property): likewise.
1240 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1242 Cleanup weekday picker,
1244 * hildon-widgets/hildon-weekday-picker.c
1245 (_): removed unused gettext macro
1246 (button_toggle): use meaningful parameter name
1247 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1248 (hildon_weekday_picker_size_allocate): likewise.
1249 (button_toggle): likewise.
1252 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1254 Cleanup time editor,
1256 * hildon-widgets/hildon-time-editor.c
1257 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1258 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1259 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1260 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1262 (struct _HildonTimeEditorPrivate):
1263 - h_entry, m_entry, s_entry replaced by entries[],
1264 allows to remove a lot of code.
1265 - label renamed to hm_label
1266 - label2 renamed to sec_label
1267 - ampm renamed to ampm_label
1268 - show_s renamed to show_seconds
1269 - removed fields: icon, valid_value, validated
1271 + moved up in the file.
1273 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1275 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1277 (set_widget_allocation): removed
1278 (hildon_time_editor_entry_changed): removed
1280 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1282 (hildon_time_editor_forall): removed unnecessary code
1283 (hildon_time_editor_destroy): likewise.
1285 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1287 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1289 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1290 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1291 use new variable names,
1292 use hildon_time_editor_set_to_current_time
1294 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1295 (hildon_time_editor_set_ticks): use g_assert instead of
1296 g_return_if_fails, use
1297 'entries[]', removed dead code
1299 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1300 (hildon_time_editor_validate): use 'entries[]', removed dead code
1301 (hildon_time_editor_get_max_values): use 'entries[]'
1304 (hildon_time_editor_get_show_seconds): use new variable names
1305 (hildon_time_editor_set_duration_mode): likewise.
1307 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1309 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1311 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1313 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1315 (set_widget_allocation): removed (unused)
1316 (hildon_time_editor_entry_changed): removed (unused)
1318 (IS_VALID_KEYPRESS): new macro
1319 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1320 deleate dead/unnecessary code
1322 use IS_VALID_KEYPRESS
1324 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1326 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1328 (hildon_time_editor_size_allocate): cleanup
1329 (convert_to_12h): cleanup code style
1331 (hildon_time_editor_show_seconds): removed deprecation flag
1332 (hildon_time_editor_enable_duration_mode): likewise.
1335 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1337 Cleanup volume bars,
1339 * hildon-widgets/hildon-volumebar.h: removed unused #include
1340 + coding style cleanup
1342 * hildon-widgets/hildon-volumebar.c
1343 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1345 (hildon_child_forall): use g_assert instead of g_return_if_fail
1347 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1348 + coding style cleanup
1350 * hildon-widgets/hildon-volumebar-private.h:
1351 added missing #include.
1352 added _hildon_volumebar_mute_toggled.
1353 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1357 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1358 + coding style cleanup
1360 * hildon-widgets/hildon-vvolumebar.c
1361 (hildon_vvolumebar_size_request)
1362 (hildon_vvolumebar_size_allocate)
1363 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1365 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1367 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1368 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1369 (vvolumebar_init): renamed to hildon_vvolumebar_init
1370 (hildon_vvolumebar_init): removed unused 'orientation'
1371 initialisation. Use _hildon_volumebar_mute_toggled instead of
1372 removed hildon_vvolumebar_mute.
1376 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1378 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1379 renamed to hildon_hvolumebar_class_init
1381 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1382 hildon_hvolumebar_init
1384 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1387 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1388 removed unused 'orientation' initialisation.
1390 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1391 _hildon_volumebar_mute_toggled instead of removed
1392 hildon_hvolumebar_mute.
1395 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1399 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1400 coding style cleanup
1402 * hildon-widgets/hildon-color-popup.h: likewise.
1404 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1407 * hildon-widgets/hildon-color-selector.c
1408 (hildon_color_selector_new): use g_return_val_if_fail instead of
1410 (select_color): use g_assert instead of g_return_if_fail
1412 * hildon-widgets/hildon-calendar-popup.c
1413 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1417 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1419 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1420 added HildonCodeDialog widget
1423 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1425 * hildon-widgets/hildon-window.c:
1426 - set the toolbar height explicitely
1427 - use show instead of show_all on the common_toolbar
1428 - add the toolbars bottom-up instead of top-down
1429 * hildon-widgets/hildon-program.c:
1430 - don't assume that a window was realized when added to
1434 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1436 Cleanup font selection dialog,
1438 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1439 + coding style cleanup
1441 * hildon-widgets/hildon-font-selection-dialog.c
1442 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1443 instead of g_assert.
1445 * hildon-widgets/hildon-font-selection-dialog.c
1446 (hildon_font_selection_dialog_get_text_tag)
1447 (hildon_font_selection_dialog_set_buffer)
1448 (hildon_font_selection_dialog_get_font)
1449 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1452 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1454 Cleanup range editor,
1456 * hildon-widgets/hildon-range-editor.c
1457 (hildon_range_editor_calss_init):Removed
1458 widget_calss->mnemonic_activate init
1460 * hildon-widgets/hildon-range-editor.c
1461 (hildon_range_editor_mnemonic_activate): Removed static function
1462 hildon_range_mnemonic_activate and FIXME. It is useless even
1463 through it is overriding function for
1464 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1465 focus will be realized based on different applications.
1467 * hildon-widgets/hildon-range-editor.c
1468 (is_valid_keyvalue_for_entry_keypress): new function.
1470 * hildon-widgets/hildon-range-editor.c
1471 (hildon_range_editor_entry_keypress): uses
1472 is_valid_keyvalue_for_entry_keypress
1474 * hildon-widgets/hildon-range-editor.c
1475 (hildon_range_editor_forall): use g_return_if_fail instead of
1478 * hildon-widgets/hildon-range-editor.cvn
1479 (hildon_range_editor_mnemonic_activate): removed. (unused)
1482 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1484 Cleanup hildon-note,
1486 * hildon-widgets/hildon-note.[ch]
1488 (hildon_note_five_line_truncate): removed.
1489 (hildon_note_one_line_truncate): removed.
1491 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1492 instead of _{one|five}_line_truncate() functions.
1495 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1496 into wrapper of "hildon_note_new_information_with_icon_name".
1498 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1499 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1501 - removed some unnessecary includes.
1503 - Merged hildon_note_create & hildon_note_create_form and rewrote
1504 the combination as hildon_note_rebuild
1506 - Added missing g_return_* into public functions.
1508 - Acquire real references to children which are packed/unpacked,
1509 so we do not need to bother about refcounting while changing the
1513 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1517 * hildon-widgets/hildon-number-editor.c
1519 (set_widget_allocation): use const parameter.
1521 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1523 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1524 (hildon_number_editor_set_range): removed 'negative'
1527 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1528 use g_assert instead of g_return_if_fail
1531 * hildon-widgets/hildon-time-picker.c:
1532 - in several places, replace 1440 by 24*60
1533 (PROP_AMPM): removed, unused.
1534 (hildon_time_picker_timeout): use significant parameter name,
1536 (hildon_time_picker_init): removed useless call to _change_time()
1539 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1543 * hildon-widgets/hildon-seekbar.c
1545 (_): Removed dgettext macro definition.
1547 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1549 (hildon_seekbar_finalize): removed. not needed.
1550 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1552 (hildon_seekbar_size_request): indent cleanup.
1554 (hildon_seekbar_size_allocate): simplified function.
1556 (hildon_seekbar_button_press_event): Removed unused variables.
1557 (hildon_seekbar_button_release_event): likewise.
1560 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1562 Cleanup date editor,
1564 * hildon-widgets/hildon-date-editor.c
1566 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1567 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1569 (hildon_date_editor_get_font_width): removed (legacy static
1570 function), use gtk_entry_set_width_chars instead.
1572 (hildon_date_editor_mnemonic_activate): removed mnemonic
1573 activation handler, since it's no more used by HildonCaption.
1576 - Removed some meaningless code (if (somewidget != NULL)) from
1579 - HEAVILY modified key_press, completely removed if/grab_focus
1580 spaghetti by gtk_widget_child_focus
1582 - Removed input validation from keypress (that would not work
1583 anyway, since our input method do not generate presses). => This
1584 allows to change default return value to FALSE and remove all cases
1585 that just returned FALSE for some keys.
1587 - Merged all *_entry_changed callbacks to use the same
1588 function. Again using gtk_widget_child_focus, but now with return
1589 value as well to detect last field.
1591 - Changed that calendar button is no more implemented through
1592 changing widget hierarchy (old implementation caused critical
1593 issues when you used both stylus and hardkeys at the same time to
1594 popup. => finalize method no longer contained anything => removed
1596 - Locale type is no longer needed after initial setup.
1598 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1599 hack from the days of background dimming (it was important to
1600 process background updates before the dimming was done).
1602 - Changed the field order/delimeters to be correcly derived form
1605 - Rewrote validation function, combined it with validation done in
1606 focus_out (since both are now called at the same time).
1608 - Changed set_date function to set all components at one go
1609 without doing any validation there between (before setting each
1614 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1616 Cleanup set-password dialog
1618 * hildon-widgets/hildon-set-password-dialog.[ch]
1619 (hildon_set_password_dialog_set_domain): gchar * param is const
1620 (hildon_set_password_dialog_new_with_default): likewise.
1622 * hildon-widgets/hildon-set-password-dialog.c
1624 (hildon_set_password_set_property): setting 'modify-protection'
1627 (hildon_set_password_get_property): fixed broken 'domain' (missing
1628 break statement!) and 'modify-protection' (was a null operation)
1629 properties; code simplified.
1631 (hildon_set_password_dialog_constructor),
1633 (hildon_set_password_dialog_class_init),
1634 (hildon_set_password_dialog_init):
1635 hildon_set_password_dialog_constructor removed as weird and
1636 obsolete and replaced with new function create_contents; fixed
1637 leaking group variable; removed some unused, outdated code that
1638 was already commented out.
1640 (hildon_set_password_response_change),
1641 (hildon_set_password_response_set): GtkWindow *parent arguments
1642 changed to gpointer unused; cleaned up unnecessary strcmp's
1644 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1645 checkbox). gpointer renamed to be more descriptive; Code simplified
1647 (hildon_set_password_dialog_get_type): empty function argument
1648 list replaced with void keyword.
1650 (hildon_set_password_dialog_new),
1651 (hildon_set_password_dialow_new_with_default): simplified by
1652 having the simpler constructor call the more complex one, not vice
1653 versa; moved callback connects to create_contents since they
1654 depend on the status of 'modify-protection' property
1656 (hildon_set_password_dialog_get_password): type check added
1657 (hildon_set_password_dialog_get_protected): likewise
1658 (hildon_set_password_dialog_set_domain): likewise
1661 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1663 Cleanup name-password dialog:
1665 * hildon-widgets/hildon-name-password-dialog.[ch]
1667 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1668 types changed from *HildonCaption to *GtkEntry
1670 (hildon_name_password_dialog_set_property): layout fixes;
1671 duplicated code replaced with calls to relevant public functions
1673 (hildon_name_password_dialog_get_property): layout fixes;
1674 duplicated code replaced with calls to relevant public functions
1676 (hildon_name_password_dialog_init): fixed leaking group variable;
1677 reworked to have captions as local variables and captioned entries
1678 in the private struct
1680 (hildon_name_password_dialog_new_with_default): name and password
1681 arguments declared const
1683 (hildon_name_password_dialog_get_name): type check added + cleanup
1684 (hildon_name_password_dialog_get_password): likewise.
1686 (hildon_name_password_dialog_set_domain): domain argument declared
1687 const; type check added + cleanup
1690 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1692 Cleanup get-password dialog:
1694 * hildon-widgets/hildon-get-password-dialog.[ch]
1696 (HildonGetPasswordDialogPrivate): gboolean get_old added
1698 (hildon_get_password_set_property): fixed broken 'numbers-only'
1699 and 'max-characters' cases; 'get-old' property added
1701 (hildon_get_password_get_property): added support for reading
1702 'numbers-only' properties; added missing break to 'domain' case.
1703 added 'get-old' property
1705 (hildon_get_password_dialog_class_init): 'domain' and
1706 'numbers-only' properties are now readable; 'get-old' property
1709 (hildon_get_password_dialog_init, create_contents): everything
1710 that depends on the type of the dialog (i.e. 'get-old' property)
1711 is now done in create_contents after properties are initialized;
1712 fixed leaking group variable
1714 (hildon_get_password_dialog_get_type): empty function argument
1715 list replaced with void keyword
1717 (hildon_get_password_dialog_new): moved setting the labels of the
1718 get password dialog to init where it should be done; 'get-old'
1719 property set upon construction to achieve this
1721 (hildon_get_password_dialog_new_with_default): password argument
1724 (hildon_get_password_dialog_get_password): type check added
1725 (hildon_get_password_dialog_set_domain): type check added; domain
1726 argument declared const; duplicate function declaration removed
1728 (hildon_get_password_dialog_set_title): type check added;
1729 new_title argument declared const
1731 (hildon_get_password_dialog_set_caption): type check added;
1732 new_caption argument declared const
1734 (hildon_get_password_dialog_set_max_characters): broken type check fixed
1735 (_invalid_input): gpointer data argument renamed unused
1738 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1740 (*_get_type): declared G_GNUC_CONST
1742 * hildon-widgets/hildon-app.h:
1743 * hildon-widgets/hildon-appview.h:
1744 * hildon-widgets/hildon-calendar-popup.h:
1745 * hildon-widgets/hildon-color-selector.h:
1746 * hildon-widgets/hildon-date-editor.h:
1747 * hildon-widgets/hildon-find-toolbar.h:
1748 * hildon-widgets/hildon-get-password-dialog.h:
1749 * hildon-widgets/hildon-name-password-dialog.h:
1750 * hildon-widgets/hildon-number-editor.h:
1751 * hildon-widgets/hildon-seekbar.h:
1752 * hildon-widgets/hildon-set-password-dialog.h:
1753 * hildon-widgets/hildon-sort-dialog.h:
1754 * hildon-widgets/hildon-time-editor.h:
1755 * hildon-widgets/hildon-weekday-picker.h:
1756 * hildon-widgets/hildon-wizard-dialog.h:
1758 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1762 * hildon-widgets/hildon-volumebar.c
1763 (hildon_volumebar_class_init): object class casts cleaned up
1764 (hildon_child_forall): removed unnecessary variable vbar; type check added
1765 (hildon_volumebar_set_property): removed unnecessary variable vbar
1766 (hildon_volumebar_set_level): type check added
1767 (hildon_volumebar_get_level): type check added
1768 (hildon_volumebar_set_mute): type check added
1769 (hildon_volumebar_get_mute): type check added
1770 (hildon_volumebar_get_adjustment): type check added
1771 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1773 * hildon-widgets/hildon-volumebar.h
1774 (hildon_volumebar_get_type): declared G_GNUC_CONST
1776 * hildon-widgets/hildon-volumebar-private.h:
1777 - G_BEGIN_DECLS/G_END_DECLS added
1778 - ownorientation removed from private struct
1780 * hildon-widgets/hildon-volumebar-range.c
1781 (hildon_volumebar_range_init): vacuous return statement removed
1783 (hildon_volumebar_range_set_level): removed unnecessary clamping
1784 kludge that violated object oriented principles only to provide an
1785 extremely minor, unnecessary optimization; type check added
1787 (hildon_volumebar_range_get_level): now accesses adjustment value
1788 with appropriate functions instead of reading it directly from the
1789 struct, which is bad OOP; type check added
1791 (hildon_volumebar_range_button_press_event): Added more descriptive comments
1792 (hildon_volumebar_range_button_release_event): Added more descriptive comments
1794 * hildon-widgets/hildon-volumebar-range.h
1795 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1797 * hildon-widgets/hildon-hvolumebar.c
1798 (hvolumebar_init): priv->ownorientation and v_ptr removed;
1799 completely removed the gtk_widget_show() call that was already
1802 (hildon_hvolumebar_new): empty function parameter list replaced
1805 (hildon_hvolumebar_map): vbar variable removed; type check added
1806 (hildon_hvolumebar_expose): type check added
1807 (hildon_hvolumebar_size_request): type check added
1808 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1810 * hildon-widgets/hildon-hvolumebar.h
1811 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1813 * hildon-widgets/hildon-vvolumebar.c
1814 (vvolumebar_init): priv->ownorientation and v_ptr removed
1815 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1817 (hildon_vvolumebar_expose): type check added
1818 (hildon_vvolumebar_size_request): type check added
1819 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1821 * hildon-widgets/hildon-vvolumebar.h
1822 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
1825 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
1827 * hildon-widgets/hildon-weekday-picker.c
1828 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1829 last_index; added day_order_buttons
1831 (hildon_weekday_picker_mnemonic_activate): removed.
1832 mnemonics are no longer used.
1834 (hildon_weekday_picker_class_init): Removed mnemonic_activate
1835 function. Rewritten creation of buttons. Unref'ed size group.
1837 (button_toggle): Removed bit mask checking, simplified function
1839 (hildon_weekday_picker_set_day):
1840 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1841 adjustment, unecessary for loop
1843 (hildon_weekday_picker_toggle_day): Removed date adjustment and
1844 unecessary for loop. Simplified button toggling
1846 (hildon_weekday_picker_set_all):
1847 (hildon_weekday_picker_unset_all): Removed bit mask checking and
1850 (hildon_weekday_picker_isset_day): Removed date adjustment and
1851 unecessary for loop;
1853 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1855 Added hildon-banner, as a clean replacement for gtk-infoprint
1856 * hildon-widgets/hildon-banner.[ch]: implementation and header
1857 * hildon-widgets/Makefile.am: reference new files
1858 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1859 a compatibility wrapper to hildon-banner
1861 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1863 * hildon-widgets/hildon-color-button.c: added comments
1864 * hildon-widgets/hildon-controlbar.c: Likewise.
1865 * hildon-widgets/hildon-composite-widget.c: Likewise.
1866 * hildon-widgets/hildon-calendar-popup.c: Likewise.
1868 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1870 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1873 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
1875 * configure.ac: 0.12.1
1877 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
1879 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1880 * doc/tmpl/hildon-window.sgml: likewise.
1881 * hildon-widgets/hildon-program.[ch]: likewise.
1882 * hildon-widgets/hildon-window.[ch]: likewise.
1883 * hildon-widgets/hildon-window-private.h: likewise.
1884 * hildon-widgets/Makefile.am: Added these new files to the build
1887 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
1889 * configure.ac: 0.12.0
1891 Merged hildon-lgpl into hildon-libs (and hildon-fm)
1893 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1894 * doc/tmpl/hildon-appview.sgml: likewise.
1895 * doc/tmpl/hildon-color-popup.sgml: likewise.
1896 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1897 * doc/tmpl/hildon-app.sgml: likewise.
1898 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1899 * doc/tmpl/hildon-caption.sgml: likewise.
1900 * doc/tmpl/hildon-marshalers.sgml: likewise.
1901 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1902 * doc/tmpl/hildon-defines.sgml: likewise.
1903 * doc/tmpl/gtk-infoprint.sgml: likewise.
1904 * doc/tmpl/hildon-composite-widget.sgml: likewise.
1906 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1907 * hildon-widgets/hildon-app.[ch]:likewise.
1908 * hildon-widgets/hildon-app-private.h:likewise.
1909 * hildon-widgets/hildon-appview.[ch]:likewise.
1910 * hildon-widgets/hildon-caption.[ch]:likewise.
1911 * hildon-widgets/hildon-defines.[ch]:likewise.
1912 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1913 * hildon-widgets/hildon-input-mode-hint.h:likewise.
1915 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
1916 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1920 hildon-app-private.h
1924 hildon-find-toolbar.[ch]
1925 hildon-input-mode-hint.h
1927 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1928 path for gtk-infoprint.h and hildon-input-mode-hint.h
1930 * po/en_GB.po: merged msgstr from hildon-lgpl
1932 * timer/*: added from hildon-lgpl
1936 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1938 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1941 * ut/hildon-widgets_tests.c (test41a): removed test case for
1942 hildon_file_details_dialog
1944 * doc/hildon-libs.types: likewise.
1945 * doc/hildon-libs-docs.xml: likewise.
1951 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1954 * Makefile.am (SUBDIRS): added timer/
1956 * configure.ac: do not depend anymore on hildon-lgpl nor
1957 hildon-fm, check for libmb, added Makefile output for timer/
1961 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1963 * configure.ac: 0.10.2
1965 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
1967 N#22240 CP: Tapping outside the scroll bar invoke the applet.
1968 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1969 hildon-apps scroll-control property is now handled.
1970 (get_child_index_by_coord): ignores events not matching a grid
1973 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1975 * configure.ac: 0.10.1
1977 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1979 Missing/Buggy documentation from,
1980 N#11566 make password dialog customizable (messages)
1981 * hildon-widgets/hildon-get-password-dialog.c
1982 (hildon_get_password_dialog_set_title): typo in gtkdoc function
1984 * doc/tmpl/xxx.sgml: updated.
1986 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1988 N#19369 TRUE Scketch does not show colour change when using white color
1990 Color button needs inner border white, and outer border black.
1991 * hildon-widgets/hildon-color-button.c
1992 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1994 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1995 (hildon_color_button_realize): call the above function
1997 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
1999 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2000 * hildon-widgets/hildon-note.c:
2001 (hildon_note_new_confirmation_add_buttons): updated doc
2002 (hildon_note_set_button_texts): likewise.
2004 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2006 N#21884 Cannot select read-only by using the center of the scroll key
2007 * hildon-widgets/hildon-file-details-dialog.c
2008 (hildon_file_details_dialog_init): Removed dialog default response.
2010 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2012 N#8094 5-bit color selector: wrong margins and pixel measurements
2013 M#59 HildonColorSelector needs more space
2014 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2015 (hildon_color_popup_new): add space between the control bars and
2016 the color preview area.
2018 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2020 * hildon-widgets/hildon-calendar-popup.c
2021 * hildon-widgets/hildon-color-button.c
2022 * hildon-widgets/hildon-color-popup.c
2023 * hildon-widgets/hildon-color-selector.c
2024 * hildon-widgets/hildon-composite-widget.c
2025 * hildon-widgets/hildon-controlbar.c
2026 * hildon-widgets/hildon-date-editor.c
2027 * hildon-widgets/hildon-dialoghelp.c
2028 * hildon-widgets/hildon-file-details-dialog.c
2029 * hildon-widgets/hildon-font-selection-dialog.c
2030 * hildon-widgets/hildon-get-password-dialog.c
2031 * hildon-widgets/hildon-grid-item.c
2032 * hildon-widgets/hildon-grid.c
2033 * hildon-widgets/hildon-hvolumebar.c
2034 * hildon-widgets/hildon-name-password-dialog.c
2035 * hildon-widgets/hildon-note.c
2036 * hildon-widgets/hildon-number-editor.c
2037 * hildon-widgets/hildon-range-editor.c
2038 * hildon-widgets/hildon-scroll-area.c
2039 * hildon-widgets/hildon-seekbar.c
2040 * hildon-widgets/hildon-set-password-dialog.c
2041 * hildon-widgets/hildon-sort-dialog.c
2042 * hildon-widgets/hildon-time-editor.c
2043 * hildon-widgets/hildon-time-picker.c
2044 * hildon-widgets/hildon-volumebar-private.h
2045 * hildon-widgets/hildon-volumebar-range.c
2046 * hildon-widgets/hildon-volumebar.c
2047 * hildon-widgets/hildon-vvolumebar.c
2048 * hildon-widgets/hildon-weekday-picker.c
2049 * hildon-widgets/hildon-wizard-dialog.c
2052 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2054 * configure.ac: 0.10.0
2056 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2058 Some more properties for Gazpacho support,
2060 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2061 * hildon-widgets/hildon-color-selector.c: "color"
2064 * hildon-widgets/hildon-color-selector.[ch]
2065 (hildon_color_selector_get_color): return const pointer to the
2068 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2071 Gazpacho support, added the following properties:
2073 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2074 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2075 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2076 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2077 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2078 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2079 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2080 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2081 * hildon-widgets/hildon-number-editor.c: "value"
2083 * hildon-widgets/hildon-color-button.c: minor cleanup
2086 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2088 Started new development
2089 (branche for maintenance continues with versions 0.9.x)
2091 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2093 * configure.ac: 0.9.53
2095 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2098 N#19283 Control panel - The values entered are not saved.
2099 N#19648 Hildon Date Editor widget detects values too high
2100 (note: complete fix include also fixes in GTk+)
2102 * hildon-widgets/hildon-calendar-popup.c
2103 (hildon_calendar_popup_set_property),
2104 (hildon_calendar_popup_class_init),
2105 (init_dmy): Added 'min-year', 'max-year' properties for passing
2106 the information through from HildonDateEditor to GtkCalendar
2108 * hildon-widgets/hildon-date-editor.c:
2109 (hildon_date_editor_class_init),
2110 (hildon_date_editor_init),
2111 (hildon_date_editor_set_property),
2112 (hildon_date_editor_get_property),
2114 (hildon_date_editor_entry_validate),
2115 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2116 properties and replaced hardcoded constants with them
2118 * hildon-widgets/hildon-date-editor.c
2119 (hildon_date_editor_d_entry_changed),
2120 (hildon_date_editor_m_entry_changed),
2121 (hildon_date_editor_d_entry_changed): new functions to ensure that
2122 the fields are validated and the focus is moved when maximum
2123 number of characters has been entered.
2125 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2127 * configure.ac: 0.9.52
2129 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2131 N#19140 System alerts still audible despite being turned off
2133 * hildon-widgets/hildon-note.c (sound_handling):
2135 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2137 * hildon-note.c (sound_handling): Changed to use new
2138 hildon_play_system_sound.
2139 (hildon_note_init): Signal handler id is changed to be in private
2140 structure, not in global variable.
2142 * hildon-note.c: Removed unused defines etc.
2144 * Makefile.am: Appended new files to build rules.
2146 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2148 * configure.ac: 0.9.51
2150 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2152 N#20027 PDF Reader crashes on selecting read only option in the
2155 * hildon-widgets/hildon-file-details-dialog.c:
2156 (change_state): Fixed assertion that was causing problems
2157 (check_validity): New function: We now automatically close the
2158 dialog if the displayed file is removed.
2159 (handle_focus): Callback removed:
2160 (init): Now using correct gtk way to bind container and adjustment
2161 together. Not the previous callback.
2162 (set_property): Connecting/disconnecting new handlers (for
2164 (finalize): disconnecting new handler.
2166 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2168 N#17918 Volumebar widget background image doesn't change when
2169 widget goes into mute state,
2171 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2174 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2175 using the state of the internal volumebar, not the whole container
2177 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2178 using the state of the internal volumebar, not the whole container
2180 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2182 * hildon-widgets/hildon-dialoghelp.[ch]: added
2183 gtk_dialog_help_disable and fixed bug N#19468
2185 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2187 * configure.ac: Release 0.9.50
2189 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2193 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2195 * hildon-widgets/hildon-grid.c
2196 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2197 label by logical name "Ckct_wi_grid_no_items"
2200 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2202 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2204 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2206 * configure.ac: Release 0.9.49
2208 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2210 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2211 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2212 Save the id of the idle callback and remove it when the widget is
2213 destroyed to avoid crashing. N#18096
2215 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2217 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2218 id's are unsigned and undefined at zero (instead of signed and -1)
2220 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2222 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2223 that was not working. N#16805
2225 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2227 * configure.ac: Release 0.9.48
2229 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2231 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2232 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2233 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2235 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2237 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2238 Do not override the week-start property of GtkCalendar according to
2239 the hildon-libs PO file, it is automatically determined from locale
2242 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2244 * configure.ac: Release 0.9.47
2246 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2248 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2249 property for setting the password entry accept only numeric values.
2252 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2254 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2255 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2256 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2257 Use defines rather than magic numbers in the code.
2259 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2261 Update to new l10n packaging style. po-files (inside this package)
2262 are not used for now, the message catalogs come from separate packages
2263 and including them here would conflict.
2265 * Makefile.am (SUBDIRS): stop including po-files
2266 * Makefile.am (EXTRA_DIST):
2267 * debian/hildon-libs-l10n-engb.install:
2268 * debian/hildon-libs-l10n-src.install:
2269 * po/debian/*: Removed
2271 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2273 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2274 checks to cover gateway content as well.
2276 * hildon-widgets/hildon-time-editor.c:
2277 (hildon_time_editor_validate): Replace solid numbers with defined
2279 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2282 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2284 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2285 invalid cast from `GdkWindow' to `GtkWindow'
2287 * hildon-widgets/hildon-color-popup.c
2288 (hildon_popup_palette_expose): removed debug printing
2290 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2292 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2295 * hildon-widgets/hildon-scroll-area.c
2296 (hildon_scroll_area_destroy): one-instruction function:
2297 removed. Call g_free directly.
2299 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2300 right edge of window, size of the child is also shrinked. 'fixed'
2301 does not automatically update this data -> Doing it manually.
2303 * hildon-widgets/hildon-date-editor.h: added
2304 HildonDateEditorErrorType error enumeration type, removed signal
2305 "validate-date" virtual function, added signal "date-error"
2308 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2309 added custom info prints.
2310 (hildon_date_editor_validate_date): removed
2311 (hildon_date_editor_entry_validate): validate maximum and minimum
2312 limits on each field.
2313 (hildon_date_editor_entry_focus_out): check the date validation
2314 in simpler manner, don't put content if field is empty (spec
2315 doesn't say if there should be anything placed in the entry if
2317 (hildon_date_editor_get_date),
2318 (hildon_date_editor_get_month),
2319 (hildon_date_editor_get_year),
2320 (hildon_date_editor_get_day): use direct entry content, so that 0
2321 indicates empty entry, and information is more accurate.
2323 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2325 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2327 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2328 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2330 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2332 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2334 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2336 * hildon-widgets/hildon-number-editor.c:
2337 (hildon_number_editor_select_all): new function, selects all
2338 the text in the entry.
2339 * hildon-widgets/hildon-number-editor.c: added several calls to
2340 hildon_number_editor_select_all with g_idle_add.
2342 * hildon-controlbar.c : add signal when end reached
2344 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2346 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2348 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2350 Fixed incorrect values in <Filetype> Details Dialog
2352 Fixed help button usage in dialogs
2354 * hildon-dialoghelp.c: Added more documentation about the
2357 * hildon-file-details-dialog.c: Updated to match
2358 'File Management in OSSO' version 3.0
2360 * Fixed application hang after calling gtk_main_quit
2362 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2363 ESC presses needlessly
2365 * hildon-time-editor.c: Fixed memory corruption