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