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