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