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