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