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