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