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