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