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