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