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