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