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