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