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