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