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