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