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