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