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