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