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