2009-03-06 Alberto Garcia <agarcia@igalia.com>
[hildon] / ChangeLog
1 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2
3         * src/hildon-find-toolbar.c
4         (hildon_find_toolbar_emit_close)
5         (hildon_find_toolbar_emit_invalid_input)
6         (hildon_find_toolbar_entry_activate):
7         Use g_signal_emit() instead of g_signal_emit_by_name()
8
9 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
10
11         Patch by Mox Soini (ext-mox.soini@nokia.com)
12
13         * tests/TEST-CASES.txt
14         * tests/check-hildon-banner.c
15         * tests/check-hildon-note.c
16         * src/hildon-banner.c
17         * src/hildon-code-dialog.c
18         * src/hildon-date-editor.c (real_set_calendar_icon_state)
19         * src/hildon-time-editor.c
20         * examples/hildon-lookup-example.c (main):
21         Replace obsolete icon names with new ones.
22
23         * src/hildon-find-toolbar-private.h:
24         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
25         (-hildon_find_toolbar_emit_search):
26         Remove find button and change icon of close button.
27
28         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
29
30 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
31
32         * src/hildon-time-button.c (hildon_time_button_new_step):
33         Use the "touch-selector" property to set the selector directly
34         when creating the object.
35
36 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
37
38         Added a new example application that allows tuning the pannable
39         area and replaced defines with properties in order to simplify the
40         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
41         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
42         PROP_DIRECTION_ERROR_MARGIN.
43
44         * examples/hildon-pannable-area-tuning-example.c: New example
45         application.
46         * src/hildon-pannable-area.c,
47         (hildon_pannable_area_class_init),
48         (hildon_pannable_area_init),
49         (hildon_pannable_area_get_property),
50         (hildon_pannable_area_set_property),
51         (hildon_pannable_area_launch_fade_timeout),
52         (hildon_pannable_area_adjust_value_changed),
53         (hildon_pannable_axis_scroll),
54         (hildon_pannable_area_motion_notify_cb),
55         (hildon_pannable_area_scroll_cb),
56         (hildon_pannable_area_button_release_cb): We have converted some
57         of the defines that control the widget to properties to simplify
58         the tuning.
59
60 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
61
62         * src/hildon-app-menu.c (hildon_app_menu_map)
63         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
64         so it's closed if a new window appears.
65
66         Fixes: NB#104485 (Not able to address the call when application
67         menu is opened at background)
68
69 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
70
71         * src/hildon-color-button.c (hildon_color_button_get_property):Add
72         missing 'break' statement in in 'case' construct to avoid
73         incorrect warnings.
74
75 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
76
77         * src/hildon-touch-selector-entry.c
78         (hildon_touch_selector_entry_get_property),
79         (hildon_touch_selector_entry_set_property): Add missing 'break'
80         statements in in 'case' constructs to avoid incorrect warnings.
81
82 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
83
84         * src/hildon-time-editor.c
85         (hildon_time_editor_get_time_separators): Do not crash if
86         the first label is NULL.
87
88 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
89
90         * src/hildon-date-selector.c (_month_days): Check for month to be
91         strictly less than 12, since otherwise we may overrun the array.
92
93 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
94
95         * src/hildon-date-button.c (+hildon_date_button_new_full)
96         (hildon_date_button_new, hildon_date_button_new_with_year_range)
97         (hildon_date_button_init): Set the date selector using a
98         construction property, to make it happen after HildonButton's
99         "value" property is set.
100
101         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
102         current date by default)
103
104 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
105
106         * doc/hildon-sections.txt
107         * src/hildon-program.c
108         * src/hildon-stackable-window.c
109         * src/hildon-window.c:
110         Documentation updates
111
112 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
113
114         * src/hildon-window-stack.c (hildon_window_stack_get_default)
115         (hildon_window_stack_new, +hildon_window_stack_set_property)
116         (+hildon_window_stack_get_property)
117         (hildon_window_stack_class_init)
118         (+hildon_window_stack_set_window_group)
119         (+hildon_window_stack_get_window_group):
120         Make the window group a construction property.
121
122 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
123
124         * doc/hildon-sections.txt
125         * src/hildon-stackable-window-private.h
126         * src/hildon-stackable-window.h
127         * src/hildon-stackable-window.c
128         (-hildon_stackable_window_set_app_menu)
129         (-hildon_stackable_window_get_app_menu)
130         (-hildon_stackable_window_toggle_menu)
131         (-hildon_stackable_window_finalize)
132         (hildon_stackable_window_class_init)
133         (hildon_stackable_window_init)
134         * src/hildon-window-private.h
135         * src/hildon-window.h
136         * src/hildon-window.c (hildon_window_init)
137         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
138         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
139         (hildon_window_get_main_menu, hildon_window_set_main_menu)
140         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
141         Moved all HildonAppMenu code to HildonWindow. The menu does not
142         require a HildonStackableWindow anymore.
143
144         * src/hildon-app-menu.c
145         * src/hildon-program.c
146         * examples/hildon-app-menu-example.c (main):
147         Update examples and documentation to reflect HildonAppMenu
148         changes.
149
150 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
151
152         * src/hildon-remote-texture.c
153         * src/hildon-animation-actor.c:
154         Don't include unused private headers.
155
156 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
157
158         * src/hildon-program-private.h
159         * src/hildon-program.c
160         (hildon_program_set_common_menu)
161         (hildon_program_get_common_menu)
162         (hildon_program_set_common_app_menu)
163         (hildon_program_get_common_app_menu):
164         Change common menu pointers from GtkWidget* to GtkMenu* and
165         HildonAppMenu* to avoid unnecessary casts.
166
167 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
168
169         * src/hildon-window.c (hildon_window_set_main_menu):
170         Removed incorrect 'Since:' tag
171
172 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
173
174         * src/hildon-pannable-area.c,
175         (hildon_pannable_area_calculate_velocity): We use now the
176         RATIO_TOLERANCE here to check the distance, fixed typo in the
177         algorithm.
178         (hildon_pannable_area_motion_notify_cb): We have to set the type
179         and time even if we are not sending the motion.
180
181 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
182
183         * doc/hildon-sections.txt
184         * src/hildon-app-menu.h
185         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
186         (+hildon_app_menu_get_filters): New methods to get the contents of
187         a HildonAppMenu.
188
189         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
190         children)
191
192 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
193
194         * src/hildon-app-menu.c (hildon_app_menu_popup):
195         Add "Since" tag.
196
197 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
198
199         * src/hildon-window.h
200         * src/hildon-window.c (+hildon_window_get_main_menu)
201         (hildon_window_get_menu): Created hildon_window_get_main_menu()
202         and deprecated hildon_window_get_menu().
203
204         * src/hildon-stackable-window.h
205         * src/hildon-stackable-window.c
206         (+hildon_stackable_window_set_app_menu)
207         (+hildon_stackable_window_get_app_menu)
208         (hildon_stackable_window_set_main_menu): Created
209         hildon_stackable_window_{get,set}_app_menu() and deprecated
210         hildon_stackable_window_set_main_menu().
211
212         * doc/hildon-sections.txt
213         * examples/hildon-app-menu-example.c (main)
214         * src/hildon-app-menu.c
215         * src/hildon-program.c:
216         Updated examples and documentation.
217
218         Fixes: NB#103758 (No way to obtain a menu from a
219         HildonStackableWindow)
220
221 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
222
223         [Release 2.1.46]
224
225         * NEWS: Updates.
226         * configure.ac: Bump version.
227         * debian/changelog: Updates.
228
229 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
230
231         * examples/hildon-remote-texture-example.c: Include
232         hildon-remote-texture.h explicitely.
233         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
234         applications not defining _XOPEN_SOURCE which don't require this header.
235
236 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
237
238         * doc/hildon-sections.txt
239         * src/hildon-app-menu.h
240         * src/hildon-app-menu.c (+hildon_app_menu_popup):
241         New function to pop up a HildonAppMenu
242
243         * src/hildon-stackable-window.c
244         (hildon_stackable_window_toggle_menu):
245         Use hildon_app_menu_popup() to show the menu.
246
247 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
248
249         * src/hildon-app-menu.c (hildon_app_menu_show)
250         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
251         menu if there's another window between it and its parent window.
252
253         Fixes: NB#100468 (Application menu window is launched even when a
254         new secondary-window/dialog is pending to be shown/realized)
255
256 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
257
258         * src/hildon-window-stack.c (hildon_window_stack_push)
259         (hildon_window_stack_pop_and_push):
260         Don't forget to push/pop the first window.
261         Reverse the window list before calling _push_list()
262
263 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
264
265         * src/hildon-picker-button.h
266         * src/hildon-picker-button.c (hildon_picker_button_class_init):
267         Remove "value_changed" slot to avoid ABI breakage
268
269 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
270
271         * src/hildon-pannable-area.c,
272         (hildon_pannable_area_realize),
273         (hildon_pannable_area_unrealize),
274         (hildon_pannable_draw_vscroll),
275         (hildon_pannable_draw_hscroll): Changed the method to handle the
276         GC used to draw the transparent scrollbar, this way we avoid
277         creating the GC all the time when drawing the scrollbars.
278
279 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
280
281         * src/hildon-pannable-area.c,
282         (hildon_pannable_area_init),
283         (hildon_pannable_area_remove): Removed some unnecessary casts.
284         (hildon_pannable_area_dispose): Disconnected some signals before
285         releasing the adjustments.
286
287 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
288
289         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
290         Make sure that all widgets contained in the toolbar are shown.
291
292 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
293
294         * doc/hildon-sections.txt
295         * src/hildon-picker-button.h
296         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
297         (_selection_changed, hildon_picker_button_on_dialog_response)
298         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
299         New hildon_picker_button_value_changed() method.
300
301         * src/Makefile.am
302         * src/hildon-picker-button-private.h
303         * src/hildon-picker-button.c (hildon_picker_button_init)
304         (+hildon_picker_button_disable_value_changed): Add protected
305         function for disabling the "value-changed" signal.
306
307         * src/hildon-date-button.c (hildon_date_button_set_date):
308         Don't emit "value-changed" for each one of the three columns.
309
310         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
311         before actual change of values)
312
313 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
314
315         * src/hildon-pannable-area.c,
316         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
317         for the treeview overshooting.
318
319 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
320
321         * src/hildon-banner.c (+hildon_banner_bind_style):
322         Renamed from hildon_banner_bind_label_style(), now naming the
323         banner itself as well.
324         (hildon_banner_show_information),
325         (hildon_banner_show_information_with_markup),
326         (hildon_banner_show_animation), (hildon_banner_show_progress):
327         Name the widgets and labels, based on their type.
328
329         See NB#98597 (Hildon Note and Hildon Banner should use themeable
330         background image)
331
332 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
333
334         * src/hildon-note.c (hildon_note_set_property): call
335         hildon_note_rename() on HildonNote:note-type set.
336         (hildon_note_rename): Name the note and its label, based on the
337         HildonNote:note-type property.
338
339         See NB#98597 (Hildon Note and Hildon Banner should use themeable
340         background image)
341
342 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
343
344         * src/hildon-pannable-area.c,
345         (hildon_pannable_area_class_init),
346         (hildon_pannable_area_motion_notify_cb): Reviewed the default
347         panning parameters, increased SPS and deceleration factor. Added
348         also a margin to control fake directions.
349
350 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
351
352         Patch by Sven Herzberg (sven@imendio.com)
353
354         * configure.ac: Add missing AM_PROG_CC_C_0
355         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
356
357         See NB#101420 (Update unit tests and fix make check)
358
359 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
360
361         This patch was applied before but reverted because it caused
362         problems, we have changed the main condition and tested the
363         regressions we detected before and they work ok. We have done a
364         complete review of the topmost algorithm in order to get a more
365         general solution.
366
367         * src/hildon-pannable-area.c,
368         (hildon_pannable_area_get_topmost): Added a new parameter to
369         filter the the windows that do not include those events.
370         (hildon_pannable_area_button_press_cb),
371         (hildon_pannable_area_button_release_cb),
372         (hildon_pannable_get_child_widget_at): Reviewed the call the the
373         topmost function, we have added the new parameter.
374
375         Fixes: NB#97458 (Pannable area prevents propagation of button
376         press events)
377
378 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
379
380         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
381         if all columns in the selector have an item selected.
382         (_on_dialog_response): Stop "response" signal emission if there is
383         any selector column without selected items.
384
385         Fixes: NB#101889 (Picker dialog should not close when nothing is
386         selected in multiple selection list)
387
388 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
389
390         * src/hildon-font-selection-dialog.c
391         (hildon_font_selection_dialog_class_init),
392         (hildon_font_selection_dialog_init): Remove the preview
393         button and dialog, since previewing with default theming is likely
394         to be overcomplicated. The :preview property has now no effect.
395         Update documentation blurbs to inform about this.
396
397         Fixes: NB#92297 (Preview content is not clearly visible for
398         default colour text)
399
400 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
401
402         Reviewed the geometry that handles the children size and
403         scrollbar, now it tries a size and reviews the results depending
404         on the scrollbars visibility.
405
406         * src/hildon-pannable-area.c,
407         (hildon_pannable_area_realize): Fixed a typo.
408         (hildon_pannable_area_child_allocate_calculate): Added this
409         function to calculate the child allocation.
410         (hildon_pannable_area_size_allocate): Reviewed the allocation
411         code.
412         (hildon_pannable_area_check_scrollbars),
413         (hildon_pannable_area_refresh): Refactored refresh function, this
414         way we can call the code handling the scrollbars without causing a
415         size_request, it is interesting in the allocate.
416         (hildon_pannable_area_init): Replace the callbacks of the
417         value_changed and changed signals to propertly deal with the
418         geometry.
419         (hildon_pannable_area_grab_notify),
420         (hildon_pannable_area_initial_effect),
421         (hildon_pannable_area_launch_fade_timeout),
422         (hildon_pannable_area_adjust_changed),
423         (hildon_pannable_area_adjust_value_changed),
424         (hildon_pannable_area_redraw),
425         (hildon_pannable_area_button_press_cb),
426         (hildon_pannable_area_button_release_cb),
427         (hildon_pannable_area_scroll_cb),
428         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
429         code and use the new functions adjust_changed and
430         adjust_value_changed.
431
432         Fixes: NB#101603 (Focus is not even for the text entry boxes in
433         Contact editor dialog)
434
435 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
436
437         [Release 2.1.44]
438
439         * NEWS: Updates.
440         * configure.ac: Bump version.
441         * debian/changelog: Updates.
442
443 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
444
445         * src/hildon-pannable-area.c,
446         (hildon_pannable_area_get_topmost),
447         (hildon_pannable_area_button_press_cb),
448         (hildon_pannable_area_button_release_cb),
449         (hildon_pannable_get_child_widget_at): Reverted the patch for the
450         topmost function adding the event mask. We have to try a
451         differente approach because it is still causing problems (NB#9745,
452         reopened).
453
454 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
455
456         * src/hildon-banner.c:
457         Update the maximum width of timed banners.
458         (force_to_wrap_truncated): Enforce the maximum text width if the
459         label is wrapped.
460
461         Fixes: NB#102413 (The text margins (wrapping) in information
462         banner should be HILDON_MARGIN_TRIPLE)
463
464 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
465
466         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
467
468         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
469         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
470         bound when calculating the scroll indicator position.
471
472         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
473         treat ->lower correctly)
474
475 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
476
477         * src/hildon-caption.c (hildon_caption_class_init): Remove the
478         expose event handling, since it is not necessary to draw the focus
479         anymore.
480
481         Fixes: NB#102467 (Do not show highlight on the text in
482         HildonCaption)
483
484 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
485
486         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
487         full height of the toolbar for the button and the label.
488
489 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
490
491         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
492         padding before the label and after the button.
493
494 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
495
496         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
497
498         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
499         Add a GtkVSeparator between the button and the back arrow.
500         Let the button have automatic size.
501         Set a name to the widget for theming handling.
502
503         Fixes: NB#101793 (Make edit toolbar the same height as window
504         title bar (use title area theming))
505
506 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
507
508         * src/hildon-helper.c (attach_new_color_element): Fix memory
509         leak.
510
511         Fixes: NB#102262 (memory leak in hildon_button_set_style())
512
513 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
514
515         * examples/hildon-button-example.c (common_buttons_window): Don't
516         leak size groups.
517
518 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
519
520         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
521         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
522
523 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
524
525         * src/hildon-gtk.c: Check that the window is realized.
526
527         Fixes: NB#102225 (Crash setting the progress indicator to a non
528         visible window)
529
530 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
531
532         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
533         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
534         instead of modifying the one in the widget style.
535
536         Fixes: NB#101043 (Second row of all the command button are
537         displayed in transparent mode.)
538
539 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
540
541         * src/hildon-date-button.c
542         * src/hildon-time-button.c: Add gettext macros
543
544 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
545
546         * src/hildon-date-button.c (hildon_date_button_new):
547         * src/hildon-time-button.c (hildon_time_button_new_step):
548         Use new logical strings to set the button default title.
549
550         Fixes: NB#99915 (Date and Time options are not localised in Date
551         and Time setttings)
552
553 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
554
555         * src/hildon-pannable-area.c
556         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
557         the PANNING_THRESHOLD.
558
559 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
560
561         * src/hildon-pannable-area.c,
562         (hildon_pannable_area_class_init): Increased the maximum speed.
563         (hildon_pannable_area_get_property),
564         (hildon_pannable_area_set_property),
565         (hildon_pannable_area_timeout): Added a new low friction mode, it
566         allows the user avoid friction when launching the widget fast
567         enough. It is interesting to traverse long lists.
568
569 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
570
571         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
572         (+hildon_stackable_window_delete_event): Ignore delete events if
573         the window is not the topmost one.
574
575         Fixes: NB#101698 (Back button long press and delete-event handling)
576
577 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
578
579         * src/hildon-pannable-area.c,
580         (hildon_pannable_area_motion_notify_cb): Removed the use of the
581         gtk-dnd-drag-threshold, it was too big. We have defined our own
582         dnd define and set a smaller value: PANNIG_THRESHOLD.
583
584 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
585
586         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
587         user-defined icons, use always the default one.
588
589         Fixes: NB#101916 (Do not allow custom icons on animation banner)
590
591 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
592
593         This patch was applied before but reverted because it caused
594         problems, we have changed the main condition and tested the
595         regressions we detected before and they work ok.
596
597         * src/hildon-pannable-area.c,
598         (hildon_pannable_area_get_topmost): Added a new parameter to
599         filter the the windows that do not include those events. Added
600         also a condition when finding the window to filter windows that do
601         not ask for those events.
602         (hildon_pannable_area_button_press_cb),
603         (hildon_pannable_area_button_release_cb),
604         (hildon_pannable_get_child_widget_at): Reviewed the call the the
605         topmost function, we have added the new parameter.
606
607         Fixes: NB#97458 (Pannable area prevents propagation of button
608         press events)
609
610 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
611
612         * tests/check-hildon-color-button.c (START_TEST): do not leak
613         ret_color.
614
615 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
616
617         * src/hildon-font-selection-dialog.c
618         (hildon_font_selection_dialog_get_preview_text): Return NULL
619         instead of FALSE on the g_return_val_if_fail().
620
621 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
622
623         * src/hildon-time-selector.c (hildon_time_selector_set_time):
624         * src/hildon-date-selector.c
625         (hildon_date_selector_select_current_date):
626         Do not compare unsigned integers to be greater than or equal 0,
627         because it's always TRUE.
628
629 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
630
631         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
632         (hildon_date_selector_constructor): Do not select the current
633         date until we are handle the "changed" signal, to avoid having bogus
634         elements in the days model.
635
636 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
637
638         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
639         for num_days, since _month_days() can return a negative value.
640
641 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
642
643         * src/hildon-caption.c (hildon_caption_size_allocate):
644         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
645         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
646
647         Initialize allocation variables to 0, to avoid eventually using
648         unitialized variables.
649
650 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
651
652         * src/hildon-bread-crumb-trail.c
653         (hildon_bread_crumb_trail_size_allocate):
654         * src/hildon-calendar.c (hildon_calendar_set_background):
655         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
656         * src/hildon-range-editor.c (hildon_range_editor_get_range):
657         * src/hildon-seekbar.c (hildon_seekbar_init):
658         * src/hildon-time-editor.c (hildon_time_editor_get_time):
659         * src/hildon-time-selector.c (hildon_time_selector_finalize):
660         * src/hildon-touch-selector-entry.c
661         (hildon_touch_selector_get_text_from_model):
662         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
663         * src/hildon-window.c (hildon_window_finalize):
664
665         Remove many unused variables.
666
667 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
668
669         * src/hildon-seekbar.c: (hildon_seekbar_init),
670         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
671
672         Remove unnecessary g_assert() calls.
673
674 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
675
676         * src/hildon-caption.c: (hildon_caption_expose),
677         (hildon_caption_set_property), (hildon_caption_init),
678         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
679         (hildon_caption_size_request), (hildon_caption_size_allocate),
680         (hildon_caption_forall), (hildon_caption_set_separator),
681         (hildon_caption_activate), (hildon_caption_set_child_expand),
682         (hildon_caption_set_label_text),
683         (hildon_caption_get_label_alignment):
684
685         Remove unnecessary g_assert() calls.
686
687 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
688
689         * src/hildon-banner.c
690         (hildon_banner_map, hildon_banner_init): Make banner temporary
691         before mapping it to avoid closing other temporary windows, but
692         make it non-temporary afterwards to avoid being closed by other
693         non-temporary windows.
694         (-hildon_banner_client_event, hildon_banner_init):
695         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
696
697         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
698         opened)
699
700 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
701
702         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
703         deprecation guard.
704
705 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
706
707         * src/hildon-remote-texture.c
708         * src/hildon-remote-texture.h
709         * src/hildon-remote-texture-private.h
710         * examples/hildon-remote-texture-example.c:
711         Updates/fixes to remote-texture and its example.
712
713 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
714
715         Patch by Mox Soini (ext-mox.soini@nokia.com)
716
717         * src/hildon-code-dialog.c: Update logical id.
718         * src/hildon-set-password-dialog.c: Update logical id.
719
720         Fixes: NB#100646 (Logical strings is shown for ok in set
721         password,Password needed dialogs)
722
723 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
724
725         * src/hildon.h
726         * src/hildon-remote-texture.c
727         * src/hildon-remote-texture.h
728         * src/hildon-remote-texture-private.h
729         * src/Makefile.am
730         Added remote texture widget (for Clutter shared memory textures)
731
732         * examples/hildon-remote-texture-example.c
733         * examples/Makefile.am
734         Added example file for remote texture usage
735
736 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
737
738         * configure.ac: post release version bump.
739         * debian/changelog: version bump.
740
741 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
742
743         [Release 2.1.42]
744
745         * NEWS: Updates.
746         * configure.ac: Bump version.
747         * debian/changelog: Updates.
748
749 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
750
751         * src/hildon-date-selector.c (hildon_date_selector_init)
752         (hildon_date_selector_constructor): Don't connect to the "changed"
753         signal until the selector is completely constructed.
754
755 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
756
757         * src/hildon-touch-selector.c: (_create_new_column),
758         (hildon_touch_selector_append_column),
759         (hildon_touch_selector_set_column_selection_mode),
760         (hildon_touch_selector_set_active),
761         (hildon_touch_selector_select_iter):
762         Emit the HildonTouchSelector::changed signal every time selection
763         is changed in any of the methods above.  This behavior was already
764         documented but not fully functional.
765
766         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
767         selection is programmatically changed)
768
769 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
770
771         * doc/hildon-sections.txt: Remove obsolete icon
772         sizes from here as well.
773
774 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
775
776         * examples/hildon-stackable-window-example.c (add_window): Remove
777         unnecessary return.
778
779 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
780
781         * src/hildon-app-menu.c
782         (hildon_app_menu_show): Check whether the parent window of a menu
783         is topmost before popping it up.
784
785         Fixes: NB#100468 (Application menu window is launched even when a
786         new secondary-window/dialog is pending to be shown/realized.)
787
788 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
789
790         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
791         icon sizes.
792
793 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
794
795         Patch by Mox Soini (ext-mox.soini@nokia.com)
796
797         * src/hildon-banner.c: (hildon_banner_show_animation):
798         use stylus size instead of obsolete note size.
799         * src/hildon-defines.h: Update icon sizes.
800
801 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
802
803         * src/hildon-touch-selector-entry.c:
804         (hildon_touch_selector_entry_init): Disable unsupported
805         input modes.
806         (hildon_touch_selector_entry_get_text_column): Emit a warning
807         if an unsupported input modes is used and explicitile state
808         these modes in the documentation.
809
810         Fixes: NB#99802 (Hildon touch selector entry not working properly
811         for some of the input modes)
812
813 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
814
815         * src/hildon-pannable-area.c,
816         (hildon_pannable_area_init): Added the changed signal handlers of
817         the adjustments.
818
819         Fixes: NB#100320 (HildonPannableArea does not listen to
820         GtkAdjustment "change" signals)
821
822 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
823
824         * doc/hildon-sections.txt
825         * src/hildon-window-private.h
826         * src/hildon-window.h
827         * src/hildon-window.c (hildon_window_init)
828         (hildon_window_realize, hildon_window_unrealize)
829         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
830         (hildon_window_size_request, hildon_window_size_allocate)
831         (hildon_window_forall, hildon_window_show_all)
832         (hildon_window_destroy, +paint_edit_toolbar)
833         (+hildon_window_set_edit_toolbar):
834         New hildon_window_set_edit_toolbar() method, to add a
835         HildonEditToolbar to a window without having to pack it manually.
836
837         Reorganize hildon_window_size_allocate()
838
839         * src/hildon-edit-toolbar.c: Update documentation.
840
841         * examples/hildon-edit-toolbar-example.c (edit_window): Update
842         example to use the new API.
843
844         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
845
846 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
847
848         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
849         Remove from stack before calling parent's hide.
850
851 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
852
853         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
854         window is removed from the middle of the stack, update the
855         transiency of the previous one.
856
857         Fixes: NB#100487 (HildonStackableWindow transiency becomes
858         incoherent)
859
860 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
861
862         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
863         block/unblock the signal handler if it's not actually being used.
864         Fixes some critical warnings.
865
866 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
867
868         Based on a patch by Iván Gómez (igomez@igalia.com)
869
870         * src/hildon-banner.c
871         * src/hildon-gtk.c
872         * src/hildon-main.c
873         * src/hildon-note.c
874         * src/hildon-pannable-area.c
875         * src/hildon-picker-dialog.c
876         * src/hildon-wizard-dialog.h
877         * src/hildon-wizard-dialog.c: Documentation updates.
878
879         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
880         gtk_dialog_add_button() instead of hildon_dialog_add_button().
881
882 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
883
884         * configure.ac: post release version bump.
885         * debian/changelog: version bump.
886
887 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
888
889         [Release 2.1.40]
890
891         * NEWS: Updates.
892         * configure.ac: Bump version.
893         * debian/changelog: Updates.
894
895 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
896
897         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
898         a stock icon nor change the relief of the back arrow.
899
900         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
901         graphics from theme)
902
903 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
904
905         * src/hildon-button.c (hildon_button_set_alignment): Use
906         priv->alignment if the button has no child yet.
907
908 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
909
910         * src/hildon-button.c: (hildon_button_init): Set the
911         button style during initialization to give it the proper
912         label color.
913
914         Fixes: NB#99713 (HildonButton value label color is wrong)
915
916 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
917
918         * src/hildon-touch-selector.c: Document
919         hildon_touch_selector_center_on_selected()
920
921 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
922
923         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
924         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
925         all menu items, but not the menu itself.
926         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
927         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
928         items after adding them to the menu so keyboard accelerators work.
929         (hildon_app_menu_show): Don't show the menu if it contains items
930         but none of them are visible.
931
932         * examples/hildon-app-menu-example.c (create_menu): Use
933         gtk_widget_show_all() to show all menu items.
934
935 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
936
937         * src/hildon-picker-dialog.c:
938         (-_update_title_on_selector_changed_cb),
939         (-_dialog_update_title): Removed.
940         (_select_on_selector_changed_cb), (_on_dialog_response),
941         (on_selector_columns_changed): Do not update the dialog title.
942         (setup_interaction_mode): Do not connect to
943         HildonTouchSelector::changed signal if there's a "done" button, as
944         the dialog title doesn't need to be updated.
945
946         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
947         contents in title)
948
949 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
950
951         Patch by Kristian Rietveld (kris@imendio.com)
952
953         * src/hildon-touch-selector.c: (_create_new_column): Use new
954         GtkTreeView::hildon-row-tapped signal to react to user interactions
955         instead of ::changed.
956
957         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
958         with some dynamic tree model)
959
960 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
961
962         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
963         (+screen_size_changed, +label_size_request)
964         (hildon_note_class_init): Make the Hildon information note have a
965         minimum height, and make its text hvae a maximum width.
966
967         Fixes: NB#98614 (Hildon information note (background) should have
968         minimum height and maximum text width)
969
970 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
971
972         * src/hildon-banner.h
973         * src/hildon-banner.c (hildon_banner_show_information)
974         (hildon_banner_show_informationf)
975         (hildon_banner_show_information_with_markup): Update documentation
976         to reflect that the icon_name parameter is not used anymore.
977         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
978         Remove all code from these functions and mark them as deprecated.
979         (hildon_banner_show_progress): Mark as deprecated.
980
981         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
982
983 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
984
985         * src/hildon-pannable-area.c,
986         (hildon_pannable_area_class_init),
987         (tranparency_color),
988         (hildon_pannable_draw_vscroll),
989         (hildon_pannable_draw_hscroll),
990         (hildon_pannable_area_expose_event): Added a new way to render the
991         scrollbars of the pannable area avoiding using cairo at all. This
992         way we improve the performance of the pannable area rendering. The
993         cairo rendering procedure is still in the code, we can control
994         which one to use changing the value of the define
995         USE_CAIRO_SCROLLBARS.
996
997 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
998
999         * configure.ac: post release version bump.
1000         * debian/changelog: version bump.
1001
1002 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
1003
1004         [Release 2.1.38]
1005
1006         * NEWS: Updates.
1007         * configure.ac: Bump version.
1008         * debian/changelog: Updates.
1009
1010 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1011
1012         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1013         banners instead of destroying them when they receive a button
1014         press.
1015
1016 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
1017
1018         Reverted commit 34028, it was causing regressions, probably the
1019         topmost condition is not correct, we have to check it in more
1020         detail. We have reponed the bug: NB#97458 (Pannable area prevents
1021         propagation of button press events)
1022
1023 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
1024
1025         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1026         that the selection is not empty before attempting to retrieve the
1027         current ampm selection.
1028
1029 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
1030
1031         * src/hildon-picker-button.c:
1032         (hildon_picker_button_on_dialog_response): Directly update the
1033         button contents when required instead of calling _selection_changed.
1034
1035 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1036
1037         * src/hildon-program.c (hildon_program_update_top_most): Update
1038         'is-topmost' property also when wm_hints is not set.
1039
1040         Fixes: NB#98383 (is-topmost signal is not emitted when task
1041         switcher is clicked.)
1042
1043 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
1044
1045         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1046
1047         * src/Makefile.am,
1048         * src/hildon.h,
1049         * src/hildon-animation-actor.c,
1050         * src/hildon-animation-actor.h: Added the animation actor class,
1051         this widget represents an animation actor for WM-assisted
1052         animation effects in the Hildon framework.
1053
1054 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1055
1056         * src/hildon-window-stack-private.h
1057         * src/hildon-window-stack.c
1058         * src/hildon-stackable-window.c (hildon_stackable_window_show):
1059         Avoid calling gtk_widget_show() again indirectly from
1060         hildon_stackable_window_show()
1061
1062 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1063
1064         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1065         unused variable.
1066
1067 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
1068
1069         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1070         (hildon_time_selector_init): Move the construction of the hours and
1071         ampm columns to the constructor to preserve the order the columns
1072         are appended.
1073
1074 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
1075
1076         * src/hildon-picker-dialog.c:
1077         (hildon_picker_dialog_class_init): Connect a realize method.
1078         (+hildon_picker_dialog_realize): Setup the interaction mode here
1079         and not before.
1080         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1081         yet, do it during the realize instead.
1082         (_on_dialog_response):
1083         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1084         if the widget is not realized, to avoid the dialog response before it
1085         is even shown.
1086
1087         Avoid premature responses in the HildonPickerDialog that can cause it
1088         to be hidden before it's even shown.
1089
1090 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
1091
1092         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1093         (on_selector_columns_changed), (requires_done_button),
1094         (+prepare_action_area), (setup_interaction_mode),
1095         (_hildon_picker_dialog_set_selector):
1096
1097         Split the interaction mode setup into preparation of the
1098         action area (prepare_action_area()) and the connection of
1099         the signals in setup_interaction_mode() and update the code to
1100         reflect this.
1101
1102 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
1103
1104         * src/hildon-pannable-area.c,
1105         (hildon_pannable_area_class_init): Reduced the amount of scrolls
1106         per second to 15, we will check if this is ok regarding
1107         smoothness.
1108
1109 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
1110
1111         * src/hildon-pannable-area.c,
1112         (hildon_pannable_axis_scroll): Avoid resize if we already have
1113         reached overshoot_max.
1114
1115 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
1116
1117         * src/hildon-pannable-area.c,
1118         (hildon_pannable_area_init),
1119         (hildon_pannable_area_realize),
1120         (hildon_pannable_area_size_allocate),
1121         (hildon_pannable_area_map),
1122         (hildon_pannable_area_unmap),
1123         (hildon_pannable_draw_vscroll),
1124         (hildon_pannable_draw_hscroll),
1125         (hildon_pannable_area_expose_event),
1126         (hildon_pannable_area_refresh): Added a new GdkWindow to the
1127         pannable are to avoid the expose events go to the window and
1128         redraw the window. We save this way that part of the stack and the
1129         paint_boxes. We had to change the positions of the elements when
1130         drawing.
1131
1132 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
1133
1134         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1135         * src/hildon-color-chooser-dialog.c:
1136         (hildon_color_chooser_dialog_init):
1137         * src/hildon-font-selection-dialog.c:
1138         (hildon_font_selection_dialog_init),
1139         (hildon_font_selection_dialog_show_preview):
1140         * src/hildon-get-password-dialog.c:
1141         * src/hildon-login-dialog.c:
1142         * src/hildon-set-password-dialog.c:
1143         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1144         * src/hildon-time-picker.c: (hildon_time_picker_init):
1145
1146         Remove obsolete logical string IDs and update to the appropriate ones.
1147
1148         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1149
1150 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
1151
1152         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1153         that happens if the window hasn't been realized yet.
1154
1155         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1156         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1157
1158 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
1159
1160         * src/hildon-app-menu.c (hildon_app_menu_class_init)
1161         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1162         by another grab.
1163
1164         Fixes: NB#98537 (Device hangs in account settings dialog)
1165
1166 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1167
1168         * configure.ac: post release version bump.
1169         * debian/changelog: version bump
1170
1171 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1172
1173         [Release 2.1.36]
1174
1175         * NEWS: Updates.
1176         * configure.ac: Bump version.
1177         * debian/changelog: Updates.
1178
1179 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
1180
1181         Added a new function to the HildonTimeButton widget that allows to
1182         change the step of the minutes in the selector associated with the
1183         button: hildon_time_button_new_step
1184
1185         * src/hildon-time-button.c,
1186         (hildon_time_button_init),
1187         (hildon_time_button_new),
1188         (hildon_time_button_new_step):
1189         * src/hildon-time-button.h: Added the new function and refactored
1190         the code.
1191         * examples/hildon-time-button-example.c,
1192         (main): We have replaced the function without parameters with the
1193         function with the steps set to 5
1194
1195         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1196
1197 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
1198
1199         * src/hildon-time-selector.c,
1200         (hildon_time_selector_class_init),
1201         (hildon_time_selector_constructor),
1202         (hildon_time_selector_get_property),
1203         (hildon_time_selector_set_property),
1204         (_create_minutes_model),
1205         (hildon_time_selector_new_step),
1206         (hildon_time_selector_set_time),
1207         * src/hildon-time-selector.h: Added a new property to the
1208         HildonTimeSelector (minutes-step), we use that property to control
1209         the steps between the minutes in the list of the selector. We have
1210         added a new function to the API to create a widget changing the
1211         step: hildon_time_selector_new_step.
1212
1213 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
1214
1215         * src/hildon-time-selector.c,
1216         (hildon_time_selector_class_init),
1217         (hildon_time_selector_constructor),
1218         (hildon_time_selector_init): Overrided the construct function when
1219         creating the time selector object. We have moved the minutes model
1220         handling code from the init to the new construction function:
1221         hildon_time_selector_constructor.
1222
1223 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1224
1225         * examples/hildon-date-button-example.c: (main): Use the new
1226         hildon_date_button_new_with_year_range() method in the example.
1227         * src/hildon-date-button.c:
1228         (+hildon_date_button_new_with_year_range): New public method
1229         to conveniently create a HildonDateButton with a custom year range
1230         in its HildonDateSelector.
1231         * src/hildon-date-button.h: Add the new public method definition.
1232
1233         Fixes: NB#97908 (Not possible to change the year range in
1234         HildonDateSelector/HildonDateButton)
1235
1236 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1237
1238         * src/hildon-date-selector.c:
1239         (+hildon_date_selector_set_property),
1240         (+hildon_date_selector_get_property),
1241         (hildon_date_selector_class_init): Install new properties "min-year"
1242         and "max-year" to define boundaries for the year column.
1243         (_create_year_model): Use the boundary properties to populate the model.
1244         (+hildon_date_selector_new_with_year_range): New public method to
1245         create a HildonDateSelector with a user defined year range.
1246         (hildon_date_selector_select_current_date): Use the new boundaries to
1247         calculate the iterator of current year.
1248         * src/hildon-date-selector.h: Add the new public method definition.
1249
1250 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1251
1252         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1253         Install a constructor method.
1254         (+hildon_date_selector_construct_ui): construct the widget.
1255         (+hildon_date_selector_constructor): new constructor.
1256         (+hildon_date_selector_init): move out widget construction code to
1257         the new constructor.
1258
1259 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
1260
1261         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1262         that there's actually a month or year selected before obtaining them.
1263         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1264         of the HildonTouchSelector::changed signal, as it was emitted on every
1265         single item selection.
1266
1267         Fix some warnings and possible crashers due to the selection restoring.
1268
1269 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
1270
1271         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1272         the signal handlers only after creating the dialog instead of on every
1273         button click.
1274
1275 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
1276
1277         * src/hildon-button.c (hildon_button_init)
1278         * src/hildon-check-button.c (hildon_check_button_init)
1279         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1280         focus when clicked by default.
1281
1282 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
1283
1284         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1285         g_object_unref().
1286
1287 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
1288
1289         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1290         Alejandro G. Castro  (alex@igalia.com)
1291
1292         * src/hildon-picker-dialog.c:
1293         (hildon_picker_dialog_class_init): install new "center-on-show"
1294         property.
1295         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1296         (hildon_picker_dialog_set_property): add setter code for the new
1297         property.
1298         (hildon_picker_dialog_get_property): add getter code for the new
1299         property.
1300         (hildon_picker_dialog_show): Ensure visibility of selected items in the
1301         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1302         default.
1303
1304         Fixes: NB#92849 (Selected item is not always visible when
1305         HildonTouchSelector is shown)
1306
1307 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
1308
1309         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1310         Alejandro G. Castro  (alex@igalia.com)
1311
1312         * src/hildon-touch-selector.c:
1313         (_create_new_column): Do not connect to the "realize" signal of the
1314         pannable area.
1315         (hildon_touch_selector_append_column): center on the selected items
1316         when a new column is appended.
1317         (hildon_touch_selector_select_iter): Factor out the code to select a
1318         column to hildon_touch_selector_scroll_to().
1319         (+search_nearest_element): Method to retrieve the nearest selected
1320         element to the visible area of the pannable area in a column.
1321         (+on_realize_cb): scroll to the initially selected item.
1322         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1323         the pannable area is realized, otherwise delay this until it is.
1324         (+_hildon_touch_selector_center_on_selected_items): Centers on the
1325         selected items of a given column.
1326         (+hildon_touch_selector_center_on_selected): Public method to center
1327         all columns on the nearest selected item.
1328         * src/hildon-touch-selector.h: Add definition for
1329         hildon_touch_selector_center_on_selected().
1330
1331         Implement public API to ensure visibility of all selected items in
1332         a HildonTouchSelector.
1333
1334 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
1335
1336         Fixed a problem in the fading when calling the scroll_to API, and
1337         improve scrollbar fading handling.
1338
1339         * src/hildon-pannable-area.c,
1340         (hildon_pannable_area_grab_notify): avoid the timeout when the
1341         alpha is zero.
1342         (hildon_pannable_area_button_press_cb),
1343         (hildon_pannable_area_motion_notify_cb): Code style changes.
1344         (hildon_pannable_area_button_release_cb): Review the conditions
1345         when releasing the mouse button to avoid unrequired fading
1346         timeouts.
1347         (hildon_pannable_area_scroll_to): Do not calculate and set the
1348         velocity if the scroll is not required.
1349
1350 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
1351
1352         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1353         Don't check whether the new selector is NULL: it cannot be.
1354         Hold a reference to the selector while doing the replacement.
1355
1356 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
1357
1358         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1359         unnecessary size_request in a removed widget.
1360
1361 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
1362
1363         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1364         an unnecessary reference tracking that was leaking.
1365
1366 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
1367
1368         Added delayed motion notify event handling, this way we can
1369         discard redrawing if more than 25 events arrive per second.
1370
1371         * src/hildon-pannable-area.c,
1372         (hildon_pannable_area_init): Initialized the new private atributes
1373         controlling this timeout
1374         (hildon_pannable_area_dispose): Remove the timeout that controls
1375         the motion notify events.
1376         (hildon_pannable_area_scroll): Added a condition to control the
1377         use of the acceleration.
1378         (hildon_pannable_area_motion_event_scroll_timeout),
1379         (hildon_pannable_area_motion_event_scroll): Added this two
1380         functions, they handle the motion notify events inside the
1381         timeout.
1382         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1383         to the scroll method with the new function.
1384         (hildon_pannable_area_button_release_cb): We have to remove the
1385         timeout handler and move to the last position if the last motion
1386         events were not handled.
1387
1388         Fixes: NB#97028 (Pannable area updates on every motion event)
1389
1390 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
1391
1392         * src/hildon-pannable-area.c,
1393         (hildon_pannable_area_get_topmost): Added a new parameter to
1394         filter the the windows that do not include those events. Added
1395         also a condition when finding the window to filter windows that do
1396         not ask for those events.
1397         (hildon_pannable_area_button_press_cb),
1398         (hildon_pannable_area_button_release_cb),
1399         (hildon_pannable_get_child_widget_at): Reviewed the call the the
1400         topmost function, we have added the new parameter.
1401
1402         Fixes: NB#97458 (Pannable area prevents propagation of button
1403         press events)
1404
1405 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
1406
1407         * src/hildon-pannable-area.c,
1408         (hildon_pannable_area_initial_effect): Added controls before
1409         launching the timeout and the idle functions.
1410         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1411         of the method, in some situations it can return with TRUE and 0 in
1412         the timeout.
1413         (hildon_pannable_area_button_press_cb): We do not need to set
1414         DELAY for fading out here.
1415
1416         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1417
1418 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1419
1420         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1421         post-cleaning if the selection is not NULL.
1422
1423 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1424
1425         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1426         all items before restoring the selection.
1427
1428 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1429
1430         * src/hildon-touch-selector.c:
1431         (+hildon_touch_selector_unselect_all):
1432         * src/hildon-touch-selector.h: New API to unselect all items in a
1433         column of the touch selector.
1434
1435 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
1436
1437         * src/hildon-pannable-area.c,
1438         (hildon_pannable_area_redraw): Added a call to the refresh
1439         function inside the redraw because apparently in some cases the
1440         change in the adjustment does not imply a size allocate.
1441
1442         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1443         despite the view not being scrollable)
1444
1445 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
1446
1447         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1448         leak. Check for NULL before attempting to set the window title.
1449
1450 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
1451
1452         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1453         whether to show or not the 'Done' button each time the dialog is
1454         shown, as it depends on the HildonTouchSelector selection mode.
1455
1456         Fixes: NB#96226 (In multiple selection mode Done button is shown
1457         sometimes in listpicker)
1458
1459 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1460
1461         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1462         for the number of columns in the HildonTouchSelector more than once.
1463
1464 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
1465
1466         * src/hildon-touch-selector.c: Minor documentation fixes.
1467
1468         * src/hildon-picker-dialog.c (+_dialog_update_title)
1469         (_select_on_selector_changed_cb)
1470         (_update_title_on_selector_changed_cb)
1471         (on_selector_columns_changed): Update dialog title when there's no
1472         'Done' button and also when the number of columns in the selector
1473         changes.
1474         Code refactoring.
1475
1476         * src/hildon-picker-button.c (hildon_picker_button_finalize)
1477         (+_selection_changed, hildon_picker_button_on_dialog_response)
1478         (hildon_picker_button_selector_selection_changed)
1479         (+hildon_picker_button_selector_columns_changed)
1480         (hildon_picker_button_set_selector): Update button value and emit
1481         'value-changed' when the number of columns in the selector
1482         changes.
1483         Code refactoring.
1484
1485         Fixes: NB#96225 (Dialog titles are not shown according to the
1486         values selected in the list picker)
1487
1488 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
1489
1490         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1491         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1492         New "arrow-width" and "arrow-height" style properties to set the
1493         size of the arrow button.
1494         Set name of arrow button ("hildon-edit-toolbar-arrow").
1495
1496         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1497         graphics from theme)
1498
1499 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
1500
1501         * src/hildon-picker-button.c:
1502         (hildon_picker_button_selector_selection_changed): Use
1503         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1504         the dialog is present.
1505
1506         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1507         the selection is accepted in the dialog)
1508
1509 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
1510
1511         * src/hildon-color-chooser.h
1512         * src/hildon-color-chooser-dialog.h:
1513         Added G_BEGIN_DECLS and G_END_DECLS
1514
1515 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
1516
1517         (_clean_current_selection): plug a leak in the list.
1518
1519 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
1520
1521         * src/hildon-picker-dialog.c:
1522         (+free_path_list): Method to free a GList of GtkTreePaths.
1523         (_clean_current_selection), (_save_current_selection),
1524         (_restore_current_selection): Save the current selection in
1525         as a list of lists, to support multiple selection properly.
1526
1527 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
1528
1529         patch by Claudio Saavedra (csaavedra@igalia.com)
1530
1531         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1532         Store the press position.
1533         (+hildon_text_view_button_release_event): If the release position is
1534         close enough to the press position, move the cursor here. Otherwise,
1535         ignore.
1536         (hildon_text_view_class_init): Override GtkTextView press, release, and
1537         motion event handlers, disabling this way text selection through
1538         pointer interaction, and allowing the container widget to handle the
1539         motion event.
1540
1541         Fixes: NB#95828 (HildonTextView functionality)
1542
1543 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
1544
1545         Based on a patch by Iván Gómez (igomez@igalia.com)
1546
1547         * src/hildon-button.[ch]
1548         * src/hildon-calendar.c
1549         * src/hildon-check-button.c
1550         * src/hildon-date-editor.c
1551         * src/hildon-date-selector.c
1552         * src/hildon-picker-button.c
1553         * src/hildon-time-editor.c
1554         * src/hildon-time-selector.c
1555         * src/hildon-touch-selector.[ch]:
1556         Documentation updates
1557
1558 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
1559
1560         * src/hildon-pannable-area.c,
1561         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1562         threshold, it was required due to X events handling.
1563
1564 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
1565
1566         * src/hildon-pannable-area.c,
1567         (hildon_pannable_area_grab_notify),
1568         (hildon_pannable_area_initial_effect),
1569         (hildon_pannable_area_button_press_cb),
1570         (hildon_pannable_area_button_release_cb),
1571         (hildon_pannable_area_scroll_cb),
1572         (hildon_pannable_area_scroll_to): Review the timeout management of
1573         the scrollbar, the frecuency was incorrectly set.
1574
1575 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
1576
1577         * src/hildon-picker-button.c:
1578         (+hildon_picker_button_on_dialog_response),
1579         (hildon_picker_button_clicked): Present the dialog instead of
1580         running it with gtk_dialog_run().
1581
1582         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1583         picker dialog)
1584
1585 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
1586
1587         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1588         (hildon_app_menu_finalize): When a window is hidden it doesn't
1589         emit notify::is-topmost, so make sure than the menu also
1590         disappears in that case.
1591         (parent_window_topmost_notify): Renamed from parent_window_hidden
1592
1593         Fixes: NB#94460 (stackable window's menu is not closed when its
1594         window is hidden)
1595
1596 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
1597
1598         * src/hildon-touch-selector-entry.c:
1599         (+hildon_touch_selector_entry_set_input_mode),
1600         (+hildon_touch_selector_entry_get_input_mode):
1601         * src/hildon-touch-selector-entry.h: New methods to access the input
1602         mode in the selector's entry.
1603
1604         Fixes: NB#93410 (API required for setting IM mode in
1605         HildonTouchSelectorEntry)
1606
1607 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
1608
1609         * configure.ac: post release version bump.
1610         * debian/changelog: version bump
1611
1612 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
1613
1614         [Release 2.1.34]
1615
1616         * NEWS: Updates.
1617         * configure.ac: Bump version.
1618         * debian/changelog: Updates.
1619
1620 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
1621
1622         * src/hildon-touch-selector.c:
1623         (_hildon_touch_selector_has_multiple_selection): No need
1624         to initialize the variables here.
1625
1626 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
1627
1628         * src/hildon-note-private.h
1629         * src/hildon-note.c (event_box_press_event, hildon_note_init)
1630         (hildon_note_finalize, hildon_note_rebuild): Close information
1631         notes when they receive a button press.
1632
1633         Fixes: NB#89890 (Information notes does not get disappeared after
1634         few seconds)
1635
1636 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
1637
1638         * src/hildon-wizard-dialog.c: (create_title): Remove translation
1639         mark from the wizard title, as it's not really necessary. Also,
1640         do not display the page title if not set.
1641
1642 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
1643
1644         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1645         (parent_window_hidden): Use the window's "is-topmost" property to
1646         detect when to hide the menu.
1647
1648 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
1649
1650         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1651         (hildon_app_menu_finalize): If the parent window of the menu is
1652         hidden, hide the menu too.
1653
1654         Fixes: NB#94460 (stackable window's menu is not closed when its
1655         window is hidden)
1656
1657 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
1658
1659         * debian/changelog
1660         * debian/libhildon1-examples.install
1661         * debian/rules
1662         * examples/Makefile.am:
1663         Use dh_install to install all examples.
1664         Use DEB_SRCDIR instead of defining SOURCE_DIR
1665
1666 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
1667
1668         * configure.ac: post release version bump.
1669         * debian/changelog: version bump
1670
1671 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
1672
1673         [Release 2.1.32]
1674
1675         * NEWS: updates
1676         * configure.ac: bump version
1677         * debian/changelog: updates
1678         * debian/control: bump gtk+ dependency
1679
1680 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
1681
1682         patch by Christian Dywan (christian@imendio.com)
1683
1684         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1685         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1686
1687 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
1688
1689         * src/hildon-check-button.c (hildon_check_button_init)
1690         (hildon_check_button_class_init, hildon_check_button_style_set)
1691         (hildon_check_button_apply_style):
1692         New "checkbox-size" style property.
1693
1694         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1695         larger / configurable size)
1696
1697 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
1698
1699         * configure.ac: post release version bump.
1700         * debian/changelog: version bump
1701
1702 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
1703
1704         [Release 2.1.30]
1705
1706         * NEWS: updates
1707         * configure.ac: bump version
1708         * debian/changelog: updates
1709
1710 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
1711
1712         * doc/hildon-sections.txt
1713         * src/hildon-pannable-area.c
1714         * src/hildon-program.c
1715         * src/hildon-time-editor.c
1716         * src/hildon-touch-selector-entry.c:
1717
1718         More documentation updates.
1719
1720 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
1721
1722         * doc/hildon-sections.txt
1723         * src/hildon-caption.c
1724         * src/hildon-code-dialog.c
1725         * src/hildon-color-button.c
1726         * src/hildon-controlbar.c
1727         * src/hildon-date-editor.c
1728         * src/hildon-date-selector.c
1729         * src/hildon-edit-toolbar.c
1730         * src/hildon-find-toolbar.c
1731         * src/hildon-font-selection-dialog.c
1732         * src/hildon-gtk.c
1733         * src/hildon-program.c
1734         * src/hildon-range-editor.c
1735         * src/hildon-seekbar.c
1736         * src/hildon-time-editor.c
1737         * src/hildon-time-selector.c
1738         * src/hildon-volumebar-range.c
1739         * src/hildon-volumebar.c
1740         * src/hildon-vvolumebar.c
1741         * src/hildon-weekday-picker.c
1742         * src/hildon-window.c
1743         * src/hildon-wizard-dialog.c:
1744
1745         Lots of documentation fixes.
1746
1747 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
1748
1749         Patch contributed by Iván Gómez (igomez@igalia.com)
1750
1751         * src/hildon-check-button.c:
1752         * src/hildon-date-button.c:
1753         * src/hildon-date-selector.c:
1754         * src/hildon-dialog.c:
1755         * src/hildon-edit-toolbar.c:
1756         * src/hildon-entry.c:
1757         * src/hildon-picker-button.c:
1758         * src/hildon-program.c:
1759         * src/hildon-text-view.c:
1760         * src/hildon-time-button.c:
1761         * src/hildon-touch-selector-entry.c:
1762         * src/hildon-window-stack.c:
1763
1764         Add more "since" tags to the new API.
1765
1766 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
1767
1768         * doc/hildon-sections.txt: Add below method.
1769         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1770         version for the hildonized scale.
1771         * src/hildon-gtk.h: Add the definition.
1772
1773         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1774
1775 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
1776
1777         * doc/hildon-sections.txt: Add missing entries for new methods.
1778
1779 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
1780
1781         Added API to pannable are in order to get its adjustments. We
1782         added two properties to manage the values we had in the private
1783         structure.
1784
1785         * src/hildon-pannable-area.c:
1786         (hildon_pannable_area_class_init): Added hadjustment and
1787         vadjustment properties in order to expose horizontal and vertical
1788         adjustment.
1789         (hildon_pannable_area_get_property),
1790         (hildon_pannable_area_set_property): Added code to handle the new
1791         properties
1792         (hildon_pannable_area_get_hadjustment),
1793         (hildon_pannable_area_get_vadjustment): API functions to get the
1794         adjustments
1795         * src/hildon-pannable-area.h:
1796         (hildon_pannable_area_get_hadjustment),
1797         (hildon_pannable_area_get_vadjustment): API functions to get the
1798         adjustments
1799
1800 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
1801
1802         Fixed some leaks, after valgrinding.
1803
1804         * src/hildon-touch-selector.c:
1805         (_default_print_func): Fixed a leak.
1806         (hildon_touch_selector_append_column): Fixed a leak.
1807         * src/hildon-date-button.c:
1808         (hildon_date_button_init): Fixed a leak.
1809         * src/hildon-date-selector.c
1810         (hildon_date_selector_finalize): Fixed a leak.
1811
1812 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
1813
1814         Based on a patch by Christian Dywan (christian@imendio.com)
1815
1816         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1817         GtkHScale.
1818         * src/hildon-gtk.h: Add definition.
1819
1820         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1821
1822 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1823
1824         * src/hildon-picker-button.c: (hildon_picker_button_init),
1825         (hildon_picker_button_new): Set the HildonButton::style property
1826         in the init method, to propagate the value to the derived classes.
1827
1828 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1829
1830         * src/hildon-button.c: (hildon_button_class_init): Do not make
1831         the "style" property a construct property.
1832
1833 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1834
1835         * src/hildon-wizard-dialog.h
1836         * src/hildon-wizard-dialog.c
1837         (hildon_wizard_dialog_set_forward_page_func)
1838         * src/hildon-pannable-area.h
1839         * src/hildon-pannable-area.c
1840         (hildon_pannable_area_set_size_request_policy):
1841         Documentation fixes.
1842
1843 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1844
1845         * doc/hildon-sections.txt: Fixed warning about unused symbols.
1846
1847 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1848
1849         * doc/hildon-sections.txt: Added sections file.
1850
1851 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1852
1853         * AUTHORS: Updates.
1854         * src/*.[ch]: Updates.
1855
1856 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
1857
1858         * examples/hildon-progress-indicator-example.c: new file
1859         * examples/Makefile.am: include the new example program
1860
1861 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
1862
1863         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1864
1865 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1866
1867         * configure.ac: post release version bump
1868         * debian/changelog: version bump
1869
1870 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1871
1872         [Release 2.1.28]
1873
1874         * NEWS: updates
1875         * configure.ac: bump version
1876         * debian/changelog: updates
1877         * debian/control: bump gtk+ dependency
1878
1879 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1880
1881         * src/hildon-dialog.c: Mark as deprecated.
1882         * src/hildon-dialog.h: Mark as deprecated.
1883         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1884         from HildonDialog and still work, even if
1885         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1886         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1887
1888         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1889         maemo changes) instead)
1890
1891 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
1892
1893         * src/hildon-pannable_area.h:
1894         * src/hildon-pannable_area.c:
1895         (hildon_pannable_area_class_init),
1896         (hildon_pannable_area_set_property),
1897         (hildon_pannable_area_get_property),
1898         (hildon_pannable_area_size_request),
1899         (hildon_pannable_area_get_size_request_policy),
1900         (hildon_pannable_area_set_size_request_policy): Added new API
1901         allowing applications to control the request policy. Now they can
1902         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1903         children allocation (HILDON_MOVEMENT_CHILDREN).
1904
1905 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
1906
1907         * src/hildon-gtk.h
1908         * src/hildon-gtk.c
1909         (hildon_gtk_tree_view_set_ui_mode)
1910         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1911         mode of treeviews and iconviews.
1912
1913 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1914
1915         * src/hildon-touch-selector-entry.c:
1916         (hildon_touch_selector_entry_init): Use a HildonEntry instead
1917         of a GtkEntry to get proper theming.
1918
1919         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1920         widget, not GtkEntry)
1921
1922 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1923
1924         * src/hildon-wizard-dialog.c: (response): Move forward if there is
1925         no HildonWizardDialogPageFunc.
1926
1927 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1928
1929         Patch contributed by Iván Gómez (igomez@igalia.com)
1930
1931         * src/hildon-app-menu.c:
1932         * src/hildon-button.c:
1933         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1934         * src/hildon-stackable-window.c:
1935         * src/hildon-time-selector.c:
1936         * src/hildon-touch-selector.c:
1937         * src/hildon-window.c:
1938
1939         Add more "since" tags to the new API in hildon 2.2.
1940
1941 2008-12-05  Tim Janik  <timj@imendio.com>
1942
1943         Patch contributed by Christian Dywan (christian@imendio.com)
1944
1945         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1946         HildonSizeType, which are supplied by Gtk+ now.
1947
1948         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1949
1950         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1951         (with maemo changes) instead)
1952
1953 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1954
1955         Patch contributed by Iván Gómez (igomez@igalia.com)
1956
1957         * src/hildon-pannable-area.c: Add "since" tags to the new API in
1958         hildon 2.2.
1959
1960 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1961
1962         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1963         (some_page_func), (main): Update the example to use a
1964         HildonWizardDialogPageFunc function.
1965
1966         * src/hildon-wizard-dialog-private.h: Add private data for
1967         the HildonWizardDialogPageFunc function usage.
1968
1969         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1970         (destroy), (hildon_wizard_dialog_init), (response),
1971         (hildon_wizard_dialog_set_forward_page_func):
1972         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1973         that applications can use to stop a HildonWizardDialog to jump to
1974         the next page.
1975
1976         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1977         next page)
1978
1979 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
1980
1981         * src/hildon-program.h
1982         * src/hildon-program-private.h
1983         * src/hildon-program.c (hildon_program_init)
1984         (hildon_program_set_common_app_menu)
1985         (hildon_program_get_common_app_menu):
1986         New API for setting a common HildonAppMenu for all
1987         HildonStackableWindows registered with the HildonProgram.
1988
1989         * src/hildon-stackable-window.c
1990         (hildon_stackable_window_toggle_menu):
1991         Use the common HildonAppMenu if a window doesn't have a specific
1992         one.
1993
1994         * src/hildon-app-menu-private.h
1995         * src/hildon-app-menu.c
1996         (hildon_app_menu_get_parent_window):
1997         Function to obtain the window a HildonAppMenu is attached to.
1998         (hildon_app_menu_set_parent_window):
1999         Hide the menu if the parent window is set to NULL.
2000
2001 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
2002
2003         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2004         set GtkTreeView::enable-search to FALSE, to avoid the interactive
2005         search widget to popup.
2006
2007 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
2008
2009         * configure.ac: post release version bump
2010         * debian/changelog: version bump
2011
2012 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
2013
2014         [Release 2.1.26]
2015
2016         * NEWS: updates
2017         * configure.ac: bump version
2018         * debian/changelog: updates
2019
2020 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2021
2022         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2023
2024         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2025         (hildon_window_stack_window_realized)
2026         (hildon_window_stack_remove, _hildon_window_stack_do_push):
2027         Set the leader GdkWindow when a window is stacked and realized,
2028         unset it when it's unstacked.
2029         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2030
2031         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2032
2033 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2034
2035         * src/hildon-stackable-window.h
2036         * src/hildon-window-stack.h:
2037         Protect definition of HildonWindowStack using the preprocessor.
2038
2039 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2040
2041         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2042         Fix warning if all menu items are hidden.
2043
2044 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
2045
2046         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2047
2048         * src/hildon-controlbar.c:
2049         * src/hildon-hvolumebar.c:
2050         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2051         Multiple scale size defines updates.
2052
2053         Fixes: NB#94322 (Scale Updates)
2054
2055 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2056
2057         * examples/hildon-app-menu-example.c (create_menu)
2058         Show items after adding them to the menu, as in the future the
2059         menu will no longer call gtk_widget_show() on the added items.
2060
2061         * src/hildon-app-menu.c:
2062         Update example as explained above.
2063
2064 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2065
2066         * src/hildon-app-menu.c
2067         (hildon_app_menu_insert, hildon_app_menu_add_filter):
2068         Make sure that all menu items have finger height.
2069
2070 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
2071
2072         * src/hildon-picker-dialog.c:
2073         (_on_dialog_response), (_save_current_selection),
2074         (_restore_current_selection), (_clean_current_selection),
2075         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2076         Defined new functions in order to save the current internal selector
2077         selection previous open the dialog, in case that the use cancel the
2078         interaction, so the widget restores the previous selection.
2079
2080         Fixes: NB#92032 (In calendar application, date values in 'new event' 
2081         are not proper)
2082
2083         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2084
2085 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
2086
2087         * src/hildon-button.c: Add a reference to the button examples in
2088         hildon-button-example.c
2089
2090         * examples/hildon-button-example.c: Added examples of the most
2091         common button layouts.
2092
2093 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
2094
2095         * src/hildon-app-menu.c (hildon_app_menu_show)
2096         (hildon_app_menu_class_init): Don't show the menu if it's empty.
2097
2098         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2099
2100 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2101
2102         * src/hildon-picker-dialog.c:
2103         (hildon_picker_dialog_init): Initialize the signal id for
2104         HildonTouchSelector::columns-changed.
2105         (+on_selector_columns_changed): Set up the interaction mode everytime a
2106         column is added or removed from the HildonTouchSelector.
2107         (_hildon_picker_dialog_set_selector): Connect to
2108         HildonTouchSelector::columns-changed and keep track of it.
2109
2110         Make sure to update the interaction mode of the dialog everytime a
2111         column is added or removed in the HildonTouchSelector.
2112
2113         Fixes: NB#93228 (Done button is not shown always in listpicker)
2114
2115 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2116
2117         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2118         a new ::columns-changed signal.
2119         (hildon_touch_selector_append_column): Emit ::columns-changed.
2120         (hildon_touch_selector_remove_column): Emit ::columns-changed.
2121
2122         Add a ::columns-changed signal, emitted when the number of columns in a
2123         HildonTouchSelector changes.
2124
2125 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2126
2127         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2128         (_hildon_picker_dialog_set_selector): Factor out the code
2129         to set up the dialog interaction mode.
2130
2131 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2132
2133         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2134         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2135         to signal_changed_id.
2136
2137 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2138
2139         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2140         Minor doc. fixes.
2141
2142 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
2143
2144         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2145         Updated the logical ids related to ampm format, as now it is required to
2146         show it correctly localized even on languages with no default
2147         abbreviations for am or pm
2148         (_check_am_pm_format): check correctly the 24h format gconf property
2149
2150         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2151
2152 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
2153
2154         * src/hildon-button.c: Documentation updates.
2155
2156 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2157
2158         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2159         * src/hildon-caption.c: (hildon_caption_class_init):
2160         * src/hildon-color-button.c: (hildon_color_button_class_init):
2161         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2162         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2163         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2164         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2165
2166         Remove deprecated GTK+ marshalers and replace them with the ones
2167         provided by GLib, for those available, add a marshaler for
2168         BOOLEAN:VOID, which is not available in GLib, and use it.
2169
2170 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2171
2172         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2173         the text from the previous column if there is no
2174         HildonTouchSelectorColumn::text-property set.
2175
2176 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
2177
2178         * src/hildon-button.h
2179         * src/hildon-button.c (hildon_button_set_property)
2180         (hildon_button_get_property, hildon_button_class_init)
2181         (hildon_button_set_style, hildon_button_get_style):
2182         New "style" property to change the visual appearance of the
2183         button.
2184
2185         * src/hildon-picker-button.c (hildon_picker_button_new):
2186         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2187
2188         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2189         HildonButton look like PickerButton)
2190
2191 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2192
2193         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2194         column while building the default string.
2195
2196 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
2197
2198         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2199         scroll indicator by default.
2200
2201         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2202
2203 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
2204
2205         * src/hildon-main.c: Fix the documentation for hildon_init()
2206
2207 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
2208
2209         * doc/hildon-docs.sgml
2210         * doc/hildon.types
2211         * src/Makefile.am
2212         * src/hildon.h
2213         * src/hildon-window-stack-private.h
2214         * src/hildon-window-stack.h
2215         * src/hildon-window-stack.c:
2216         New HildonWindowStack object, that adds support for multiple
2217         stacks of windows per process.
2218
2219         * src/hildon-stackable-window-private.h
2220         * src/hildon-stackable-window.h
2221         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2222         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2223         (hildon_stackable_window_show, hildon_stackable_window_hide)
2224         (hildon_stackable_window_class_init)
2225         (hildon_stackable_window_init):
2226         Use HildonWindowStack for stack management.
2227
2228         * src/hildon-program.c (hildon_program_pop_window_stack)
2229         (hildon_program_peek_window_stack)
2230         (hildon_program_go_to_root_window):
2231         Add a fallback implementation to the deprecated functions using
2232         HildonWindowStack.
2233
2234         * examples/hildon-stackable-window-example.c:
2235         Use the new HildonWindowStack API.
2236
2237 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
2238
2239         * src/hildon-stackable-window-private.h
2240         * src/hildon-stackable-window.c (hildon_stackable_window_show)
2241         (hildon_stackable_window_hide, hildon_stackable_window_init):
2242         Remove all window stack management.
2243
2244         * src/hildon-program-private.h
2245         * src/hildon-program.h
2246         * src/hildon-program.c (hildon_program_init)
2247         (hildon_program_pop_window_stack)
2248         (hildon_program_peek_window_stack)
2249         (hildon_program_go_to_root_window):
2250         Remove all window stack management and mark functions as
2251         deprecated.
2252
2253 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
2254
2255         * src/hildon-app-menu.c (hildon_app_menu_realize):
2256         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2257
2258 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
2259
2260         * configure.ac: post release version bump
2261         * debian/changelog: version bump
2262
2263 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
2264
2265         [Release 2.1.24]
2266
2267         * NEWS: updates
2268         * configure.ac: bump version
2269         * debian/changelog: updates
2270
2271 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
2272
2273         Based on initial code by Christian Dywan (christian@imendio.com)
2274
2275         * doc/hildon-docs.sgml: Add section for hildon-main.
2276         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2277         * src/Makefile.am: Add new hildon-main.[ch]
2278         * src/hildon-defines.h: Update the icon sizes.
2279         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2280         new library initialization files and register icon sizes.
2281         * src/hildon-main.h: New declarations.
2282         * src/hildon.h: Include hildon-main.h
2283
2284         Add new initialization functions to the library. These methods
2285         will register the hildon specific icon sizes and can be used in the
2286         future for other hildon specific bits.
2287
2288         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2289
2290 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
2291
2292         * src/hildon-window.c: (hildon_window_realize),
2293         (hildon_window_notify), (-hildon_window_update_title): Do not set
2294         the application name in the window title.
2295
2296         Fixes: NB#89754 (Applications shouldn't display their names in the
2297         window title)
2298
2299 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
2300
2301         * src/hildon-note-private.h:
2302         * src/hildon-note.c: (hildon_note_set_property),
2303         (hildon_note_get_property), (hildon_note_class_init),
2304         (hildon_note_init), (hildon_note_finalize),
2305         (hildon_note_new_confirmation_with_icon_name),
2306         (hildon_note_new_information_with_icon_name):
2307
2308         No need to mark as deprecated the actual code. Revert
2309         to avoid missing symbols in widgets using deprecated API.
2310
2311 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
2312
2313         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2314
2315         * src/hildon-volumebar.h
2316         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2317         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2318
2319         * src/hildon-helper.h
2320         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2321         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2322
2323         * examples/Makefile.am:
2324         Deprecate hildon-insensitive-example
2325
2326         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2327
2328 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
2329
2330         * examples/hildon-pannable-area-buttons-scroll-example.c:
2331         Make all buttons finger height
2332
2333 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
2334
2335         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2336         documentation
2337         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2338         update the day model only if it is really required, and to avoid the
2339         full-reconstruction aproach. Now it only add or remove the required days.
2340
2341         The purpose of this is avoid superfluous HildonTouchSelector::changed
2342         signals
2343
2344         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2345         with strange parameters)
2346
2347 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
2348
2349         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2350
2351         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2352         the WINDOW_TYPE property.
2353
2354         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2355
2356 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
2357
2358         * doc/gtk-doc.make:
2359         Fix dependency to allow parallel compilation with make -jX
2360
2361 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
2362
2363         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2364         color frame and some minor tweaks to make it more consistent with
2365         current theming.
2366
2367         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2368         highlighted but not visible)
2369
2370 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
2371
2372         * examples/Makefile.am: Fixed typo in the Makefile.am.
2373
2374 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
2375
2376         Reviewed the use of MAEMO_GTK define, now we add the define in the
2377         compilation line, and we also add it to the pc file.
2378
2379         * configure.ac: Added MAEMO_GTK define to the compilation command
2380         and removed it from the config.h.
2381
2382         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2383         do not have to take care about this define if the library was
2384         compiled with it.
2385
2386         * src/hildon-gtk.c:
2387         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2388
2389 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
2390
2391         * examples/Makefile.am,
2392         * examples/hildon-pannable-area-buttons-scroll-example.c,
2393         * examples/hildon-pannable-area-gesture-signals-example.c,
2394         * examples/hildon-pannable-area-scroll-jump-example.c,
2395         * examples/hildon-pannable-area-tree-view-example.c:
2396         Renamed the pannable area examples, now they have more meaningful
2397         names.
2398
2399 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
2400
2401         * src/hildon-touch-selector.c:
2402         (hildon_touch_selector_set_column_selection_mode): Used of
2403         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2404         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2405         to avoid re-seting the same selection mode.
2406
2407         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2408         breaks HildonPickerDialog)
2409
2410 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
2411
2412         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2413         conditional in the Makefile.am
2414
2415 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
2416
2417         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2418         Remove unused methods.
2419
2420 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
2421
2422         * src/hildon-button.c (hildon_button_init):
2423         Make button images center-aligned by default
2424
2425 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
2426
2427         * src/hildon-gtk.c:
2428         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2429         activated, we have to think about how to deal with both defines
2430         MAEMO_GTK and MAEMO_CHANGES.
2431
2432 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
2433
2434         * examples/hildon-app-menu-example.c (create_menu): Make all
2435         buttons finger size.
2436
2437 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
2438
2439         Fixed the compilation without maemo gtk adding ifdefs with
2440         MAEMO_GTK define to the code, we have to check this version more
2441         carefully.
2442
2443         * examples/Makefile.am: Added control to avoid some examples that
2444         just make sense with maemo gtk.
2445
2446         * src/hildon-gtk.c:
2447         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2448         hildon modes with the define.
2449
2450         * examples/hildon-edit-toolbar-example.c,
2451         (create_icon_view): Create the icon view without hildon-gtk
2452         helpers if we are not using maemo gtk.
2453
2454         * src/hildon-touch-selector.c,
2455         (_create_new_column): Create the treeview without hildon-gtk
2456         helpers if we are not using maemo gtk.
2457
2458 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
2459
2460         * src/hildon-pnnable-area.c,
2461         (hildon_pannable_area_dispose),
2462         (hildon_pannable_area_button_press_cb),
2463         (hildon_pannable_area_child_mapped),
2464         (hildon_pannable_area_add),
2465         (hildon_pannable_area_remove): Added code to control the position
2466         of the event_window when adding and removing children from the
2467         pannable. We have to raise the event window when the child is
2468         mapped.
2469
2470         Fixes: NB#89811 (Not able to select first image thumbnail in multi
2471         selection mode using custom widget inside pannable)
2472
2473 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
2474
2475         * configure.ac: post release version bump
2476         * debian/changelog: version bump
2477
2478 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
2479
2480         [Release 2.1.22]
2481
2482         * NEWS: updates
2483         * configure.ac: bump version
2484         * debian/changelog: updates
2485
2486 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
2487
2488         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2489         search mode, in order to avoid lose the focus on the treeview when
2490         a hw key (like enter) is pressed.
2491
2492         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2493         in HildonDateSelector dialog)
2494
2495 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
2496
2497         * debian/rules: Added --enable-maintainer-mode
2498         * Makefile.am: Added ACLOCAL_AMFLAGS
2499
2500         This allows to properly regenerate the Makefiles if you modify the
2501         configure.ac or any Makefile.am.
2502
2503 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
2504
2505         * examples/hildon-app-menu-example.c: (main): Do not set RC style
2506         properties, not needed at all.
2507
2508 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
2509
2510         * src/hildon-note-private.h: Add strings for the icon and stock_icon
2511         properties.
2512         * src/hildon-note.c: (hildon_note_set_property),
2513         (hildon_note_get_property), (hildon_note_class_init),
2514         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2515         (hildon_note_new_confirmation_add_buttons): Remove icons.
2516         (hildon_note_new_confirmation_with_icon_name): Deprecate.
2517         (hildon_note_new_information_with_icon_name): Deprecate.
2518         (hildon_note_new_confirmation): Act directly, without calling
2519         the deprecated constructor.
2520         (hildon_note_new_information): Act directly, without calling
2521         the deprecated constructor.
2522         * src/hildon-note.h: Mark deprecate methods as such.
2523         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2524         not run tests on the deprecated methods if built with deprecation
2525         disabled.
2526
2527         Fixes: NB#91688 (Never show icons in information notes/confirmation
2528         notes)
2529
2530 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
2531
2532         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2533         (hildon_app_menu_key_press): Remove leftover usage of the
2534         private structure in HildonAppMenu struct.
2535         * src/hildon-app-menu.h: Remove leftover private structure
2536         from the HildonAppMenu struct.
2537
2538         Fixes a crasher when using the HildonAppMenu.
2539
2540 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
2541
2542         * src/hildon-picker-dialog.c: Use appropriate logical id
2543         for the default "Done" text.
2544
2545 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
2546
2547         * configure.ac: post release version bump
2548         * debian/changelog: version bump
2549
2550 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
2551
2552         Modified the way to scroll to the current selection just when the touch
2553         selector is shown on the screen, avoiding a g_idle. Added too a property
2554         to configure this behaviour. See hildon_pannable_area_jump_to_child
2555         documentation for more information.
2556
2557         * src/hildon-touch-selector.c
2558         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2559         Added 'initial-scroll' property
2560         (hildon_touch_selector_set_property): Added
2561         (hildon_touch_selector_map): Removed as not required anymore
2562         (_hildon_touch_selector_on_selected_items): Modified in order to manage
2563         only a concrete column, instead of iterate along all the columns
2564
2565 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2566
2567         [Release 2.1.20]
2568
2569         * NEWS: updates
2570         * configure.ac: bump version
2571         * debian/changelog: updates
2572
2573 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2574
2575         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2576         compilation time warnings.
2577
2578 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2579
2580         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2581         the default value for HildonPannableArea::mov-mode to
2582         HILDON_PANNABLE_AREA_MODE_VERT.
2583
2584         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2585
2586 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2587
2588         Reverting following commit:
2589
2590         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
2591
2592           * src/hildon-app-menu-private.h
2593           * src/hildon-app-menu.[ch]
2594           * src/hildon-button.[ch]
2595           * src/hildon-check-button.[ch]
2596           * src/hildon-entry.[ch]
2597           * src/hildon-pannable-area.[ch]
2598           * src/hildon-text-view.[ch]:
2599           Added private field to the object's structure.
2600
2601         because it causes an ABI breakage. We will need to introduce these
2602         changes later at some point. See NB#91636 for an extensive
2603         explanation and status.
2604
2605 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2606
2607         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2608
2609         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2610         remove special cases that are no longer necessary.
2611
2612         Fixes: NB#91016 (Change toolbar sizes, simplification)
2613
2614 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
2615
2616         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2617         is shown in the cancel note.
2618
2619 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
2620
2621         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2622         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2623         (hildon_seekbar_init): Remove steppers, remove expose event.
2624         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2625
2626         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2627
2628 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
2629
2630         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2631         label font to "SmallSystemFont" for vertically arranged buttons.
2632
2633         Fixes: NB#90662 (HildonButton "value" and "detail" text is
2634         unformatted)
2635
2636 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
2637
2638         * src/hildon-check-button.c
2639         (hildon_check_button_set_active, hildon_check_button_clicked):
2640         Don't access private parts directly, use getters instead.
2641
2642 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
2643
2644         * src/hildon-check-button.c (hildon_check_button_new):
2645         Align the contents of the check button to the left.
2646
2647 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
2648
2649         * src/hildon-pannable-area.c,
2650         (hildon_pannable_area_scroll_to),
2651         (hildon_pannable_area_jump_to),
2652         (hildon_pannable_area_scroll_to_child),
2653         (hildon_pannable_area_jump_to_child): Replace the mapped
2654         precondition of these functions with the realized, it is the
2655         correct state of the widget in this case. Changed the
2656         documentation according to this modification.
2657
2658 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
2659
2660         Added a new EXTRA_CFLAGS option to add the deprecated define to
2661         the compilation command. This way we can avoid using the define in
2662         the documentation compilation.
2663
2664         * configure.ac: Defined EXTRA_CFLAGS.
2665
2666         * examples/Makefile.am:
2667         * src/Makefile.am:
2668         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2669
2670 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
2671
2672         * src/hildon-picker-dialog.c:
2673         Defined a utility macro with the desired touch selector height
2674         Removed currently unused separator, and title_label variables from
2675         private structure.
2676         (hildon_picker_dialog_init): Removed code related to the creation
2677         of unused private variables title_label and separator.
2678         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2679         to ensure correct visualization of the touch selector inside the dialog.
2680         * src/hildon-touch-selector.c
2681         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2682         ensure a concrete height of the widget.
2683
2684 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
2685
2686         * src/Makefile.am:
2687         * tests/Makefile.am:
2688
2689         Remove spurious whitespaces.
2690
2691 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
2692
2693         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2694         compilation warning after the cancel button removal.
2695
2696 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
2697
2698         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2699
2700         * configure.ac: Added an AM_CONDITIONAL in order to use in the
2701         Makefile.am, that way we can choose not to compile some examples
2702         and tests of the deprecated widgets.
2703
2704         * examples/Makefile.am: Divided the sources in deprecated and
2705         non-deprecated.
2706
2707         * src/Makefile.am: Added undef statement of the deprecated
2708         symbol to the enums file generation process.
2709
2710         * src/hildon-color-chooser-dialog.c
2711         * src/hildon-color-chooser-dialog.h
2712         * src/hildon-color-button.c
2713         * src/hildon-color-button.h
2714         * src/hildon-color-chooser.c
2715         * src/hildon-color-chooser.h
2716         * src/hildon-controlbar.c
2717         * src/hildon-controlbar.h
2718         * src/hildon-date-editor.c
2719         * src/hildon-date-editor.h
2720         * src/hildon-hvolumebar.c
2721         * src/hildon-hvolumebar.h
2722         * src/hildon-private.c
2723         * src/hildon-private.h
2724         * src/hildon-range-editor.c
2725         * src/hildon-range-editor.h
2726         * src/hildon-seekbar.c
2727         * src/hildon-seekbar.h
2728         * src/hildon-time-editor.c
2729         * src/hildon-time-editor.h
2730         * src/hildon-time-picker.c
2731         * src/hildon-time-picker.h
2732         * src/hildon-volumebar.c
2733         * src/hildon-volumebar.h
2734         * src/hildon-vvolumebar.c
2735         * src/hildon-vvolumebar.h
2736         * src/hildon-bread-crumb-trail.h
2737         * src/hildon-bread-crumb-trail.c
2738         * src/hildon-calendar-popup.c
2739         * src/hildon-calendar-popup.h
2740         * src/hildon-weekday-picker.c:
2741         * src/hildon-weekday-picker.h:
2742         * src/hildon-bread-crumb-widget.c:
2743         * src/hildon-bread-crumb-widget.h:
2744         * src/hildon-bread-crumb.c:
2745         * src/hildon-bread-crumb.h:
2746         * src/hildon-calendar.c:
2747         * src/hildon-calendar.h:
2748         * src/hildon-caption.c:
2749         * src/hildon-code-dialog.c:
2750         * src/hildon-code-dialog.h:
2751         * src/hildon-font-selection-dialog.c:
2752         * src/hildon-font-selection-dialog.h:
2753         * src/hildon-get-password-dialog.c:
2754         * src/hildon-get-password-dialog.h:
2755         * src/hildon-login-dialog.c:
2756         * src/hildon-login-dialog.h:
2757         * src/hildon-number-editor.c:
2758         * src/hildon-number-editor.h:
2759         * src/hildon-set-password-dialog.c:
2760         * src/hildon-set-password-dialog.h:
2761         * src/hildon-sort-dialog.c:
2762         * src/hildon-sort-dialog.h: This is the list of deprecated
2763         widgets.
2764
2765         * src/hildon-touch-selector.c:
2766         * src/hildon-window.c: Added undef statement to avoid compilation
2767         warnings
2768
2769         * tests/Makefile.am: Divided the sources in deprecated and
2770         non-deprecated.
2771
2772         * tests/check_test.c,
2773         (configure_tests): Marked the deprecated code that was adding
2774         suites with deprecated tests.
2775
2776         Fixes: NB#91135 (Deprecate legacy hildon widgets)
2777
2778 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
2779
2780         * src/hildon-touch-selector.c: (_default_print_func): Do not
2781         duplicate a string returned by gtk_tree_model_get(), it is already
2782         allocated for us.
2783
2784         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2785         function)
2786
2787 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
2788
2789         * src/hildon-pannable-area.c
2790         (hildon_pannable_area_add_with_viewport): Reviewed the complete
2791         method, it had problems when adding a widget with viewport the
2792         second time. Now checks if it already has a viewport and uses it.
2793
2794         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2795         on child)
2796
2797 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
2798
2799         * src/hildon-pannable-area.c,
2800         (hildon_pannable_area_scroll_to),
2801         (hildon_pannable_area_jump_to),
2802         (hildon_pannable_area_scroll_to_child),
2803         (hildon_pannable_area_jump_to_child): Added a precondition to the
2804         scroll and jump to functions: the widget must be mapped before we
2805         can safely call these functions. We have also added documentation
2806         to the functions to explain how to use them in this situation.
2807
2808
2809 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
2810
2811         Reviewed the threading handling of the pannable widget, we have
2812         used the gdk_threads_add_timeout function instead of the usual
2813         glib handlers. This avoids some problems with the threads.
2814
2815         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2816         (hildon_pannable_area_initial_effect),
2817         (hildon_pannable_area_scroll_indicator_fade),
2818         (hildon_pannable_area_button_press_cb),
2819         (hildon_pannable_area_timeout),
2820         (hildon_pannable_area_motion_notify_cb),
2821         (hildon_pannable_area_button_release_cb),
2822         (hildon_pannable_area_scroll_cb),
2823         (hildon_pannable_area_scroll_to): Removed the
2824         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2825         gdk_threads_add_timeout.
2826
2827         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2828
2829 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2830
2831         [Release 2.1.18]
2832
2833         * NEWS: updates
2834         * configure.ac: bump version
2835         * debian/changelog: updates
2836
2837 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2838
2839         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2840         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2841         * src/hildon-color-chooser-dialog.c:
2842         (hildon_color_chooser_dialog_init):
2843         * src/hildon-font-selection-dialog.c:
2844         (hildon_font_selection_dialog_init):
2845         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2846
2847         Remove all cancel/close-like dialogs, as these are not going to be
2848         displayed at all.
2849
2850 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2851
2852         * src/hildon-note.c: (hildon_note_rebuild),
2853         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2854         when needed.
2855
2856         Fixes: NB#90661 (Delete dialog is displayed without NO button)
2857
2858 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2859
2860         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2861         sure all buttons are shown, even the Cancel/Close-like ones.
2862
2863         Fixes: NB#90861 (Custom Confirmation dialogs should be
2864         protected from cancel button removal)
2865
2866 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2867
2868         * debian/control: Change libhildon1-examples dependency from libhildon1
2869         to libhildon1-dev
2870         * debian/libhildon1-examples.install
2871         * debian/rules
2872         * Makefile.am: Modified the final install directory for the examples on
2873         package libhildon1-examples
2874         * Makefile.static: Update clean target in order to remove all the binary
2875         examples
2876
2877         Changes suggested by Claudio after review new libhildon1-examples package
2878
2879 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
2880
2881         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2882         * src/hildon-touch-selector.c: Ditto.
2883
2884 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2885
2886         * debian/control: Added new package libhildon1-examples, in order to pack
2887         the current hildon examples as documentation
2888         * debian/rules: Not to compress .c files, modify some includes on the
2889         examples (as normally are compiled locally, but when installed it will
2890         require to include the installed libhildon1 library), and rename
2891         Makefile.static
2892         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2893         install all the example files on the new example package
2894         * examples/Makefile.static: Added static makefile that can be used to
2895         compile the examples, once installed the new example package
2896         * examples: Most of the examples were modified in order to grant that
2897         all use only '#include "hildon.h"', in order to be easy to prepare
2898         it on the example package
2899
2900 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
2901
2902         * debian/control
2903         * debian/libhildon1-dev.install
2904         * debian/libhildon1-doc.install:
2905         Move all gtk-doc files to a separate libhildon1-doc package.
2906
2907 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
2908
2909         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
2910
2911         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2912
2913 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
2914
2915         * debian/rules: Fixed a error in order to avoid unnecessary calls
2916         to autogen.sh on package building
2917
2918 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
2919
2920         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2921
2922 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2923
2924         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2925         header include.
2926
2927 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
2928
2929         * src/hildon-picker-button.c
2930         (hildon_picker_button_finalize):
2931         Free priv->done_button_text
2932
2933         * src/hildon-time-button.c
2934         (hildon_time_button_set_time)
2935         * src/hildon-picker-button.c
2936         (hildon_picker_button_clicked)
2937         (hildon_picker_button_selector_selection_changed)
2938         (hildon_picker_button_set_selector)
2939         * src/hildon-date-button.c
2940         (hildon_date_button_set_date):
2941         Free strings returned by hildon_touch_selector_get_current_text()
2942
2943         * src/hildon-button.c (hildon_button_construct_child):
2944         Fix leaks in priv->image and priv->label_box
2945
2946         Fixes: NB#90535 (Memory leak in picker button)
2947
2948 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2949
2950         * src/hildon-button.c: (hildon_button_get_property): Do not access
2951         private elements directly, use getters instead.
2952
2953 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2954
2955         * src/hildon-app-menu-private.h
2956         * src/hildon-app-menu.c
2957         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2958         Store the menu's parent window.
2959
2960         * src/hildon-stackable-window.c
2961         (hildon_stackable_window_toggle_menu)
2962         (hildon_stackable_window_finalize):
2963         Set the menu's parent window when the menu is shown, unset it when
2964         it is destroyed.
2965
2966         * src/hildon-app-menu.c
2967         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2968         (hildon_app_menu_class_init):
2969         Send unhandled keyboard accelerators to the parent window.
2970
2971 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2972
2973         * src/hildon-stackable-window.c
2974         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2975
2976 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2977
2978         * configure.ac: post release version bump
2979
2980 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2981
2982         * NEWS: Updates
2983         * configure.ac: Bump version
2984         * debian/changelog: Updates
2985         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2986         gtk-doc 1.10.
2987
2988 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2989
2990         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2991
2992         * src/hildon-gtk.h
2993         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2994         GtkMenu with Hildon style.
2995
2996 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2997
2998         * src/hildon-picker-button.c:
2999         (hildon_picker_button_set_done_button_text): Set the dialog's
3000         done button text here as well.
3001
3002         Fixes: NB#90232 (Picker button does not set the label on done button
3003         for the second time)
3004
3005 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3006
3007         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3008         warning message.
3009
3010 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
3011
3012         * src/hildon-app-menu.c (hildon_app_menu_insert)
3013         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3014         the HildonAppMenu to be activatable using keyboard accelerators
3015         when the menu is not being shown.
3016
3017         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3018
3019 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
3020
3021         * src/hildon-stackable-window.c
3022         (hildon_stackable_window_show):
3023         Don't hide old windows automatically when new windows are shown:
3024         this is now a task for the window manager.
3025         (hildon_stackable_window_class_init)
3026         (hildon_stackable_window_hide):
3027         Remove windows from the stack everytime they're hidden.
3028         (hildon_stackable_window_realize):
3029         Don't change the _NET_WM_WINDOW_TYPE property. Use
3030         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3031         it as a stackable window.
3032
3033         * src/hildon-program.c
3034         (hildon_program_pop_window_stack):
3035         Just hide the window to remove it from the stack.
3036         (hildon_program_go_to_root_window):
3037         Don't call gtk_widget_show(), this is now a task for the window
3038         manager.
3039
3040         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3041
3042 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
3043
3044         * src/hildon-button.c
3045         (hildon_button_construct_child):
3046         Don't pack anything in the button until text or image are
3047         set. This allows adding a custom child after creating the button
3048         with hildon_button_new().
3049         (hildon_button_finalize, hildon_button_class_init)
3050         (hildon_button_init, hildon_button_set_arrangement): Destroy the
3051         alignment and the label box even when they're not packed in the
3052         button.
3053
3054 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
3055
3056         * src/hildon-touch-selector.h:
3057         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3058         currently the type definition was using GTK_TYPE_VBOX
3059         * src/hildon-touch-selector.c:
3060         Added some implementation notes in order to clarify that any other widget
3061         added without the column related API will not be included on the
3062         selection logic, and how the widget is freed, as some people ask about
3063         it.
3064         (hildon_touch_selector_remove): Reimplemented in order to free properly
3065         the column related data when you remove the private hbox.
3066         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3067         to get a proper HildonTouchSelectorColumn documentation
3068
3069 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
3070
3071         * src/hildon-touch-selector-entry.c:
3072         (hildon_touch_selector_entry_print_func): Return NULL if there is no
3073         text in the GtkEntry and there is no item selected. Fixes a
3074         potential crasher.
3075
3076 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
3077
3078         * src/hildon-app-menu-private.h
3079         * src/hildon-app-menu.[ch]
3080         * src/hildon-button.[ch]
3081         * src/hildon-check-button.[ch]
3082         * src/hildon-entry.[ch]
3083         * src/hildon-pannable-area.[ch]
3084         * src/hildon-text-view.[ch]:
3085         Added private field to the object's structure.
3086
3087 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
3088
3089         * configure.ac: post-release version bump
3090
3091 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
3092
3093         [Release 2.1.14]
3094
3095         * configure.ac: pre-release version bump
3096         * NEWS: updates.
3097         * debian/changelog: updates.
3098
3099 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
3100
3101         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3102         Disconnect the handler for HildonTouchSelector::changed.
3103
3104         (hildon_picker_button_selector_selection_changed): Update the button
3105         value if the selection change was not triggered by the
3106         HildonPickerDialog.
3107
3108         (hildon_picker_button_set_selector): connect to
3109         HildonTouchSelector::changed.
3110
3111         Fixes: NB#89650 (Picker button is not updated, when selection in
3112         selector has changed)
3113
3114 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
3115
3116         * src/hildon-picker-dialog.c
3117         (hildon_picker_dialog_realize): Removed as not required
3118         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3119         * src/hildon-picker-button.c
3120         (_current_selector_empty): New function, checks if the selector is empty
3121         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3122         if the current selector is empty, in order to avoid to show the dialog
3123         close the dialog in this case (and shows a g_warning).
3124
3125         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3126
3127 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
3128
3129         * src/hildon-pannable-area.c,
3130         (hildon_pannable_area_scroll): Added clause to stop movement when
3131         the child of pannable is smaller than one page.
3132         (hildon_pannable_area_scroll_to): Added conditions to avoid
3133         starting the scrolling movement if the child is smaller than one
3134         page, the complete child is in the screen, we do not have to move.
3135
3136         Fixes: NB#89632 (Picker button selection doesn't change on first click)
3137
3138 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
3139
3140         * src/hildon-app-menu.c: Removed the 'columns' property, as now
3141         this is managed automatically by the widget when the size of the
3142         screen changes.
3143
3144 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
3145
3146         * src/hildon-picker-button.c
3147         (hildon_picker_button_set_done_button_text): Make a copy of the
3148         text, and free the previous value.
3149
3150 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
3151
3152         * src/hildon-touch-selector-entry.c:
3153         (hildon_touch_selector_entry_print_func): Return the selected row's
3154         text if the entry is empty.
3155
3156         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3157         entry is empty)
3158
3159 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
3160
3161         * src/hildon-touch-selector-entry.c: Minor docs fixes.
3162
3163 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
3164
3165         * doc/hildon.types
3166         * src/hildon-check-button.h
3167         * src/hildon-check-button.c
3168         * examples/hildon-check-button-example.c:
3169         HildonCheckButton is now a new widget. 'toggled' signal added.
3170
3171 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
3172
3173         * src/hildon-program-private.h
3174         * src/hildon-program.c (hildon_program_init)
3175         (hildon_program_finalize): Removed unused variables group_leader
3176         and name from HildonProgramPrivate.
3177
3178 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
3179
3180         * src/hildon-check-button.c (hildon_check_button_set_active)
3181         (hildon_check_button_get_active, hildon_check_button_new): Use
3182         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3183
3184 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
3185
3186         * src/hildon-touch-selector.h
3187         (hildon_touch_selector_set_column_attributes): added deprecation
3188         guard HILDON_DISABLE_DEPRECATED
3189         * src/hildon-time-selector.c
3190         (hildon_time_selector_set_time)
3191         (hildon_time_selector_get_time): Fixed a typo on documentation
3192         * src/hildon-touch-selector.c: update HildonTouchSelector and
3193         HildonTouchSelectorColumn documentation
3194         * src/hildon-touch-selector-entry.c: update "text-column" property
3195         documentation
3196         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3197         to be added to the general documentation.
3198
3199 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
3200
3201         * examples/hildon-pannable-area-example-4.c,
3202         (main),
3203         * examples/hildon-pannable-area-example.c,
3204         (main): Modified the code in order to use the container add, with
3205         viewport treeviews could have problems if they are really big.
3206
3207 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
3208
3209         * src/hildon-weekday-picker.c,
3210         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3211         the agreement regarding deprecation in the library.
3212
3213 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
3214
3215         * examples/hildon-picker-button-multicolumn-example.c:
3216         (main): Use custom "done" button text.
3217
3218         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3219         (hildon_picker_button_set_property),
3220         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3221         (hildon_picker_button_init),
3222         (+hildon_picker_button_get_done_button_text),
3223         (+hildon_picker_button_set_done_button_text): New methods to customize
3224         the "done" button label in the launched HildonPickerDialog. Also,
3225         make it a property.
3226
3227         * src/hildon-picker-button.h: add the public API.
3228
3229 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
3230
3231         * src/hildon-date-selector.h:
3232         * src/hildon-picker-dialog.h:
3233         * src/hildon-time-selector.h:
3234         * src/hildon-touch-selector-column.h:
3235         * src/hildon-touch-selector.h:
3236
3237         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3238         declarations. Fixes gtk-doc warnings.
3239
3240 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
3241
3242         * src/hildon-picker-dialog.h
3243         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3244         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3245
3246         Fixes: NB#89329 (selectors in picker dialog are not visible when a
3247         long text is set as label for done button)
3248
3249 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
3250
3251         * src/hildon-dialog.c (hildon_dialog_add_button):
3252         Set fixed width to all buttons in the HildonDialog.
3253
3254 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
3255
3256         Patch contributed by Daniel Borgmann (danielb@openismus.com)
3257
3258         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3259         Set widget name using class name plus "-finger" or "-thumb".
3260
3261 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
3262
3263         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3264         'clicked' when the state of the button is manually changed.
3265
3266 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
3267
3268         * src/hildon-app-menu.c (hildon_app_menu_realize)
3269         (hildon_app_menu_unrealize, hildon_app_menu_init)
3270         (hildon_app_menu_class_init, item_visibility_changed):
3271         Change the menu layout when the size of the screen changes.
3272         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3273         Show warning only when changing the number of colums using the
3274         property.
3275
3276 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
3277
3278         * debian/compat: Set to 5
3279         * debian/control: Update dependencies.
3280         * debian/libhildon1-dbg.install: Remove.
3281         * debian/libhildon1-dev.install: Update according to cdbs paths.
3282         * debian/libhildon1.install: Update according to cdbs paths.
3283         * debian/rules: Switch to cdbs.
3284
3285 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
3286
3287         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3288         'item' variable renamed to 'filter'
3289
3290 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
3291
3292         * src/hildon-app-menu.c (hildon_app_menu_insert)
3293         (hildon_app_menu_add_filter, remove_item_from_list)
3294         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3295         Don't leak hidden items when the menu is destroyed.
3296
3297 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
3298
3299         * src/hildon-app-menu.c (hildon_app_menu_insert)
3300         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3301         (hildon_app_menu_set_columns, item_visibility_changed)
3302         (filter_visibility_changed, hildon_app_menu_repack_filters)
3303         (hildon_app_menu_repack_items):
3304         Repack items and filters separately.
3305
3306         Don't repack all items, change only the ones that are needed to
3307         update the layout.
3308
3309 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
3310
3311         * src/Makefile.am: added hildon-touch-selector-column.h
3312
3313 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
3314
3315         * src/hildon-touch-selector.c: added the property "text-column" to the
3316         class HildonTouchSelectorColumn, and related get/set functions
3317         (_default_printf_func): updated to use "text-column" property
3318         * src/hildon-touch-selector-entry.c: mark as deprecated the property
3319         "text-column" in his documentation, as this is now included on
3320         HildonTouchSelectorColumn. The get/set_property can still be used,
3321         working as a wrapper to the concrete column "text-column" property
3322         (_text_column_modified): callback added in order to handle the signal
3323         "notify::text-column" of the concrete HildonTouchSelectorColumn
3324         (hildon_touch_selector_entry_get_text_column)
3325         (hildon_touch_selector_entry_set_text_column): Added documentation, and
3326         modified in order to use the HildonTouchSelectorColumn "text-column"
3327         property
3328         * src/hildon-time-selector.c:
3329         * src/hildon-date-selector.c:
3330         * examples/hildon-touch-selector-example.c
3331         * examples/hildon-touch-selector-multi-cells-example.c
3332         * examples/hildon-picker-button-multicolumn-example.c
3333         Set the right value to "text-column" property on the creation of a new
3334         column using hildon_touch_selector_append_column()
3335
3336         Fixes: NB#88644 (Hardcoded first column of the model as text column)
3337
3338 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
3339
3340         * src/hildon-app-menu.c
3341         (hildon_app_menu_construct_child, hildon_app_menu_init): When
3342         updating the layout of the menu, don't create all widgets again,
3343         just repack the items in their new places.
3344
3345 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
3346
3347         * src/hildon-time-selector.c
3348         (hildon_time_selector_get_time)
3349         (hildon_time_selector_set_time)
3350         Added documentation of these public methods
3351
3352         * src/hildon-date-button.h
3353         * src/hildon-touch-selector-column.h
3354         * src/hildon-time-button.h
3355         * src/hildon-picker-dialog.h
3356         * src/hildon-time-selector.h
3357         * src/hildon-picker-button.h
3358         * src/hildon-touch-selector.h
3359         * src/hildon-time-picker.h
3360         * src/hildon-date-selector.h
3361         * src/hildon-touch-selector-entry.h
3362         Modified in order to use hildon-widgets code style
3363
3364 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
3365
3366         Added deprecated support to the compilation process using
3367         HILDON_DISABLE_DEPRECATED
3368
3369         * configure.ac: Added the --disable-deprecated to the configure
3370         script
3371
3372         * src/hildon-weekday-picker.c:
3373         * src/hildon-weekday-picker.h: Deprecated widget, example of how
3374         to use the deprecated support. We will update the other deprecated
3375         widgets status in a new patch.
3376
3377 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
3378
3379         * configure.ac: Fixed typo with fatal warnings support, the
3380         variable name was not correct
3381
3382 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
3383
3384         * src/hildon-app-menu.c
3385         * src/hildon-program.c: Update documentation.
3386
3387 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
3388
3389         * configure.ac: Post-release version bump.
3390
3391 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
3392
3393         [Release 2.1.12]
3394
3395         * NEWS: Update.
3396         * configure.ac: Pre-release version bump.
3397         * debian/changelog: Updates.
3398
3399 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
3400
3401         * NEWS: Update news for previous releases.
3402
3403 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
3404
3405         * examples/hildon-touch-selector-multi-cells-example.c:
3406         (create_selector): Update the example to use
3407         hildon_touch_selector_append_column() with a NULL renderer and set
3408         the renderers later.
3409         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3410         passed a NULL renderer. This is documented behavior now.
3411
3412         Allow passing a NULL renderer to hildon_touch_selector_append_column().
3413         This must be used if the developer wants full control on the layout of
3414         the renderers to be added to the column.
3415
3416         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3417
3418 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
3419
3420         * src/hildon-touch-selector.c: Documentation fixes.
3421
3422 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
3423
3424         * src/hildon-wizard-dialog-private.h: Remove image and box.
3425         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3426         (hildon_wizard_dialog_set_property), (response): Completely remove
3427         image/icon support, and the containers required for the layout.
3428
3429         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3430
3431 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
3432
3433         * src/hildon-app-menu.c: Updated documentation.
3434
3435         * src/hildon-stackable-window.c
3436         (hildon_stackable_window_set_main_menu): Unref the old menu after
3437         ref'ing the new one.
3438
3439 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
3440
3441         * src/hildon-stackable-window.c
3442         (hildon_stackable_window_set_main_menu): Unref the previous menu
3443         instead of destroying it.
3444
3445         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3446         floating reference and set has_user_ref_count to FALSE to make
3447         HildonAppMenu act like a normal ref-counted widget and not a
3448         toplevel widget.
3449
3450         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3451         changed)
3452
3453 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
3454
3455         * src/hildon-touch-selector-column.h: new file
3456         * src/hildon-touch-selector.h
3457         * src/hildon-touch-selector.c
3458         Implemented GtkCellLayout interface, in order to allow to configure
3459         the cell layout on each individual selector column
3460         (hildon_touch_selector_set_column_attributes): marked as deprecated
3461         * examples/hildon-touch-selector-multi-cells-example.c
3462         Example of how to use the GtkCellLayout interface on the selector
3463
3464         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3465
3466 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3467
3468         * src/hildon-app-menu.h
3469         * src/hildon-app-menu.c
3470         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3471         (hildon_app_menu_append, hildon_app_menu_prepend):
3472         New methods to prepend, insert and move items in the menu.
3473
3474 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
3475
3476         * src/hildon-wizard-dialog.c:
3477
3478         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3479         button.
3480         (create_title): Update logical IDs and related code.
3481         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3482
3483         * src/hildon-wizard-dialog.h: Note that
3484         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3485         point, as it is not used anymore.
3486
3487         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3488
3489 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
3490
3491         * src/hildon-note.c:
3492         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3493         shown.  Do not display an icon in confirmation notes nor information
3494         notes.
3495         (hildon_note_set_button_text): Update logical ID for cancel button.
3496
3497         Fixes: NB#88850 (Update HildonNote button strings + signals)
3498
3499 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3500
3501         * src/hildon-stackable-window.c
3502         (hildon_stackable_window_set_main_menu): Fix compilation warning.
3503
3504 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3505
3506         * src/hildon-app-menu-private.h
3507         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3508         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3509         (hildon_app_menu_init, hildon_app_menu_class_init): Added
3510         temporary property 'columns' to change the number of columns.
3511
3512 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
3513
3514         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3515
3516         * examples/hildon-note-example.c: (on_information_clicked),
3517         (on_confirmation_clicked), (on_progress_clicked), (main): Add
3518         debugging information.
3519         * src/hildon-note-private.h: Remove close_if_pressed_outside,
3520         not needed anymore.
3521         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3522         (hildon_note_rebuild): Remove special handling of tapping outside/inside
3523         in order to close: this will be handled by the WM from now on.
3524
3525         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3526
3527 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3528
3529         * src/hildon-app-menu-private.h
3530         * src/hildon-app-menu.c
3531         (hildon_app_menu_append, hildon_app_menu_add_filter)
3532         (button_visibility_changed, hildon_app_menu_apply_style)
3533         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3534         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3535         layout everytime a button (item or filter) is shown or hidden.
3536
3537         * src/hildon-stackable-window.c
3538         (hildon_stackable_window_set_main_menu): Destroy the old menu when
3539         setting a new one.
3540
3541 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
3542
3543         * src/hildon-touch-selector.c:
3544         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3545         that the treeview inside the touch selector is in fremantle hildon mode
3546         * examples/hildon-date-button-example.c
3547         * examples/hildon-picker-button-multicolumn-example.c
3548         * examples/hildon-touch-selector-entry-example.c
3549         * examples/hildon-touch-selector-example.c
3550         * examples/hildon-time-button-example.c
3551         * examples/hildon-picker-button-example.c:
3552         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3553
3554 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
3555
3556         * examples/hildon-text-view-example.c: (main): Remove the
3557         gtkrc bits, now handled by the theme.
3558
3559 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
3560
3561         * src/hildon-picker-button.c (hildon_picker_button_set_active):
3562         Fix memory leak
3563
3564 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3565
3566         * po/Makefile.am: Install properly the mo files.
3567         * po/en_GB.po: Update translation, to ease testing purposes.
3568
3569 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3570
3571         * examples/hildon-picker-button-example.c: (main): Select an item
3572         in the selector before setting it to the button.
3573
3574 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3575
3576         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3577         Update button's value if the selector has an item active.
3578
3579         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3580         'value' with the selector)
3581
3582 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3583
3584         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3585         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3586         (hildon_picker_button_class_init): Plug the finalize method.
3587         (hildon_picker_button_set_selector): If there's a previously set
3588         selector, unref'it before setting a new one.
3589
3590         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3591         HildonTouchSelector)
3592
3593 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
3594
3595         * src/hildon-touch-selector-entry.c:
3596         (hildon_touch_selector_entry_changed): Check if there is no text
3597         selected before setting the entry text.
3598         Fixes: NB#88576
3599
3600 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
3601
3602         * src/hildon-touch-selector.h
3603         * src/hildon-touch-selector.c
3604         (hildon_touch_selector_get_active)
3605         (hildon_touch_selector_set_active): New methods to set/get the
3606         index of the selected item.
3607
3608         * src/hildon-picker-button.h
3609         * src/hildon-picker-button.c
3610         (hildon_picker_button_get_active)
3611         (hildon_picker_button_set_active): New methods to set/get the
3612         index of the selected item.
3613
3614 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
3615
3616         * configure.ac: post-release version bump.
3617
3618 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
3619
3620         Release 2.1.10-1.
3621
3622         * configure.ac: Pre-release version bump.
3623         * debian/changelog: Updates.
3624         * debian/control: Add myself as maintainer and depend on l10n
3625         packages.
3626
3627 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
3628
3629         * src/hildon-window.c
3630         (hildon_window_set_main_menu)
3631         * src/hildon-stackable-window.c
3632         (hildon_stackable_window_set_main_menu):
3633         Updated documentation.
3634
3635 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
3636
3637         * src/hildon-date-selector.c (hildon_date_selector_finalize):
3638         Don't free selector->priv manually.
3639         Fixes: NB#88414
3640
3641 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
3642
3643         * src/hildon-gtk.c,
3644         (hildon_gtk_window_set_progress_indicator):
3645         * src/hildon-gtk.h: Added the new API
3646         hildon_gtk_window_set_progress_indicator, it changes the state of
3647         the window progress hint.
3648
3649 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
3650
3651         * src/hildon-button.c
3652         * src/hildon-stackable-window.c: Minor documentation updates.
3653
3654 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
3655
3656         * src/hildon-stackable-window.c: Updated documentation.
3657
3658 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
3659
3660         * src/hildon-defines.h: Update margins definitions
3661         to the Fremantle sizes.
3662         Fixes: NB#88364
3663
3664 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
3665
3666         * src/hildon-touch-selector.c,
3667         (_hildon_touch_selector_set_model): Cleaning the code after
3668         review, removed g_print and #if 0 from the code.
3669
3670 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
3671
3672         * src/hildon-edit-toolbar.c: Update documentation.
3673
3674 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
3675
3676         * src/hildon-check-button.h
3677         * src/hildon-check-button.c
3678         (hildon_check_button_set_label, hildon_check_button_get_label)
3679         * examples/hildon-check-button-example.c
3680         (button_clicked_cb):
3681         Removed deprecated methods.
3682
3683 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
3684
3685         * src/hildon-text-view.c:
3686         Add sample code to the documentation.
3687
3688         * src/hildon-entry.h
3689         * src/hildon-text-view.h:
3690         Minor cosmetic changes.
3691
3692         * src/hildon-entry.c:
3693         Add sample code to the documentation.
3694         (hildon_entry_init, hildon_entry_refresh_contents):
3695         Don't allow NULL values in the placeholder.
3696
3697 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
3698
3699         * doc/hildon-docs.sgml
3700         * doc/hildon.types
3701         * examples/Makefile.am
3702         * examples/hildon-text-view-example.c
3703         * src/Makefile.am
3704         * src/hildon-text-view.c
3705         * src/hildon-text-view.h
3706         * src/hildon.h:
3707         New HildonTextView widget, with example.
3708
3709 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
3710
3711         * po/POTFILES.in: Add missing files with translatable strings.
3712         Partially fixes NB#88287.
3713
3714 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
3715
3716         * examples/hildon-pannable-area-example-2.c: (main): No need to
3717         set the cellrenderer height inside hildon touch lists, the theme does
3718         that for us.
3719
3720 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
3721
3722         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3723         they are integrated in the theme.
3724
3725 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
3726
3727         * examples/hildon-entry-example.c: Update the example adding
3728         widgets to modify the text and the placeholder of the HildonEntry.
3729
3730         * src/hildon-entry.c: Show the placeholder everytime the widget
3731         is empty and loses the focus.
3732
3733 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
3734
3735         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3736
3737         * src/hildon-pannable-area.c,
3738         (hildon_pannable_area_size_request): Fixed bug in height
3739         requisition, avoid increasing size and add border twice.
3740
3741 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
3742
3743         * configure.ac: postrelease version bump.
3744
3745 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
3746
3747         Release 2.1.8-1.
3748
3749         * configure.ac: Prerelease version bump.
3750         * debian/changelog: update.
3751         * debian/rules: make -dbg package contain useful debugging symbols.
3752
3753 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
3754
3755         * src/hildon-dialog.h
3756         * src/hildon-dialog.c
3757         (hildon_dialog_add_button, hildon_dialog_add_buttons):
3758         New methods to add buttons with finger size.
3759         (hildon_dialog_new_with_buttons):
3760         Create buttons with finger size.
3761
3762         * examples/hildon-dialog-example.c (main): Use HildonDialog
3763         methods to add buttons.
3764
3765 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
3766
3767         * src/hildon-entry.c: Updated HildonButton documentation.
3768
3769 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
3770
3771         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3772         button value label with (FALSE, FALSE) to prevent NB#88126 from
3773         being triggered.
3774
3775 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
3776
3777         * examples/hildon-pannable-area-example.c,
3778         (main): Removed examples panning a vbox inside a pannable
3779         area. Check bug NB#87965
3780
3781 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
3782
3783         Patch contributed by Kris Rietveld (kris@imendio.com)
3784
3785         * src/hildon-pannable-area.c,
3786         (hildon_pannable_area_get_topmost): replaced the get_geometry with
3787         get_size and get_position, this saves an X server roundtrip.
3788
3789 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
3790
3791         * doc/hildon-docs.sgml
3792         * doc/hildon.types
3793         * examples/Makefile.am
3794         * examples/hildon-entry-example.c
3795         * src/Makefile.am
3796         * src/hildon-entry.c
3797         * src/hildon-entry.h
3798         * src/hildon.h:
3799         New HildonEntry widget, with example.
3800
3801 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
3802
3803         * src/hildon-button.c (hildon_button_construct_child): Pack the
3804         image with expand == fill == FALSE. This is a workaround for a bug
3805         in GtkBox.
3806
3807 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
3808
3809         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3810         labels for the text column, to make it more look more dynamic.
3811
3812 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
3813
3814         * src/hildon-time-selector.c
3815         Define gettext auxiliar macro N_
3816         (_create_minutes_model)
3817         (_create_hours_model)
3818         (_create_ampm_model): use of strftime in order to fill the model
3819         * src/hildon-date-selector.c
3820         (hildon_date_selector_finalize):
3821         (_locales_init): remove the logic related to get the name of the months
3822         using nl_langinfo, as it is not required anymore
3823         (_create_day_model)
3824         (_create_year_model)
3825         (_create_month_model)
3826         (_update_day_model): use of strftime in order to fill the model properly
3827
3828
3829 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
3830
3831         * src/hildon-button.h
3832         * src/hildon-button.c (hildon_button_get_image): New method to
3833         retrieve the image.
3834
3835 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
3836
3837         * src/hildon-touch-selector.c:
3838         (hildon_touch_selector_remove_column): Remove from the correct parent
3839         and also remove the list element and free it.
3840         Fixes: NB#88049
3841
3842 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
3843
3844         * src/hildon-time-selector.c
3845         (_create_hours_model): change the range on 12h ampm format in order to use
3846         a 12-11 range instead of previous 01-12 range
3847         (hildon_time_selector_set_time): change the way to select the current time
3848         on 12h ampm format, due the change on the range
3849         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3850         Fixes: NB#88036
3851
3852 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
3853
3854         * src/hildon-touch-selector.c
3855         (hildon_date_touch_selector_get_selected): fix the selection mode check,
3856         in order to allow use this function on multiple row selection mode if
3857         the column is different that the first one
3858         Fixes: NB#88047
3859
3860 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
3861
3862         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3863         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3864
3865 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3866
3867         * src/hildon-date-selector.h: clean some comments, now on the .c
3868         * src/hildon-date-selector.c
3869         (hildon_date_selector_select_month): first implementation
3870         (hildon_date_selector_select_day): added documentation, reimplemented
3871         using hildon_date_selector_select_current_date to avoid repeat code
3872         Fixes: NB#88027
3873
3874 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
3875
3876         Reviewed interaction logic based on device experiences, refactored
3877         code.
3878
3879         * src/hildon-pannable-area.c,
3880         (hildon_pannable_area_class_init): Updated default vmax speed.
3881         (hildon_pannable_area_calculate_velocity): Added this function, it
3882         avoids duplicate valocity calculation. Adjusted calculation to
3883         avoid problems with zero dist events.
3884
3885         (hildon_pannable_area_motion_notify_cb): Now we use the
3886         calculate_velocity function.
3887
3888 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3889
3890         * src/hildon-date-selector.c
3891         (hildon_date_selector_select_current_date): fix the day range check
3892         as it failed using the last day of the current month
3893         Fixes NB#88023
3894
3895 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3896
3897         * src/hildon-touch-selector.c
3898         (hildon_touch_selector_get_num_columns): added a parameter validation
3899         Fixes: NB#88022
3900
3901 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3902
3903         * examples/Makefile.am
3904         * examples/hildon-edit-toolbar-example.c: Example of the
3905         HildonEditToolbar widget.
3906
3907 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3908
3909         * configure.ac: postrelease version bump.
3910
3911 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3912
3913         Release 2.1.6-1.
3914
3915         * configure.ac: prerelease version bump.
3916         * debian/changelog: update.
3917
3918 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3919
3920         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3921         renderer to display stock icons in the touch list. Also, set the sizes
3922         to the recommended in the style guide.
3923
3924 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3925         * src/hildon-touch-selector.h
3926         (hildon_touch_selector_set_active_iter): renamed, now is
3927         hildon_touch_selector_select_iter
3928         (hildon_touch_selector_get_active_iter): renamed, now is
3929         hildon_touch_selector_get_selected
3930         (hildon_touch_selector_unselect_iter): added
3931         * src/hildon-touch-selector.c
3932         Update after API modification (methods renamed)
3933         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3934         order to avoid problems selecting multiple elements on the column
3935         (hildon_touch_selector_unselect_iter): added the implementation
3936         * src/hildon-time-selector.c
3937         * src/hildon-date-selector.c
3938         * src/hildon-touch-selector-entry.c
3939         Update methods calls after hildon-touch-selector.h API modification (methods
3940         renamed)
3941
3942 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3943
3944         * src/hildon-stackable-window.c
3945         (hildon_stackable_window_finalize): Call the parent class's finalize.
3946
3947 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3948
3949         * examples/hildon-touch-selector-example.c: (create_selector): Use
3950         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3951         cell height.
3952
3953 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3954
3955         * examples/hildon-touch-selector-example.c: (create_selector): Do not
3956         set a cell background color, to respect theming.
3957
3958 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
3959
3960         * doc/hildon-docs.sgml
3961         * doc/hildon.types
3962         * src/Makefile.am
3963         * src/hildon-edit-toolbar.c
3964         * src/hildon-edit-toolbar.h
3965         * src/hildon.h: New HildonEditToolbar widget.
3966
3967 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
3968
3969         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3970         extra GtkVBox.
3971
3972 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3973         * src/hildon-touch-selector.c
3974         (_create_new_column): use g_object_set instead of two g_object_set_property
3975
3976 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3977         * src/hildon-touch-selector.c
3978         (_create_new_column): use of hildon_gtk_tree_view_new to create
3979         the treeview, instead of use directly g_object_new
3980         (_create_new_column): update the property name "vindicator-mode" for the
3981         new one "vscrollbar-policy"
3982         * examples/hildon-date-button-example.c
3983         * examples/hildon-picker-button-multicolumn-example.c
3984         * examples/hildon-touch-selector-entry-example.c
3985         * examples/hildon-touch-selector-example.c
3986         * examples/hildon-time-button-example.c
3987         * examples/hildon-picker-button-example.c
3988         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3989         to all the treeviews inside a pannable area.
3990
3991 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3992
3993         * src/hildon-button.h
3994         * src/hildon-button.c (hildon_button_init)
3995         (hildon_button_set_arrangement, hildon_button_set_alignment)
3996         (hildon_button_set_title_alignment)
3997         (hildon_button_set_value_alignment)
3998         (hildon_button_set_image_alignment)
3999         (hildon_button_construct_child): New methods to set the alignment
4000         of the individual components of the button (title, value,
4001         image). Also, new method to alter the xscale and yscale properties
4002         of the GtkAlignment inside the button, so more complex layouts can
4003         be created.
4004
4005 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
4006
4007         * src/hildon-button.c (hildon_button_style_set)
4008         (hildon_button_class_init, hildon_button_set_arrangement)
4009         (hildon_button_construct_child): Apply style properties
4010         correctly. Use the 'image-spacing' style property too.
4011
4012 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
4013
4014         * src/hildon-app-menu.c (hildon_app_menu_style_set)
4015         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4016         correctly.
4017
4018 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
4019
4020         * src/hildon-pannable-area.c,
4021         (hildon_pannable_area_size_request): Fixed problem with
4022         pannable-area size_request.
4023
4024 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
4025
4026         Added management for the grab-focus to a child widget, like a
4027         range, we need to fade out the scrollbar when releasing.
4028
4029         * src/hildon-pannable-area.c,
4030         (hildon_pannable_area_init): Connected the grab-focus signal to
4031         the callback.
4032         (hildon_pannable_area_grab_notify): Added this function in order
4033         to manage the situation when the grab-focus ends. We have to
4034         fade-out the scrollbar.
4035
4036 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
4037
4038         * src/hildon-app-menu.c: Minor documentation update.
4039
4040 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
4041
4042         * src/hildon-app-menu.c
4043         * examples/hildon-app-menu-example.c (create_menu): Update
4044         examples and documentation to explain how to connect callbacks.
4045
4046 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
4047
4048         * examples/hildon-button-example.c
4049         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4050         hildon_stackable_window_new instead of gtk_window_new
4051
4052 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
4053
4054         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4055         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4056         (hildon_pannable_area_set_property),
4057         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4058         (hildon_pannable_area_unrealize),
4059         (hildon_pannable_area_size_request),
4060         (hildon_pannable_area_size_allocate),
4061         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4062         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4063         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4064         (hildon_pannable_area_initial_effect),
4065         (hildon_pannable_area_redraw),
4066         (hildon_pannable_area_scroll_indicator_fade),
4067         (hildon_pannable_area_expose_event),
4068         (hildon_pannable_area_get_topmost), (synth_crossing),
4069         (hildon_pannable_area_button_press_cb),
4070         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4071         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4072         (hildon_pannable_area_motion_notify_cb),
4073         (hildon_pannable_area_button_release_cb),
4074         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4075         (hildon_pannable_area_remove),
4076         (hildon_pannable_calculate_vel_factor): Widget refactorization,
4077         chage the code layout to a more GtkWidget like. Review the use of
4078         variables.
4079
4080 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
4081
4082         * examples/hildon-pannable-area-example-4.c,
4083         (main): Modified the name of the hindicator_mode to
4084         hscrollbar_visible
4085
4086         * src/hildon-pannable-area.c,
4087         (hildon_pannable_area_class_init),
4088         (hildon_pannable_area_motion_notify_cb),
4089         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4090         we have reduced the amount of signals and managed reviewed its
4091         rationale. Changed the default decelerate value.
4092
4093         (hildon_pannable_area_add),
4094         (hildon_pannable_area_redraw): Refactored functions.
4095
4096         (hildon_pannable_area_init),
4097         (hildon_pannable_area_get_property),
4098         (hildon_pannable_area_set_property):
4099         (hildon_pannable_draw_vscroll),
4100         (hildon_pannable_draw_hscroll),
4101         (hildon_pannable_area_initial_effect),
4102         (hildon_pannable_area_expose_event),
4103         (hildon_pannable_area_scroll),
4104         (hildon_pannable_area_button_press_cb),
4105         (hildon_pannable_area_realize): Replaced the names hindicator_mode
4106         and vindicator_mode with hscrollbar_policy and
4107         vscrollbar_policy. Replaced hscroll and vscroll with
4108         hscroll_visible and vscroll_visible.
4109
4110         (hildon_pannable_area_refresh): Refactor the function, remove
4111         variables and check the calls to this function, added resize
4112         conditions in case the children change their layout.
4113
4114         (hildon_pannable_area_size_request): Added more detailed
4115         size_request calculation.
4116
4117
4118 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
4119
4120         * src/hildon-color-chooser.c
4121         (init_borders): use the correct gtk_border_free instead of g_free, to
4122         avoid a crash when this widget is used (ie: the three color selection
4123         examples)
4124
4125 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
4126
4127         * src/hildon-check-button.c,
4128         (hildon_check_button_set_active): Fixed problem when setting the
4129         active value, the widget was not redrawn.
4130
4131 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
4132
4133         * src/hildon-pannable-area.c,
4134         (hildon_pannable_area_refresh),
4135         (hildon_pannable_area_scroll),
4136         (hildon_pannable_area_motion_notify_cb): Small code style change.
4137
4138         (hildon_pannable_area_class_init): Default initial_hint set to
4139         FALSE, it is not in the specs.
4140
4141         (hildon_pannable_area_initial_effect),
4142         (hildon_pannable_area_expose_event),
4143         (hildon_pannable_area_map),
4144         (hildon_pannable_area_init): Moved the launching point of the
4145         initial effect, it was in map but the sizes where not correct in
4146         that method so we do not know if we have the reproduce it. Now it
4147         is placed in the expose_event method and uses a variable to
4148         reproduce it just once.
4149
4150 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
4151
4152         * src/hildon-pannable-area.c,
4153         (hildon_pannable_draw_vscroll),
4154         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4155         position allowed for the scrollbars.
4156
4157         (hildon_pannable_area_size_allocate): Small style change.
4158
4159 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
4160
4161         * src/hildon-pannable-area.c,
4162         (hildon_pannable_area_scroll_indicator_fade),
4163         (hildon_pannable_area_button_press_cb),
4164         (hildon_pannable_area_button_release_cb),
4165         (hildon_pannable_area_scroll_cb),
4166         (hildon_pannable_area_expose_event),
4167         (hildon_pannable_area_init): Added the define parameter
4168         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4169         and refactor the fade variable.
4170
4171 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
4172
4173         * src/hildon-pannable-area.c,
4174         (hildon_pannable_area_redraw),
4175         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4176         lines, we were reimplemeting the redraw code.
4177
4178 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
4179
4180         * src/hildon-pannable-area.c,
4181         (hildon_pannable_area_scroll_cb),
4182         (hildon_pannable_area_realize),
4183         (hildon_pannable_area_class_init): Added scroll_event management
4184         for pannable area, now we can scroll the usual desktop method.
4185
4186         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4187         initialization of the parameters should depend on idle_id.
4188
4189         (hildon_pannable_area_init),
4190         (hildon_pannable_area_map): Small code style modifications
4191
4192 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
4193
4194         * src/hildon-pannable-area.c
4195         (hildon_pannable_area_button_press_cb),
4196         (hildon_pannable_area_motion_notify_cb),
4197         (hildon_pannable_area_button_release_cb),
4198         (hildon_pannable_area_size_allocate),
4199         (hildon_pannable_area_scroll_to): Improved the timeouts
4200         management, we avoid creating them each time.
4201
4202 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
4203
4204         * src/hildon-pannable-area.c:
4205         (hildon_pannable_area_refresh),
4206         (hildon_pannable_area_motion_notify_cb),
4207         (hildon_pannable_area_class_init):
4208         * src/hildon-pannable-area.h:
4209         * src/hildon-touch-selector.c
4210         (_create_new_column):
4211         * examples/hildon-pannable-area-example-4.c:
4212         (horizontal_movement),
4213         (vertical_movement),
4214         (main):
4215         Replaced the names of enums in the HildonPannableArea:
4216            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
4217               HILDON_MOVEMENT_MODE_*
4218            -  HILDON_PANNABLE_AREA_MOV_* ->
4219               HILDON_MOVEMENT_*
4220            - Removed HildonPannableAreaIndicatorMode, now we
4221              use GtkPolicyType
4222
4223 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
4224
4225         * examples/hildon-pannable-area-touch-grid-example.c
4226         * examples/hildon-pannable-area-touch-list-example.c: Fix
4227         compilation warnings.
4228
4229 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
4230
4231         * src/hildon-gtk.c (hildon_gtk_button_new)
4232         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4233         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4234         images overriding the value of the "gtk-button-images" setting.
4235
4236 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
4237
4238         * src/hildon-check-button.c (hildon_check_button_new):
4239         Instead of using a custom container, display the label and the
4240         checkbox using the standard GtkButton API.
4241
4242         * examples/hildon-check-button-example.c (main): Don't use
4243         hildon_check_button_set_label() anymore
4244
4245         * src/hildon-check-button.h
4246         * src/hildon-check-button.c
4247         (hildon_check_button_set_label, hildon_check_button_get_label):
4248         Set as deprecated, now we're using gtk_button_{get,set}_label()
4249
4250 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
4251
4252         * src/hildon-pannable-area.c,
4253         (hildon_pannable_area_get_topmost): Fixed bug with click in the
4254         GtkTreeview first line we detected it after the inclusion of the
4255         GtkWindowImpl in gtk+. We now check if the window is visible, not
4256         just if the pointer is over the window.
4257         (hildon_pannable_axis_scroll),
4258         (hildon_pannable_area_expose_event): Small style changes.
4259
4260 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
4261
4262         * src/hildon-button.c: Update documentation.
4263
4264 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
4265
4266         * examples/hildon-button-example.c: Add a switch to show images in
4267         the buttons.
4268
4269 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
4270
4271         * doc/hildon-docs.sgml: Some docs reorganization.
4272
4273 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4274
4275         * examples/hildon-pannable-area-touch-list-example.c
4276         (create_tree_view)
4277         * examples/hildon-pannable-area-touch-grid-example.c
4278         (create_icon_view): Use gtk_{tree,icon}_view_new() and
4279         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4280         Fix memory leak when setting the tree model.
4281
4282 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4283
4284         Released 2.1.4
4285
4286 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
4287
4288         * doc/hildon.types: Remove duplicated hildon_window_get_type
4289         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4290         documentation comment.
4291
4292 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4293
4294         * doc/Makefile.am: Complete list of private headers.
4295
4296 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4297
4298         * doc/hildon-docs.sgml
4299         * src/hildon-app-menu.c
4300         * src/hildon-bread-crumb.c
4301         * src/hildon-button.c
4302         * src/hildon-gtk.c
4303         * src/hildon-program.c
4304         * src/hildon-stackable-window.c
4305         * src/hildon-window.c: Lots of documentation updates.
4306
4307 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4308
4309         * debian/control: Depend on Gtk 2:2.12.9-0osso3
4310
4311         * configure.ac: Require Gtk+ 2.12.9 at least
4312
4313 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
4314
4315         * src/hildon-pannable-area.c
4316         (hildon_pannable_area_scroll_indicator_fade),
4317         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4318         to protect the return of this timeout callbacks, avoiding deadlocks.
4319
4320 2008-08-12  Christian Dywan  <christian@imendio.com>
4321
4322         * src/hildon-*.c
4323         * src/hildon-*.h: Ensure a consistent include order,
4324         include <gtk/gtk.h> instead of particular files and
4325         only include the topmost header in the gtk stack. See NB #39857
4326
4327 2008-08-12  Christian Dywan  <christian@imendio.com>
4328
4329         * src/hildon-picker-dialog.c
4330         * src/hildon-touch-selector.c: Fix warnings about unused and
4331         uninitialized variables.
4332
4333 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4334
4335         * examples/Makefile.am
4336         * examples/hildon-check-button-example.c: Example of the hildon
4337         check button.
4338
4339 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4340
4341         * src/hildon-window.h
4342         * src/hildon-window.c (hildon_window_class_init)
4343         (hildon_window_unset_program): Don't make
4344         hildon_window_unset_program a virtual function anymore.
4345
4346         * src/hildon-stackable-window.c: Update documentation
4347
4348 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4349
4350         * doc/Makefile.am
4351         * doc/hildon-docs.sgml
4352         * doc/visual_index.xml
4353         * src/hildon-defines.c
4354         * src/hildon-gtk.c
4355         * src/hildon-helper.c
4356         * src/hildon-range-editor.c: Lots of documentation fixes.
4357
4358 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4359
4360         * examples/hildon-picker-button-multicolumn-example.c
4361         (create_touch_selector): Fix compilation warning.
4362
4363 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4364
4365         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4366         (hildon_pannable_area_button_release_cb)
4367         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4368
4369 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4370
4371         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4372         assertion.
4373
4374 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4375
4376         * src/hildon-bread-crumb-trail.h
4377         * src/hildon-date-editor.c
4378         * src/hildon-date-selector.c
4379         * src/hildon-pannable-area.c
4380         * src/hildon-picker-dialog.c
4381         * src/hildon-time-selector.c
4382         * src/hildon-touch-selector-entry.c
4383         * src/hildon-touch-selector.c
4384         * src/hildon-touch-selector.h: Misc documentation fixes
4385
4386 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4387
4388         * examples/hildon-date-editor-example.c (main): Updated date
4389         editor example.
4390
4391         * examples/hildon-note-example.c (on_confirmation_clicked):
4392         Updated confirmation note example.
4393
4394         * src/hildon-date-editor.c
4395         * src/hildon-note.c: Updated sample programs in documentation.
4396         Fixes: NB#87437
4397
4398 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
4399
4400         * src/hildon-date-button.h:
4401         * src/hildon-picker-button.h:
4402         * src/hildon-time-button.c:
4403         * src/hildon-time-button.h:
4404
4405         Some declarations changes to allow gtk-doc to document the widgets
4406         properly.
4407
4408 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
4409
4410         * src/hildon-date-button.c: Document the widget.
4411         * src/hildon-time-button.c: Document the widget.
4412
4413 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
4414
4415         * src/hildon-picker-button.c: Document the widget.
4416         * src/hildon-touch-selector-entry.c: Document the widget.
4417
4418 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4419
4420         * doc/hildon-docs.sgml
4421         * src/Makefile.am
4422         * src/hildon.h
4423         * src/hildon-check-button.h
4424         * src/hildon-check-button.c: New functions to create the Hildon
4425         Touch Checkbox.
4426
4427         * src/hildon-gtk.h
4428         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4429
4430 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4431
4432         * src/hildon-button.h
4433         * src/hildon-button.c
4434         (hildon_button_add_title_size_group)
4435         (hildon_button_add_value_size_group)
4436         (hildon_button_add_image_size_group)
4437         (hildon_button_add_size_groups): New functions to set size groups
4438         for the button labels and image.
4439         (hildon_button_new_full): Removed
4440
4441 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
4442
4443         * src/hildon-time-selector.c
4444         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4445         in order to avoid a crash if gconf is not available
4446
4447 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4448
4449         * src/hildon-button.c (hildon_button_set_arrangement)
4450         (hildon_button_construct_child): Don't construct the button child
4451         before setting the arrangement.
4452
4453 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4454
4455         * src/hildon-program-private.h
4456         * src/hildon-program.c
4457         * src/hildon-program.h
4458         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4459         (hildon_program_peek_window_stack)
4460         (hildon_program_pop_window_stack)
4461         (hildon_program_go_to_root_window): HildonProgram now has a
4462         separate list for stackable windows. Functions are provided to
4463         manage that list with a stack-like API.
4464
4465         * src/hildon-stackable-window.c: Stackable window management is
4466         now much simpler with the new HildonProgram API. Windows no
4467         longer need to be manually added to the program, they're
4468         automatically pushed to the top of the stack when shown.
4469
4470         * examples/hildon-stackable-window-example.c: Updated example to
4471         reflect the API changes.
4472
4473 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
4474
4475         * src/hildon-touch-selector.c: Comment out unimplemented
4476         hildon_touch_selector_insert_column() to avoid a compile warning.
4477
4478 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
4479
4480         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4481         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4482         (hildon_touch_selector_set_column_selection_mode),
4483         (_hildon_touch_selector_set_model),
4484         (hildon_touch_selector_set_model):
4485
4486         Complete review of HildonTouchSelector documentation.
4487
4488 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4489
4490         * doc/hildon-docs.sgml
4491         * src/Makefile.am
4492         * src/hildon.h
4493         * src/hildon-gtk.h
4494         * src/hildon-gtk.c: Convenience functions for standard Gtk
4495         widgets, used to easily perform frequent operations.
4496
4497         * src/hildon-button-helpers.h
4498         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4499
4500         * src/hildon-helper.h
4501         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4502         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4503
4504         * src/hildon-button.h
4505         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4506
4507 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4508
4509         * src/hildon-button.c (hildon_button_init)
4510         (hildon_button_set_arrangement, hildon_button_construct_child):
4511         Pack the image and the labels inside the same GtkAlignment so
4512         gtk_button_set_alignment() can be used
4513
4514 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4515
4516         * src/hildon-button.h
4517         * src/hildon-button.c
4518         (hildon_button_init, hildon_button_set_image)
4519         (hildon_button_set_image_position)
4520         (hildon_button_construct_child): New functions to add an image to
4521         the HildonButton.
4522
4523 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4524
4525         * src/hildon-date-button.c
4526         * src/hildon-picker-button.c
4527         * src/hildon-time-button.c
4528         * src/hildon-button.c:
4529         (hildon_button_class_init): "size-flags" renamed to "size"
4530         (hildon_button_set_title): Hide the title label if set to NULL.
4531
4532 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4533
4534         HildonButtonFlags split into HildonButtonArrangement (to set the
4535         button layout) and HildonSizeType (which can be used for any
4536         widget).
4537
4538         * src/hildon-button.h
4539         * src/hildon-button.c
4540         (hildon_button_class_init)
4541         (hildon_button_set_arrangement)
4542         (hildon_button_set_property): New "size-flags"
4543         property. "arrangement-flags" renamed to "arrangement".
4544         (hildon_button_new, hildon_button_new_with_text)
4545         (hildon_button_new_full): Constructors updated to reflect type changes.
4546
4547         * src/hildon-helper.h
4548         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4549         to set the size of a widget.
4550
4551         * src/Makefile.am
4552         * src/hildon.h
4553         * src/hildon-button-helpers.c
4554         * src/hildon-button-helpers.h: New hildon-button-helpers module.
4555
4556         * src/hildon-date-button.c
4557         * src/hildon-date-button.h
4558         * src/hildon-picker-button.c
4559         * src/hildon-picker-button.h
4560         * src/hildon-time-button.c
4561         * src/hildon-time-button.h: Updated widgets to reflect
4562         HildonButton API changes.
4563
4564         * examples/hildon-button-example.c
4565         * examples/hildon-date-button-example.c
4566         * examples/hildon-picker-button-example.c
4567         * examples/hildon-picker-button-multicolumn-example.c
4568         * examples/hildon-time-button-example.c
4569         * examples/hildon-touch-selector-entry-example.c
4570         * examples/hildon-touch-selector-example.c: Updated examples to
4571         reflect HildonButton API changes.
4572
4573 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
4574
4575         * doc/hildon-docs.sgml:
4576         * doc/hildon.types:
4577         * examples/Makefile.am:
4578         * examples/hildon-touch-selector-entry-example.c:
4579         * src/Makefile.am:
4580         * src/hildon-touch-selector-entry.c:
4581         * src/hildon-touch-selector-entry.h:
4582         * src/hildon.h:
4583
4584         Moved HildonTouchSelectorEntry from sandbox. Added its
4585         documentation and examples.
4586
4587 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
4588
4589         * src/hildon-touch-selector.h:
4590         * examples/hildon-picker-button-multicolumn-example.c:
4591         (hildon_touch_selector_append_text_column): Add a gboolean
4592         parameter to determine if text must be centered in the column.
4593
4594         * src/hildon-date-selector.c: (hildon_date_selector_init):
4595         * src/hildon-time-selector.c: (hildon_time_selector_init):
4596         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4597         (create_touch_selector): Update widgets and example to reflect
4598         the API change.
4599
4600 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
4601
4602         * src/hildon-touch-selector.c:
4603         (hildon_touch_selector_set_active_iter): Set also the cursor in
4604         the active row.
4605
4606 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
4607
4608         * doc/hildon-docs.sgml
4609         * doc/hildon.types
4610         * src/Makefile.am
4611         * src/hildon-toggle-button.c
4612         * src/hildon-toggle-button.h
4613         * src/hildon.h: Removed HildonToggleButton widget, a derived
4614         class is not necessary for this.
4615
4616 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
4617
4618         * src/hildon-pannable-area.c,
4619         (hildon_pannable_area_realize),
4620         (hildon_pannable_area_size_allocate): Code refactoring, add tests
4621         for negative sizes.
4622
4623 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
4624
4625         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4626         "done" button the default widget for the dialog.
4627
4628 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
4629
4630         * src/hildon-touch-selector.c:
4631         (hildon_touch_selector_class_init),
4632         (hildon_touch_selector_get_property),
4633         (_hildon_touch_selector_set_model),
4634         (_hildon_touch_selector_has_multiple_selection),
4635         (hildon_touch_selector_has_multiple_selection):
4636         Add a "has-multiple-selection" property with a virtual
4637         has_multiple_selection() method to allow derived classes to
4638         override the default value for it. See the method and property
4639         documentation for details.
4640
4641         * src/hildon-touch-selector.h: Add the new API.
4642
4643         * src/hildon-picker-dialog.c: (requires_done_button): Call
4644         hildon_touch_selector_has_multiple_selection() instead of
4645         determining the need for a button itself.
4646
4647 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
4648
4649         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4650         (_hildon_touch_selector_set_model),
4651         (hildon_touch_selector_set_model): Move working code to
4652         _hildon_touch_selector_set_mode(). Call the class method instead.
4653
4654         * src/hildon-touch-selector.h: Add (*set_model) to
4655         HildonTouchSelectorClass.
4656
4657         Make hildon_touch_selector_set_model() a virtual method, so that
4658         derived classes can extend it and do fancy stuff with the model.
4659
4660 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
4661
4662         * configure.ac: Set back the tarname in AC_INIT to hildon.
4663
4664 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4665
4666         Release 2.1.3
4667
4668         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4669         instead of libesd (NB#86876). Volume handling is still an open issue.
4670
4671         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4672         cleanups.
4673
4674 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
4675
4676         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4677         (hildon_touch_selector_append_column): Make the widget a GtkVBox
4678         derived class to ease placement of an entry widget in
4679         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4680         end, where the selector columns are packed now.
4681
4682 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
4683
4684         * src/hildon-picker-button.c: Removed the simple _text() API.
4685         * src/hildon-picker-button.h: Likewise.
4686
4687         * src/hildon-touch-selector.h:
4688         * src/hildon-touch-selector.c:
4689         (hildon_touch_selector_new_text),
4690         (hildon_touch_selector_append_text),
4691         (hildon_touch_selector_prepend_text),
4692         (hildon_touch_selector_insert_text):
4693
4694         Moved the simple _text() API from HildonPickerButton to
4695         HildonTouchPicker, to provide better escalability and not to tie
4696         that API to HildonPickerButton.
4697
4698         * examples/hildon-picker-button-example.c: (main): Example updated.
4699
4700 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
4701
4702         * src/hildon-button.c: Updated documentation.
4703
4704         * examples/hildon-button-example.c: Add the posibility to create
4705         the buttons using horizontal layout for title and value.
4706
4707 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
4708
4709         * src/hildon-app-menu-private.h
4710         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4711         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4712         GtkSizeGroup for the filters, use the 'homogeneous' property of
4713         the box instead.
4714
4715 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
4716
4717         * examples/hildon-button-example.c: Updated example.
4718
4719 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
4720
4721         * doc/hildon-docs.sgml:
4722         * doc/hildon.types:
4723
4724         Update documentation.
4725
4726         * examples/Makefile.am: Update renamed examples.
4727
4728         * examples/hildon-picker-button-multicolumn-example.c:
4729         (create_touch_selector), (main): Update after the rename.
4730
4731         * examples/hildon-touch-picker-example.c: Removed.
4732         * examples/hildon-touch-selector-example.c: (value_changed),
4733         (create_selector), (get_visible_content), (main): Renamed from
4734         hildon-touch-picker-example.c
4735
4736         * src/Makefile.am: Updated renamed files.
4737
4738         * src/hildon-date-button.c: (hildon_date_button_init),
4739         (hildon_date_button_get_date), (hildon_date_button_set_date):
4740         * src/hildon-date-selector.c: (hildon_date_selector_init),
4741         (_custom_print_func), (_update_day_model),
4742         (_manage_selector_change_cb),
4743         (hildon_date_selector_select_current_date),
4744         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4745         * src/hildon-date-selector.h:
4746         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4747         (hildon_picker_button_set_property),
4748         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4749         (hildon_picker_button_init), (hildon_picker_button_new_text),
4750         (hildon_picker_button_append_text),
4751         (hildon_picker_button_prepend_text),
4752         (hildon_picker_button_insert_text),
4753         (hildon_picker_button_set_selector),
4754         (hildon_picker_button_get_selector):
4755         * src/hildon-picker-button.h:
4756         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4757         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4758         (_update_title_on_selector_changed_cb), (requires_done_button),
4759         (_hildon_picker_dialog_set_selector),
4760         (hildon_picker_dialog_set_selector),
4761         (hildon_picker_dialog_get_selector):
4762         * src/hildon-picker-dialog.h:
4763         * src/hildon-time-button.c: (hildon_time_button_init),
4764         (hildon_time_button_get_time), (hildon_time_button_set_time):
4765         * src/hildon-time-selector.c: (hildon_time_selector_init),
4766         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4767         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4768         * src/hildon-time-selector.h:
4769         * src/hildon.h:
4770
4771         Massive code updates after the rename.
4772
4773         * src/hildon-touch-picker.c: Removed.
4774         * src/hildon-touch-picker.h: Removed.
4775
4776         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4777         (hildon_touch_selector_init), (hildon_touch_selector_map),
4778         (hildon_touch_selector_remove), (_default_print_func),
4779         (_selection_changed_cb), (_create_new_column),
4780         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4781         (hildon_touch_selector_append_text_column),
4782         (hildon_touch_selector_remove_column),
4783         (hildon_touch_selector_set_column_attributes),
4784         (hildon_touch_selector_insert_column),
4785         (hildon_touch_selector_get_num_columns),
4786         (hildon_touch_selector_get_column_selection_mode),
4787         (hildon_touch_selector_set_column_selection_mode),
4788         (hildon_touch_selector_set_print_func),
4789         (hildon_touch_selector_get_print_func),
4790         (hildon_touch_selector_get_active_iter),
4791         (hildon_touch_selector_set_active_iter),
4792         (hildon_touch_selector_get_selected_rows),
4793         (hildon_touch_selector_get_model),
4794         (hildon_touch_selector_set_model),
4795         (hildon_touch_selector_get_current_text),
4796         (_hildon_touch_selector_center_on_selected_items):
4797         * src/hildon-touch-selector.h: Renamed from
4798         hildon-touch-picker.[ch]
4799
4800         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4801         references, code examples, and related documentation.
4802
4803 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
4804
4805         * doc/hildon-docs.sgml
4806         * doc/hildon.types
4807         * src/Makefile.am
4808         * src/hildon-toggle-button.c
4809         * src/hildon-toggle-button.h
4810         * src/hildon.h: New HildonToggleButton widget.
4811
4812 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
4813
4814         * src/hildon-button.c: Add API documentation.
4815         (hildon_button_set_size_groups): Check input parameters
4816
4817 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
4818
4819         * src/hildon-pannable-area.c
4820         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4821         effect after reaching the movement thredshold. This way we start
4822         using the distance after passing the thredshold.
4823
4824 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4825
4826         * src/hildon-button.c: (hildon_button_set_property): Use the
4827         appropriate g_value_get_flags() method.
4828
4829 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4830
4831         * doc/hildon-docs.sgml:
4832         * doc/hildon.types:
4833
4834          Add the touch pickers, picker dialogs, and picker button widgets
4835         to the documentation.
4836
4837 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4838
4839         * src/hildon-button.c: (hildon_button_set_property),
4840         (hildon_button_class_init): Make "arrangement-flags" a proper
4841         G_TYPE_FLAGS derived property.
4842
4843 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4844
4845         * examples/Makefile.am: Add below examples.
4846         * examples/hildon-date-button-example.c:
4847         * examples/hildon-picker-button-example.c:
4848         * examples/hildon-picker-button-multicolumn-example.c:
4849         * examples/hildon-time-button-example.c:
4850         * examples/hildon-touch-picker-example.c:
4851
4852         Add examples for the recently added touch pickers,
4853         picker dialogs, and picker button widgets.
4854
4855 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4856
4857         * src/hildon-button.c: Add some API documentation
4858
4859 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4860
4861         * src/hildon-button.h
4862         * src/hildon-button.c
4863         (hildon_button_new)
4864         (hildon_button_new_with_text): New constructor to create a button
4865         with no text at all.
4866         (hildon_button_init, hildon_button_set_arrangement)
4867         (hildon_button_set_title, hildon_button_set_value)
4868         (hildon_button_set_text)
4869         (hildon_button_construct_child): Hide the value when it's not used
4870         so the rest of the text is properly aligned.
4871         Allow creating buttons with arbitrary widgets inside (not just
4872         title/value labels).
4873
4874         * examples/hildon-button-example.c (vertical_buttons_window)
4875         (horizontal_buttons_window): Update example to use new API.
4876
4877 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4878
4879         * src/Makefile.am: Added HildonTimeButton.
4880         * src/hildon-time-button.c: Added missing LGPL header.
4881         * src/hildon-time-button.h: Added missing LGPL header.
4882         * src/hildon.h: Add hildon-time-button.h
4883
4884         Copied HildonTimeButton from sandbox to trunk. Future work on this
4885         widget must take place in trunk.
4886
4887 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4888
4889         * src/Makefile.am: Added HildonDateButton.
4890         * src/hildon-date-button.c: Update includes.
4891         * src/hildon.h: Add hildon-date-button.h
4892
4893         Copied HildonDateButton from sandbox to trunk. Future work on this
4894         widget must take place in trunk.
4895
4896 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4897
4898         * src/Makefile.am: Added HildonPickerButton.
4899         * src/hildon-picker-button.h: Update includes.
4900         * src/hildon.h: Add hildon-picker-button.h
4901
4902         Copied HildonPickerButton from sandbox to trunk. Future work on
4903         this widget must take place in trunk.
4904
4905 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4906
4907         * src/Makefile.am: Added HildonPickerDialog.
4908         * src/hildon-picker-dialog.c: Update includes.
4909         * src/hildon.h: Add hildon-picker-dialog.h
4910
4911         Copied HildonPickerDialog from sandbox to trunk. Future work
4912         on this widget must take place in trunk.
4913
4914 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4915
4916         * src/Makefile.am: Added HildonTimeSelector.
4917         * src/hildon.h: Add hildon-time-selector.h
4918
4919         Copied HildonTimeSelector widget from sandbox to trunk. Future
4920         work on this widget must happen in trunk.
4921
4922 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4923
4924         * src/Makefile.am: Added HildonDateSelector.
4925         * src/hildon.h: Add hildon-date-selector.h
4926
4927         Copied HildonDateSelector widget from sandbox to trunk.  Future
4928         work on this widget must happen in trunk.
4929
4930 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4931
4932         * src/Makefile.am: Added HildonTouchPicker.
4933         * src/hildon-touch-picker.c: Update includes.
4934         * src/hildon.h: Add hildon-touch-picker.h
4935
4936         Copied HildonTouchPicker widget from sandbox to trunk. Future work
4937         on this widget must happen in trunk.
4938
4939 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4940
4941         * src/hildon-pannable-area.c:
4942         (hildon_pannable_area_motion_notify_cb): Fix a typo.
4943
4944 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4945
4946         * examples/hildon-app-menu-example.c (main): Let the window
4947         destroy the menu.
4948
4949 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4950
4951         * src/hildon-pannable-area.c
4952         (hildon_pannable_area_class_init): Set the min value of the
4953         overshoot properties to zero, which points out that not
4954         overshooting allowed.
4955
4956 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4957
4958         Modified the procedure to get the widget at a point inside the
4959         pannable area when using the movement type signals. Now the user
4960         has to call a function to get the child, that way we just
4961         calculate the child in case the user really want to use it and not
4962         all the time.
4963
4964         * src/hildon-marshalers.list: Modified the marshallers, now we do
4965         not have the widget as a parameter.
4966
4967         * src/hildon-pannable-area.c
4968         (hildon_pannable_area_motion_notify_cb),
4969         (hildon_pannable_area_class_init),
4970         (hildon_pannable_get_child_widget_at):  Removed the widget
4971         parameter from the signal callback. We have also refactored the
4972         emission of the signals.
4973
4974         * src/hildon-pannable-area.h: Added a new method to the API to
4975         calculate a widget at a point inside the pannable area,
4976         hildon_pannable_get_child_widget_at.
4977
4978         * examples/hildon-pannable-area-example-4.c
4979         (horizontal_movement): Modified the example to use the new API,
4980         added condition to control which widget is under the event. This
4981         way we can avoid scrolling laterally over other widgets.
4982
4983 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4984
4985         * src/hildon-pannable-area.c
4986         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4987         modes, we stop getting the pointer events due to returning the
4988         callback without properly calling the get pointer again. Fixed
4989         also an error using the hscroll and vscroll.
4990
4991 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
4992
4993         * src/hildon-app-menu-private.h
4994         * src/hildon-app-menu.c (hildon_app_menu_button_press)
4995         (hildon_app_menu_button_release, hildon_app_menu_init)
4996         (hildon_app_menu_class_init): Don't hide the menu on button
4997         release if the user didn't press outside first.
4998
4999         * src/hildon-window.h
5000         * src/hildon-window.c (hildon_window_toggle_menu)
5001         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5002         hildon_window_toggle_menu a virtual function for the stackable
5003         window to override it.
5004
5005         * src/hildon-stackable-window.h
5006         * src/hildon-stackable-window-private.h
5007         * src/hildon-stackable-window.c
5008         (hildon_stackable_window_realize)
5009         (hildon_stackable_window_finalize)
5010         (hildon_stackable_window_class_init)
5011         (hildon_stackable_window_init)
5012         (hildon_stackable_window_set_main_menu): New function to set the
5013         app menu of a HildonStackableWindow.
5014
5015         * examples/hildon-app-menu-example.c: Remove the button to show
5016         the app menu, now it'll be shown when clicking on the title bar
5017         instead.
5018
5019 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
5020
5021         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5022         set the widget name if the arrangement flags do not specify
5023         a particular size.
5024
5025 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
5026
5027         * src/hildon-button.c: (hildon_button_set_property),
5028         (hildon_button_class_init), (hildon_button_new_full),
5029         (hildon_button_set_arrangement): Added "arrangement-flags"
5030         property.
5031
5032         Make the HildonButtonFlags a construction-only property, to allow
5033         subclasses to set them properly.
5034
5035 2008-07-21 Tim Janik  <timj@imendio.com>
5036
5037         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5038         insertion position after backspace, so additional digits are appended,
5039         fixes Bug #85874.
5040
5041 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
5042
5043         * src/hildon-pannable-area.c,
5044         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5045         TODO list, it was complete and removed the g_debug and g_print
5046         lines.
5047
5048 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
5049
5050         Added the movement modes to the hildon-pannable-area, with this
5051         modes the developers can control in which directions the widget
5052         can scroll. They can also connect to signals in order to do
5053         something when that happens, allowing applications scroll. There
5054         is an example uploaded showing how to use it.
5055
5056         * examples/Makefile.am:
5057         * examples/hildon-pannable-area-example-4.c: Added this example of
5058         an application using the modes.
5059
5060         * src/hildon-marshalers.list: Added a new marshaller for the new
5061         signals.
5062
5063         * src/hildon-pannable-area.h: Added new enumerations and flags in
5064         order to control the movement modes and the new signals to warn
5065         about the movements in the area.
5066
5067         * src/hildon-pannable-area.c:
5068         (hildon_pannable_axis_scroll),
5069         (hildon_pannable_area_scroll),
5070         (hildon_pannable_area_motion_notify_cb),
5071         (hildon_pannable_area_get_property),
5072         (hildon_pannable_area_set_property),
5073         (hildon_pannable_area_map),
5074         (hildon_pannable_area_class_init),
5075         (hildon_pannable_area_init),
5076         (hildon_pannable_area_jump_to): Added the modes to control the
5077         movement in the widget. We have added properties to control it,
5078         signals to warn about the movements and refactored some code.
5079
5080 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
5081
5082         Changes required in order to allow vfast_factor set to zero to
5083         work properly.
5084
5085         * src/hildon-pannable-area.c:
5086         (hildon_pannable_area_button_press_cb): Changed the condition, it
5087         is required for not allowing click when vfast_factor is zero.
5088         (hildon_pannable_area_timeout): Initialized velocity variables
5089         when we stop moving, it was less than 1 but not zero and we need
5090         to check zero in some situations.
5091         (hildon_pannable_area_class_init): Changed the default value of
5092         the speed factor, now the button_press is just sent in case the
5093         speed is 2 per cent of the max speed.
5094         (hildon_pannable_area_init): Initialization with 0.
5095
5096 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
5097
5098         * src/hildon-pannable-area.c,
5099         (hildon_pannable_area_get_topmost): replaced
5100         gdk_window_get_children with gdk_window_peek_children, this way we
5101         do not have to free the list because it is not a copy.
5102
5103         (hildon_pannable_axis_scroll),
5104         (hildon_pannable_area_scroll),
5105         (hildon_pannable_area_timeout),
5106         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5107         two parameters that were only used inside the
5108         hildon_pannable_area_scroll function.
5109
5110         * examples/hildon-pannable-area-example.c,
5111         (get_sawtooth_label): Fixed small memory leak.
5112
5113 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
5114
5115         More checks for the case where the overshoot is bigger than the
5116         size of the widget.
5117
5118         * src/hildon-pannable-area.c:
5119         (hildon_pannable_draw_vscroll),
5120         (hildon_pannable_draw_hscroll): with this new calculation we avoid
5121         to draw the slider of the scrollbar under the other scrollbar.
5122         (hildon_pannable_area_expose_event): added new checks to control
5123         the drawing of the overshooting area rectangle, in case it is too
5124         big for the area of the widget.
5125         (hildon_pannable_area_size_allocate): add more checks to avoid
5126         setting a position to the child widget outside the area.
5127
5128 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
5129
5130         * src/hildon-pannable-area.c
5131         (hildon_pannable_area_size_allocate): Added conditions to control
5132         when overshooting is bigger than the allocated space for the
5133         children, this avoids negative allocations.
5134
5135 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
5136
5137         * doc/hildon-docs.sgml
5138         * doc/hildon.types
5139         * examples/Makefile.am
5140         * examples/hildon-button-example.c
5141         * src/Makefile.am
5142         * src/hildon-button.c
5143         * src/hildon-button.h
5144         * src/hildon.h: Initial version of the new HildonButton widget,
5145         with examples.
5146
5147 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
5148
5149         * src/hildon-pannable-area.c:
5150         (hildon_pannable_area_button_press_cb),
5151         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5152         (hildon_pannable_area_motion_notify_cb),
5153         (hildon_pannable_area_button_release_cb),
5154         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5155         (hildon_pannable_area_jump_to_child):
5156
5157         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5158
5159 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
5160
5161         * examples/Makefile.am
5162         * examples/hildon-pannable-area-touch-grid-example.c
5163         * examples/hildon-pannable-area-touch-list-example.c: Examples of
5164         the Hildon Touch List and Hildon Touch Grid using the
5165         HildonPannableArea widget.
5166
5167 2008-06-27  Alejandro G. Castro <alex@igalia.com>
5168
5169         * src/hildon-pannable-area.c,
5170         (hildon_pannable_area_button_press_cb),
5171         (hildon_pannable_area_refresh),
5172         (hildon_pannable_area_scroll),
5173         (hildon_pannable_area_motion_notify_cb),
5174         (hildon_pannable_area_button_release_cb),
5175         (hildon_pannable_area_expose_event),
5176         (hildon_pannable_area_add),
5177         (hildon_pannable_area_remove),
5178         (hildon_pannable_area_realize),
5179         (hildon_pannable_area_size_allocate),
5180         (hildon_pannable_area_class_init),
5181         (hildon_pannable_area_init),
5182         (hildon_pannable_area_scroll_to_child),
5183         (hildon_pannable_area_jump_to_child): Fixed the problem of
5184         removing the child from the GtkBin, we have rearranged the widget
5185         hierarchy, now there is no GtkAlignment which was not doing
5186         anything interesting but breaking some of the assumptions of
5187         GtkContainer. Now developers if they want to add a GtkAlignment
5188         they could, but it is not inside the area.
5189
5190         We had to review the whole allocation/expose process, now it is
5191         improved and we save at least three signals which would be saving
5192         some time when rendering the widget. The allocation of the
5193         scrollbars is now made in the allocate method as usual.
5194
5195         We have also added some conditions in order to control when there
5196         is no child of the pannable area. Maybe we will need more work
5197         here.
5198
5199 2008-06-27  Alejandro G. Castro <alex@igalia.com>
5200
5201         * src/hildon-pannable-area.c,
5202         (hildon_pannable_area_dispose): Released the fade-out timeout when
5203         disposing the widget.
5204
5205 2008-06-27  Alejandro G. Castro <alex@igalia.com>
5206
5207         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5208         zero, we are going to use that property in order to deactivate the
5209         overshooting
5210         (hildon_pannable_axis_scroll),
5211         (hildon_pannable_area_size_allocate): Added conditions to control
5212         when overshoot_max is zero. Moved the gtk_adjustment_set_value
5213         call, now it is called in all situations and we can remove calls
5214         in the allocate method.
5215         (hildon_pannable_area_map): Control the situation when
5216         overshoot_max is zero, we do not need the timeout.
5217         (hildon_pannable_area_class_init): Added documentation in order to
5218         point out that setting zero to overshoot_max means deactivate
5219         overshooting.
5220
5221         NOTE: removed trailing whitespaces from my previous comments of
5222         the Changelog.
5223
5224 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
5225
5226         * src/hildon-pannable-area.c
5227         (hildon_pannable_area_get_property),
5228         (hildon_pannable_area_set_property),
5229         (hildon_pannable_area_map),
5230         (hildon_pannable_area_class_init),
5231         (hildon_pannable_area_init): Add a boolean "initial-hint" property
5232         to cause the widget give a hint about its panning abilities upon
5233         realization.
5234
5235 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
5236
5237         * src/hildon-pannable-area.c: Several documentation improvements.
5238
5239 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
5240
5241         * src/hildon-program.c
5242         * src/hildon-stackable-window.c: Update documentation.
5243
5244 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
5245
5246         * src/hildon-stackable-window.c (get_previous_window_if_last):
5247         Renamed get_last_window()
5248         (hildon_stackable_window_map, hildon_stackable_window_unmap)
5249         (hildon_stackable_window_unset_program):
5250         Simplified code.
5251         (get_previous_window_if_last):
5252         Detect if the window hasn't been added to a HildonProgram.
5253
5254 2008-06-26  Alejandro G. Castro <alex@igalia.com>
5255
5256         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5257
5258         * src/hildon-pannable-area.c
5259         (hildon_pannable_area_button_press_cb),
5260         (hildon_pannable_axis_scroll),
5261         (hildon_pannable_area_scroll),
5262         (hildon_pannable_area_timeout),
5263         (hildon_pannable_calculate_vel_factor),
5264         (hildon_pannable_area_get_property),
5265         (hildon_pannable_area_set_property),
5266         (hildon_pannable_area_class_init),
5267         (hildon_pannable_area_init),
5268         (hildon_pannable_area_scroll_to),
5269         (hildon_pannable_area_jump_to),
5270         (hildon_pannable_area_scroll_to_child),
5271         (hildon_pannable_area_jump_to_child):
5272         * src/hildon-pannable-area.h: Added the new API functions:
5273         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5274         hildon_pannable_area_scroll_to_child,
5275         hildon_pannable_area_jump_to_child
5276
5277
5278         * examples/Makefile.am
5279         * examples/hildon-pannable-area-example-2.c
5280         * examples/hildon-pannable-area-example-3.c: Added these two new
5281         examples in order to test and show how the new APIs work.
5282
5283 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
5284
5285         * examples/hildon-stackable-window-example.c (new_window):
5286         * src/Makefile.am (noinst_HEADERS):
5287         * src/hildon-program.c (hildon_program_go_to_root_window):
5288         * src/hildon-program.h:
5289         * src/hildon-stackable-window-private.h:
5290         * src/hildon-stackable-window.c:
5291         * src/hildon-stackable-window.h:
5292         Create hildon-stackable-window-private.h
5293         Move hildon_stackable_window_go_to_root_window() to HildonProgram
5294
5295         * examples/hildon-app-menu-example.c (create_menu):
5296         * examples/hildon-hvolumebar-insensitive-example.c (main):
5297         * examples/hildon-hvolumebar-timer-example.c (on_idle):
5298         * examples/hildon-toolbar-seekbar-example.c (main):
5299         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5300         * src/hildon-banner.c (hildon_banner_set_property):
5301         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5302         Fix compilation warnings
5303
5304         * src/hildon-window.c:
5305         Fix typo in doc
5306
5307 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
5308
5309         * src/hildon-stackable-window.c
5310         (hildon_stackable_window_unset_program):
5311         Calculate correctly whether to show the previous window if the
5312         last one is removed from the stack.
5313         (hildon_stackable_window_go_to_root_window):
5314         Send delete events starting from the topmost window.
5315         Stop if one of the windows is not destroyed.
5316         Update doc.
5317         (hildon_stackable_window_delete_event)
5318         (hildon_stackable_window_class_init):
5319         Ignore the delete event if the window is not the topmost one.
5320
5321 2008-06-24  Alejandro G. Castro <alex@igalia.com>
5322
5323         * src/hildon-pannable-area.c
5324         (hildon_pannable_area_expose_event): Fixed a problem when
5325         selecting the background color of the scrollbars.
5326
5327 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
5328
5329         * examples/hildon-stackable-window-example.c
5330         * src/hildon-stackable-window.c
5331         * src/hildon-stackable-window.h
5332         hildon_stackable_window_go_home() renamed to
5333         hildon_stackable_window_go_to_root_window()
5334         Send delete events to windows rather than closing them with
5335         gtk_widget_destroy()
5336
5337 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
5338
5339         * src/hildon-pannable-area.c
5340         (hildon_pannable_area_button_release_cb): Fix overshooting in
5341         accel mode.
5342
5343 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
5344
5345         * src/hildon-pannable-area.c
5346         (hildon_pannable_area_init): Initially show the scroll indicators.
5347         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5348
5349         Add initial effect showing the widget is pannable.
5350
5351 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
5352
5353         * src/hildon-pannable-area.c
5354         (hildon_pannable_area_class_init)
5355         (hildon_pannable_area_set_property)
5356         (hildon_pannable_area_get_property)
5357         (hildon_pannable_area_button_press_cb):
5358         New 'velocity_fast_factor' property to decide which velocity is
5359         considered fast.
5360
5361 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
5362
5363         * src/hildon-pannable-area.c
5364         (hildon_pannable_draw_hscroll)
5365         (hildon_pannable_draw_vscroll):
5366         Use float variables to calculate the size of the scrollbars to
5367         avoid error propagation and resizing during scrolling.
5368
5369 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
5370
5371         * src/hildon-pannable-area.c
5372         (hildon_pannable_draw_vscroll)
5373         (hildon_pannable_draw_hscroll):
5374         Define a minimum size for the scroll bars
5375
5376         * src/hildon-stackable-window.c
5377         (hildon_stackable_window_go_home): Fix compilation warning
5378         (get_last_window): Minor optimizations
5379         (hildon_stackable_window_class_init): Fix initialization of
5380         private structure.
5381
5382 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
5383
5384         * src/hildon-stackable-window.c: Fixed typos in doc
5385
5386 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
5387
5388         * src/hildon-pannable-area.c
5389         (hildon_pannable_area_scroll):
5390         Calculate here whether we need to scroll instead of using the booleans
5391         that tell us whether to /draw/ the scrolling bars.
5392
5393 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
5394
5395         * src/hildon-app-menu.h
5396         Update API.
5397         * src/hildon-app-menu.c
5398         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5399         multiple filter groups related code and API. Now we support only
5400         one filter group.
5401         * examples/hildon-app-menu-example.c:
5402         (create_menu):
5403         Update to reflect API changes.
5404
5405 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
5406
5407         * src/hildon-stackable-window.c
5408         (hildon_stackable_window_class_init):
5409         Add hildon_stackable_window_realize.
5410         (hildon_stackable_window_realize):
5411         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5412         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5413         to apply theming and behavior specific to HildonStackableWindow
5414         windows.
5415
5416 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
5417
5418         * src/hildon-note.c (hildon_note_button_release):
5419         Close information notes also when tapping on them
5420
5421 2008-06-12  Alejandro G. Castro <alex@igalia.com>
5422
5423         Added BOUNCE_STEPS define to control the overshoot effect. Removed
5424         ELASTICITY, refactor and review, fix some issues with drawing
5425         scrollbars.
5426
5427         * src/hildon-pannable-area.c:
5428         (hildon_pannable_area_button_press_cb): removed the conditions to
5429         avoid clicks when overshooting. It is not required
5430
5431         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5432         define. Refatored and reviewed the code, now we do not need to
5433         manage velocity in motion_notify.
5434
5435         (hildon_pannable_area_motion_notify_cb): We have moved the code
5436         that controls the area_scroll to the axis_scroll function and get
5437         rid of duplicated code.
5438
5439         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5440
5441         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5442
5443         (hildon_pannable_draw_vscroll),
5444         (hildon_pannable_draw_hscroll): Fixed the problems with the
5445         scrollbar drawing, now we do not use two surfaces, it is easier
5446         and saves resources.
5447
5448         (hildon_pannable_area_get_property): Style modification.
5449
5450         (hildon_pannable_area_class_init): Changed some default values.
5451
5452 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
5453
5454         * src/hildon-stackable-window.c: Fix some typos in the
5455         documentation.
5456
5457 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
5458
5459         * src/hildon-dialog.c:
5460         Change indentation style
5461
5462         * src/hildon-note.c
5463         (hildon_note_button_release):
5464         Use root coordinates to check if the release event happened
5465         outside the widget.
5466
5467         * src/hildon-app-menu.c
5468         (hildon_app_menu_button_release):
5469         Remove unnecessary check
5470
5471         * examples/hildon-app-menu-example.c
5472         (button_clicked):
5473         Add cast to fix warning
5474
5475         * src/hildon-app-menu.c
5476         (hildon_app_menu_class_init):
5477         New inner-border style property.
5478         Set all default spacings to 16
5479         (hildon_app_menu_init):
5480         Use vertical-spacing to set the space between filter buttons and
5481         regular menu buttons.
5482         Set the default container border using the inner-border value.
5483
5484         * examples/hildon-app-menu-example.c
5485         (create_menu):
5486         Don't set the menu border explicitly, now we have the inner-border
5487         style property for that.
5488
5489 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
5490
5491         * src/hildon-app-menu.c (hildon_app_menu_init):
5492         Make the window modal
5493
5494         * src/hildon-note.c (hildon_note_map)
5495         * src/hildon-app-menu.c (hildon_app_menu_map):
5496         Destroy the grab window if we're unable to grab the pointer
5497
5498         * src/hildon-app-menu-private.h
5499         * src/hildon-app-menu.c
5500         (hildon_app_menu_init, hildon_app_menu_finalize)
5501         (hildon_app_menu_map, hildon_app_menu_unmap)
5502         (hildon_app_menu_button_release)
5503         (grab_transfer_window_get):
5504         Bring back the grab window
5505         (hildon_app_menu_realize):
5506         Decorate the window, set WM hint for Matchbox
5507
5508         * src/hildon-note.c (hildon_note_realize):
5509         * src/hildon-banner.c (hildon_banner_realize):
5510         Add WM hints for Matchbox
5511
5512 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
5513
5514         * src/hildon-app-menu-private.h
5515         * src/hildon-app-menu.c
5516         (hildon_app_menu_init, hildon_app_menu_finalize)
5517         (hildon_app_menu_map, hildon_app_menu_unmap)
5518         (hildon_app_menu_button_release):
5519         Remove the grab window, it's not needed anymore
5520
5521         * src/hildon-program.c
5522         Fixed typo in documentation
5523
5524         * src/hildon-app-menu.h
5525         * src/hildon-app-menu.c
5526         * examples/hildon-app-menu-example.c
5527         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5528
5529 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
5530
5531         * src/hildon-note.c
5532         Added new transfer_window and close_if_pressed_outside private
5533         attributes.
5534         (hildon_note_rebuild):
5535         Don't add a cancel button to the information note. It will be
5536         closed when tapping outside
5537         Remove the comment about the OK button in the documentation
5538         (hildon_note_realize):
5539         Set the notification type hint
5540         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5541         Grab/ungrab pointer and keyboard if the note has to be closed when
5542         tapping outside
5543         (hildon_note_button_release):
5544         Close the note when tapping outside (if applicable)
5545
5546         * src/hildon-app-menu.c
5547         Grab/ungrab pointer and keyboard on map/unmap
5548         (hildon_app_menu_button_release, hildon_app_menu_class_init):
5549         Close the menu on button release, not button press
5550
5551         * src/hildon-banner.c
5552         (hildon_banner_set_property)
5553         (hildon_banner_check_position):
5554         Make the banner use the full width of the screen
5555         (hildon_banner_show_information)
5556         (hildon_banner_show_information_with_markup):
5557         Don't display an icon by default
5558
5559 2008-06-09  Alejandro G. Castro <alex@igalia.com>
5560
5561         Added fading scrollbars and adapted all the overshooting code to
5562         horizontal scrolling. We have also fixed bugs with overshooting
5563         and current fading implementation.
5564
5565         * src/hildon-pannable-area.c
5566         (hildon_pannable_area_scroll_indicator_fade): Time out function
5567         used to change the transparency of the scrollbars.
5568
5569         (hildon_pannable_area_button_press_cb): Added horizontal overshot
5570         control and fixed a problem with fading, we now remove the fade
5571         timeout before adding a new one.
5572
5573         (hildon_pannable_axis_scroll):
5574         (hildon_pannable_area_scroll):
5575         (hildon_pannable_area_timeout): Added this functions so we can use
5576         the scroll code both for vertical and horizontal.
5577
5578         (hildon_pannable_area_motion_notify_cb):
5579         (hildon_pannable_area_button_release_cb): Added the horizontal
5580         scrolling control, fixed a problem with the overshooting timeout.
5581
5582         (rgb_from_gdkcolor): Added this function, it is used in the cairo
5583         painting of the scrolls.
5584
5585         (hildon_pannable_draw_vscroll):
5586         (hildon_pannable_draw_hscroll):
5587         (hildon_pannable_area_expose_event):
5588         Draw both scrollbars and rectangles in the overshooting area.
5589
5590         (hildon_pannable_area_get_property):
5591         (hildon_pannable_area_set_property):
5592         Modified the overshoot property to overshoot_max
5593
5594         (hildon_pannable_area_map):
5595         Replaced the comments symbols.
5596
5597         (hildon_pannable_area_size_allocate):
5598         (hildon_pannable_area_class_init):
5599         (hildon_pannable_area_init): Added horizontal scroll, fading
5600         effect properties, fixed a problem when overshooting in the bottom
5601         of the widget.
5602
5603         * examples/hildon-pannable-area-example.c:
5604         (get_sawtooth_label): Now we use smaller sawtooths, the effect
5605         looks better in the example.
5606
5607 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
5608
5609         * src/hildon-window.c
5610         * src/hildon-window.h
5611         (hildon_window_class_init)
5612         (hildon_window_unset_program)
5613         (hildon_window_unset_program_real):
5614         Make unset_program a virtual function
5615
5616         * src/hildon-stackable-window.c
5617         * src/hildon-stackable-window.h
5618         Added hildon_stackable_window_go_home()
5619
5620         * examples/Makefile.am
5621         * examples/hildon-stackable-window-example.c
5622         HildonStackableWindow example
5623
5624 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5625
5626         * hildon-pannable-area.c: Added the overshoot property and removed
5627         the OVERSHOOT define. Fixed an indent style error.
5628         (hildon_pannable_area_motion_notify_cb):
5629         (hildon_pannable_area_get_property):
5630         (hildon_pannable_area_set_property): Add overshoot property.
5631
5632         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5633         overshoot property.
5634
5635         (hildon_pannable_area_class_init): Installed the new property.
5636
5637         * hildon-pannable-area-example.c: Added a sawtooth function, this
5638         way it is easier to check the movement in the pannable.
5639         (get_sawtooth_label): Added this function.
5640         (main): Now we get the labels from the new get_sawtooth_label
5641         function.
5642
5643 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
5644
5645         * src/hildon-app-menu.h
5646         * src/hildon-app-menu.c
5647         Renamed API variables for consistency
5648
5649         (hildon_app_menu_popup): Use also the default window size to
5650         decide where to place the menu
5651
5652         (hildon_app_menu_init, hildon_app_menu_class_init): New
5653         external-border style property
5654
5655 2008-05-26  Michael Natterer  <mitch@imendio.com>
5656
5657         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5658         widget_class->tap_and_hold_setup signal slot doesn't exist any
5659         longer, stop overriding it.
5660
5661         (hildon_time_editor_init): g_signal_connect() to the
5662         tap-and-hold-setup signal instead.
5663
5664         (hildon_time_editor_entry_keypress): add cast to fix warning.
5665
5666 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
5667
5668         * doc/hildon-docs.sgml
5669         * doc/hildon.types
5670         * examples/Makefile.am
5671         * examples/hildon-app-menu-example.c
5672         * src/Makefile.am
5673         * src/hildon-app-menu-private.h
5674         * src/hildon-app-menu.c
5675         * src/hildon-app-menu.h
5676         * src/hildon.h
5677         New HildonAppMenu widget
5678
5679 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5680
5681         Rearranged the inheritance of the pannable area, now it inherits
5682         from GtkBin. This will allow us to control the event_window and
5683         the allocation process of the widget, required for some effects.
5684
5685         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5686         GtkBin structures.  * src/hildon-pannable-area.c: Added the
5687         event_window variable.
5688         (hildon_pannable_area_button_press_cb):
5689         (hildon_pannable_area_button_release_cb):
5690         (hildon_pannable_area_motion_notify_cb):
5691         Changed the signature of the method, now we override the event
5692         callback instead of connecting to the signal.
5693
5694         (hildon_pannable_area_realize):
5695         (hildon_pannable_area_unrealize):
5696         (hildon_pannable_area_map):
5697         (hildon_pannable_area_unmap):
5698         (hildon_pannable_area_size_allocate):
5699         Added functions to control the widget construction. We add a
5700         INPUT_ONLY window and we put it over the widgets inside the
5701         container, this event_window handles the events.
5702
5703         (hildon_pannable_area_class_init):
5704         Replaced the signal connections with overrides of the event
5705         callbacks.
5706
5707 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5708
5709         Bouncing effect added when touching the borders, you can change
5710         the elasticity of the border changing the ELASTICITY define.
5711
5712         * src/hildon-pannable-area.c: Added ELASTICITY define.
5713         (hildon_pannable_area_timeout): Added inverse velocity when
5714         touching the border of the child widget, that causes a bounce.
5715
5716 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5717
5718         Improved performance, we now do not go to the X server in order to
5719         get the list of window children. Apparently the effect is the
5720         same, we have to be careful and check if this breaks something in
5721         any corner case.
5722
5723         * src/hildon-pannable-area.c:
5724         (get_ordered_children): Removed this function.
5725         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5726         the children windows function with gdk_window_get_children.
5727
5728 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5729
5730         * src/hildon-pannable-area.c:
5731         (hildon_pannable_area_dispose): Fixed a crash when closing the
5732         window and kinetics is activated.
5733
5734 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
5735
5736         * src/hildon-pannable-area.h
5737         * src/hildon-pannable-area.c
5738         Changed indentation style to meet the one used in Hildon
5739
5740 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5741
5742         Reviewed the interaction of the AUTO mode, now we use the time
5743         attribute of the events and calculate the velocity in the motion,
5744         doing a gimp like calculation. The velocity is calculated in each
5745         motion event using the last velocity and the current one, the
5746         SMOOTH_FACTOR controls the percentage of the new velocity we use.
5747
5748         * src/hildon-pannable-area.c: Replaced the time based algorithm
5749         for the AUTO mode.
5750         (hildon_pannable_area_motion_notify_cb): now we do not launch the
5751         timeout for the AUTO mode when we are still moving the cursor. We
5752         added also the velocity calculation in this function.
5753         (hildon_pannable_area_button_release_cb): launch the timeout in
5754         case we are in AUTO mode. There are still some constants here that
5755         come from the old implementation that should be reviewed and
5756         handled properly.
5757
5758 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
5759
5760         * doc/hildon-docs.sgml
5761         * doc/hildon.types
5762         * src/Makefile.am
5763         * src/hildon-stackable-window.c
5764         * src/hildon-stackable-window.h
5765         * src/hildon.h
5766         New HildonStackableWindow widget
5767
5768         * examples/hildon-dialog-example.c
5769         * examples/hildon-pannable-area-example.c
5770         Updated copyright
5771
5772 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
5773
5774         * src/hildon-dialog.c
5775         (hildon_dialog_new_with_buttons): New constructor.
5776
5777         * examples/hildon-dialog-example.c
5778         (main): Update the example to use the new
5779         hildon_dialog_new_with_buttons().
5780
5781         * examples/hildon-pannable-area-example.c
5782         (main): Update example.
5783
5784 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5785
5786         * doc/hildon-docs.sgml
5787         * doc/hildon.types
5788         Added HildonPannableArea to the documentation.
5789
5790 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5791
5792         * doc/visual_index.xml
5793         Fix reference to HildonLoginDialog in documentation
5794
5795         * doc/hildon-docs.sgml
5796         * doc/hildon.types
5797         * examples/Makefile.am
5798         * examples/hildon-dialog-example.c
5799         * src/Makefile.am
5800         * src/hildon-dialog.c
5801         * src/hildon-dialog.h
5802         * src/hildon.h
5803         New HildonDialog widget.
5804
5805 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5806
5807         * src/hildon-pannable-area.c
5808         Merge latest changes (r4318, r4342) from libmokoui trunk
5809
5810 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5811
5812         * examples/Makefile.am
5813         * examples/hildon-pannable-area-example.c
5814         * src/Makefile.am
5815         * src/hildon-pannable-area.c
5816         * src/hildon-pannable-area.h
5817         * src/hildon.h
5818         New HildonPannableArea widget.
5819
5820 2008-04-15 18:05:19    <timj@imendio.com>
5821
5822         * src/hildon-banner.c: revert the recent change, that introduced
5823         gtk_window_present() calls. this reopens:
5824           Bug 78481 - [freetest] information banners are hidden under browser menu
5825         But resolves another variant of:
5826           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5827
5828 2008-04-15 13:21:13    <timj@imendio.com>
5829
5830         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5831         recreated its layout, spotted by Kris. this fixes all remaining
5832         artefacts and stability issues with the banner code. in particular:
5833         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5834
5835 2008-04-14 16:52:59    <timj@imendio.com>
5836
5837         * src/hildon-banner.c: guard force_to_wrap_truncated() against
5838         operating on unrealized widgets, fixes:
5839         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5840
5841         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5842
5843 2008-04-09  Kristian Rietveld  <kris@imendio.com>
5844
5845         Fixes: NB#77775: Media Player, Save Now playing list, too long name
5846         makes banner disappear.
5847         Fixes: NB#79182: info banner flickering with certain message lengts.
5848
5849         * src/hildon-banner.c (hildon_banner_constructor),
5850         (hildon_banner_init), (hildon_banner_set_text),
5851         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5852         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5853         FALSE, reset size requests of label and banner,
5854         (force_to_wrap_truncated): when the text is too wide, always enforce
5855         the maximum possible width instead of recalculating it from the
5856         layout; enforce the maximum banner height of 3 lines,
5857         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5858         nicer wrapping and no truncated chars if space gets tight.
5859
5860         * src/hildon-banner-private.h: add has_been_wrapped and
5861         has_been_truncated fields.
5862
5863 2008-04-07  Sven Herzberg  <sven@imendio.com>
5864
5865         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5866         local values in hildon_date_editor_size_allocate
5867
5868         * src/hildon-date-editor.c: moved the real allocation code into the
5869         if() branch
5870
5871 2008-04-07  Sven Herzberg  <sven@imendio.com>
5872
5873         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5874         local values in hildon_date_editor_size_allocate
5875
5876         * src/hildon-date-editor.c: merged the two if() branches together
5877
5878 2008-04-07  Sven Herzberg  <sven@imendio.com>
5879
5880         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5881         local values in hildon_date_editor_size_allocate
5882
5883         * src/hildon-date-editor.c: changed the arguments of the if()
5884         conditions
5885
5886 2008-04-07  Sven Herzberg  <sven@imendio.com>
5887
5888         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5889         local values in hildon_date_editor_size_allocate
5890
5891         * src/hildon-date-editor.c: split the calculation of the allocation
5892         from the real allocation
5893
5894 2008-03-27  Michael Natterer  <mitch@imendio.com>
5895
5896         Fixes: NB#81696: The passcode is not overwritten even after
5897         selecting
5898
5899         * src/hildon-code-dialog.c
5900         (hildon_code_dialog_button_clicked)
5901         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5902         because that doesn't overwrite selected text. Instead, emit the
5903         "commit" signal on the entry's im_context so the entry's normal
5904         insert logic is triggered. Set the cursor to the end of the entry
5905         after each insert operation so that we *only* insert in the middle
5906         of the text if something was selected.
5907
5908 2008-03-27  Michael Natterer  <mitch@imendio.com>
5909
5910         Enable fixing: NB#79916 and NB#79918: The help topic for Color
5911         selector cannot be opened
5912
5913         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5914         when the popup color selector is created. Please connect to this
5915         signal in order to set the dialog's help ID.
5916
5917 2008-03-25  Sven Herzberg  <sven@imendio.com>
5918
5919         Fixes: MB#1212: Hide info banners (infoprints) on click
5920
5921         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5922         extracted the close event simulation into an extra function
5923         (hildon_banner_button_press_event): simulate a close event and destroy
5924         the widget if the event wasn't handled
5925         (hildon_banner_class_init): added the button_press_event handler
5926         (hildon_banner_init): added button-press events to the widget
5927
5928 2008-03-25  Sven Herzberg  <sven@imendio.com>
5929
5930         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5931         Patch from: Mohammad Anwari  <mdamt@maemo.org>
5932
5933         * src/hildon-banner.c: let the HildonBanners pop up on the left side
5934         instead of the right in RTL mode
5935         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5936         breadcrumb button list in RTL mode
5937         * src/hildon-caption.c: mirror the appearance of the caption widget in
5938         RTL mode
5939         * src/hildon-date-editor.c: mirror appearance of the date editor in
5940         RTL mode
5941         * src/hildon-time-editor.c: mirror appearance of the time editor in
5942         RTL mode
5943         * src/hildon-window.c: fix the position of the popup in RTL mode
5944
5945 2008-03-25  Sven Herzberg  <sven@imendio.com>
5946
5947         Amendment to the fix of NB#22072. Fix compilation.
5948
5949         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5950
5951 2008-03-19  Sven Herzberg  <sven@imendio.com>
5952
5953         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5954         in Info Banner" bug
5955
5956         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5957         timeout id properly when the timeout will disappear this leaves no
5958         artifacts around in the destroy(); there will only be the timeout
5959         created by hildon_banner_ensure_timeout() and adding a new timeout
5960         will also work if the timeout gets removed because the timeout_handler
5961         returned FALSE
5962
5963 2008-03-19  Michael Natterer  <mitch@imendio.com>
5964
5965         Fixes: NB#79791: Cannot set focus to Master volume using stylus
5966
5967         * src/hildon-volumebar.c
5968         * src/hildon-vvolumebar.c
5969         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5970         the widget becomes focussable at all.
5971
5972         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5973         set the focus to wither the mute button or the volumebar.
5974
5975         Remove own "can-focus" property and instead listen to
5976         notify::can-focus in order to update the widget's state.
5977
5978         Implement GtkWidget::focus() and make sure we can also *leave* the
5979         widget, not only enter it, depending on volumebar orientation and
5980         requested focus direction.
5981
5982         Clean up set_mute() to cooperate nicely with all the above.
5983
5984 2008-03-04  Michael Natterer  <mitch@imendio.com>
5985
5986         Fixes: NB#78481: information banners are hidden under browser menu
5987
5988         * src/hildon-banner.c: call gtk_window_present() on the banners so
5989         they are risen if they are already visible.
5990
5991 2008-03-03  Sven Herzberg  <sven@imendio.com>
5992
5993         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5994
5995         * examples/hildon-window-menu-example.c: (main): extended the window
5996         menu example to serve as a testcase for automatically added
5997         accelerator groups, too
5998         * src/hildon-window.c: (hildon_window_add_accel_group),
5999         (hildon_window_set_menu): added patch by Tommi Komulainen
6000
6001 2008-03-03  Sven Herzberg  <sven@imendio.com>
6002
6003         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6004
6005         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6006         knowledge about the border allocators used within GTK+
6007
6008 2008-02-26  Sven Herzberg  <sven@imendio.com>
6009
6010         Fixes: MB#2981: Build with asserts broken
6011
6012         * src/hildon-date-editor.c,
6013         * src/hildon-number-editor.c,
6014         * src/hildon-time-editor.c,
6015         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6016         the proper GType instance check
6017
6018 2008-02-25  Sven Herzberg  <sven@imendio.com>
6019
6020         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6021
6022         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6023         * examples/hildon-window-menu-example.c: (main): explicitly show
6024         the menu item
6025         * src/hildon-window.c:
6026         (hildon_window_set_main_menu): moved most of the code from set_menu()
6027         to this place; skipped the call to gtk_widget_show_all(); also didn't
6028         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6029         (hildon_window_set_menu): removed most of the code, just keep the
6030         questionable gtk_widget_show_all()
6031         * src/hildon-window.h: added the new function and deprecate the old
6032         one
6033
6034 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
6035
6036         [2.0.1-1 release]
6037
6038         * NEWS:
6039         * configure.ac:
6040         * debian/changelog: Updating.
6041
6042 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
6043
6044         * configure.ac:
6045         * pkgconfig/Makefile.am:
6046         * pkgconfig/hildon.pc.in:
6047         * src/Makefile.am:
6048
6049         Do not use PACKAGE_VERSION_MAJOR as the API revision,
6050         use newly created API_MAJOR_VERSION.
6051
6052 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
6053
6054         [2.0.0-1 release]
6055
6056         * NEWS:
6057         * configure.ac:
6058         * debian/changelog: Updating.
6059
6060 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
6061
6062         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6063
6064         Add outer_border style property, we use it but don't define it (!).
6065
6066         Fixes NB#75310
6067
6068 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
6069
6070         * examples/hildon-bread-crumb-trail-example.c (main):
6071
6072         Add clear button.
6073
6074         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6075
6076         Fix logic for the bread crumb trail node removal.
6077
6078         Fixes: NB#78616
6079
6080 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6081
6082         [1.99.1-1 release]
6083
6084         * NEWS:
6085         * configure.ac:
6086         * debian/changelog: Updating.
6087
6088 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6089
6090         Patch by Alejandro to get/set passwords dialogs accesibility.
6091
6092         * hildon-1/src/hildon-get-password-dialog.c:
6093         * hildon-1/src/hildon-set-password-dialog.c:
6094         Set atk_set_name to the passwd entries in order to allow
6095         accessibility by name on this entries.
6096
6097 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6098
6099         [1.99.0-2 release]
6100
6101         * debian/changelog:
6102         * debian/control: Updating gtk dep.
6103
6104 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
6105
6106         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6107         USE_MAEMO_GTK is enabled.
6108
6109 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
6110
6111         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6112         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6113
6114 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6115
6116         [1.99.0-1 release]
6117
6118         * NEWS:
6119         * configure.ac:
6120         * debian/changelog: Updating.
6121
6122 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6123
6124         * examples/Makefile.am:
6125         * examples/hildon-logical-color-example.c:
6126         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6127         applied + adding a test case. Fixes: NB#71660.
6128
6129 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
6130
6131         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6132         to be visible, fixes warning on map for windows without toolbars.
6133
6134 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
6135
6136         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6137         2.11.0, add a check for that besides the MAEMO_GTK check.
6138
6139 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6140
6141         [1.0.17-1 release]
6142
6143         * NEWS:
6144         * configure.ac:
6145         * debian/changelog: Updating.
6146
6147 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6148
6149         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6150         visibility. Fixes: NB#70842 and MB#615.
6151
6152 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
6153
6154         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6155         set the separator as no-show-all so it doesn't unintentionally appear when
6156         someone does a show_all.
6157
6158 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
6159
6160         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6161         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6162         toplevel item. Fixes: NB#62031
6163
6164 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
6165
6166         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6167         fix the name of the function in the docs.
6168
6169 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6170
6171         [1.0.16-1 release]
6172
6173         * NEWS:
6174         * configure.ac:
6175         * debian/changelog: Updating.
6176
6177 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6178
6179         * examples/hildon-banner-long-example.c: Adding a test-case for long
6180         hildon banner.
6181
6182         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6183
6184 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6185
6186         * src/hildon-color-chooser-dialog.c:
6187         * src/hildon-color-chooser.c:
6188         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6189         memory leaks in font selector and color selector. Fixes: NB#70499 and
6190         NB#70474.
6191
6192 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
6193
6194         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6195
6196 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6197
6198         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6199         little bit bigger. Fixes: #NB63694.
6200
6201 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6202
6203         [1.0.15-1 release]
6204
6205         * NEWS:
6206         * configure.ac:
6207         * debian/changelog: Updating.
6208
6209 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6210
6211         * doc/Makefile.am:
6212         * doc/hildon-docs.sgml:
6213         * doc/images/bread-crumb-trail.png:
6214         * doc/images/calendar-popup.png:
6215         * doc/images/caption.png:
6216         * doc/images/code-dialog.png:
6217         * doc/images/color-button.png:
6218         * doc/images/color-chooser-dialog.png:
6219         * doc/images/color-chooser.png:
6220         * doc/images/controlbar.png:
6221         * doc/images/date-editor.png:
6222         * doc/images/font-selection-dialog.png:
6223         * doc/images/get-password-dialog.png:
6224         * doc/images/hvolumebar.png:
6225         * doc/images/login-dialog.png:
6226         * doc/images/note.png:
6227         * doc/images/number-editor.png:
6228         * doc/images/range-editor.png:
6229         * doc/images/seekbar.png:
6230         * doc/images/set-password-dialog.png:
6231         * doc/images/sort-dialog.png:
6232         * doc/images/time-editor.png:
6233         * doc/images/time-picker.png:
6234         * doc/images/vvolumebar.png:
6235         * doc/images/weekday-picker.png: Adding the new generated widget shots.
6236         Adding the bread-crumb-trial and helpers to the documentation.
6237
6238 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6239
6240         * examples/hildon-find-toolbar-example.c:
6241         * src/hildon-find-toolbar.c:
6242         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6243         actually continue firing the other handlers if connected. Adding a new
6244         function:
6245         hildon_find_toolbar_get_last_index that gets the index of the most
6246         recently added (last) item. Fixes: NB#52301.
6247
6248 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6249
6250         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6251         behaviour. Fixes: NB#68610.
6252
6253 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6254
6255         * src/hildon-banner.c: Actually reverting the previous change. It somehow
6256         looks a bit worse.
6257
6258 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6259
6260         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6261         when realizing the banner. Should make the infonbanner effect a bit more
6262         bearable.
6263
6264 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6265
6266         * src/hildon-volumebar.c:
6267         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6268         hildon_volumebar_set_range_insensitive_message and
6269         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6270
6271 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6272
6273         * src/hildon-window.c: Fixing the border freeing on destroy.
6274
6275 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6276
6277         * src/hildon-code-dialog-private.h:
6278         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6279         kw keyboard support in HildonCodeDialog.
6280
6281 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6282
6283         [1.0.14-1 release]
6284
6285         * NEWS:
6286         * configure.ac:
6287         * debian/changelog: Updating.
6288
6289 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6290
6291         * src/hildon-date-editor.c:
6292         * src/hildon-number-editor.c:
6293         * src/hildon-private.c:
6294         * src/hildon-private.h:
6295         * src/hildon-time-editor.c:
6296         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6297         handling in subclassed composite widgets. Fixes: NB#66628.
6298
6299 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6300
6301         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6302         from destroy_ callback as it introduces problems in async dbus signal
6303         handlers. Fixes NB#66673.
6304
6305 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6306
6307         * examples/hildon-hvolumebar-example.c:
6308         * src/hildon-volumebar.c: Improving the focus handling in the
6309         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6310         set_property accessor so that "mute" property can be actually set. I'm
6311         scared that nobody noticed it's totally broken.
6312
6313 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6314
6315         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6316         Fixes NB#66548.
6317
6318 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6319
6320         * src/hildon-calendar.c:
6321         * src/hildon-number-editor.c:
6322         * src/hildon-time-picker.c: Changing the timeout repeat so that it
6323         matches the spec of 6 chars per second. Fixes: NB#60489.
6324
6325 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6326
6327         * src/hildon-helper.c: Really fixing NB#58352. Looks like
6328         gtk_style_lookup_color sometime returns FALSE even though color was
6329         found and values were filled properly. Weird. Removing the warning for the
6330         time being.
6331
6332 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6333
6334         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6335         expand vertically. Adding some extra space to the find toolbar buttons to
6336         make them thumbable. Fixes NB#66060.
6337
6338 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6339
6340         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6341         popup with "Ok" and "Cancel". Fixes NB#59299.
6342
6343 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6344
6345         * src/hildon-calendar.c: Process all window updates before executing next
6346         timeout. Fixes: NB#54146.
6347
6348 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6349
6350         [1.0.13-1 release]
6351
6352         * NEWS:
6353         * configure.ac:
6354         * debian/changelog: Updating.
6355
6356 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
6357
6358         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6359         the client event and ignore it, since we use the delete event to close
6360         after timeouts.
6361
6362 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6363
6364         * src/hildon-helper.c: Remove the bogus warning about color not being
6365         found. Fixes NB#58352.
6366
6367 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6368
6369         * examples/Makefile.am:
6370         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6371         HildonSeekbar widget inside a toolbar.
6372
6373 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
6374
6375         * src/hildon-banner.c (hildon_banner_init): mark the banners as
6376         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6377         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6378         don't want to be closed by non-temporary windows on map.
6379
6380         Also use G_DEFINE_TYPE instead of manually typed code.
6381
6382 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6383
6384         [1.0.12-1 release]
6385
6386         * NEWS:
6387         * configure.ac:
6388         * debian/changelog:
6389         * debian/rules: Updating.
6390
6391 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6392
6393         * examples/Makefile.am:
6394         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6395         bug NB#61128. Strangely it works.
6396
6397 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6398
6399         * src/hildon-date-editor.c: When the date editor entry has been changed
6400         but the numbers of characters < max, turn off the skip validation flag.
6401         Prevents a situation when we enter first a valid year and later re-write
6402         it with an invalid one. Fixes NB#60154.
6403
6404 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6405
6406         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6407         code dialog. Fixes NB#64355.
6408
6409 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6410
6411         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6412         switching the page. Fixes NB#49374.
6413
6414         * examples/Makefile.am:
6415         * examples/hildon-wizard-dialog-example.c: Adding an example for
6416         HildonWizardDialog that shows how to handle manual sensitivity setting on
6417         the wizard dialog.
6418
6419 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6420
6421         * configure.ac:
6422         * src/Makefile.am:
6423         * src/hildon-version.h.in:
6424         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6425
6426 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6427
6428         * src/hildon-volumebar.c: Updating the docs.
6429
6430 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6431
6432         [1.0.11-1 release]
6433
6434         * NEWS:
6435         * configure.ac:
6436         * debian/changelog: Updating.
6437
6438 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6439
6440         * src/hildon-find-toolbar.c:
6441         * src/hildon-find-toolbar.h: Adding a few new functions to control the
6442         selected item: hildon_find_toolbar_set_active,
6443         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6444         hildon_find_toolbar_get_active_iter . They correspond to respective
6445         GtkComboBox functions.
6446
6447         * examples/Makefile.am:
6448         * examples/hildon-find-toolbar-example.c: Adding the example to test the
6449         new functionality.
6450
6451 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6452
6453         * examples/Makefile.am:
6454         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6455         theming easily.
6456
6457         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6458         when font size > 32 and we pack a focusable widget inside. Actually using
6459         the default response would work too, but since we don't show default
6460         response state in any way (no theming) it would not be visible to the
6461         user. Fixes NB#63430.
6462
6463 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6464
6465         * src/hildon-date-editor.c: Adding the missing variable setter in the
6466         set_property handler. Fixes NB#54182.
6467
6468 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6469
6470         * src/hildon-window.h: Changing the long key press time from 1500ms to
6471         800ms as requested in NB#63700. I have a bad feeling about this, let's
6472         see... Fixes NB#63700.
6473
6474 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
6475
6476         * src/hildon-time-picker.c (hildon_time_picker_class_init,
6477         hildon_time_picker_map, hildon_time_picker_realize,
6478         hildon_time_picker_style_set): Split the contents of map to more
6479         appropriate functions; set window decorations on realize and update
6480         arrows' size requisitions on style-set. Avoids unnecessary resizing.
6481
6482 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
6483
6484         [1.0.10-2 release]
6485
6486         * NEWS:
6487         * debian/changelog: Updating.
6488
6489 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
6490
6491         * src/Makefile.am: fixed installation of the header files
6492
6493 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6494
6495         [1.0.10-1 release]
6496
6497         * NEWS:
6498         * configure.ac:
6499         * debian/changelog: Updating.
6500
6501 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6502
6503         * configure.ac: Removing some remaining of --enable-xan.
6504
6505 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
6506
6507         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6508         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6509
6510         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6511         2.10.12-osso6 because the move-focus signal needs to be available in
6512         GtkWidget.
6513
6514 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6515
6516         * examples/Makefile.am:
6517         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6518         that makes a HildonVolumebar insensitive before mapping it. Seems to work
6519         fine. Prolly NB#61128 is fixed now.
6520
6521 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6522
6523         * src/hildon-volumebar.c:
6524         * src/hildon-volumebar.h: Adding the
6525         hildon_volumebar_set_range_insensitive_message and
6526         hildon_volumebar_set_range_insensitive_messagef functions to set
6527         insensitive message on the slider of the volumebar. Fixes NB#61129.
6528
6529         * examples/Makefile.am:
6530         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6531         test the new insensitive messsage functionality on HildonVolumebar.
6532
6533 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
6534
6535         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6536         work again.
6537
6538 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
6539
6540         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6541         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6542         button on after clearing the trail.
6543
6544 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6545
6546         * src/hildon-code-dialog.c: Removing the separator from the dialog.
6547
6548 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
6549
6550         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6551         by splitting the installed headers in generated and non-generated groups. Use
6552         only the non-generated headers to create the hildon-enum-types.h file.
6553
6554         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6555
6556 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6557
6558         * src/hildon-window.c: Hide the window before performing the destroy.
6559         Should make the app closing a little tiny bit more snappy.
6560
6561 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
6562
6563         * src/hildon-seekbar.c: add gtkrange.h header
6564         * src/hildon-caption.c: remove unused variable
6565
6566 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
6567
6568         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6569         Loic Minier.
6570
6571 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6572
6573         [1.0.9-1 release]
6574
6575         * NEWS:
6576         * configure.ac:
6577         * debian/changelog: Updating.
6578
6579 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
6580
6581         * src/hildon-window.c (hildon_window_window_state_event,
6582         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6583         escape timeout on focus-out-event rather than notify::is-topmost; the
6584         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6585
6586 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6587
6588         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6589         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6590
6591 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
6592
6593         * src/hildon-window: actually, you need to use the macro always, there's
6594         no private pointer in the instance structure. We should have cleaned this up
6595         when we had the chance...
6596
6597 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
6598
6599         * src/hildon-window.c: do not get the private date from HildonWindow before
6600         it passes the g_return_if_fail check. Once it's passed the test, there's no
6601         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6602         if you are only going to access the data once. Whitespace cleanups.
6603
6604 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
6605
6606         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6607         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6608
6609 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6610
6611         [1.0.8-1 release]
6612
6613         * NEWS:
6614         * configure.ac:
6615         * debian/changelog: Updating.
6616
6617 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6618
6619         * src/hildon-window.c: When destroying the window, remove (if exists) the
6620         escape timeout handler. Fixes #NB59276.
6621
6622 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6623
6624         * src/hildon-banner.c: When realizing the widget, set the window
6625         transiency. Setting the transiency in the gobject constructor is not
6626         good, as the widget is not realized at that point. Fixes: #NB56624.
6627
6628 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
6629
6630         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6631         Add padding for future expansions.
6632
6633 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
6634
6635         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6636         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6637         will fake an activation on the previous to the last item of the trail, so
6638         the effect can be overrided by the developer as usual.
6639         Also change the callback for the back button to do the same thing, so its
6640         effect can be overrided too. Fixes: NB#58982
6641
6642 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6643
6644         * src/hildon-caption.c: Implementing the proper focus grabbing in the
6645         HildonCaption. Fixes NB#52379.
6646
6647 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
6648
6649         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6650         the internal state of the trail after the user has had the chance of executing
6651         his handler for the signal. Specifically, it may happen that the activated button
6652         is removed and the user still lets the default handler run. This would segfault
6653         previously.
6654
6655 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6656
6657         * src/hildon-font-selection-dialog.c: When the font is really big, add the
6658         scrollbar to the preview dialog. Fixes NB#54147.
6659
6660 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6661
6662         * src/hildon-date-editor.c: Changing the default max year to 2037. The
6663         max/min year properties can be altered, so the client can modify it
6664         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6665
6666 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6667
6668         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6669         hildonlike by default. Fixing a problem with disappearing arrows when
6670         scrolling through months and years. Fixes NB#54127.
6671
6672 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6673
6674         * examples/hildon-date-editor-example.c: Adding error callback to the date
6675         editor example.
6676
6677 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6678
6679         [1.0.7-1 release]
6680
6681         * NEWS:
6682         * debian/changelog:
6683         * configure.ac: Updating.
6684
6685 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6686
6687         * configure.ac: Adding a special '--enable-xan' configure option that
6688         turns off the -Werror compilation setting. Usefull for development.
6689
6690         * src/hildon-calendar.c:
6691         * src/hildon-number-editor.c:
6692         * src/hildon-time-picker.c: Adding the 5* multiplier to
6693         gtk-timeout-update.
6694
6695 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
6696
6697         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6698         instead of g_object_ref + gtk_object_sink.
6699
6700 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6701
6702         [1.0.6-1 release]
6703
6704         * NEWS:
6705         * configure.ac:
6706         * debian/changelog: Updating.
6707
6708 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6709
6710         * src/hildon-color-chooser-dialog.c:
6711         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6712         straight from Tommi labs.
6713
6714 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6715
6716         * examples/hildon-finger-example.c: Correcting the header file path.
6717
6718         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6719         the changed signal. Fixes a small memory leak.
6720
6721 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6722
6723         * autogen.sh:
6724         * debian/rules:
6725         * src/hildon-banner.c: Importing several usefull fixes from the
6726         ubuntu-mobile branch.
6727
6728 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6729
6730         * examples/Makefile.am:
6731         * examples/hildon-finger-example.c: Adding a finger-checking code
6732         example.
6733
6734         * src/hildon-font-selection-dialog.c: Do not allocate the color
6735         structure using the g_new. Fixes NB#54061.
6736
6737 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6738
6739         * src/hildon-helper.c: Correcting tabs in file.
6740
6741 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
6742
6743         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6744         control the visibility of the children.
6745
6746         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6747
6748 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6749
6750         [1.0.5-1 release]
6751
6752         * NEWS:
6753         * configure.ac:
6754         * debian/changelog: Updating.
6755
6756 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
6757
6758         * src/hildon-bread-crumb-trail.c:
6759         (hildon_bread_crumb_trail_size_allocate):
6760
6761         Make the back button always a square.
6762
6763 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
6764
6765         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6766         from the .c file as it's a private file.
6767
6768 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6769
6770         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6771         uses slightly bigger height.
6772
6773         * src/hildon-font-selection-dialog.c: Adding some checks before
6774         freeing memory in the font selection dialog.
6775
6776 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6777
6778         * src/hildon-font-selection-dialog.c: Adding a small check when
6779         freeing memory.
6780
6781         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6782         buttons sensitivity on page switching.
6783
6784 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
6785
6786         * src/hildon-bread-crumb-trail.c: make the add method handle all the
6787         internal details of adding a bread crumb to the trail.
6788
6789 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6790
6791         [1.0.4-1 release]
6792
6793         * README:
6794         * configure.ac:
6795         * debian/changelog: Updating.
6796
6797         * src/hildon-bread-crumb-trail.h:
6798         * src/hildon-bread-crumb.h: Changing the API guard to
6799         HILDON_ENABLE_UNSTABLE_API.
6800
6801 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6802
6803         [1.0.3-1 release]
6804
6805         * NEWS:
6806         * configure.ac:
6807         * debian/changelog:
6808         * debian/rules:
6809         * src/hildon-helper.h: Updating.
6810
6811 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6812
6813         [1.0.2-1 release]
6814
6815         * NEWS:
6816         * configure.ac:
6817         * debian/changelog:
6818
6819 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6820
6821         * README:
6822         * configure.ac:
6823         * src/hildon-helper.h: Small fix to make the package actually compile.
6824
6825 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
6826
6827         * src/hildon-bread-crumb-trail.h:
6828         * src/hildon-bread-crumb.h:
6829
6830         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6831         to define ENABLE_UNSTABLE_API in the code that includes these headers.
6832
6833 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
6834
6835         * examples/hildon-bread-crumb-trail-example.c:
6836         * src/Makefile.am:
6837         * src/hildon-bread-crumb-trail.c:
6838         * src/hildon-bread-crumb-trail.h:
6839         * src/hildon-bread-crumb.c:
6840         * src/hildon-bread-crumb.h:
6841         * src/hildon-marshalers.list:
6842         * src/hildon-bread-crumb-widget.c:
6843         * src/hildon-bread-crumb-widget.h:
6844
6845         Slight change in the widget design. The bread crumb trail API is
6846         unchanged, but HildonBreadCrumb is now an interface. A *private*
6847         implementation, hildon-bread-crumb-widget, is provided and used
6848         internally by the trail for the push_text/push_icon functions.
6849
6850         The generic push API is still available, so anyone can implement
6851         and use its own bread crumb widget.
6852
6853 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6854
6855         * debian/rules: Fixing the shlibs.
6856
6857 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6858
6859         * src/hildon-banner.c: Fixing a problem with timed banners having
6860         their parrent destroyed before they are.
6861
6862 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
6863
6864         * src/hildon-bread-crumb.c:
6865         * src/hildon-bread-crumb.h:
6866
6867         Make the get_natural_size function a vfunc.
6868
6869 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6870
6871         * src/hildon-bread-crumb.c:
6872         * src/hildon-bread-crumb-trail.c:
6873
6874         Some cleanups.
6875
6876 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6877
6878         [1.0.1-1 release]
6879
6880         * AUTHORS:
6881         * NEWS:
6882         * configure.ac:
6883         * debian/changelog: Updating for release.
6884
6885 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6886
6887         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6888         don't leak the pango layout.
6889
6890 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6891
6892         * src/hildon.h:
6893         * examples/hildon-bread-crumb-trail-example.c:
6894
6895         Fix example.
6896
6897 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6898
6899         * debian/changelog: Removing the bug-fixed entries that were actually
6900         resolved as WONTFIX.
6901
6902         * src/hildon-date-editor.c: Removing a redundant check. Fixes
6903         NB#54182.
6904
6905 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6906
6907         * src/hildon-bread-crumb-trail.c:
6908         * src/hildon-bread-crumb-trail.h:
6909         * src/hildon-bread-crumb.c:
6910         * src/hildon-bread-crumb.h:
6911
6912         Untabify.
6913
6914 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6915
6916         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6917         until it's passed the type check.
6918
6919 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6920
6921         * examples/hildon-bread-crumb-trail-example.c
6922
6923         Add license.
6924
6925 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6926
6927         * examples/Makefile.am
6928         * examples/hildon-bread-crumb-trail-example.c
6929         * src/Makefile.am
6930         * src/hildon-bread-crumb-trail.c
6931         * src/hildon-bread-crumb-trail.h
6932         * src/hildon-bread-crumb.c
6933         * src/hildon-bread-crumb.h
6934
6935         New HildonBreadCrumbTrail widget.
6936
6937 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
6938
6939         * src/hildon-range-editor.c (hildon_range_editor_init),
6940         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6941         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6942         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6943         hildon_time_editor_class_init, hildon_time_editor_init),
6944         src/hildon-get-password-dialog.c (invalid_input,
6945         hildon_get_password_set_property, hildon_get_password_get_property,
6946         create_contents, hildon_get_password_dialog_set_max_characters),
6947         src/hildon-set-password-dialog.c (create_contents),
6948         src/hildon-date-editor.c (hildon_date_editor_init),
6949         src/hildon-login-dialog.c (hildon_login_dialog_init),
6950         src/hildon-number-editor.c (hildon_number_editor_init),
6951         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6952         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6953         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6954          configure option and adding the respective checks in the code.
6955         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6956         hildon_calendar_drag_data_received): fixed some build warnings.
6957
6958 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6959
6960         * debian/changelog: A 1.0.0 release notes.
6961