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