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