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