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