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