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