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