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