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