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