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