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