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