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