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