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