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