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