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