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