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