Hildon grid, set items to be focus-and-activate instead of single tap activation...
[hildon] / ChangeLog
1 2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
2
3         Hildon grid, set items to be focus-and-activate instead of single
4         tap activation (IMP-14) 
5         
6         * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
7         * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
8
9
10 2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
11
12         Fetch hours/minutes/seconds separators from current locale (IMP-8)
13
14         * hildon-widgets/hildon-time-editor.c
15         (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
16         (hildon_time_editor_init): do not get separator labels from i18n, but from locale
17         (hildon_time_editor_finalize): free separator symbols
18         (get_time_separators): new function. Get time separators from locale.
19         (hildon_time_editor_check_locale): call get_time_separators.
20
21 2006-04-13  Luc Pionchon  <luc.pionchon@nokia.com>
22
23         Removed icon for mandatory fields (IMP-3).
24         Note: the logic and API to specify mandatory fields is preserved.
25
26         * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
27         (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
28         (hildon_caption_set_property): case PROP_STATUS, removed related code.
29         (hildon_caption_set_label_alignment): removed related code.
30
31
32 2006-04-07  Luc Pionchon  <luc.pionchon@nokia.com>
33
34         * configure.ac: 0.12.8
35
36 2006-04-07  Luc Pionchon  <luc.pionchon@nokia.com>
37
38         * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
39
40
41 2006-04-07  Tomas Junnonen  <tomas.junnonen@nokia.com>
42
43         - Added support for Pango markup
44           Added   hildon_banner_show_information_with_markup
45         - Removed hildon_banner_show_confirmation
46         - Re-position the banner when its content changes
47         - Banner now doesn't truncate strings nor insert linebreaks
48         - fixes N#24339 - Information banners do not resize
49
50         * hildon-widgets/hildon-banner.[ch]
51         (hildon_banner_show_information_with_markup): new function. Adds
52         pango markup support for information banners.
53         
54         (hildon_banner_show_confirmation): removed. 'confirmation' was
55         used only for the taask navigator (at most). It should use
56         _show_information_with_markup with appropriate markup.
57         
58         (hildon_banner_set_markup): new function. 
59
60         (hildon_banner_check_position): new function. Factor code from
61         hildon_banner_realize(), and update position calculation.
62
63         (struct _HildonBannerPrivate): removed max_lines.
64         Uses as much lines as needed.
65
66         (hildon_banner_init): set banner label to wrap lines.
67         
68         (hildon_banner_set_text): do not truncate. Update banner's position.
69
70         (hildon_banner_set_markup): new function.
71                                     Set banner's text with Pango markup.
72
73         (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
74
75
76         * hildon-widgets/gtk-infoprint.c
77         (gtk_confirmation_banner): use hildon_banner_show_information
78         instead of _show_confirmation.
79         (gtk_confirmation_banner_with_icon_name): likewise.
80
81
82 2006-04-07  Luc Pionchon  <luc.pionchon@nokia.com>
83
84         * hildon-widgets/hildon-color-button.c
85         (hildon_color_field_expose_event): correct parameter order.
86
87
88 2006-04-07  Johan Bilien  <johan.bilien@nokia.com>
89
90         * hildon-widgets/hildon-window.c:
91           - Fixed a potential infinite loop when detaching the menus
92             from the window widget (Closes N#26033)
93
94 2006-04-06  Johan Bilien  <johan.bilien@nokia.com>
95
96         * hildon-widgets/hildon-window.c:
97           - Fixed a bug that made window fullscreen state tracking fail
98           - Apply correct theming to menus so that they get placed
99             correctly (Fixes N#24325)
100           - Redraw the window borders if the size of the toolbar vbox changes
101           - Reset the program to NULL in hildon_window_destroy
102           - Stop the ESC key-press timeout when the window loses the focus
103           - Small cleanups
104         * hildon-widgets/hildon-program.c:
105           - Reset the common toolbar to NULL when the program is finalised
106
107 2006-04-04  Marius Vollmer  <marius.vollmer@nokia.com>
108
109         * hildon-widgets/hildon-get-password-dialog.h,
110         hildon-widgets/hildon-get-password-dialog.c
111         (hildon_get_password_dialog_new,
112         hildon_get_password_dialog_new_with_default): Renamed
113         get_old_password_title parameter to "get_old" to correspond with
114         the property name.  This helps the C++ bindings.
115         * ut/hildon-widgets_tests.c (test43, test44): New.
116
117 2006-04-03  Marius Vollmer  <marius.vollmer@nokia.com>
118
119         * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
120         test20a, test20b, test20c, test20d, test36a, test36b, test36c,
121         test36d.
122
123         From Murray Cumming.
124         
125         * hildon-lgpl/hildon-caption.c:
126         (hildon_caption_init): Do the hildon_caption_set_child_expand()
127         here.
128         (hildon_caption_new): Use the child property from GtkContainer
129         instead of calling gtk_container_add(), because _new() functions
130         should just use g_object_new(), so that language-bindings can do
131         the same.
132
133         * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new. 
134
135 2006-03-30  Luc Pionchon  <luc.pionchon@nokia.com>
136
137         * configure.ac: 0.12.7
138
139 2006-03-29  Luc Pionchon  <luc.pionchon@nokia.com>
140
141         Fixes N#20917
142         * hildon-widgets/hildon-font-selection-dialog.c
143         (REFERENCE_LINE): removed
144         (hildon_font_selection_dialog_show_preview): added l10n support
145         for the reference string (use to differentiate sub/super script in
146         font preview)
147         (hildon_font_selection_dialog_show_preview): likewise
148
149
150 2006-03-28  Luc Pionchon  <luc.pionchon@nokia.com>
151
152         * po/en_GB.po: update
153
154 2006-03-28  Luc Pionchon  <luc.pionchon@nokia.com>
155
156         * hildon-widgets/hildon-add-home-dialog.c
157         (hildon_add_home_dialog_init): removed i18n support (deprecated
158         widget. Hinder logical ID processing)
159         (hildon_add_home_dialog_new): likewise.
160
161         * hildon-widgets/hildon-insert-object-dialog.c
162         (hildon_insert_object_dialog_init): likewise.
163
164
165 2006-03-28  Luc Pionchon  <luc.pionchon@nokia.com>
166
167         * hildon-widgets/hildon-font-selection-dialog.c
168         (hildon_font_selection_dialog_construct_notebook): logical ID typo
169         
170
171 2006-03-27  Johan Bilien  <johan.bilien@nokia.com>
172
173         * hildon-widgets/hildon-window.[ch]:
174           - update the title when the window is realized
175           - added support for long press on the ESC key. Fixes N#24620
176
177 2006-03-26  Luc Pionchon  <luc.pionchon@nokia.com>
178
179         * hildon-widgets/hildon-time-editor.h: indent, improve readability.
180
181 2006-03-26  Luc Pionchon  <luc.pionchon@nokia.com>
182
183         * hildon-widgets/hildon-seekbar.c
184         (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
185
186 2006-03-24  Luc Pionchon  <luc.pionchon@nokia.com>
187
188         * configure.ac: 0.12.6
189
190 2006-03-23  Luc Pionchon  <luc.pionchon@nokia.com>
191
192         * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
193         fixed typo GKD_Left -> GDK_Left, N#24042
194
195
196 2006-03-22  Luc Pionchon  <luc.pionchon@nokia.com>
197
198
199         Fixed i18n issues:
200
201
202         Updated logical id to lower case: Ckct_ -> ckct_
203         * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error): 
204         * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler): 
205         * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init) 
206         (hildon_range_editor_init, hildon_range_editor_entry_validate) 
207         (hildon_range_editor_entry_validate): 
208         * hildon-widgets/hildon-time-editor.c (validated_conversion) 
209         (validated_conversion, hildon_time_editor_real_validate): 
210         * hildon-widgets/hildon-grid.c (hildon_grid_class_init) 
211         (hildon_grid_init): 
212
213
214         Updated logical id to lower case: Ecdg_ -> ecdg_
215         * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init): 
216         * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init): 
217         * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init): 
218         * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new) 
219         * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init) 
220         (hildon_wizard_dialog_create_title): 
221         * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init): 
222         (hildon_find_toolbar_init): 
223         * hildon-widgets/hildon-note.c (hildon_note_rebuild) 
224         (hildon_note_rebuild, hildon_note_set_button_text): 
225
226
227         Removed i18n support for property description,
228         * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
229
230
231 2006-03-21  Luc Pionchon  <luc.pionchon@nokia.com>
232
233         * configure.ac: 0.12.5
234
235 2006-03-21  Tommi Komulainen  <tommi.komulainen@nokia.com>
236         
237         * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
238         * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
239         blocks, again.
240
241 2006-03-20  Johan Bilien  <johan.bilien@nokia.com>
242
243         * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
244           HILDON_IS_APP
245
246 2006-03-20  Johan Bilien  <johan.bilien@nokia.com>
247
248         Cleanup wizard dialog,
249
250         * hildon-widgets/hildon-wizard-dialog.c
251         (struct HildonWizardDialogPrivate): removed 'previous_button'
252           and 'next_button' (obsolete)
253         
254         (hildon_wizard_dialog_response): new private function. Handles the
255         'response' signal and replaces direction_button_clicked() in
256         taking care of notebook page changes and button dimming.
257
258         (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
259         added to the dialog as response buttons. This enables the usage of
260         GtkDialog API for setting their sensitiveness.
261         
262         (dimming/undimming): Connected hildon_wizard_dialog_response to
263         "resonse" signal. Removed useless title creation because it
264         depends on the notebook which is not yet created.
265         
266         (hildon_wizard_dialog_set_property): minor code cleanup
267         
268         (hildon_wizard_dialog_create_title): removed useless else-if
269         statement.
270
271         * hildon-widgets/hildon-wizard-dialog.h
272         (hildon_wizard_dialog_get_type): added G_GNUC_CONST
273
274
275         * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
276           adding the page_change signal, as the application can now track
277           the response signal instead.
278
279
280 2006-03-17  Luc Pionchon  <luc.pionchon@nokia.com>
281
282         * configure.ac: 0.12.4
283
284
285 2006-03-16  Luc Pionchon  <luc.pionchon@nokia.com>
286
287         * doc/tmpl/*
288         * hildon-widgets/*
289         moved widget descriptions to respective source file (*.c)
290         + minor doc updates
291
292
293 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
294
295         Cleanup color button
296
297         * hildon-widgets/hildon-color-button.c: 
298         - removed unused #include
299         - removed unused gettext macro
300
301         (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
302         (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
303         + value updated to match specifications
304         
305         (struct _HildonColorButtonPrivate):
306         removed 'drawing_area' and 'pixbuf' members (unused)
307
308         (hildon_color_button_init):     
309         use drawing_area directly, update COLOR_FILLED_ macro names
310
311         (hildon_color_button_unrealize): new function.
312         (hildon_color_button_class_init): register unrealize function   
313         (hildon_color_button_finalize): free allocated GC in unrealize
314         handler instead of in finalize.
315         
316         (hildon_color_button_recolor_pixbuf): removed. (use
317         gdk_draw_rectangle() instead)
318         (hildon_color_button_draw_pixbuf_borders): likewise
319         
320         (hildon_color_field_expose_event): use gdk_draw_rectangle() to
321         draw the button
322         (hildon_color_button_set_property): queue the drawing - instead of
323         calling recolor_pixbuf
324
325         (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
326
327
328 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
329
330         More cleanup for range editor,
331         
332         * hildon-widgets/hildon-range-editor.[ch]
333         - removed useless includes
334         (hildon_range_editor_new_with_separator): set char parameter 'const'
335
336         * hildon-widgets/hildon-range-editor.c
337         - removed useless includes
338         - rewritten a lot of functions because code was inefficient.  
339         - removed useless g_return_if_fail calls from various functions.  
340
341         (hildon_range_editor_init): Romoved unneeded casts, added composite names.
342         (hildon_range_editor_entry_keypress):  rewritten
343         (hildon_range_editor_entry_focus_out): rewritten
344         (hildon_range_editor_refresh_widths): New function
345         (hildon_range_editor_set_range): Make sure that the values are in
346         correct order
347         (hildon_range_editor_set_lower):  rewritten.
348         (hildon_range_editor_set_higher): rewritten.
349         (hildon_range_editor_set_min):    rewritten.
350         (hildon_range_editor_set_max):    rewritten.
351
352         (hildon_range_editor_entry_validate): New validator function
353         (hildon_range_editor_entry_changed): New signal handler for
354         "changed" for entries, this will now validate whenever entry changes.
355
356         (hildon_range_editor_entry_focus_out): Added g_assert for
357         editor. Removed call to hildon_range_editor_apply_current_range().
358         Added call to the new function hildon_range_editor_entry_validate()
359         for validation.
360         
361         (hildon_range_editor_init): connected
362         hildon_range_editor_entry_changed to "changed" for entries.
363
364
365 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
366
367         Major cleanup for time editor
368
369         * hildon-widgets/hildon-time-editor.c
370         - removed unused #includes.
371         - Removed useless g_return_if_fail(editor) calls
372         (HILDON_IS_TIME_EDITOR does this check as well for us).
373         
374         (hildon_time_editor_add_style):         removed, obsolete.
375         (hildon_time_editor_mnemonic_activate): removed, obsolete
376         (hildon_time_editor_get_max_values):    removed, obsolete.
377         
378         (validated_conversion): New helper function
379
380         (hildon_time_editor_entry_changed): New function, now the widget
381         interactively validates the inputted contents (not requiring focus
382         move).
383
384         (ticks_to_time): rewritten, using less arithmetic operations.
385         (hildon_time_editor_validate):          rewritten
386         (hildon_time_editor_set_ticks):         rewritten
387         (hildon_time_editor_set_duration_mode): rewritten
388         (hildon_time_editor_entry_keypress):    rewritten
389
390         * hildon-widgets/hildon-time-editor.[ch]
391         (hildon_time_editor_set_show_hours)
392         (hildon_time_editor_get_show_hours) new functions to show/hide hours
393
394         
395 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
396
397         Cleanup number editor
398         
399         * hildon-widgets/hildon-number-editor.c: 
400         (SPACE_BORDER): removed
401         
402         (hildon_number_editor_size_request):
403         (hildon_number_editor_size_allocate): updated to use hildondefines
404         
405         (hildon_number_editor_mnemonic_activate): function removed,
406         mnemonic are not used
407         
408         (hildon_number_editor_stop_repeat_timer): new function, to avoid
409         duplicated code
410         (hildon_number_editor_button_release):
411         (hildon_number_editor_finalize): updated to use new function
412
413         (hildon_number_editor_entry_keypress): completely rewritten
414         (change_numbers): likewise
415         (do_mouse_timeout): likewise
416         (hildon_number_editor_set_range): likewise
417
418         (hildon_number_editor_validate_value): new function, used for all
419         validation
420         (hildon_number_editor_focus_out):
421         (hildon_number_editor_entry_changed): updated to use previous.
422
423         (hildon_number_editor_real_set_value): new function that formats
424         given int to field. Used by change_numbers and set_value
425
426         (integer_to_string): removed, we now have one place that
427         converts numbers and that uses buffer from stack.
428         (hildon_number_editor_set_value): changed to use new format function.
429
430
431 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
432
433         * hildon-widgets/hildon-time-picker.c:
434         reorganized how the widgets are stored to reduce code
435         (HildonTimePickerWidgetGroup): new struct
436         (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
437         (hildon_time_picker_init)
438         (hildon_time_picker_arrow_press)
439         (hildon_time_picker_event_box_key_press)
440         (hildon_time_picker_change_time)
441         (hildon_time_picker_map)
442         (hildon_time_picker_event_box_key_release): use new widget organization
443         
444
445         (hildon_time_picker_init): return value from nl_timeinfo() is
446         valid only until it's called again, so g_strdup() the value when
447         storing it.
448
449         (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
450         (HILDON_TIME_PICKER_LABEL_X_PADDING) 
451         (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
452         (hildon_time_picker_set_time):
453         (hildon_time_picker_get_time):
454         (hildon_time_picker_ampm_release): used the new defines
455
456         (struct _HildonTimePickerPrivate)
457         (hildon_time_picker_init) 
458         (hildon_time_picker_event_box_key_press) 
459         (hildon_time_picker_change_time): 
460         - c12h     renamed to show_ampm,
461         - ampo_pos renamed to ampm_left.
462
463         (hildon_time_picker_timeout): renamed to
464         hildon_time_picker_key_repeat_timeout(), 
465         and renamed parameter to 'hildon_time_picker'
466
467         (hildon_time_picker_event_box_press): renamed to
468         hildon_time_picker_event_box_button_press()
469
470         (hildon_time_picker_finalize): Added finalizer to make sure the
471         key repeat timeout handler gets removed.
472
473         (hildon_time_picker_arrow_press): Placed multipliers into
474         button_multipliers[] array to avoid multiple if/then/else
475         blocks.
476
477
478 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
479
480         * hildon-lgpl/hildon-find-toolbar.c (hildon_find_toolbar_filter):
481         calculates correctly which items will be visible. Fixes N#16991.
482
483
484 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
485
486         * hildon-widgets/hildon-find-toolbar.c
487         (hildon_find_toolbar_history_append): set "column" property only
488         after model has been set.
489         
490         
491 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
492
493         * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
494         the parameter more descriptively
495
496
497 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
498
499         Cleanup HildonApp,
500         
501         * hildon-widgets/hildon-app-private.h: use G_*_DECLS
502
503         * hildon-widgets/hildon-app.[ch]
504         (hildon_zoom_level_get_type): removed G_CONST_RETURN
505
506         * hildon-widgets/hildon-app.c:
507         - removed HILDON_DISABLE_DEPRECATED flags
508         - added g_assert'ions to internal functions
509         - more code comments
510         
511         (hildon_app_button): Move the fixed define to the function itself,
512         add simple autodetection, clean up comments.
513
514         (hildon_app_key_release): Remove bogus argument to signal emission
515         (not needed), emit the "fullscreen_state_change" directly instead
516         of calling set_fullscreen.
517
518         (hildon_app_construct_title): removed dead code
519
520         (hildon_app_register_view_with_id): do not call g_slist_nth() to
521         get the first element...
522         
523         
524 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
525
526         * hildon-widgets/hildon-appview.c: 
527         (hildon_appview_init):   indented comments properly
528         (paint_toolbar):         indented comments properly
529         (hildon_appview_expose): indented code properly
530         (hildon_appview_toolbar_toggle_request): removed dead code
531
532
533 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
534
535         * hildon-widgets/hildon-caption.c
536         (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
537         (hildon_caption_size_allocate): likewise.
538         (hildon_caption_forall): likewise.
539
540
541 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
542
543         Cleanup Find toolbar,
544         
545         * hildon-widgets/hildon-find-toolbar.[ch]
546         (hildon_find_toolbar_new): set 'label' parameter const.
547         (hildon_find_toolbar_new_with_model): likewise.
548
549         * hildon-widgets/hildon-find-toolbar.c
550         (struct _HildonFindToolbarPrivate):
551           changed entry_combo_box type to GtkComboBoxEntry*
552
553         (hildon_find_toolbar_get_list_model): new function, to factor
554         member access and casting
555         (hildon_find_toolbar_get_entry): likewise.
556         (hildon_find_toolbar_apply_filter): removed set_column parameter
557         since it was used by only one caller, and made the caller do it
558         instead. Removed unnecessary casts.
559
560         (hildon_find_toolbar_find_string): new function.
561         (hildon_find_toolbar_history_append): code cleanup. use
562         hildon_find_toolbar_find_string.
563         
564         (hildon_find_toolbar_get_property)
565         (hildon_find_toolbar_get_entry)
566         (hildon_find_toolbar_init)
567         (hildon_find_toolbar_new)
568         (hildon_find_toolbar_new_with_model)
569         (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
570         and changed some of them to use the new convenience functions
571         instead.
572
573         (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
574         instead of if-check to validate parameter.
575
576         
577 2006-03-15  Luc Pionchon  <luc.pionchon@nokia.com>
578
579         Cleanup hildon-defines,
580         
581         * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init) 
582         (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
583
584         (hildon_logical_data_free): new function. Free logical data.
585         (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
586         (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
587
588         * hildon-widgets/hildon-defines.[ch]
589         (hildon_gtk_widget_set_logical_font): use const gchar*
590         (hildon_gtk_widget_set_logical_color): likewise.
591
592         * hildon-widgets/hildon-defines.c: 
593         (hildoniconsizes): set const
594         (hildoninternaliconsizes): set static, renamed 'iis'
595
596         
597 2006-03-14  Luc Pionchon  <luc.pionchon@nokia.com>
598
599         Cleanup Caption widget,
600         
601         * hildon-lgpl/hildon-caption.[ch]
602         (hildon_caption_status_get_type, hildon_caption_get_type):
603         G_CONST_RETURN removed, G_GNUC_CONST added
604
605         * hildon-widgets/hildon-caption.c
606
607         (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
608
609         (hildon_caption_set_property): removed useless code.
610         (hildon_caption_button_press): simplified greatly by removing the
611         unnecessary recursion to locate the first focusable child of a
612         container - simple gtk_widget_grab_focus achieves the same
613         (get_first_focusable_child): removed (not used anymore)
614         
615         (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
616
617         (hildon_caption_set_focus_child): removed (not used anymore)
618         (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
619
620         (hildon_caption_hierarchy_changed): type check added
621         (hildon_caption_forall): callback null check added
622         (hildon_caption_set_status): type check added
623         (hildon_caption_set_icon_image): type check added
624         (hildon_caption_activate): activate_block kludge removed as outdated
625         (hildon_caption_get_child_expand): argument declared const
626         (hildon_caption_set_label_text): g_return_if_fail changed to
627         g_assert since this is not a public function;
628         Duplicate separator check now uses correct localized separator
629         instead of assuming ':'
630
631         
632 2006-03-14  Luc Pionchon  <luc.pionchon@nokia.com>
633
634         Cleanup AppView,
635         
636         * hildon-lgpl/hildon-appview-c:
637         (hildon_app_view_init): Fixed a problem that prevented to set an
638         arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
639         between toolbars). This fix involves a change in the default gtkrc
640         file, ie. the modification of the 'border' value of the
641         "toolbar-frame-middle" image in the osso-appview-background style.
642
643         (hildon_appview_add_with_scrollbar): pack in a scrolled window all
644         widget supporting adjustements, not only viewports.
645
646         (visible_toolbar): use proper parameter names
647         (find_findtoolbar_index): likewise.
648         (find_findtoolbar): likewise.
649         
650         (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
651         (hildon_appview_finalize): likewise.
652         (hildon_appview_signal_marshal): likewise.
653         (hildon_appview_forall): likewise.
654         (hildon_appview_switched_to): likewise. 
655         (hildon_appview_real_fullscreen_state_change): likewise.
656
657         
658 2006-03-14  Luc Pionchon  <luc.pionchon@nokia.com>
659
660         * hildon-widgets/hildon-date-editor.c
661         (hildon_date_editor_entry_validate): Now, if an invalid date is
662         entered, date-editor reverts to previous date, instead of setting
663         the maximum allowed days.
664
665
666 2006-03-14  Luc Pionchon  <luc.pionchon@nokia.com>
667
668         * hildon-widgets/hildon-date-editor.h
669         (enum HildonDateEditorErrorType): added NO_ERROR entry.
670
671         * hildon-widgets/hildon-date-editor.c
672         (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
673         (hildon_date_editor_entry_validate): check error_code against NO_ERROR
674
675
676 2006-03-14  Luc Pionchon  <luc.pionchon@nokia.com>
677
678         * hildon-widgets/hildon-get-password-dialog.c:
679         (hildon_get_password_dialog_set_title): Removed the deprecation
680         #ifdefs from the .c file.
681
682         * hildon-widgets/hildon-file-handling-note.c: likewise.
683
684
685
686 2006-03-14  Luc Pionchon  <luc.pionchon@nokia.com>
687
688         * hildon-widgets/hildon-color-selector.c: Removed unused defines.
689
690         * hildon-widgets/hildon-color-selector.c
691         (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
692         (hildon_color_selector_expose)
693         (hildon_color_selector_get_color)
694         (hildon_color_selector_set_color)
695         (key_pressed)
696         (select_color)  
697         (modify_focused): Separate selected color and focused color.
698         Focused color now draws a different colored border around it.
699         Renamed modify_selected() to modify_focused().
700
701         * hildon-widgets/hildon-color-selector.c
702         (hildon_color_selector_expose)
703         (select_color): Changed the logic in how the box positions are
704         calculated. The old logic was wrong, but just happened to work
705         with those specific values.
706
707         * hildon-widgets/hildon-color-selector.c
708         (hildon_color_selector_expose): Draw the selected-border using
709         ImageBorderColor color instead of hardcoded black.
710
711
712 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
713
714         * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
715         removed current_color; use initial_color directly.
716         Disabled select-hardkey from activating to OK-button by default. 
717
718
719 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
720
721         * hildon-widgets/hildon-date-editor.c
722         (hildon_date_editor_keypress): removed the unnecessary check for
723         the position of the cursor in the text-field which was hindering
724         the Left key from working as expected.
725
726
727 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
728
729         * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal 
730         after setting the toggle_button active. Prevents GLIB_CRITICALs. 
731
732 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
733
734         * hildon-widgets/hildon-dialoghelp.c: minor cleanups
735
736         
737 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
738
739         * hildon-widgets/hildon-font-selection-dialog.c
740         (hildon_font_selection_dialog_show_preview): set line wrap for
741         preview label.
742
743
744 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
745
746         * hildon-widgets/hildon-date-editor.c
747         (hildon_child_forall): cast 'container'
748         (hildon_date_editor_size_allocate): adjusted height allocation.
749
750
751 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
752
753         Cleanup calendar popup,
754
755         * hildon-widgets/hildon-calendar-popup.c: 
756         - updated 'longdesc' comment.
757         - removed gtk-infoprint.h from included headers (unused).
758
759         (struct HildonCalendarPopupPrivate): removed member
760         'can_exit' (useless).
761         (hildon_calendar_day_selected): removed (useless).
762         (hildon_calendar_allow_exit): likewise.
763         (hildon_calendar_deny_exit): likewise.
764
765         (hildon_calendar_selected_date): new function. replaces
766         hildon_calendar_allow_exit()
767
768         (hildon_calendar_popup_init):
769         - Removed initialization for 'can_exit'. 
770         - Removed connection to removed useless functions.
771         - Connect "selected_date" to hildon_calendar_selected_date().
772         - Do not grab the focus (useless)
773
774         (hildon_key_pressed): just handle ESC and Return keys.
775
776         (hildon_calendar_popup_get_property): removed unused variables.
777
778
779 2006-03-13  Tommi Komulainen  <tommi.komulainen@nokia.com>
780
781         * hildon-widgets/hildon-caption.c
782         * hildon-widgets/hildon-composite-widget.h
783         * hildon-widgets/hildon-get-password-dialog.c
784         * hildon-widgets/hildon-grid.h
785         * hildon-widgets/hildon-grid-item.h
786         * hildon-widgets/hildon-volumebar-range.c
787         * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
788         blocks.
789         (hildon_controlbar_get_type): likewise.
790
791 2006-03-13  Tommi Komulainen  <tommi.komulainen@nokia.com>
792
793         * doc/hildon-libs.types: Add missing types
794         * doc/hildon-libs-docs.sgml: Add missing links and some organization
795         * doc/tmpl/*: Regenerate and add new files
796
797 2006-03-13  Tommi Komulainen  <tommi.komulainen@nokia.com>
798
799         * doc/Makefile.am: 
800         * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
801
802 2006-03-13  Tommi Komulainen  <tommi.komulainen@nokia.com>
803
804         * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
805         * doc/Makefile.am: Ignore right files with IGNORE_HFILES
806
807 2006-03-13  Tommi Komulainen  <tommi.komulainen@nokia.com>
808         
809         * autogen.sh
810         * configure.ac
811         * doc/Makefile.am: Update gtk-doc framework bits
812         * gtk-doc.make (commit generated file)
813         * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1) 
814
815 2006-03-13  Johan Bilien  <johan.bilien@nokia.com>
816         * hildon-widgets/hildon-code-dialog.c:
817           - Add default title
818           - Fix l10n
819
820 2006-03-07  Johan Bilien  <johan.bilien@nokia.com>
821
822         * hildon-widgets/hildon-window.c: propagate key-press event to the
823           parent class (Closes N#23400)
824         * configure.ac: 0.12.3
825
826 2006-03-06  Johan Bilien  <johan.bilien@nokia.com>
827
828         * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
829           of Artem Garmash 
830         * configure.ac: 0.12.2
831
832
833 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
834
835         * hildon-widgets/hildon-color-selector.c (key_pressed): use
836         g_assert instead of g_return_val_if_fail
837
838         + indent changes
839
840
841 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
842
843         * hildon-widgets/hildon-get-password-dialog.[ch]: 
844         (hildon_get_password_dialog_set_title) marked deprecated.
845
846         + cleanup header coding style
847
848         
849 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
850
851         Cleanup font selection dialog
852         
853         * hildon-widgets/hildon-font-selection-dialog.c
854
855         (hildon_font_selection_dialog_construct_notebook): removed dummy
856         label
857
858         (color_modified_cb): renamed argument 'data' to 'fsd_priv'
859
860         (hildon_font_selection_dialog_preview_key_press): Renamed argument
861         'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
862
863         (toggle_clicked): renamed argument 'data' to 'unused'
864
865         (hildon_font_selection_dialog_set_preview_text): added proper
866         argument checking
867
868
869 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
870
871         * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
872         removed console messages.
873
874         
875 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
876
877         * hildon-widgets/hildon-sort-dialog.c: removed unused #include
878         (struct _HildonSortDialogPrivate):
879         - removed okButton, cancelButton
880         - removed sort_by_value, sort_order_type
881         - removed index_first
882         - renamed combo1   to combo_key
883         - renamed caption1 to caption_key
884         - renamed combo2   to combo_order
885         - renamed caption2 to cpation_order
886
887         (hildon_sort_dialog_init): removed init of unused fields.
888                                    use new field names.
889         (hildon_sort_dialog_get_sort_key): likewise.
890         (hildon_sort_dialog_get_sort_order): likewise.
891         (hildon_sort_dialog_set_sort_key): likewise.
892         (hildon_sort_dialog_set_sort_order): likewise.
893         (hildon_sort_dialog_add_sort_key): likewise.
894         
895 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
896
897         * hildon-widgets/hildon-date-editor.c
898         (hildon_child_forall): use g_assert instead of g_return_if_fail
899         (hildon_date_editor_entry_validate): likewise.
900
901
902 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
903
904         * hildon-widgets/hildon-controlbar.c
905         (hildon_controlbar_change_value): commented function.
906
907         * hildon-widgets/hildon-wizard-dialog.c
908         (hildon_wizard_dialog_get_property): likewise.
909
910
911 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
912
913         Cleanup weekday picker,
914
915         * hildon-widgets/hildon-weekday-picker.c
916         (_): removed unused gettext macro
917         (button_toggle): use meaningful parameter name
918         (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
919         (hildon_weekday_picker_size_allocate): likewise.
920         (button_toggle): likewise.
921
922         
923 2006-03-03  Luc Pionchon  <luc.pionchon@nokia.com>
924
925         Cleanup time editor,
926         
927         * hildon-widgets/hildon-time-editor.c
928         (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
929         (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
930         (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
931         (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
932
933         (struct _HildonTimeEditorPrivate):
934         - h_entry, m_entry, s_entry replaced by entries[],
935                                     allows to remove a lot of code.
936         - label  renamed to hm_label
937         - label2 renamed to sec_label
938         - ampm   renamed to ampm_label
939         - show_s renamed to show_seconds
940         - removed fields: icon, valid_value, validated
941
942         + moved up in the file.
943
944         (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
945
946         (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
947
948         (set_widget_allocation): removed
949         (hildon_time_editor_entry_changed): removed
950
951         (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
952
953         (hildon_time_editor_forall): removed unnecessary code
954         (hildon_time_editor_destroy): likewise. 
955
956         (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
957
958         (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
959
960         (hildon_time_editor_set_to_current_time): new function. (factorise code)
961         (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
962                                    use new variable names,
963                                    use hildon_time_editor_set_to_current_time
964         
965         (hildon_time_editor_mnemonic_activate): uses 'entries[]'
966         (hildon_time_editor_set_ticks): use g_assert instead of
967                                         g_return_if_fails, use
968                                         'entries[]', removed dead code
969
970         (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
971         (hildon_time_editor_validate): use 'entries[]', removed dead code
972         (hildon_time_editor_get_max_values): use 'entries[]'
973
974
975         (hildon_time_editor_get_show_seconds): use new variable names
976         (hildon_time_editor_set_duration_mode): likewise.
977
978         (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
979
980         (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
981                                            removed dead code
982         (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
983
984         (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
985
986         (set_widget_allocation): removed (unused)
987         (hildon_time_editor_entry_changed): removed (unused)
988
989         (IS_VALID_KEYPRESS): new macro
990         (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
991                                              deleate dead/unnecessary code
992                                              use 'entries[]'
993                                              use IS_VALID_KEYPRESS
994
995         (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
996
997         (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
998
999         (hildon_time_editor_size_allocate): cleanup
1000         (convert_to_12h): cleanup code style
1001
1002         (hildon_time_editor_show_seconds): removed deprecation flag
1003         (hildon_time_editor_enable_duration_mode): likewise.
1004
1005
1006 2006-03-02  Luc Pionchon  <luc.pionchon@nokia.com>
1007         
1008         Cleanup volume bars,
1009
1010         * hildon-widgets/hildon-volumebar.h: removed unused #include
1011         + coding style cleanup
1012
1013         * hildon-widgets/hildon-volumebar.c
1014         (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1015         signal to widget.
1016         (hildon_child_forall): use g_assert instead of g_return_if_fail
1017
1018         * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1019         + coding style cleanup
1020
1021         * hildon-widgets/hildon-volumebar-private.h:
1022         added missing #include.
1023         added _hildon_volumebar_mute_toggled.
1024         (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1025
1026
1027         
1028         * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1029         + coding style cleanup
1030
1031         * hildon-widgets/hildon-vvolumebar.c
1032         (hildon_vvolumebar_size_request)
1033         (hildon_vvolumebar_size_allocate)
1034         (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1035
1036         * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1037         
1038         * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1039         (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1040         (vvolumebar_init): renamed to hildon_vvolumebar_init
1041         (hildon_vvolumebar_init): removed unused 'orientation'
1042         initialisation. Use _hildon_volumebar_mute_toggled instead of
1043         removed hildon_vvolumebar_mute.
1044
1045
1046         
1047         * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1048         
1049         * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1050         renamed to hildon_hvolumebar_class_init
1051
1052         * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1053         hildon_hvolumebar_init
1054
1055         * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1056         removed (unused).
1057
1058         * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1059         removed unused 'orientation' initialisation.
1060
1061         * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1062         _hildon_volumebar_mute_toggled instead of removed
1063         hildon_hvolumebar_mute.
1064
1065
1066 2006-03-02  Luc Pionchon  <luc.pionchon@nokia.com>
1067
1068         More cleanup,
1069
1070         * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1071         coding style cleanup
1072
1073         * hildon-widgets/hildon-color-popup.h: likewise.
1074
1075         * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1076         use const parameter
1077
1078         * hildon-widgets/hildon-color-selector.c
1079         (hildon_color_selector_new): use g_return_val_if_fail instead of
1080         g_assert.
1081         (select_color): use g_assert instead of g_return_if_fail
1082
1083         * hildon-widgets/hildon-calendar-popup.c
1084         (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1085
1086
1087
1088 2006-03-02  Johan Bilien  <johan.bilien@nokia.com>
1089
1090         * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1091           added HildonCodeDialog widget
1092
1093
1094 2006-03-02  Johan Bilien  <johan.bilien@nokia.com>
1095
1096         * hildon-widgets/hildon-window.c: 
1097           - set the toolbar height explicitely
1098           - use show instead of show_all on the common_toolbar
1099           - add the toolbars bottom-up instead of top-down
1100         * hildon-widgets/hildon-program.c:
1101           - don't assume that a window was realized when added to 
1102             the program
1103
1104
1105 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1106
1107         Cleanup font selection dialog,
1108
1109         * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1110         + coding style cleanup
1111
1112         * hildon-widgets/hildon-font-selection-dialog.c
1113         (hildon_font_selection_dialog_finalize): use g_return_if_fail
1114         instead of g_assert.
1115
1116         * hildon-widgets/hildon-font-selection-dialog.c
1117         (hildon_font_selection_dialog_get_text_tag)
1118         (hildon_font_selection_dialog_set_buffer)
1119         (hildon_font_selection_dialog_get_font)
1120         (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1121
1122
1123 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1124
1125         Cleanup range editor,
1126         
1127         * hildon-widgets/hildon-range-editor.c
1128         (hildon_range_editor_calss_init):Removed
1129         widget_calss->mnemonic_activate init
1130
1131         * hildon-widgets/hildon-range-editor.c
1132         (hildon_range_editor_mnemonic_activate): Removed static function
1133         hildon_range_mnemonic_activate and FIXME. It is useless even
1134         through it is overriding function for
1135         GtkWidgetClass->mnemonic_activate. The activation and keyboard
1136         focus will be realized based on different applications.
1137
1138         * hildon-widgets/hildon-range-editor.c
1139         (is_valid_keyvalue_for_entry_keypress): new function.
1140
1141         * hildon-widgets/hildon-range-editor.c
1142         (hildon_range_editor_entry_keypress): uses
1143         is_valid_keyvalue_for_entry_keypress
1144         
1145         * hildon-widgets/hildon-range-editor.c
1146         (hildon_range_editor_forall): use g_return_if_fail instead of
1147         g_assert
1148
1149         * hildon-widgets/hildon-range-editor.cvn
1150         (hildon_range_editor_mnemonic_activate): removed. (unused)
1151
1152
1153 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1154
1155         Cleanup hildon-note,
1156         
1157         * hildon-widgets/hildon-note.[ch]
1158
1159         (hildon_note_five_line_truncate): removed.
1160         (hildon_note_one_line_truncate): removed.
1161
1162         (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1163         instead of _{one|five}_line_truncate() functions.
1164
1165
1166         (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1167         into wrapper of "hildon_note_new_information_with_icon_name".
1168
1169         (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1170         (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1171         
1172         - removed some unnessecary includes.
1173
1174         - Merged hildon_note_create & hildon_note_create_form and rewrote
1175         the combination as hildon_note_rebuild
1176
1177         - Added missing g_return_* into public functions.
1178
1179         - Acquire real references to children which are packed/unpacked,
1180         so we do not need to bother about refcounting while changing the
1181         layout.
1182         
1183         
1184 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1185
1186         More cleanup:
1187         
1188         * hildon-widgets/hildon-number-editor.c
1189
1190         (set_widget_allocation): use const parameter.
1191
1192         (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1193
1194         (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1195         (hildon_number_editor_set_range): removed 'negative'
1196
1197
1198         * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1199         use g_assert instead of g_return_if_fail
1200
1201
1202         * hildon-widgets/hildon-time-picker.c:
1203         - in several places, replace 1440 by 24*60
1204         (PROP_AMPM): removed, unused.
1205         (hildon_time_picker_timeout): use significant parameter name,
1206                                       removed dead code
1207         (hildon_time_picker_init): removed useless call to _change_time()
1208
1209
1210 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1211         
1212         Cleanup Seekbar,
1213         
1214         * hildon-widgets/hildon-seekbar.c
1215
1216         (_): Removed dgettext macro definition.
1217         
1218         (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1219
1220         (hildon_seekbar_finalize): removed. not needed.
1221         (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1222         
1223         (hildon_seekbar_size_request): indent cleanup.
1224
1225         (hildon_seekbar_size_allocate): simplified function.
1226
1227         (hildon_seekbar_button_press_event): Removed unused variables.
1228         (hildon_seekbar_button_release_event): likewise.
1229
1230
1231 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1232
1233         Cleanup date editor,
1234
1235         * hildon-widgets/hildon-date-editor.c
1236
1237         (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1238         (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1239
1240         (hildon_date_editor_get_font_width): removed (legacy static
1241         function), use gtk_entry_set_width_chars instead.
1242         
1243         (hildon_date_editor_mnemonic_activate): removed mnemonic
1244         activation handler, since it's no more used by HildonCaption.
1245
1246         
1247         - Removed some meaningless code (if (somewidget != NULL)) from
1248         size allocate.
1249         
1250         - HEAVILY modified key_press, completely removed if/grab_focus
1251         spaghetti by gtk_widget_child_focus
1252
1253         - Removed input validation from keypress (that would not work
1254         anyway, since our input method do not generate presses).  => This
1255         allows to change default return value to FALSE and remove all cases
1256         that just returned FALSE for some keys.
1257         
1258         - Merged all *_entry_changed callbacks to use the same
1259         function. Again using gtk_widget_child_focus, but now with return
1260         value as well to detect last field.
1261
1262         - Changed that calendar button is no more implemented through
1263         changing widget hierarchy (old implementation caused critical
1264         issues when you used both stylus and hardkeys at the same time to
1265         popup. => finalize method no longer contained anything => removed
1266
1267         - Locale type is no longer needed after initial setup.
1268
1269         - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1270         hack from the days of background dimming (it was important to
1271         process background updates before the dimming was done).
1272
1273         - Changed the field order/delimeters to be correcly derived form
1274         the locale.
1275
1276         - Rewrote validation function, combined it with validation done in
1277         focus_out (since both are now called at the same time).
1278
1279         - Changed set_date function to set all components at one go
1280         without doing any validation there between (before setting each
1281         component).
1282
1283
1284
1285 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1286         
1287         Cleanup set-password dialog
1288         
1289         * hildon-widgets/hildon-set-password-dialog.[ch]
1290         (hildon_set_password_dialog_set_domain): gchar * param is const
1291         (hildon_set_password_dialog_new_with_default): likewise.
1292
1293         * hildon-widgets/hildon-set-password-dialog.c
1294
1295         (hildon_set_password_set_property): setting 'modify-protection'
1296         now creates the UI
1297
1298         (hildon_set_password_get_property): fixed broken 'domain' (missing
1299         break statement!) and 'modify-protection' (was a null operation)
1300         properties; code simplified.
1301
1302         (hildon_set_password_dialog_constructor),
1303         (create_contents),
1304         (hildon_set_password_dialog_class_init),
1305         (hildon_set_password_dialog_init):
1306         hildon_set_password_dialog_constructor removed as weird and
1307         obsolete and replaced with new function create_contents; fixed
1308         leaking group variable; removed some unused, outdated code that
1309         was already commented out.
1310
1311         (hildon_set_password_response_change),
1312         (hildon_set_password_response_set): GtkWindow *parent arguments
1313         changed to gpointer unused; cleaned up unnecessary strcmp's
1314
1315         (hildon_checkbox_toggled): fixed typo in function name (checbox ->
1316         checkbox). gpointer renamed to be more descriptive; Code simplified  
1317
1318         (hildon_set_password_dialog_get_type): empty function argument
1319         list replaced with void keyword.
1320
1321         (hildon_set_password_dialog_new),
1322         (hildon_set_password_dialow_new_with_default): simplified by
1323         having the simpler constructor call the more complex one, not vice
1324         versa; moved callback connects to create_contents since they
1325         depend on the status of 'modify-protection' property
1326
1327         (hildon_set_password_dialog_get_password): type check added
1328         (hildon_set_password_dialog_get_protected): likewise
1329         (hildon_set_password_dialog_set_domain): likewise
1330         
1331         
1332 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1333
1334         Cleanup name-password dialog:
1335         
1336         * hildon-widgets/hildon-name-password-dialog.[ch]
1337
1338         (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
1339         types changed from *HildonCaption to *GtkEntry
1340
1341         (hildon_name_password_dialog_set_property): layout fixes;
1342         duplicated code replaced with calls to relevant public functions
1343
1344         (hildon_name_password_dialog_get_property): layout fixes;
1345         duplicated code replaced with calls to relevant public functions
1346
1347         (hildon_name_password_dialog_init): fixed leaking group variable;
1348         reworked to have captions as local variables and captioned entries
1349         in the private struct
1350
1351         (hildon_name_password_dialog_new_with_default): name and password
1352         arguments declared const
1353
1354         (hildon_name_password_dialog_get_name): type check added + cleanup
1355         (hildon_name_password_dialog_get_password): likewise.
1356
1357         (hildon_name_password_dialog_set_domain): domain argument declared
1358         const; type check added + cleanup
1359
1360
1361 2006-03-01  Luc Pionchon  <luc.pionchon@nokia.com>
1362
1363         Cleanup get-password dialog:
1364         
1365         * hildon-widgets/hildon-get-password-dialog.[ch]
1366
1367         (HildonGetPasswordDialogPrivate): gboolean get_old added
1368
1369         (hildon_get_password_set_property): fixed broken 'numbers-only'
1370         and 'max-characters' cases; 'get-old' property added
1371
1372         (hildon_get_password_get_property): added support for reading
1373         'numbers-only' properties; added missing break to 'domain' case.
1374         added 'get-old' property
1375
1376         (hildon_get_password_dialog_class_init): 'domain' and
1377         'numbers-only' properties are now readable; 'get-old' property
1378         added
1379
1380         (hildon_get_password_dialog_init, create_contents): everything
1381         that depends on the type of the dialog (i.e. 'get-old' property)
1382         is now done in create_contents after properties are initialized;
1383         fixed leaking group variable
1384
1385         (hildon_get_password_dialog_get_type): empty function argument
1386         list replaced with void keyword
1387
1388         (hildon_get_password_dialog_new): moved setting the labels of the
1389         get password dialog to init where it should be done; 'get-old'
1390         property set upon construction to achieve this
1391
1392         (hildon_get_password_dialog_new_with_default): password argument
1393         declared const
1394
1395         (hildon_get_password_dialog_get_password): type check added
1396         (hildon_get_password_dialog_set_domain): type check added; domain
1397         argument declared const; duplicate function declaration removed
1398
1399         (hildon_get_password_dialog_set_title): type check added;
1400         new_title argument declared const
1401
1402         (hildon_get_password_dialog_set_caption): type check added;
1403         new_caption argument declared const
1404
1405         (hildon_get_password_dialog_set_max_characters): broken type check fixed
1406         (_invalid_input): gpointer data argument renamed unused
1407
1408
1409 2006-02-28  Luc Pionchon  <luc.pionchon@nokia.com>
1410
1411         (*_get_type): declared G_GNUC_CONST
1412         
1413         * hildon-widgets/hildon-app.h:
1414         * hildon-widgets/hildon-appview.h:
1415         * hildon-widgets/hildon-calendar-popup.h:
1416         * hildon-widgets/hildon-color-selector.h:
1417         * hildon-widgets/hildon-date-editor.h:
1418         * hildon-widgets/hildon-find-toolbar.h: 
1419         * hildon-widgets/hildon-get-password-dialog.h:
1420         * hildon-widgets/hildon-name-password-dialog.h:
1421         * hildon-widgets/hildon-number-editor.h:
1422         * hildon-widgets/hildon-seekbar.h:
1423         * hildon-widgets/hildon-set-password-dialog.h:
1424         * hildon-widgets/hildon-sort-dialog.h:
1425         * hildon-widgets/hildon-time-editor.h:
1426         * hildon-widgets/hildon-weekday-picker.h:
1427         * hildon-widgets/hildon-wizard-dialog.h:
1428
1429 2006-02-28  Luc Pionchon  <luc.pionchon@nokia.com>
1430
1431         Volume bars cleanup
1432         
1433         * hildon-widgets/hildon-volumebar.c
1434         (hildon_volumebar_class_init): object class casts cleaned up
1435         (hildon_child_forall): removed unnecessary variable vbar; type check added
1436         (hildon_volumebar_set_property): removed unnecessary variable vbar
1437         (hildon_volumebar_set_level): type check added
1438         (hildon_volumebar_get_level): type check added
1439         (hildon_volumebar_set_mute): type check added
1440         (hildon_volumebar_get_mute): type check added
1441         (hildon_volumebar_get_adjustment): type check added
1442         (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
1443
1444         * hildon-widgets/hildon-volumebar.h
1445         (hildon_volumebar_get_type): declared G_GNUC_CONST
1446
1447         * hildon-widgets/hildon-volumebar-private.h:
1448         - G_BEGIN_DECLS/G_END_DECLS added
1449         - ownorientation removed from private struct
1450
1451         * hildon-widgets/hildon-volumebar-range.c
1452         (hildon_volumebar_range_init): vacuous return statement removed
1453
1454         (hildon_volumebar_range_set_level): removed unnecessary clamping
1455         kludge that violated object oriented principles only to provide an
1456         extremely minor, unnecessary optimization; type check added
1457
1458         (hildon_volumebar_range_get_level): now accesses adjustment value
1459         with appropriate functions instead of reading it directly from the
1460         struct, which is bad OOP; type check added
1461
1462         (hildon_volumebar_range_button_press_event): Added more descriptive comments
1463         (hildon_volumebar_range_button_release_event): Added more descriptive comments
1464
1465         * hildon-widgets/hildon-volumebar-range.h
1466         (hildon_volumebar_range_get_type): declared G_GNUC_CONST
1467
1468         * hildon-widgets/hildon-hvolumebar.c
1469         (hvolumebar_init): priv->ownorientation and v_ptr removed;
1470         completely removed the gtk_widget_show() call that was already
1471         commented out
1472
1473         (hildon_hvolumebar_new): empty function parameter list replaced
1474         with void keyword
1475
1476         (hildon_hvolumebar_map): vbar variable removed; type check added
1477         (hildon_hvolumebar_expose): type check added
1478         (hildon_hvolumebar_size_request): type check added
1479         (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
1480
1481         * hildon-widgets/hildon-hvolumebar.h
1482         (hildon_hvolumebar_get_type): declared G_GNUC_CONST
1483
1484         * hildon-widgets/hildon-vvolumebar.c
1485         (vvolumebar_init): priv->ownorientation and v_ptr removed
1486         (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
1487
1488         (hildon_vvolumebar_expose): type check added
1489         (hildon_vvolumebar_size_request): type check added
1490         (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
1491
1492         * hildon-widgets/hildon-vvolumebar.h
1493         (hildon_vvolumebar_get_type): declared G_GNUC_CONST 
1494
1495
1496 2006-02-28  Luc Pionchon  <luc.pionchon@nokia.com>
1497
1498         * hildon-widgets/hildon-weekday-picker.c
1499         (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
1500         last_index; added day_order_buttons
1501         
1502         (hildon_weekday_picker_mnemonic_activate): removed.
1503                                          mnemonics are no longer used.
1504         
1505         (hildon_weekday_picker_class_init): Removed mnemonic_activate
1506         function. Rewritten creation of buttons. Unref'ed size group.
1507         
1508         (button_toggle): Removed bit mask checking, simplified function
1509         
1510         (hildon_weekday_picker_set_day):
1511         (hildon_weekday_picker_unset_day): Removed bit mask checking, date
1512                                            adjustment, unecessary for loop
1513         
1514         (hildon_weekday_picker_toggle_day): Removed date adjustment and
1515         unecessary for loop. Simplified button toggling
1516
1517         (hildon_weekday_picker_set_all):
1518         (hildon_weekday_picker_unset_all): Removed bit mask checking and
1519                                            simplified for loop
1520
1521         (hildon_weekday_picker_isset_day): Removed date adjustment and
1522                                            unecessary for loop;
1523
1524 2006-02-21  Luc Pionchon  <luc.pionchon@nokia.com>
1525
1526         Added hildon-banner, as a clean replacement for gtk-infoprint
1527         * hildon-widgets/hildon-banner.[ch]: implementation and header  
1528         * hildon-widgets/Makefile.am: reference new files
1529         * hildon-widgets/gtk-infoprint.c: removed implementation, now just
1530         a compatibility wrapper to hildon-banner
1531         
1532 2006-02-21  Luc Pionchon  <luc.pionchon@nokia.com>
1533         
1534         * hildon-widgets/hildon-color-button.c: added comments
1535         * hildon-widgets/hildon-controlbar.c: Likewise.
1536         * hildon-widgets/hildon-composite-widget.c: Likewise.
1537         * hildon-widgets/hildon-calendar-popup.c: Likewise.
1538
1539 2006-02-21  Luc Pionchon  <luc.pionchon@nokia.com>
1540
1541         * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
1542         reference
1543
1544 2006-02-21  Luc Pionchon  <luc.pionchon@nokia.com>
1545
1546         * configure.ac: 0.12.1
1547
1548 2006-02-21  Johan Bilien  <johan.bilien@nokia.com>
1549
1550         * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
1551         * doc/tmpl/hildon-window.sgml: likewise.
1552         * hildon-widgets/hildon-program.[ch]: likewise.
1553         * hildon-widgets/hildon-window.[ch]: likewise.
1554         * hildon-widgets/hildon-window-private.h: likewise.
1555         * hildon-widgets/Makefile.am: Added these new files to the build
1556           and distribution.
1557
1558 2006-02-14  Luc Pionchon  <luc.pionchon@nokia.com>
1559
1560         * configure.ac: 0.12.0
1561
1562         Merged hildon-lgpl into hildon-libs (and hildon-fm)
1563
1564         * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
1565         * doc/tmpl/hildon-appview.sgml: likewise.
1566         * doc/tmpl/hildon-color-popup.sgml: likewise.
1567         * doc/tmpl/hildon-find-toolbar.sgml: likewise.
1568         * doc/tmpl/hildon-app.sgml: likewise.
1569         * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
1570         * doc/tmpl/hildon-caption.sgml: likewise.
1571         * doc/tmpl/hildon-marshalers.sgml: likewise.
1572         * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
1573         * doc/tmpl/hildon-defines.sgml: likewise.
1574         * doc/tmpl/gtk-infoprint.sgml: likewise.
1575         * doc/tmpl/hildon-composite-widget.sgml: likewise.
1576
1577         * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
1578         * hildon-widgets/hildon-app.[ch]:likewise.
1579         * hildon-widgets/hildon-app-private.h:likewise.
1580         * hildon-widgets/hildon-appview.[ch]:likewise.
1581         * hildon-widgets/hildon-caption.[ch]:likewise.
1582         * hildon-widgets/hildon-defines.[ch]:likewise.
1583         * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
1584         * hildon-widgets/hildon-input-mode-hint.h:likewise.
1585         
1586         * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES): 
1587         removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
1588         added,
1589             gtk-infoprint.[ch]
1590             hildon-app.[ch]
1591             hildon-app-private.h
1592             hildon-appview.[ch]
1593             hildon-caption.[ch]
1594             hildon-defines.[ch]
1595             hildon-find-toolbar.[ch]
1596             hildon-input-mode-hint.h
1597
1598         * hildon-widgets/hildon-get-password-dialog.c: corrected #include
1599         path for gtk-infoprint.h and hildon-input-mode-hint.h
1600
1601         * po/en_GB.po: merged msgstr from hildon-lgpl
1602
1603         * timer/*: added from hildon-lgpl
1604
1605
1606
1607         Moved hildon-file-details-dialog from hildon-libs to hildon-fm
1608
1609         * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
1610         hildon-fm
1611
1612         * ut/hildon-widgets_tests.c (test41a): removed test case for
1613         hildon_file_details_dialog
1614
1615         * doc/hildon-libs.types: likewise.
1616         * doc/hildon-libs-docs.xml: likewise.
1617
1618
1619
1620         Update build files
1621
1622         * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
1623         nor hildon-fm
1624
1625         * Makefile.am (SUBDIRS): added timer/
1626
1627         * configure.ac: do not depend anymore on hildon-lgpl nor
1628         hildon-fm, check for libmb, added Makefile output for timer/
1629
1630
1631         
1632 2006-01-18  Luc Pionchon  <luc.pionchon@nokia.com>
1633
1634         * configure.ac: 0.10.2
1635
1636 2006-01-18  Luc Pionchon  <luc.pionchon@nokia.com>
1637
1638         N#22240 CP: Tapping outside the scroll bar invoke the applet.
1639         * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
1640         hildon-apps scroll-control property is now handled.
1641         (get_child_index_by_coord): ignores events not matching a grid
1642         item.
1643
1644 2006-01-11  Luc Pionchon  <luc.pionchon@nokia.com>
1645
1646         * configure.ac: 0.10.1
1647
1648 2006-01-11  Luc Pionchon  <luc.pionchon@nokia.com>
1649
1650         Missing/Buggy documentation from,
1651         N#11566 make password dialog customizable (messages)
1652         * hildon-widgets/hildon-get-password-dialog.c
1653         (hildon_get_password_dialog_set_title): typo in gtkdoc function
1654         name
1655         * doc/tmpl/xxx.sgml: updated.
1656         
1657 2006-01-11  Luc Pionchon  <luc.pionchon@nokia.com>
1658
1659         N#19369 TRUE Scketch does not show colour change when using white color
1660         
1661         Color button needs inner border white, and outer border black.
1662         * hildon-widgets/hildon-color-button.c
1663         (hildon_color_button_draw_pixbuf_borders): new function. Paint the
1664         border
1665         * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
1666         (hildon_color_button_realize): call the above function
1667
1668 2006-01-11  Luc Pionchon  <luc.pionchon@nokia.com>
1669
1670         N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
1671         * hildon-widgets/hildon-note.c: 
1672         (hildon_note_new_confirmation_add_buttons): updated doc
1673         (hildon_note_set_button_texts): likewise.
1674
1675 2006-01-11  Luc Pionchon  <luc.pionchon@nokia.com>
1676
1677         N#21884 Cannot select read-only by using the center of the scroll key
1678         * hildon-widgets/hildon-file-details-dialog.c
1679         (hildon_file_details_dialog_init): Removed dialog default response.
1680
1681 2006-01-11  Luc Pionchon  <luc.pionchon@nokia.com>
1682
1683         N#8094 5-bit color selector: wrong margins and pixel measurements
1684         M#59   HildonColorSelector needs more space
1685         * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
1686         (hildon_color_popup_new): add space between the control bars and
1687         the color preview area.
1688
1689 2006-01-03  Luc Pionchon  <luc.pionchon@nokia.com>
1690
1691         * hildon-widgets/hildon-calendar-popup.c
1692         * hildon-widgets/hildon-color-button.c
1693         * hildon-widgets/hildon-color-popup.c
1694         * hildon-widgets/hildon-color-selector.c
1695         * hildon-widgets/hildon-composite-widget.c
1696         * hildon-widgets/hildon-controlbar.c
1697         * hildon-widgets/hildon-date-editor.c
1698         * hildon-widgets/hildon-dialoghelp.c
1699         * hildon-widgets/hildon-file-details-dialog.c
1700         * hildon-widgets/hildon-font-selection-dialog.c
1701         * hildon-widgets/hildon-get-password-dialog.c
1702         * hildon-widgets/hildon-grid-item.c
1703         * hildon-widgets/hildon-grid.c
1704         * hildon-widgets/hildon-hvolumebar.c
1705         * hildon-widgets/hildon-name-password-dialog.c
1706         * hildon-widgets/hildon-note.c
1707         * hildon-widgets/hildon-number-editor.c
1708         * hildon-widgets/hildon-range-editor.c
1709         * hildon-widgets/hildon-scroll-area.c
1710         * hildon-widgets/hildon-seekbar.c
1711         * hildon-widgets/hildon-set-password-dialog.c
1712         * hildon-widgets/hildon-sort-dialog.c
1713         * hildon-widgets/hildon-time-editor.c
1714         * hildon-widgets/hildon-time-picker.c
1715         * hildon-widgets/hildon-volumebar-private.h
1716         * hildon-widgets/hildon-volumebar-range.c
1717         * hildon-widgets/hildon-volumebar.c
1718         * hildon-widgets/hildon-vvolumebar.c
1719         * hildon-widgets/hildon-weekday-picker.c
1720         * hildon-widgets/hildon-wizard-dialog.c
1721           commented code
1722
1723 2005-12-28  Luc Pionchon  <luc.pionchon@nokia.com>
1724
1725         * configure.ac: 0.10.0
1726
1727 2005-12-12  Luc Pionchon  <luc.pionchon@nokia.com>
1728
1729         Some more properties for Gazpacho support,      
1730
1731         * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
1732         * hildon-widgets/hildon-color-selector.c: "color"
1733
1734
1735         * hildon-widgets/hildon-color-selector.[ch]
1736         (hildon_color_selector_get_color): return const pointer to the
1737         color (not a copy).
1738         
1739 2005-11-18  Luc Pionchon  <luc.pionchon@nokia.com>
1740
1741
1742         Gazpacho support, added the following properties:
1743         
1744         * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
1745         * hildon-widgets/hildon-seekbar.c: "position", "fraction"
1746         * hildon-widgets/hildon-grid-item.c: "emblem-type"
1747         * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
1748         * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
1749         * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
1750         * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
1751         * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
1752         * hildon-widgets/hildon-number-editor.c: "value"
1753
1754         * hildon-widgets/hildon-color-button.c: minor cleanup
1755
1756
1757 2005-11-18  Luc Pionchon  <luc.pionchon@nokia.com>
1758
1759         Started new development
1760         (branche for maintenance continues with versions 0.9.x)
1761
1762 2005-11-03  Luc Pionchon  <luc.pionchon@nokia.com>
1763
1764         * configure.ac: 0.9.53
1765
1766 2005-10-31  Luc Pionchon  <luc.pionchon@nokia.com>
1767
1768         same fix for,
1769         N#19283 Control panel - The values entered are not saved.
1770         N#19648 Hildon Date Editor widget detects values too high
1771         (note: complete fix include also fixes in GTk+)
1772
1773         * hildon-widgets/hildon-calendar-popup.c
1774         (hildon_calendar_popup_set_property),
1775         (hildon_calendar_popup_class_init),
1776         (init_dmy): Added 'min-year', 'max-year' properties for passing
1777         the information through from HildonDateEditor to GtkCalendar
1778
1779         * hildon-widgets/hildon-date-editor.c:
1780         (hildon_date_editor_class_init),
1781         (hildon_date_editor_init),
1782         (hildon_date_editor_set_property),
1783         (hildon_date_editor_get_property),
1784         (idle_popup),
1785         (hildon_date_editor_entry_validate),
1786         (hildon_date_editor_date_error): Added 'min-year', 'max-year'
1787         properties and replaced hardcoded constants with them
1788
1789         * hildon-widgets/hildon-date-editor.c
1790         (hildon_date_editor_d_entry_changed),
1791         (hildon_date_editor_m_entry_changed),
1792         (hildon_date_editor_d_entry_changed): new functions to ensure that
1793         the fields are validated and the focus is moved when maximum
1794         number of characters has been entered.
1795         
1796 2005-10-13  Luc Pionchon  <luc.pionchon@nokia.com>
1797
1798         * configure.ac: 0.9.52
1799
1800 2005-10-12  Luc Pionchon  <luc.pionchon@nokia.com>
1801
1802         N#19140 System alerts still audible despite being turned off
1803         
1804         * hildon-widgets/hildon-note.c (sound_handling): 
1805
1806         * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
1807
1808         * hildon-note.c (sound_handling): Changed to use new
1809         hildon_play_system_sound.
1810         (hildon_note_init): Signal handler id is changed to be in private
1811         structure, not in global variable.
1812         
1813         * hildon-note.c: Removed unused defines etc.
1814
1815         * Makefile.am: Appended new files to build rules.
1816
1817 2005-10-05  Luc Pionchon  <luc.pionchon@nokia.com>
1818
1819         * configure.ac: 0.9.51
1820
1821 2005-10-05  Luc Pionchon  <luc.pionchon@nokia.com>
1822
1823         N#20027 PDF Reader crashes on selecting read only option in the
1824         details dialog box.
1825
1826         * hildon-widgets/hildon-file-details-dialog.c:
1827         (change_state): Fixed assertion that was causing problems
1828         (check_validity): New function: We now automatically close the
1829         dialog if the displayed file is removed.
1830         (handle_focus): Callback removed:
1831         (init): Now using correct gtk way to bind container and adjustment
1832         together. Not the previous callback.
1833         (set_property): Connecting/disconnecting new handlers (for
1834         change_state).
1835         (finalize): disconnecting new handler.
1836         
1837 2005-10-05  Luc Pionchon  <luc.pionchon@nokia.com>
1838
1839         N#17918 Volumebar widget background image doesn't change when
1840         widget goes into mute state,
1841         
1842         * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
1843         for drawing
1844         
1845         * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
1846         using the state of the internal volumebar, not the whole container
1847
1848         * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
1849         using the state of the internal volumebar, not the whole container
1850
1851 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
1852
1853         * hildon-widgets/hildon-dialoghelp.[ch]: added
1854         gtk_dialog_help_disable and fixed bug N#19468
1855
1856 2005-09-14  Luc Pionchon  <luc.pionchon@nokia.com>
1857
1858         * configure.ac: Release 0.9.50 
1859
1860 2005-09-13  Luc Pionchon  <luc.pionchon@nokia.com>
1861
1862         Part of N#11129,
1863
1864         * po/en_GB.po: Added "Ckct_wi_grid_no_items"
1865
1866         * hildon-widgets/hildon-grid.c
1867         (hildon_grid_class_init, hildon_grid_init): Replaced default empty
1868         label by logical name "Ckct_wi_grid_no_items"
1869
1870
1871 2005-08-31  Luc Pionchon  <luc.pionchon@nokia.com>
1872
1873         * po/en_GB.po (ecdg_ti_verify_password): translation update.
1874
1875 2005-08-30  Tommi Komulainen  <tommi.komulainen@nokia.com>
1876
1877         * configure.ac: Release 0.9.49
1878
1879 2005-08-30  Tommi Komulainen  <tommi.komulainen@nokia.com>
1880
1881         * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
1882         hildon_number_editor_finalize, hildon_number_editor_entry_changed):
1883         Save the id of the idle callback and remove it when the widget is
1884         destroyed to avoid crashing.  N#18096
1885
1886 2005-08-30  Tommi Komulainen  <tommi.komulainen@nokia.com>
1887
1888         * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
1889         id's are unsigned and undefined at zero (instead of signed and -1)
1890
1891 2005-08-30  Tommi Komulainen  <tommi.komulainen@nokia.com>
1892         
1893         * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
1894         that was not working.  N#16805
1895
1896 2005-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>
1897
1898         * configure.ac: Release 0.9.48
1899
1900 2005-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>
1901
1902         * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
1903         allow area_rows to be 0 (ie. before widget is visible), otherwise the
1904         initial jump_scrollbar_to_focused() scrolls wrong.  N#17152
1905
1906 2005-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>
1907
1908         * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1909         Do not override the week-start property of GtkCalendar according to
1910         the hildon-libs PO file, it is automatically determined from locale
1911         data.  N#12176
1912
1913 2005-08-17  Tommi Komulainen  <tommi.komulainen@nokia.com>
1914
1915         * configure.ac: Release 0.9.47
1916
1917 2005-08-17  Tommi Komulainen  <tommi.komulainen@nokia.com>
1918
1919         * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
1920         property for setting the password entry accept only numeric values.
1921         N#15212
1922
1923 2005-08-17  Tommi Komulainen  <tommi.komulainen@nokia.com>
1924
1925         * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
1926         * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
1927         * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
1928         Use defines rather than magic numbers in the code.
1929
1930 2005-08-17  Tommi Komulainen  <tommi.komulainen@nokia.com>
1931
1932         Update to new l10n packaging style.  po-files (inside this package)
1933         are not used for now, the message catalogs come from separate packages
1934         and including them here would conflict.
1935
1936         * Makefile.am (SUBDIRS): stop including po-files
1937         * Makefile.am (EXTRA_DIST):
1938         * debian/hildon-libs-l10n-engb.install:
1939         * debian/hildon-libs-l10n-src.install:
1940         * po/debian/*: Removed
1941
1942 2005-08-09  Luc Pionchon  <luc.pionchon@nokia.com>
1943
1944         * hildon-widgets/hildon-file-details-dialog.c: Added read only
1945         checks to cover gateway content as well.
1946         
1947         * hildon-widgets/hildon-time-editor.c:
1948         (hildon_time_editor_validate): Replace solid numbers with defined
1949         values
1950         (convert_to_12h): Remove "work-around" for the broken 12h timespec
1951
1952
1953 2005-08-05  Luc Pionchon  <luc.pionchon@nokia.com>
1954
1955         * hildon-widgets/hildon-color-selector.c (modify_selected): fix
1956         invalid cast from `GdkWindow' to `GtkWindow' 
1957
1958         * hildon-widgets/hildon-color-popup.c
1959         (hildon_popup_palette_expose): removed debug printing
1960
1961 2005-08-03  Luc Pionchon  <luc.pionchon@nokia.com>
1962
1963         * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
1964         string examples.
1965
1966         * hildon-widgets/hildon-scroll-area.c
1967         (hildon_scroll_area_destroy): one-instruction function:
1968         removed. Call g_free directly.
1969         + minor cleanup
1970         (hildon_scroll_area_size_allocate):When a scrollbar appears to the
1971         right edge of window, size of the child is also shrinked. 'fixed'
1972         does not automatically update this data -> Doing it manually.
1973
1974         * hildon-widgets/hildon-date-editor.h: added
1975         HildonDateEditorErrorType error enumeration type, removed signal
1976         "validate-date" virtual function, added signal "date-error"
1977         virtual function.
1978
1979         * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1980         added custom info prints.
1981         (hildon_date_editor_validate_date): removed
1982         (hildon_date_editor_entry_validate): validate maximum and minimum
1983         limits on each field.
1984         (hildon_date_editor_entry_focus_out): check the date validation
1985         in simpler manner, don't put content if field is empty (spec
1986         doesn't say if there should be anything placed in the entry if
1987         it is empty).
1988         (hildon_date_editor_get_date),
1989         (hildon_date_editor_get_month),
1990         (hildon_date_editor_get_year),
1991         (hildon_date_editor_get_day): use direct entry content, so that 0
1992         indicates empty entry, and information is more accurate.
1993
1994 2005-08-01  Luc Pionchon  <luc.pionchon@nokia.com>
1995
1996         * configure.ac: Adjusted CFLAGS and removed -Werror due to the
1997         glib-2.0 flaw. See
1998         http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
1999         http://bugzilla.gnome.org/show_bug.cgi?id=310216
2000
2001 2005-07-29  Luc Pionchon  <luc.pionchon@nokia.com>
2002
2003         * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2004
2005 2005-07-26  Luc Pionchon  <luc.pionchon@nokia.com>
2006
2007         * hildon-widgets/hildon-number-editor.c: 
2008         (hildon_number_editor_select_all): new function, selects all
2009         the text in the entry.
2010         * hildon-widgets/hildon-number-editor.c: added several calls to
2011         hildon_number_editor_select_all with g_idle_add.
2012
2013         * hildon-controlbar.c : add signal when end reached
2014
2015         * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2016
2017         * hildon-time-picker.c : displays valid date at 12:00 am/pm. 
2018         
2019 2005-07-25  Luc Pionchon  <luc.pionchon@nokia.com>
2020
2021         Fixed incorrect values in <Filetype> Details Dialog
2022         
2023         Fixed help button usage in dialogs
2024         
2025         * hildon-dialoghelp.c: Added more documentation about the
2026         help signal
2027         
2028         * hildon-file-details-dialog.c: Updated to match
2029         'File Management in OSSO' version 3.0
2030         
2031         * Fixed application hang after calling gtk_main_quit
2032         
2033         * hildon-date-editor.c: Fixed HildonDateEditor that caught
2034         ESC presses needlessly
2035         
2036         * hildon-time-editor.c: Fixed memory corruption