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