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