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