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