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