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