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