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