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