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