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