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