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