Document hildon_color_chooser_new()
[hildon] / ChangeLog
1 2009-06-17  Alberto Garcia  <agarcia@igalia.com>
2
3         * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
4         Document this function
5
6 2009-06-17  David King  <davidk@openismus.com>
7
8         * hildon/hildon-date-selector.c
9         (hildon_date_selector_select_current_date)
10         (hildon_date_selector_get_date): Update documentation regarding days,
11         as the day of the month is dependent on both the month and the year.
12         (hildon_date_selector_get_date): Fix documentation of output arguments.
13
14         Fixes: MB#4698 (DateSelector documentation has bad output argument
15         description, and the day depends on both the month and the year)
16
17 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
18
19         * hildon/hildon-caption.c: Other documentation fixes to
20         HildonCaption.
21
22 2009-06-17  David King  <davidk@openismus.com>
23
24         * hildon/hildon-caption.c: Minor documentation updates for
25         HildonCaption. Fixes MB#4697.
26
27 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
28
29         * doc/hildon-docs.sgml: Add hildon-version section.
30         * doc/hildon-sections.txt:
31         * hildon/hildon-version.h.in: Document versioning macros and
32         add HILDON_VERSION.
33
34 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
35
36         * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
37         from HildonPickerDialog section.
38
39 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
40
41         * hildon/hildon-banner.c (hildon_banner_bind_style)
42         (screen_size_changed, hildon_banner_init)
43         (hildon_banner_real_show_information)
44         (hildon_banner_show_information_with_markup)
45         (hildon_banner_show_animation, hildon_banner_show_progress):
46         Set a different widget name to banners in portrait mode, for them
47         to be themed correctly.
48
49 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
50
51         * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
52         Set a different widget name to notes in portrait mode, for them to
53         be themed correctly.
54
55         Partially fixes: NB#118401 (HildonNote causes unnecessary
56         rescaling of images)
57
58 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
59
60         * hildon/hildon-note.c (hildon_note_class_init)
61         (+hildon_note_size_request, screen_size_changed):
62         Always request the full width of the screen.
63
64         Fixes: NB#118375 (unnecessary rescaling of images)
65
66 2009-06-16  Alejandro G. Castro  <alex@igalia.com>
67
68         * hildon/hildon-pannable-area.c,
69         (hildon_pannable_area_init),
70         (hildon_pannable_area_realize): Replaced old code adding flags in
71         the object init, now we add it with the other flags in the realize
72         method.
73
74 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
75
76         * hildon/hildon-note.c: (hildon_note_class_init): Several
77         documentation improvements to the HildonNote widget.
78
79 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
80
81         * hildon/hildon-note.h: Document the HildonNoteType enumeration.
82
83         Fixes: MB#4556 (HildonNoteType is undocumented)
84
85 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
86
87         * hildon/hildon-picker-button.c:
88         Explain how HildonPickerButton sets the title of its dialog
89
90         Fixes: MB#4528 (HildonPickerButton docs should mention how to set
91         the title of its dialog)
92
93 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
94
95         * hildon/hildon-check-button.c:
96         Documentation updates
97
98         Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
99         exists)
100
101 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
102
103         * hildon/Makefile.am
104         * hildon/hildon-edit-toolbar-private.h
105         * hildon/hildon-edit-toolbar.c
106         (+hildon_edit_toolbar_set_progress_indicator)
107         (hildon_edit_toolbar_init): Add progress indicator to the
108         toolbar.
109
110         * hildon/hildon-gtk.c
111         (hildon_gtk_window_set_progress_indicator):
112         If the window contains a HildonEditToolbar, enable the progress
113         indicator there too.
114
115         * hildon/hildon-private.h
116         * hildon/hildon-private.c
117         (+hildon_private_create_animation)
118         * hildon/hildon-banner.c
119         (-hildon_banner_create_animation):
120         Moved to hildon-private.c
121
122         Fixes: NB#102373 (Progress indicator also for the Edit mode
123         toolbar)
124
125 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
126
127         * hildon/hildon-app-menu-private.h
128         * hildon/hildon-app-menu.c (hildon_app_menu_insert)
129         (hildon_app_menu_add_filter, +menu_item_button_event)
130         (hildon_app_menu_button_release, hildon_app_menu_init):
131         Make sure that buttons receive 'button-release-event' in spite of
132         the grab held by HildonAppMenu
133
134         Fixes: NB#108337 (Focus mismatch in items of AppMenu)
135
136 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
137
138         * hildon/hildon-app-menu.c
139         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
140         New style property to set the size of the group of filter buttons.
141
142         Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
143
144 2009-06-15  Claudio Saavedra  <csaavedra@igalia.com>
145
146         [Release 2.1.82]
147
148         * NEWS: Updates.
149         * configure.ac: Bump version.
150         * debian/changelog: Updates.
151
152 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
153
154         * hildon/hildon-main.c: Minor documentation fixes.
155
156 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
157
158         * doc/hildon-sections.txt:
159         * hildon/hildon-defines.h: Document the defines, organize them,
160         and mark deprecations as such.
161
162         Fixes: MB#4463 (Hildon size #defines are undocumented)
163
164 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
165
166         * hildon/hildon-animation-actor.c:
167         * hildon/hildon-app-menu.c:
168         * hildon/hildon-button.c:
169         * hildon/hildon-date-editor.c:
170         * hildon/hildon-dialog.c:
171         * hildon/hildon-edit-toolbar.c:
172         * hildon/hildon-entry.c:
173         * hildon/hildon-program.c:
174         * hildon/hildon-remote-texture.c:
175         * hildon/hildon-stackable-window.c:
176         * hildon/hildon-text-view.c:
177         * hildon/hildon-touch-selector.c:
178         * hildon/hildon-window-stack.c:
179         * hildon/hildon-window.c:
180
181         Remove redundant "represents" wording from most of the documentation.
182
183         Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
184
185 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
186
187         * po/POTFILES.in
188         * doc/Makefile.am
189         * hildon/Makefile.am
190         * hildon/hildon-banner-private.h
191         * hildon/hildon-banner.c:
192         Move HildonBannerPrivate to hildon-banner.c and remove
193         hildon-banner-private.h
194         Use a bit field to store private booleans.
195
196 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
197
198         * hildon/hildon-app-menu.c (hildon_app_menu_map):
199         Don't install a new idle function if there's already one
200         installed.
201
202         Fixes: NB#122254
203
204 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
205
206         * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
207         (+legacy_menu_realized, +legacy_menu_unmapped)
208         (+set_legacy_menu_type):
209         Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
210         they can be identified by the window manager.
211
212         Fixes: NB#101437 (Invoking CSM on the left side of page area is
213         displayed in wrong location)
214
215         Fixes: MB#4563 (Popup menu won't locate at the left side of the
216         screen)
217
218 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
219
220         Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
221
222         Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
223         use gtk-doc support)
224
225 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
226
227         * hildon/hildon-code-dialog.c
228         * hildon/hildon-date-editor.c
229         * hildon/hildon-number-editor.c
230         * hildon/hildon-seekbar.c
231         * hildon/hildon-stackable-window.c
232         * hildon/hildon-window.c:
233         Misc documentation updates
234
235 2009-06-10  Claudio Saavedra  <csaavedra@igalia.com>
236
237         * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
238         a G_PARAM_CONSTRUCT property, to allow the default size to be set.
239
240         Fixes: NB#117931 (Theming issues in accounts dialogs)
241
242 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
243
244         * hildon/hildon-pannable-area.c,
245         (hildon_pannable_area_button_release_cb): Changed the coordinates
246         of the original release in case we want to discard the release,
247         some widgets in Fremantle do not handle the leave-notify.
248
249 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
250
251         * hildon/hildon-pannable-area.c,
252         (hildon_pannable_area_button_release_cb): Reviewed the logic of
253         the release using the last refactored functions and avoiding the
254         movement if an element was selected.
255
256 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
257
258         * hildon/hildon-pannable-area.c,
259         (hildon_pannable_area_check_move),
260         (hildon_pannable_area_handle_move),
261         (hildon_pannable_area_motion_notify_cb): Refactored the
262         motion_notify method using a couple of new functions.
263
264 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
265
266         * hildon/hildon-date-selector.c:
267         (hildon_date_selector_construct_ui):
268         * hildon/hildon-time-selector.c:
269         (hildon_time_selector_constructor):
270         * hildon/hildon-touch-selector-entry.c:
271         (hildon_touch_selector_entry_set_text_column),
272         (hildon_touch_selector_entry_get_text_column):
273         * hildon/hildon-touch-selector.c: (_default_print_func),
274         (hildon_touch_selector_new_text): Use
275         hildon_touch_selector_set/get_text_column() instead of
276         setting/getting the "text-column" property.
277
278 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
279
280         * doc/hildon-sections.txt: Add the new public methods below.
281
282         * examples/hildon-picker-button-multicolumn-example.c:
283         (create_touch_selector):
284         * examples/hildon-touch-selector-example.c: (create_selector):
285         * examples/hildon-touch-selector-multi-cells-example.c:
286         (create_selector):
287         Use hildon_touch_selector_column_set_text_column()
288
289         * hildon/hildon-touch-selector-column.h:
290         * hildon/hildon-touch-selector.c:
291         (hildon_touch_selector_column_set_text_column),
292         (hildon_touch_selector_column_get_text_column):
293         Make hildon_touch_selector_column_set/get_column() public, use
294         them in the inline example, document them, and reference to them
295         in the docs.
296
297 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
298
299         * hildon/hildon-time-selector.c: Fix the docs for
300         hildon_time_selector_new_step().
301
302 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
303
304         * hildon/hildon-touch-selector.c: Improve the documentation for
305         hildon_touch_selector_append_column().
306
307         Fixes MB#4641 (Documentation:
308         hildon_touch_selector_append_column() ref-counting)
309
310 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
311
312         * tests/check-hildon-controlbar.c: (test_set_range_invalid):
313         Comment out test 5, since the hildon_controlbar_set_range() range
314         check is broken and fixing it would have side effects. Also,
315         this finally fixes make distcheck.
316
317         Fixes: NB#101420 (Update unit tests and fix make distcheck)
318
319 2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
320
321         * tests/TEST-CASES.txt: Remove other bogus test.
322         * tests/check-hildon-controlbar.c: (test_set_value_invalid):
323         Remove bogus test that was setting/retrieving a valid value.
324
325 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
326
327         * tests/TEST-CASES.txt: Remove bogus tests.
328         * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
329         Remove three bogus tests that were actually setting valid colors.
330
331 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
332
333         * configure.ac: post release version bump
334         * debian/changelog: post release version bump
335
336 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
337
338         [Release 2.1.80]
339
340         * NEWS: Updates.
341         * configure.ac: Bump version.
342         * debian/changelog: Updates.
343
344 2009-06-08  Christian Dywan  <christian@lanedo.com>
345
346         * debian/changelog:
347         * debian/control:
348         * hildon/hildon-helper.c (hildon_format_file_size_for_display):
349         Correct errors in hildon_format_file-size_for_display and use
350         translations from the hildon-fm package instead of osso-filemanager.
351
352 2009-06-08  Alejandro G. Castro  <alex@igalia.com>
353
354         * hildon/hildon-pannable-area.c,
355         (hildon_pannable_area_init): Initialized new values to handle the
356         adjustment position.
357         (hildon_pannable_area_adjust_value_changed): Check if the values
358         changed before even call the redraw function.
359         (hildon_pannable_area_size_allocate),
360         (hildon_pannable_axis_scroll),
361         (hildon_pannable_area_scroll),
362         (hildon_pannable_area_jump_to): Improved the diagonal movement
363         case.
364
365         Fixes: NB#113065 (Image viewer image scrolling updates in X, then
366         Y)
367
368 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
369
370         * examples/hildon-banner-example.c:
371         Several style updates
372         (on_animation_clicked, on_animation_idle)
373         (on_progress_clicked, on_progress_idle):
374         Add additional reference for the cases when the parent window is
375         destroyed.
376
377 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
378
379         * doc/hildon-sections.txt
380         * hildon/hildon-pannable-area.c
381         * hildon/hildon-banner.h
382         * hildon/hildon-banner.c: Documentation updates.
383
384         Fixes: MB#4643 (Documentation: hildon_banner_show_information()
385         memory management)
386
387 2009-06-05  Alejandro G. Castro  <alex@igalia.com>
388
389         * hildon/hildon-calendar-popup.h:
390         * hildon/hildon-caption.h:
391         * hildon/hildon-code-dialog.h:
392         * hildon/hildon-controlbar.h:
393         * hildon/hildon-date-editor.h:
394         * hildon/hildon-dialog.h:
395         * hildon/hildon-get-password-dialog.h:
396         * hildon/hildon-hvolumebar.h:
397         * hildon/hildon-login-dialog.h:
398         * hildon/hildon-note.h:
399         * hildon/hildon-number-editor.h:
400         * hildon/hildon-range-editor.h:
401         * hildon/hildon-seekbar.h:
402         * hildon/hildon-set-password-dialog.h:
403         * hildon/hildon-sort-dialog.h:
404         * hildon/hildon-time-editor.h:
405         * hildon/hildon-time-picker.h:
406         * hildon/hildon-volumebar-range.h:
407         * hildon/hildon-volumebar.h:
408         * hildon/hildon-vvolumebar.h:
409         * hildon/hildon-weekday-picker.h:
410         * hildon/hildon-window.h:
411         * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
412         macros with the current replacements
413
414         Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
415
416 2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
417
418         * hildon/hildon-color-button.c (hildon_color_button_init): Use
419         HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
420         itself, to make it fit better with Fremantle style.
421
422         Fixes: NB#109878 (height and width of focus on color icon is not
423         consistent with other item in the application tool bar)
424
425 2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
426
427         * hildon/hildon-touch-selector.c:
428         (hildon_touch_selector_optimal_size_request): use the current requisition
429         as the base, in order to include any possible extra widget, like the
430         hildon entry on HildonTouchSelectorEntry
431
432         Fixes: NB#119805 (Merge conflict picker dialogs are too small)
433
434 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
435
436         * configure.ac: post release version bump
437         * debian/changelog: post release version bump
438
439 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
440
441         [Release 2.1.78]
442
443         * NEWS: Updates.
444         * configure.ac: Bump version.
445         * debian/changelog: Updates.
446
447 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
448
449         * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
450         structure.
451         * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
452         to ensure the banner contents are centered, instead of relying on
453         the expand and fill properties in GtkHBox.
454         (hildon_banner_ensure_child): Do not expand nor fill the child widget.
455
456         Fixes: NB#108265 (Animation banner not properly centered)
457
458 2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
459
460         * hildon/hildon-pannable-area.c
461         (hildon_pannable_area_initial_effect): Remove the initial_effect
462         management, check initial_hint
463         (hildon_pannable_are_expose_event): Remove the initial_hint management,
464         set initial_effect to FALSE
465         (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
466         by launching the fade_timeout if the scrollbars state has changed and are
467         visible
468         * examples/hildon-pannable-area-initial-hint-example.c
469         Modified to allow to remove rows too. Add and remove rows one by one.
470
471 2009-05-28  Alberto Garcia  <agarcia@igalia.com>
472
473         * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
474         Don't close the menu if there's an animation actor below it.
475
476         Fixes: NB#117927 (Application menu not usable with animation
477         actors)
478
479 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
480
481         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
482         "focus-on-click" from the dialog button, to avoid stealing the
483         focus from the entry.
484
485         Fixes: NB#118903 (Account setup wizard: Text in Search field
486         should be focused when "Region" touch list picker is reopened
487         again)
488
489 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
490
491         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
492         (prepare_action_area): Completely hide the dialog separator.
493
494 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
495
496         * hildon/hildon-touch-selector-entry.c
497         (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
498         (hildon_touch_selector_entry_changed): Use HildonEntry text API,
499         now that the entry is exposed.
500
501 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
502
503         * hildon/hildon-touch-selector-entry.c
504         (hildon_touch_selector_entry_init): Change the entry's size
505         to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
506
507 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
508
509         * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
510         height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
511         avoid unnecessary scaling.
512
513 2009-05-27  Alberto Garcia  <agarcia@igalia.com>
514
515         * hildon/hildon-app-menu.c (hildon_app_menu_map):
516         Create grab transfer window before calling parent's map function.
517
518         Fixes: NB#115988 (hildon_app_menu_popup creates menu with
519         "crushed" button(s) in the top left corner)
520
521 2009-05-26  Alberto Garcia  <agarcia@igalia.com>
522
523         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
524         Check if the window is already realized when pushing it.
525
526 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
527
528         * configure.ac: post release version bump
529         * debian/changelog: post release version bump
530
531 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
532
533         [Release 2.1.76]
534
535         * NEWS: Updates.
536         * configure.ac: Bump version.
537         * debian/changelog: Updates.
538
539 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
540
541         * hildon/hildon-app-menu.c: Doc updates.
542
543 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
544
545         * hildon/hildon-banner.c: Remove leftover macro.
546
547 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
548
549         * hildon/hildon-pannable-area.c,
550         (hildon_pannable_area_scroll_indicator_fade),
551         (hildon_pannable_area_button_release_cb): Reviewed vmin
552         conditions, it could cause problems in the fadeout procedure.
553
554 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
555
556         * hildon/hildon-pannable-area.c
557         (hildon_pannable_area_button_release_cb): Added a threshold to
558         push the animation if the speed is big (MAX_SPEED_THRESHOLD).
559
560 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
561
562         * hildon/hildon-pannable-area.c,
563         (hildon_pannable_area_set_property): Added code to sync the gtk
564         dnd threshold with the panning threshold.
565
566 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
567
568         * hildon/hildon-pannable-area.c,
569         (hildon_pannable_area_class_init): Changed some of the default
570         values, now it should be less responsive and more accurate.
571
572 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
573
574         * hildon/hildon-pannable-area.c,
575         (hildon_pannable_area_init),
576         (hildon_pannable_area_scroll_indicator_fade),
577         (hildon_pannable_area_button_press_cb),
578         (hildon_pannable_axis_scroll),
579         (hildon_pannable_area_timeout),
580         (hildon_pannable_area_motion_notify_cb),
581         (hildon_pannable_area_button_release_cb): Changed the name of the
582         clicked attribute to button_pressed, it is more clear about its use.
583
584 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
585
586         * src/hildon-pannable-area.c
587         (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
588         to 0
589         (hildon_pannable_area_initial_effect): avoid to compute horizontal and
590         vertical scrollbar visibility, and use the data on private section instead,
591         remove the initial_hint check
592         (hildon_pannable_area_expose_event): add the initial_hint check here
593
594 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
595
596         * src/hildon-pannable-area.c
597         (hildon_pannable_area_initial_effect): set to FALSE initial_effect
598         if the fadeout effect was used
599         (hildon_pannable_area_expose_event): check if it is required to
600         manage the initial effect on the begining of the function. Previously
601         it was made at the end, but this doesn't ensure that the scrollbars
602         will be painted on the first show. Do not set to FALSE initial_effect,
603         to ensure that the initial hint is showed the first time the pannable
604         becomes scrollable.
605         * examples/Makefile.am
606         * examples/hildon-pannable-area-initial-hint-example.c:
607         New example, to show that the initial-hint is showed when the widget
608         becomes scrollable
609
610         Fixes: NB#116607 (Pannable area should always have scrollbar visible
611         initially if the application can be scrolled)
612
613 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
614
615         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
616         Resize table before adding new items to make sure that
617         gtk_table_resize() is called just once.
618
619 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
620
621         * hildon/hildon-app-menu-private.h
622         * hildon/hildon-app-menu.c (item_visibility_changed)
623         (filter_visibility_changed, hildon_app_menu_show_all)
624         (hildon_app_menu_hide_all, hildon_app_menu_init):
625         Rearrange items just once when gtk_widget_show_all()/hide_all()
626         are used.
627
628 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
629
630         * hildon/hildon-app-menu.c
631         (hildon_app_menu_insert, hildon_app_menu_add_filter):
632         Don't call gtk_widget_show() on added items.
633
634         Fixes: NB#109063 (HildonAppMenu shouldn't show its items
635         automatically when they're added)
636
637 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
638
639         * hildon/hildon-banner.c
640         (hildon_banner_realize, +hildon_banner_unrealize)
641         (+screen_size_changed, hildon_banner_class_init):
642         Redisplay the banner if the screen is rotated.
643
644         Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
645         on transition from landscape to portrait)
646
647 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
648
649         * hildon/hildon-banner.[ch]:
650         (hildon_banner_show_information_override_dnd): remove icon_name from the
651         method definition as it is ignored.
652         * examples/hildon-banner-dnd-example.c: updated with the change on
653         hildon-banner.h API
654
655 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
656
657         * hildon/hildon-banner-private.h: new require_override_dnd and
658         overrides_dnd variables
659         * hildon/hildon-banner.h:
660         (hildon_banner_show_information_override_dnd): new method, that shows
661         the information but sets the override flag, in order to show important
662         messages
663         * hildon/hildon-banner.c
664         (hildon_banner_show_information_override_dnd): new method
665         (hildon_banner_set_override_flag): new utility function
666         (hildon_banner_real_show_information): new utility function, in order to
667         generalize the current hildon_banner_show_information_override_dnd and
668         hildon_banner_show_information_override_dnd
669         * examples/Makefile.am
670         * examples/hildon-banner-dnd-example.c: New example that show how to
671         use the new hildon_banner_show_information_override_dnd
672
673         Fixes: NB#114874 (There is no possibility to show hildon banners with
674         DND flag set)
675
676 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
677
678         * hildon/hildon-pannable-area.c: Add a comment explaining the math
679         behind hildon_pannable_calculate_vel_factor().
680
681 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
682
683         * hildon/hildon-pannable-area.c
684         (hildon_pannable_calculate_vel_factor): Correct the sum of the
685         deceleration factors.
686
687 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
688
689         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
690         Reduce the default value for 'scroll_time' to 1 second, since the
691         current initial scrolling takes too much time.
692
693 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
694
695         * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
696         calculate velocity factor during initialization, since the properties
697         are not yet set.
698
699 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
700
701         * hildon/hildon-pannable-area.c
702         (hildon_pannable_area_set_property): Calculate the velocity factor
703         after setting the deceleration property and not after.
704
705 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
706
707         * hildon/hildon-entry.c
708         (hildon_entry_class_init, +set_property, hildon_entry_new)
709         * hildon/hildon-check-button.c
710         (hildon_check_button_class_init)
711         (+set_property, hildon_check_button_new):
712         Make the theme size a property.
713
714         Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
715         others) do too much in the _new function)
716
717 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
718
719         * configure.ac: post release version bump
720         * debian/changelog: post release version bump
721
722 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
723
724         [Release 2.1.74]
725
726         * NEWS: Updates.
727         * configure.ac: Bump version.
728         * debian/changelog: Updates.
729
730 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
731
732         * hildon/hildon-gtk.h
733         * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
734         New API function to take a screenshot of a window
735
736         Fixes: NB#106374 (Need API to take a loading screenshot)
737
738 2009-05-15  Alejandro Pinheiro  <apinheiro@igalia.com>
739
740         * hildon/hildon-time-selector.c
741         (update_format_policy): prevent to use hours and minutes unitialized
742
743 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
744
745         * hildon/hildon-window.c (hildon_window_size_request):
746         Always request the full size of the screen (minus the title bar if
747         not in fullscreen mode).
748
749         Fixes: NB#107486 (HildonWindow should size itself properly)
750
751 2009-05-14  Claudio Saavedra  <csaavedra@igalia.com>
752
753         * hildon/hildon-note-private.h: Add idle_handler to the private data.
754         * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
755         (on_show_cb), (sound_handling): Disconnect the idle handler for
756         the sound when the note is finalized to avoid possible crashes.
757
758         Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
759         in a scenario)
760
761 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
762
763         * src/hildon-animation-actor.c,
764         * src/hildon-remote-texture.c:
765         Added proper object cleanup to remove signal handler and object
766         references as HildonAnimationActor and HildonRemoteTexture
767         objects get destroyed.
768
769         Fixes: NB#116682 (Destroying parented animation actors when
770         parent in unmapped leads to crash)
771
772 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
773
774         Based on a patch by Christian Dywan (christian@imendio.com)
775
776         * doc/hildon-sections.txt:
777         * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
778         * hildon/hildon-helper.h: New file size formatting method.
779         * debian/changelog:
780         * debian/control: Depend on osso-filemanager l10n package for
781         proper localization strings.
782
783 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
784
785         * tests/Makefile.am: Include top_srcdir to make possible to build
786         tests in a different builddir.
787         * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
788         on a different builddir.
789
790 2009-05-12  Claudio Saavedra  <csaavedra@igalia.com>
791
792         * hildon/hildon-touch-selector.c (disconnect_model_handlers),
793         (hildon_touch_selector_remove): Disconnect model's signal handler
794         on column removal.
795
796         Fixes: NB#116289 (Hildon home crashes while adding task
797         shortcuts.)
798
799 2009-05-11  Alberto Garcia  <agarcia@igalia.com>
800
801         * hildon/hildon-button.c
802         (hildon_button_set_title, hildon_button_set_value):
803         Hide labels containing an empty string.
804
805 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
806
807         * configure.ac: post release version bump
808         * debian/changelog: post release version bump
809
810 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
811
812         [Release 2.1.72]
813
814         * NEWS: Updates.
815         * configure.ac: Bump version.
816         * debian/changelog: Updates.
817
818 2009-05-08  Alejandro Pinheiro <apinheiro@igalia.com>
819
820         * hildon/hildon-note-private.h: Removed sound_signal_handler
821         * hildon/hildon-note.c
822         (on_show_cb): new callback on note "show" event, this simply adds
823         a idle, with the function sound_handling
824         (sound_handling): removed the sound_signal_handler management
825         (hildon_note_init): connect note "show" event to on_show_cb
826         (hildon_note_realize): remove the connection to "expose-event"
827
828         Fixes: NB#115242 (Sound is not played every time for the 'Switch off
829         device?' confirmation note)
830
831 2009-05-08  Alberto Garcia  <agarcia@igalia.com>
832
833         * hildon/hildon-note.c
834         (hildon_note_new_information_with_icon_name)
835         (hildon_note_new_confirmation_with_icon_name):
836         Terminate the list of parameters in g_object_set() calls
837
838         Fixes: NB#115166 (Formatting memory card is not taking place)
839
840 2009-05-08  Claudio Saavedra  <csaavedra@igalia.com>
841
842         * hildon/hildon-sound.c (hildon_play_system_sound): Set the
843         "dialog-information" role for the sound being played.
844
845 2009-05-06  Alberto Garcia  <agarcia@igalia.com>
846
847         * hildon/hildon-app-menu.c (hildon_app_menu_init):
848         Don't make the menu a modal window, it causes strange interactions
849         with the pointer grab and it's not really needed.
850
851         Fixes: NB#105529 (Empty App menu is launched in a scenario.)
852
853 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
854
855         * hildon/hildon-touch-selector.[ch]
856         (hildon_touch_selector_optimal_size_request): function added to get a
857         optimal size request from the touch selector, when you want a dialog to
858         show as much of the selector
859         * hildon/hildon-picker-dialog.c:
860         Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
861         (hildon_app_menu_class_init):
862         New "max-height-landscape" and "max-height-portrait" style properties
863         (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
864         (hildon_picker_dialog_get_max_height): returns the maximum height using
865         the style properties defined and checking the current portrait/landscape
866         status
867         (_hildon_picker_dialog_set_selector): removed the set_size_request
868
869         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
870
871 2009-05-06  Claudio Saavedra  <csaavedra@igalia.com>
872
873         * hildon/hildon-bread-crumb-trail.c:
874         * hildon/hildon-bread-crumb.c:
875         * hildon/hildon-seekbar.c:
876         Add reference to replacements for these deprecated widgets.
877
878         Fixes: MB#4461 (Documentation: All deprecations should mention
879         replacements)
880
881 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
882
883         * examples/hildon-remote-texture-example.c
884
885         Change the include to the hildon-remote-texture in order to compile
886         properly the examples on the installed libhildon1-examples package
887
888 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
889
890         * tests/Makefile.am: Add check for HildonPickerButton.
891         * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
892         (START_TEST), (create_hildon_picker_button_suite): Add three simple
893         checks for the HildonPickerButton.
894         * tests/check_test.c (configure_tests): Add the test suite.
895         * tests/test_suites.h: likewise.
896
897 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
898
899         * hildon/hildon-touch-selector.c
900         (+on_row_changed): Emit HildonTouchSelector:changed when the
901         contents of a selected row change.
902         (_create_new_column), (_hildon_touch_selector_set_model): connect
903         to GtkTreeModel:row-changed on a newly set model.
904
905         Fixes: NB#114253 (HildonPickerButton not refreshing its value)
906
907 2009-05-05  Alberto Garcia  <agarcia@igalia.com>
908
909         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
910
911         * hildon/hildon-banner.c (hildon_banner_destroy)
912         (hildon_banner_show_progress, hildon_banner_set_fraction):
913         Remove the progress bar from HildonBanner and use a progress
914         indicator instead.
915
916         Fixes: NB#113761 (Update progress banner to use progress
917         indicator)
918
919 2009-05-04  Alberto Garcia  <agarcia@igalia.com>
920
921         * hildon/hildon-banner.c:
922         Calculate size of the banner label using the actual screen width
923         rather than using a fixed value.
924
925         Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
926         is truncated)
927
928 2009-05-04  Alejandro G. Castro  <alex@igalia.com>
929
930         * hildon/hildon-pannable-area.c,
931         (hildon_pannable_area_class_init): Fixed signals documentation
932         typo.
933
934 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
935
936         * configure.ac: post release version bump
937         * debian/changelog: post release version bump
938
939 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
940
941         [Release 2.1.70]
942
943         * NEWS: Updates.
944         * configure.ac: Bump version.
945         * debian/changelog: Updates.
946
947 2009-05-01  Alberto Garcia  <agarcia@igalia.com>
948
949         * hildon/hildon-edit-toolbar.c
950         (hildon_edit_toolbar_init):
951         Don't let buttons in HildonEditToolbar receive focus.
952
953         Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
954         typing on an HW arrows key)
955
956 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
957
958         * doc/Makefile.am: Fix build.
959
960 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
961
962         * doc/Makefile.am: Do not redefine content_files.
963
964 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
965
966         * src/
967         * Makefile.am
968         * configure.ac
969         * doc/Makefile.am
970         * doc/hildon.types
971         * po/POTFILES.in:
972         Renamed src/ to hildon/
973
974         * examples/*.c
975         * debian/changelog
976         * debian/rules:
977         Include <hildon/hildon.h> directly in all examples.
978
979 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
980
981         * src/hildon-sort-dialog.c
982         (hildon_sort_dialog_add_sort_key_with_sorting)
983         (sort_key_changed)
984         Add safety checks
985
986 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
987
988         * src/Makefile.am: Move generated sources to CLEANFILES, so that
989         make distcheck passes.
990
991 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
992
993         * Makefile.am: Enable gtk-doc during distcheck.
994
995 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
996
997         * Makefile.am: Do not distribute the debian/ directory.
998
999 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1000
1001         * doc/Makefile.am: Add the extra SGML files to content_files,
1002         so that they are distributed properly.
1003
1004 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1005
1006         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1007         to the SOURCES.
1008
1009 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1010
1011         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1012         (hildon_note_new_information_with_icon_name): Set the "icon" property
1013         to preserve soundness.
1014
1015 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1016
1017         * src/hildon-font-selection-dialog.c
1018         (hildon_font_selection_dialog_set_property): Fail when the "family"
1019         property is set to NULL.
1020
1021 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
1022
1023         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1024         safety checks.
1025
1026 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1027
1028         * src/hildon-time-selector.h:
1029         Added HildonTimeSelectorFormatPolicy
1030         * src/hildon-time-selector.c:
1031         Added PROP_TIME_FORMAT_POLICY
1032         (_check_ampm_format): renamed to check_automatic_ampm_format
1033         (update_format_policy), (update_format_dependant_columns): new functions
1034         (hildon_time_selector_class_init)
1035         (hildon_time_selector_contructor)
1036         (hildon_time_selector_init)
1037         (hildon_time_selector_get_property)
1038         (hildon_time_selector_set_property)
1039         (hildon_time_selector_get_time)
1040         (hildon_time_selector_set_time)
1041         * src/hildon-touch-selector.h: new file
1042         * src/hildon-touch-selector.c
1043         (hildon_touch_selector_emit_changed)
1044         (hildon_touch_selector_block_changed)
1045         (hildon_touch_selector_unblock_changed)
1046         Added functions to allow to block the emission of the "changed" signal
1047         * src/hildon-picker-dialog.c
1048         (hildon_picker_dialog_show): call the parent show before the custom code
1049         * examples/hildon-time-button-example.c
1050         Modified, so now you can configure the time format using the new property
1051
1052         Added a new property "time-format-policy" that allow to choose the time
1053         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1054         case it uses gconf in order to check if the time selector must use
1055         AM/PM or 24H.
1056
1057         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1058         mode)
1059
1060 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
1061
1062         * src/hildon-note.c (hildon_note_init):
1063         Label in HildonNote must be left aligned, not centered. This
1064         reverts the last commit in HildonNote.
1065
1066         Fixes: NB#112933 (text is not left aligned in confirmation dialog
1067         is connectivity dialog)
1068
1069 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1070
1071         * src/hildon-gtk.c:
1072         Minor style fixes
1073
1074         * doc/hildon-sections.txt:
1075         Added hildon_gtk_window_set_do_not_disturb()
1076
1077 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1078
1079         * src/hildon-note.c (hildon_note_init): Center label.
1080
1081         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1082         properly)
1083
1084 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
1085
1086         [Release 2.1.68]
1087
1088         * NEWS: Updates.
1089         * configure.ac: Bump version.
1090         * debian/changelog: Updates.
1091
1092 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1093
1094         * src/hildon-note-private.h: Add button-width to the private data.
1095         * src/hildon-note.c (+resize_button),
1096         (+hildon_note_orientation_update): methods to repack widgets on orientation
1097         changes.
1098         (screen_size_changed): Call above method for confirmation notes.
1099         (hildon_note_realize): Always connect to the "screen-size" changed signal.
1100         (hildon_note_rebuild): Store the original width request from buttons.
1101
1102         Fixes: NB#109635 (Confirmation notes do not support portrait)
1103
1104 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1105
1106         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1107         when it is a progress note.
1108
1109 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1110
1111         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1112         in the note, since there are no horizontally arranged contents.
1113
1114 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1115
1116         * src/hildon-gtk.c (+set_flag): new generic method to
1117         set/delay a flag setting in a window.
1118         (hildon_gtk_window_set_progress_indicator):
1119         (hildon_gtk_window_set_do_not_disturb),
1120         (hildon_gtk_window_set_portrait_flags): use set_flag() to
1121         avoid code redundance.
1122
1123 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1124
1125         Based on a patch by Alberto Garcia (agarcia@igalia.com)
1126
1127         * src/hildon-gtk.c (set_clear_window_flag),
1128         (do_set_progress_indicator), (do_set_do_not_disturb),
1129         (do_set_portrait_flags),
1130         (hildon_gtk_window_set_progress_indicator),
1131         (hildon_gtk_window_set_do_not_disturb),
1132         (hildon_gtk_window_set_portrait_flags):
1133         Allow setting dnd-flag, progress indicator, and portrait flags
1134         when the window is not realized.
1135
1136 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
1137
1138         * src/hildon-pannable-area.c,
1139         * src/hildon-pannable-area.h: Add the hildon deprecated define to
1140         the size request policy function and defines.
1141
1142 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1143
1144         * doc/hildon-sections.txt: Add the new API.
1145         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1146         method to set the portrait flags.
1147         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1148
1149         Fixes: NB#112328 (Adding helpers for setting portrait properties)
1150
1151 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1152
1153         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1154         to allow using this method with other flags.
1155         (hildon_gtk_window_set_progress_indicator): Update accordingly.
1156         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1157
1158 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1159
1160         * src/hildon-touch-selector.c
1161         (hildon_touch_selector_append_text_column):
1162         Make the cell renderer use the smallest width possible.
1163
1164         Fixes: NB#108470 (Selected items in multiple selection are either
1165         having a tick that is cut or not visible at all.)
1166
1167 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1168
1169         * src/hildon-touch-selector.c
1170         (hildon_touch_selector_append_text_column):
1171         Code cleanups
1172
1173 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
1174
1175         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1176         Use g_strdup_printf() instead of a fixed size buffer.
1177
1178 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
1179
1180         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1181         Close banners when a HildonAppMenu is popped up.
1182
1183         Fixes: NB#111027 (Title menu closed immediately if activated when
1184         "Invalid e-mail address" banner is shown)
1185
1186 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
1187
1188         [Release 2.1.66]
1189
1190         * NEWS: Updates.
1191         * configure.ac: Bump version.
1192         * debian/changelog: Updates.
1193
1194 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1195
1196         * src/hildon-banner.c (hildon_banner_realize):
1197         Mark HildonBanner as supporting portrait mode.
1198         Use GDK to set window properties insetad of direct Xlib calls.
1199
1200         Fixes: NB#111830 (HildonBanner should be marked as supporting
1201         portrait)
1202
1203 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1204
1205         * src/hildon-note.c (hildon_note_rebuild):
1206         Hide action area in information notes. Prevents text from being
1207         slightly aligned to the left.
1208
1209         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1210         properly)
1211
1212 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1213
1214         Patch by Mox Soini (ext-mox.soini@nokia.com)
1215
1216         * src/hildon-banner.c (hildon_banner_create_animation):
1217         Use stylus-sized icons in animation banner.
1218
1219         Fixes: NB#111206 (stylus sized icon for animation banner)
1220
1221 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1222
1223         * src/hildon-gtk.h
1224         * src/hildon-gtk.c
1225         (+hildon_gtk_window_set_do_not_disturb):
1226         New API to set the do-not-disturb flag.
1227
1228         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1229
1230 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1231
1232         * examples/hildon-progress-indicator-example.c: Fix example
1233
1234         * src/hildon-gtk.c (set_clear_window_flag)
1235         (hildon_gtk_window_set_progress_indicator):
1236         Create a generic function for setting flags to a window.
1237         Use GDK instead of direct Xlib calls.
1238
1239 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
1240
1241         * src/hildon-button.c (hildon_button_set_arrangement):
1242         Due to NB#88126, if one of the labels is too long it will be
1243         painted outside the button. The 'value' label is more likely to be
1244         the longest one, so we change its packing options in order to
1245         truncate it if necessary. As a side effect, the 'title' label will
1246         no longer be truncated.
1247
1248         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1249
1250 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
1251
1252         [Release 2.1.64]
1253
1254         * NEWS: Updates.
1255         * configure.ac: Bump version.
1256         * debian/changelog: Updates.
1257
1258 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
1259
1260         Deprecation of the hildon_pannable_area_set_size_request_policy
1261         API, the only policy properly supported in gtk+ nowadays is the
1262         minimum size.
1263
1264         * src/hildon-pannable-area.c,
1265         (hildon_pannable_area_size_request): Added a workaround for the
1266         size_request to avoid the problems of huge pixmaps in case someone
1267         is still using the function.
1268         * src/hildon-pannable-area.h: Deprecated the enum with the
1269         policies.
1270
1271         Fixes: NB#110244 (Problems with the
1272         hildon_pannable_area_set_size_request_policy API)
1273
1274 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
1275
1276         * src/hildon-pannable-area.c,
1277         (hildon_pannable_area_init),
1278         (hildon_pannable_area_size_request),
1279         (hildon_pannable_area_style_set),
1280         (hildon_pannable_draw_vscroll),
1281         (hildon_pannable_draw_hscroll),
1282         (hildon_pannable_area_check_scrollbars): Replaced area_width with
1283         indicator_width to clarify the use of the attribute.
1284
1285 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
1286
1287         [Release 2.1.62]
1288
1289         * NEWS: Updates.
1290         * configure.ac: Bump version.
1291         * debian/changelog: Updates.
1292
1293 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
1294
1295         * src/hildon-picker-dialog.c
1296         * src/hildon-touch-selector.c
1297         Reverting the change that tried to avoid the hardcoded height on
1298         the picker dialog, as causes problems on the hildon-touch-selector
1299         initial-hint
1300
1301         Fixes: NB#110029 (selectors not scrolling to selected value)
1302
1303 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
1304
1305         * src/hildon-touch-selector.c: Fix typos
1306
1307 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1308
1309         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1310         Use the event coordinates instead of gdk_window_get_pointer(). Also,
1311         request more motions after using it.
1312
1313 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1314
1315         * src/hildon-calendar.c (hildon_calendar_expose),
1316         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1317         Remove unused variables.
1318
1319 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1320
1321         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1322         variable assignment.
1323
1324 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1325
1326         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1327         Check the return value of gtk_tree_selection_get_selected()
1328         for safety.
1329
1330 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1331
1332         * src/hildon-animation-actor.c
1333         * src/hildon-button.c
1334         * src/hildon-main.c
1335         * src/hildon-pannable-area.c
1336         * src/hildon-picker-button.c
1337         * src/hildon-program.c
1338         * src/hildon-remote-texture.c
1339         * src/hildon-text-view.c
1340         * src/hildon-touch-selector.c
1341         * src/hildon-window-stack.c
1342         * src/hildon-window.c:
1343         Add missing 'Since: 2.2' tags.
1344
1345         * doc/hildon-sections.txt:
1346         Add some missing symbols.
1347
1348         * doc/hildon-docs.sgml:
1349         New 'Other' section for HildonAnimationActor and
1350         HildonRemoteTexture
1351
1352 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1353
1354         Patch by Iván Gómez (igomez@igalia.com)
1355
1356         * doc/building.sgml
1357         * doc/compiling.sgml
1358         * doc/hildon-docs.sgml
1359         * doc/hildon-sections.txt
1360         * doc/migration.sgml
1361         * doc/resources.sgml
1362         * doc/running.sgml:
1363         New chapters on using the Hildon library.
1364         Updated the general structure of the reference manual.
1365         Other minor documentation fixes.
1366
1367         * src/hildon-calendar-popup.c
1368         * src/hildon-calendar.c
1369         * src/hildon-controlbar.c
1370         * src/hildon-date-editor.c
1371         * src/hildon-dialog.c
1372         * src/hildon-hvolumebar.c
1373         * src/hildon-number-editor.c
1374         * src/hildon-range-editor.c
1375         * src/hildon-sort-dialog.c
1376         * src/hildon-time-editor.c
1377         * src/hildon-time-picker.c
1378         * src/hildon-volumebar-range.c
1379         * src/hildon-volumebar.c
1380         * src/hildon-vvolumebar.c
1381         * src/hildon-weekday-picker.c:
1382         Add deprecation notes
1383
1384         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1385         Document 'horizontal-movement' and 'vertical-movement' signals.
1386
1387 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
1388
1389         [Release 2.1.60]
1390
1391         * NEWS: Updates.
1392         * configure.ac: Bump version.
1393         * debian/changelog: Updates.
1394
1395 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
1396
1397         * src/hildon-pannable-area.c,
1398         (hildon_pannable_area_class_init): increased the minimum velocity.
1399         (hildon_pannable_area_button_release_cb): Updated the
1400         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1401         setup. Review the code to control that last event.
1402
1403         Fixes: NB#109790 (Releasing finger in pannable area easily causes
1404         unwanted scrolling)
1405
1406 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
1407
1408         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1409
1410         * src/hildon-get-password-dialog.c
1411         (hildon_get_password_set_property),
1412         (hildon_get_password_get_property), (create_contents):
1413         * src/hildon-login-dialog-private.h:
1414         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1415         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1416         (hildon_login_dialog_get_password):
1417         * src/hildon-set-password-dialog-private.h:
1418         * src/hildon-set-password-dialog.c
1419         (hildon_set_password_set_property),
1420         (hildon_set_password_get_property), (create_contents),
1421         (hildon_set_password_response_change),
1422         (hildon_set_password_response_set), (hildon_checkbox_toggled):
1423
1424         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1425         instead and look more Fremantle style.
1426
1427         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1428
1429 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
1430
1431         * doc/hildon-sections.txt
1432         * src/hildon-window-stack.h
1433         * src/hildon-window-stack.c
1434         (+hildon_window_stack_get_windows):
1435         New API to obtain the list of windows on a stack.
1436
1437 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1438
1439         * src/hildon-app-menu.c (hildon_app_menu_popup)
1440         (hildon_app_menu_class_init, -hildon_app_menu_show):
1441         Remove hildon_app_menu_show() and move all its checks to
1442         hildon_app_menu_popup()
1443
1444 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1445
1446         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1447         (_hildon_picker_dialog_set_selector): removed call to
1448         gtk_widget_set_size_request
1449         * src/hildon-touch-selector.c
1450         (_create_new_column): change the pannable size request policy
1451
1452         Avoid to use a hardcoded height for the hildon picker dialog. In order
1453         to get that, we needed to change the hildon pannable size request
1454         policy
1455         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1456
1457 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1458
1459         * src/hildon-window.c (hildon_window_map): Check for vbox to be
1460         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
1461         browser crash.
1462
1463 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1464
1465         * debian/control: Depend on osso-system-lock localization package.
1466         * src/hildon-code-dialog.c: Obtain the secu_application_title
1467         translation from osso-system-lock.
1468         * src/hildon-get-password-dialog.c (create_contents): Do not mark
1469         for translation the atk related strings, that's not necessary.
1470         * src/hildon-set-password-dialog.c (create_contents): Ditto.
1471         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1472         cancel button, it is not required.
1473
1474 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
1475
1476         * src/hildon-pannable-area.c,
1477         (hildon_pannable_area_class_init): Modified the default value of
1478         the overshooting max speed, we have reduced it.
1479
1480 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1481
1482         * doc/hildon-sections.txt
1483         * src/hildon-window-private.h
1484         * src/hildon-window.h
1485         * src/hildon-window.c (hildon_window_class_init)
1486         (hildon_window_init, hildon_window_finalize)
1487         (hildon_window_realize, hildon_window_get_property)
1488         (hildon_window_set_property, hildon_window_update_markup)
1489         (hildon_window_get_markup, hildon_window_set_markup):
1490         New "markup" property and hildon_window_{get,set}_markup() methods.
1491
1492         * examples/hildon-stackable-window-example.c (new_window):
1493         Update example to use hildon_window_set_markup()
1494
1495         Fixes: NB#106375 (Need API to retitle a window with a title
1496         including markup)
1497
1498 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1499
1500         * src/hildon-pannable-area.c,
1501         (hildon_pannable_area_class_init): Changed the default value of
1502         the initial_hint to TRUE.
1503         (hildon_pannable_area_initial_effect): Changed the initial effect,
1504         not the effect is just the fade-out of the scrollbars.
1505
1506         Fixes: NB#107775 (No scrollbars can be seen when several items are
1507         available in a dialog)
1508
1509 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1510
1511         * src/hildon-program.c (hildon_program_update_top_most):
1512         Fix memory leak.
1513
1514         Fixes: NB#109179 (Memory leak in Hildon program)
1515
1516 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1517
1518         * src/hildon-banner.c (-get_current_app_window):
1519         Remove unused function.
1520
1521 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1522
1523         * src/hildon-pannable-area.c: Modified the documentation of the
1524         get adjustments functions to explain the problem of using the
1525         adjustment directly.
1526         (hildon_pannable_area_class_init): Improved the explanation about
1527         the velocity.
1528
1529 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1530
1531         * src/hildon-app-menu-private.h
1532         * src/hildon-app-menu.c
1533         (hildon_app_menu_class_init):
1534         Bring back the 'external-border' style property
1535         (hildon_app_menu_class_init, hildon_app_menu_init)
1536         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1537         Set a fixed width-request for the menu, independent of the number
1538         of items.
1539
1540         Fixes: NB#94957 (Smoothly opened application menu)
1541
1542 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
1543
1544         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1545
1546         * src/hildon-banner.c
1547         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1548         (hildon_banner_map)
1549         Make sure that the banner is correctly placed the first time it's
1550         shown.
1551         (hildon_banner_check_position, -check_fullscreen_state):
1552         Show the banner in the same place no matter if the window is in
1553         fullscreen mode or not.
1554
1555         Fixes: NB#107386 (Odd stacking behaviour for information banners)
1556
1557 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1558
1559         * src/hildon-touch-selector.c (_default_print_func): reorder
1560         concatenation for clarity.
1561
1562 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1563
1564         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1565         for multicolumn selectors.
1566
1567         Fixes: NB#109099 (Memory leak in Hildon touch selector)
1568
1569 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
1570
1571         [Release 2.1.58]
1572
1573         * NEWS: Updates.
1574         * configure.ac: Bump version.
1575         * debian/changelog: Updates.
1576
1577 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
1578
1579         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1580         coding style fixes.
1581
1582 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1583
1584         * configure.ac: removed libcangerra-gtk dependency
1585         * debian/control: removed libcanberra-gtk dependency
1586         * src/Makefile.am: removed libcanberra gtk related flags
1587         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1588         context, and manage a global canberra context instead
1589
1590         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1591
1592 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
1593
1594         Patch by Daniel Borgmann (danielb@openismus.com)
1595
1596         * src/hildon-edit-toolbar.c:
1597         Adjust the left padding.
1598         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1599         Paint background of the edit toolbar.
1600
1601         Fixes: NB#107897 (Patch to make editmodetoolbar background
1602         themeable and adjust margin)
1603
1604 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1605
1606         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1607
1608         * src/hildon-program.c (hildon_program_update_top_most):
1609         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1610
1611         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1612         change when the user tasks in/out of an application)
1613
1614 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1615
1616         * configure.ac: added libcangerra-gtk dependency
1617         * debian/control: added libcanberra-gtk dependency
1618         * src/Makefile.am: added libcanberra gtk related flags
1619         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1620         instead of use it.
1621
1622         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1623
1624 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1625
1626         * src/hildon-program.c (hildon_program_remove_window)
1627         (hildon_program_add_window): Add checks for the window
1628         parameter. Don't decrease the window counter if the window is not
1629         registered.
1630
1631 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1632
1633         * src/hildon-pannable-area.c,
1634         (hildon_pannable_area_realize): Fixed position of the event_window
1635         in the realize method.
1636
1637 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
1638
1639         * src/hildon-app-menu-private.h
1640         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1641         (hildon_app_menu_map, hildon_app_menu_hide_idle)
1642         (hildon_app_menu_key_press, hildon_app_menu_init)
1643         (hildon_app_menu_finalize):
1644         Make sure that all idle functions are removed when the widget is
1645         destroyed.
1646
1647         Fixes: NB#107583 (Hildon app menu crashes in various applications)
1648
1649 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1650
1651         [Release 2.1.56]
1652
1653         * NEWS: Updates.
1654         * configure.ac: Bump version.
1655         * debian/changelog: Updates.
1656
1657 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1658
1659         * src/hildon-entry.c
1660         (+hildon_entry_show_placeholder),
1661         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1662         that replace hildon_entry_update_contents().
1663         (hildon_entry_set_text),
1664         (hildon_entry_set_placeholder),
1665         (hildon_entry_focus_in_event),
1666         (hildon_entry_focus_out_event): Determine when it is needed
1667         either to show or hide the placeholder and call the above methods.
1668
1669         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1670         when the placeholder text is already set)
1671
1672 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1673
1674         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1675         simple GdkPixbufAnim using the new icons for the banner.
1676         (hildon_banner_show_animation): Use the above mentioned method to
1677         create the animation widget.
1678
1679         Fixes: NB#103564 (Make hildon animation banner use individual
1680         image files as the animation)
1681
1682 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1683
1684         * src/hildon-pannable-area.c,
1685         (hildon_pannable_leave_notify_event): Check if the child is NULL
1686         to avoid sending the leave.
1687
1688 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1689
1690         * src/hildon-pannable-area.c,
1691         (hildon_pannable_area_class_init),
1692         (hildon_pannable_leave_notify_event): Added a handler of the
1693         leave-notify-signal to consider when no motion notify before
1694         leaving.
1695
1696         Fixes: NB#107494 (Items stay selected when clicking and moving
1697         away when inside pannable area)
1698
1699 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
1700
1701         [Release 2.1.54]
1702
1703         * NEWS: Updates.
1704         * configure.ac: Bump version.
1705         * debian/changelog: Updates.
1706
1707 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
1708
1709         Patch by Alberto Garcia (agarcia@igalia.com)
1710
1711         * src/hildon-date-button.c,
1712         (hildon_date_button_class_init),
1713         (hildon_date_button_init): Removed the construct property handling
1714         and created a default selector in the init method.
1715         * src/hildon-picker-button.c,
1716         (hildon_picker_button_class_init): Removed the construct flag of the
1717         selector property.
1718
1719 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
1720
1721         * src/hildon-main.c (hildon_init):
1722         Don't allow hildon_init() to be called more than once.
1723
1724         Fixes: NB#106607 (hildon_init should issue error message upon
1725         successive calls)
1726
1727 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
1728
1729         * examples/hildon-pannable-area-touch-list-example.c
1730         * examples/hildon-pannagle-area-touch-grid-example.c
1731         * examples/hildon-edit-toolbar-example.c
1732         * examples/hildon-touch-selector-multi-cells-example.c
1733         Removed the call to gtk_rc_parse_string, as it is not required since
1734         some time ago.
1735
1736 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
1737
1738         * src/hildon-pannable-area.c,
1739         (hildon_pannable_area_class_init): Modified the default panning
1740         threshold of the widget to 6px.
1741
1742         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1743         than the threshold value ) within the button is not sending the
1744         event to the clild)
1745
1746 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1747
1748         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1749         for the treeview in the new column. This way, the touch list will never
1750         grab the focus.
1751
1752         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1753         be selected manually for the HW keys to work)
1754
1755 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1756
1757         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1758         comparison instead of using strcmp(). Fixes a compiler warning as well.
1759
1760 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1761
1762         * doc/hildon-docs.sgml: Do not set the library version in the
1763         document title, use the releaseinfo tag for that purpose instead.
1764
1765 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1766
1767         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1768         Do not jump to the first item if the text in the entry is removed.
1769
1770 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1771
1772         [Release 2.1.52]
1773
1774         * NEWS: Updates.
1775         * configure.ac: Bump version.
1776         * debian/changelog: Updates.
1777
1778 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1779
1780         * src/hildon-entry.c (hildon_entry_refresh_contents):
1781         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1782         Use "ReversedSecondaryTextColor" for the placeholder text.
1783
1784 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1785
1786         * src/hildon-text-view.c: Fix compilation warning.
1787
1788 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1789
1790         * src/hildon-button.c (hildon_button_class_init): Don't make
1791         "title" and "value" construction properties, to prevent them from
1792         overwriting labels set from derived classes.
1793
1794         * src/hildon-picker-button.c
1795         (hildon_picker_button_set_selector): Allow setting a NULL selector.
1796         (hildon_picker_button_class_init): Make touch-selector a
1797         construction property.
1798
1799         * src/hildon-date-button.c (hildon_date_button_class_init)
1800         (+hildon_date_button_constructed): Add a default date selector if
1801         none is provided.
1802
1803 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1804
1805         * src/hildon-touch-selector.c: Small documentation fixes.
1806
1807 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1808
1809         Based on a patch by Daniel Borgmann (danielb@openismus.com)
1810
1811         * src/hildon-entry.c (hildon_entry_refresh_contents),
1812         (hildon_entry_get_text), (hildon_entry_init): Do not use the
1813         widget name, set the logical color directly instead and a boolean
1814         showing_placeholder instead.
1815         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1816         use the widget name here either.
1817
1818         Fixes: NB#105678 (HildonTextView should use logical colours
1819         instead of setting widget name)
1820
1821 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1822
1823         Patch by Daniel Elster (danielk@openismus.com)
1824
1825         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1826         Add user_data parameter.
1827         (hildon_touch_selector_set_print_func_full): New function akin
1828         hildon_touch_selector_set_print_func() but with support for user
1829         data and a destroy callback.
1830         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1831         to clean up the print function user data.
1832         (hildon_touch_selector_class_init): Install dispose function.
1833         (HildonTouchSelectorPrivate::print_user_data),
1834         (HildonTouchSelectorPrivate::print_destroy_func): New private
1835         member data.
1836         (hildon_touch_selector_init): Initialize new private members.
1837         (hildon_touch_selector_get_current_text): Pass along user data
1838         to the print function.
1839         (_default_print_func): Add dummy user_data to parameter list.
1840         * hildon-date-selector.c (_custom_print_func): ditto,
1841         * hildon-time-selector.c (_custom_print_func): ditto,
1842         * hildon-touch-selector-entry.c
1843         (hildon_touch_selector_entry_print_func): ditto.
1844
1845         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1846
1847 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1848
1849         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1850
1851 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
1852
1853         * src/hildon-pannable-area.c,
1854         (hildon_pannable_area_init),
1855         (hildon_pannable_area_button_press_cb),
1856         (hildon_pannable_area_motion_notify_cb): We have added code to
1857         handle the leave and enter events when using the motion events.
1858
1859         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1860
1861 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
1862
1863         * src/hildon-date-button.c (hildon_date_button_get_date)
1864         (hildon_date_button_set_date): Make sure that the button has a
1865         selector.
1866
1867         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1868
1869 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
1870
1871         * src/hildon-pannable-area.c,
1872         (hildon_pannable_area_class_init),
1873         (hildon_pannable_area_calculate_velocity): Modify the use of the
1874         force and adapt the value.
1875
1876 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
1877
1878         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1879         (hildon_app_menu_class_init): Hide the menu if it receives a
1880         delete-event, but don't destroy it
1881
1882         Fixes: NB#104485 (Not able to address the call when application
1883         menu is opened at background)
1884
1885 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
1886
1887         * src/hildon-app-menu.c
1888         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1889         Remove the "external-border" style property, let the menu take its
1890         natural size (or the one set by the window manager)
1891         (hildon_app_menu_repack_items):
1892         Don't reshow the menu, avoid flickers.
1893
1894         Partially fixes NB#94957 (Smoothly opened application menu)
1895
1896 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
1897
1898         [Release 2.1.50]
1899
1900         * NEWS: Updates.
1901         * configure.ac: Bump version.
1902         * debian/changelog: Updates.
1903
1904 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
1905
1906         * src/hildon-pannable-area.c,
1907         (hildon_pannable_area_motion_notify_cb): We control that the
1908         direction error margin is used just in case the movement is
1909         allowed in the other direction.
1910
1911         Fixes: NB#105012 (buttons inside a pannable area not getting
1912         release event when dragging/releasing)
1913
1914 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
1915
1916         * src/hildon-pannable-area.c,
1917         (hildon_pannable_area_class_init),
1918         (hildon_pannable_area_get_property),
1919         (hildon_pannable_area_set_property),
1920         (hildon_pannable_area_initial_effect),
1921         (hildon_pannable_axis_scroll),
1922         (hildon_pannable_area_button_release_cb): Reviewed the
1923         overshooting effect, now it has its own max
1924         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1925         speed when bouncing.
1926
1927 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
1928
1929         [Release 2.1.48]
1930
1931         * NEWS: Updates.
1932         * configure.ac: Bump version.
1933         * debian/changelog: Updates.
1934
1935 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
1936
1937         * src/hildon-pannable-area.c,
1938         (hildon_pannable_area_class_init): Changed the max speed, now
1939         users can launch the widget very fast. Reduced the default force,
1940         that way it is easier to control the launch speed.
1941
1942 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
1943
1944         * src/hildon-pannable-area.c,
1945         (hildon_pannable_area_button_release_cb): Removed this check
1946         because it causes problems when the device is overloaded.
1947
1948 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
1949
1950         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1951         add a current_text field to store the text entered in the
1952         touch selector entry.
1953         (_clean_current_selection): clean up the current text as well.
1954         (_save_current_selection), (_restore_current_selection):
1955         Save/restore the text in the entry if the selector is a
1956         HildonTouchSelectorEntry.
1957
1958         Fixes: NB#102541 (value entered in the touch selector entry is not
1959         shown when opened for second time)
1960
1961 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
1962
1963         * doc/hildon-sections.txt:
1964         * src/hildon-touch-selector-entry.c
1965         (+hildon_touch_selector_entry_get_entry):
1966         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1967
1968         Fixes: NB#104815 (I need accessor to the entry inside
1969         HildonTouchSelectorEntry)
1970
1971 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1972
1973         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1974         (hildon_app_menu_class_init):
1975         New "filter-vertical-spacing" style property.
1976
1977 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1978
1979         * src/hildon-find-toolbar.c
1980         (hildon_find_toolbar_emit_close)
1981         (hildon_find_toolbar_emit_invalid_input)
1982         (hildon_find_toolbar_entry_activate):
1983         Use g_signal_emit() instead of g_signal_emit_by_name()
1984
1985 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1986
1987         Patch by Mox Soini (ext-mox.soini@nokia.com)
1988
1989         * tests/TEST-CASES.txt
1990         * tests/check-hildon-banner.c
1991         * tests/check-hildon-note.c
1992         * src/hildon-banner.c
1993         * src/hildon-code-dialog.c
1994         * src/hildon-date-editor.c (real_set_calendar_icon_state)
1995         * src/hildon-time-editor.c
1996         * examples/hildon-lookup-example.c (main):
1997         Replace obsolete icon names with new ones.
1998
1999         * src/hildon-find-toolbar-private.h:
2000         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2001         (-hildon_find_toolbar_emit_search):
2002         Remove find button and change icon of close button.
2003
2004         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2005
2006 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2007
2008         * src/hildon-time-button.c (hildon_time_button_new_step):
2009         Use the "touch-selector" property to set the selector directly
2010         when creating the object.
2011
2012 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
2013
2014         Added a new example application that allows tuning the pannable
2015         area and replaced defines with properties in order to simplify the
2016         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2017         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2018         PROP_DIRECTION_ERROR_MARGIN.
2019
2020         * examples/hildon-pannable-area-tuning-example.c: New example
2021         application.
2022         * src/hildon-pannable-area.c,
2023         (hildon_pannable_area_class_init),
2024         (hildon_pannable_area_init),
2025         (hildon_pannable_area_get_property),
2026         (hildon_pannable_area_set_property),
2027         (hildon_pannable_area_launch_fade_timeout),
2028         (hildon_pannable_area_adjust_value_changed),
2029         (hildon_pannable_axis_scroll),
2030         (hildon_pannable_area_motion_notify_cb),
2031         (hildon_pannable_area_scroll_cb),
2032         (hildon_pannable_area_button_release_cb): We have converted some
2033         of the defines that control the widget to properties to simplify
2034         the tuning.
2035
2036 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2037
2038         * src/hildon-app-menu.c (hildon_app_menu_map)
2039         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2040         so it's closed if a new window appears.
2041
2042         Fixes: NB#104485 (Not able to address the call when application
2043         menu is opened at background)
2044
2045 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2046
2047         * src/hildon-color-button.c (hildon_color_button_get_property):Add
2048         missing 'break' statement in in 'case' construct to avoid
2049         incorrect warnings.
2050
2051 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2052
2053         * src/hildon-touch-selector-entry.c
2054         (hildon_touch_selector_entry_get_property),
2055         (hildon_touch_selector_entry_set_property): Add missing 'break'
2056         statements in in 'case' constructs to avoid incorrect warnings.
2057
2058 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2059
2060         * src/hildon-time-editor.c
2061         (hildon_time_editor_get_time_separators): Do not crash if
2062         the first label is NULL.
2063
2064 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2065
2066         * src/hildon-date-selector.c (_month_days): Check for month to be
2067         strictly less than 12, since otherwise we may overrun the array.
2068
2069 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2070
2071         * src/hildon-date-button.c (+hildon_date_button_new_full)
2072         (hildon_date_button_new, hildon_date_button_new_with_year_range)
2073         (hildon_date_button_init): Set the date selector using a
2074         construction property, to make it happen after HildonButton's
2075         "value" property is set.
2076
2077         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2078         current date by default)
2079
2080 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2081
2082         * doc/hildon-sections.txt
2083         * src/hildon-program.c
2084         * src/hildon-stackable-window.c
2085         * src/hildon-window.c:
2086         Documentation updates
2087
2088 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2089
2090         * src/hildon-window-stack.c (hildon_window_stack_get_default)
2091         (hildon_window_stack_new, +hildon_window_stack_set_property)
2092         (+hildon_window_stack_get_property)
2093         (hildon_window_stack_class_init)
2094         (+hildon_window_stack_set_window_group)
2095         (+hildon_window_stack_get_window_group):
2096         Make the window group a construction property.
2097
2098 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2099
2100         * doc/hildon-sections.txt
2101         * src/hildon-stackable-window-private.h
2102         * src/hildon-stackable-window.h
2103         * src/hildon-stackable-window.c
2104         (-hildon_stackable_window_set_app_menu)
2105         (-hildon_stackable_window_get_app_menu)
2106         (-hildon_stackable_window_toggle_menu)
2107         (-hildon_stackable_window_finalize)
2108         (hildon_stackable_window_class_init)
2109         (hildon_stackable_window_init)
2110         * src/hildon-window-private.h
2111         * src/hildon-window.h
2112         * src/hildon-window.c (hildon_window_init)
2113         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2114         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2115         (hildon_window_get_main_menu, hildon_window_set_main_menu)
2116         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2117         Moved all HildonAppMenu code to HildonWindow. The menu does not
2118         require a HildonStackableWindow anymore.
2119
2120         * src/hildon-app-menu.c
2121         * src/hildon-program.c
2122         * examples/hildon-app-menu-example.c (main):
2123         Update examples and documentation to reflect HildonAppMenu
2124         changes.
2125
2126 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2127
2128         * src/hildon-remote-texture.c
2129         * src/hildon-animation-actor.c:
2130         Don't include unused private headers.
2131
2132 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2133
2134         * src/hildon-program-private.h
2135         * src/hildon-program.c
2136         (hildon_program_set_common_menu)
2137         (hildon_program_get_common_menu)
2138         (hildon_program_set_common_app_menu)
2139         (hildon_program_get_common_app_menu):
2140         Change common menu pointers from GtkWidget* to GtkMenu* and
2141         HildonAppMenu* to avoid unnecessary casts.
2142
2143 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
2144
2145         * src/hildon-window.c (hildon_window_set_main_menu):
2146         Removed incorrect 'Since:' tag
2147
2148 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
2149
2150         * src/hildon-pannable-area.c,
2151         (hildon_pannable_area_calculate_velocity): We use now the
2152         RATIO_TOLERANCE here to check the distance, fixed typo in the
2153         algorithm.
2154         (hildon_pannable_area_motion_notify_cb): We have to set the type
2155         and time even if we are not sending the motion.
2156
2157 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2158
2159         * doc/hildon-sections.txt
2160         * src/hildon-app-menu.h
2161         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2162         (+hildon_app_menu_get_filters): New methods to get the contents of
2163         a HildonAppMenu.
2164
2165         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2166         children)
2167
2168 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2169
2170         * src/hildon-app-menu.c (hildon_app_menu_popup):
2171         Add "Since" tag.
2172
2173 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2174
2175         * src/hildon-window.h
2176         * src/hildon-window.c (+hildon_window_get_main_menu)
2177         (hildon_window_get_menu): Created hildon_window_get_main_menu()
2178         and deprecated hildon_window_get_menu().
2179
2180         * src/hildon-stackable-window.h
2181         * src/hildon-stackable-window.c
2182         (+hildon_stackable_window_set_app_menu)
2183         (+hildon_stackable_window_get_app_menu)
2184         (hildon_stackable_window_set_main_menu): Created
2185         hildon_stackable_window_{get,set}_app_menu() and deprecated
2186         hildon_stackable_window_set_main_menu().
2187
2188         * doc/hildon-sections.txt
2189         * examples/hildon-app-menu-example.c (main)
2190         * src/hildon-app-menu.c
2191         * src/hildon-program.c:
2192         Updated examples and documentation.
2193
2194         Fixes: NB#103758 (No way to obtain a menu from a
2195         HildonStackableWindow)
2196
2197 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2198
2199         [Release 2.1.46]
2200
2201         * NEWS: Updates.
2202         * configure.ac: Bump version.
2203         * debian/changelog: Updates.
2204
2205 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2206
2207         * examples/hildon-remote-texture-example.c: Include
2208         hildon-remote-texture.h explicitely.
2209         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2210         applications not defining _XOPEN_SOURCE which don't require this header.
2211
2212 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2213
2214         * doc/hildon-sections.txt
2215         * src/hildon-app-menu.h
2216         * src/hildon-app-menu.c (+hildon_app_menu_popup):
2217         New function to pop up a HildonAppMenu
2218
2219         * src/hildon-stackable-window.c
2220         (hildon_stackable_window_toggle_menu):
2221         Use hildon_app_menu_popup() to show the menu.
2222
2223 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2224
2225         * src/hildon-app-menu.c (hildon_app_menu_show)
2226         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2227         menu if there's another window between it and its parent window.
2228
2229         Fixes: NB#100468 (Application menu window is launched even when a
2230         new secondary-window/dialog is pending to be shown/realized)
2231
2232 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2233
2234         * src/hildon-window-stack.c (hildon_window_stack_push)
2235         (hildon_window_stack_pop_and_push):
2236         Don't forget to push/pop the first window.
2237         Reverse the window list before calling _push_list()
2238
2239 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2240
2241         * src/hildon-picker-button.h
2242         * src/hildon-picker-button.c (hildon_picker_button_class_init):
2243         Remove "value_changed" slot to avoid ABI breakage
2244
2245 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2246
2247         * src/hildon-pannable-area.c,
2248         (hildon_pannable_area_realize),
2249         (hildon_pannable_area_unrealize),
2250         (hildon_pannable_draw_vscroll),
2251         (hildon_pannable_draw_hscroll): Changed the method to handle the
2252         GC used to draw the transparent scrollbar, this way we avoid
2253         creating the GC all the time when drawing the scrollbars.
2254
2255 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2256
2257         * src/hildon-pannable-area.c,
2258         (hildon_pannable_area_init),
2259         (hildon_pannable_area_remove): Removed some unnecessary casts.
2260         (hildon_pannable_area_dispose): Disconnected some signals before
2261         releasing the adjustments.
2262
2263 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
2264
2265         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2266         Make sure that all widgets contained in the toolbar are shown.
2267
2268 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
2269
2270         * doc/hildon-sections.txt
2271         * src/hildon-picker-button.h
2272         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2273         (_selection_changed, hildon_picker_button_on_dialog_response)
2274         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2275         New hildon_picker_button_value_changed() method.
2276
2277         * src/Makefile.am
2278         * src/hildon-picker-button-private.h
2279         * src/hildon-picker-button.c (hildon_picker_button_init)
2280         (+hildon_picker_button_disable_value_changed): Add protected
2281         function for disabling the "value-changed" signal.
2282
2283         * src/hildon-date-button.c (hildon_date_button_set_date):
2284         Don't emit "value-changed" for each one of the three columns.
2285
2286         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2287         before actual change of values)
2288
2289 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2290
2291         * src/hildon-pannable-area.c,
2292         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2293         for the treeview overshooting.
2294
2295 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2296
2297         * src/hildon-banner.c (+hildon_banner_bind_style):
2298         Renamed from hildon_banner_bind_label_style(), now naming the
2299         banner itself as well.
2300         (hildon_banner_show_information),
2301         (hildon_banner_show_information_with_markup),
2302         (hildon_banner_show_animation), (hildon_banner_show_progress):
2303         Name the widgets and labels, based on their type.
2304
2305         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2306         background image)
2307
2308 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2309
2310         * src/hildon-note.c (hildon_note_set_property): call
2311         hildon_note_rename() on HildonNote:note-type set.
2312         (hildon_note_rename): Name the note and its label, based on the
2313         HildonNote:note-type property.
2314
2315         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2316         background image)
2317
2318 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2319
2320         * src/hildon-pannable-area.c,
2321         (hildon_pannable_area_class_init),
2322         (hildon_pannable_area_motion_notify_cb): Reviewed the default
2323         panning parameters, increased SPS and deceleration factor. Added
2324         also a margin to control fake directions.
2325
2326 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2327
2328         Patch by Sven Herzberg (sven@imendio.com)
2329
2330         * configure.ac: Add missing AM_PROG_CC_C_0
2331         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2332
2333         See NB#101420 (Update unit tests and fix make check)
2334
2335 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
2336
2337         This patch was applied before but reverted because it caused
2338         problems, we have changed the main condition and tested the
2339         regressions we detected before and they work ok. We have done a
2340         complete review of the topmost algorithm in order to get a more
2341         general solution.
2342
2343         * src/hildon-pannable-area.c,
2344         (hildon_pannable_area_get_topmost): Added a new parameter to
2345         filter the the windows that do not include those events.
2346         (hildon_pannable_area_button_press_cb),
2347         (hildon_pannable_area_button_release_cb),
2348         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2349         topmost function, we have added the new parameter.
2350
2351         Fixes: NB#97458 (Pannable area prevents propagation of button
2352         press events)
2353
2354 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2355
2356         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2357         if all columns in the selector have an item selected.
2358         (_on_dialog_response): Stop "response" signal emission if there is
2359         any selector column without selected items.
2360
2361         Fixes: NB#101889 (Picker dialog should not close when nothing is
2362         selected in multiple selection list)
2363
2364 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2365
2366         * src/hildon-font-selection-dialog.c
2367         (hildon_font_selection_dialog_class_init),
2368         (hildon_font_selection_dialog_init): Remove the preview
2369         button and dialog, since previewing with default theming is likely
2370         to be overcomplicated. The :preview property has now no effect.
2371         Update documentation blurbs to inform about this.
2372
2373         Fixes: NB#92297 (Preview content is not clearly visible for
2374         default colour text)
2375
2376 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2377
2378         Reviewed the geometry that handles the children size and
2379         scrollbar, now it tries a size and reviews the results depending
2380         on the scrollbars visibility.
2381
2382         * src/hildon-pannable-area.c,
2383         (hildon_pannable_area_realize): Fixed a typo.
2384         (hildon_pannable_area_child_allocate_calculate): Added this
2385         function to calculate the child allocation.
2386         (hildon_pannable_area_size_allocate): Reviewed the allocation
2387         code.
2388         (hildon_pannable_area_check_scrollbars),
2389         (hildon_pannable_area_refresh): Refactored refresh function, this
2390         way we can call the code handling the scrollbars without causing a
2391         size_request, it is interesting in the allocate.
2392         (hildon_pannable_area_init): Replace the callbacks of the
2393         value_changed and changed signals to propertly deal with the
2394         geometry.
2395         (hildon_pannable_area_grab_notify),
2396         (hildon_pannable_area_initial_effect),
2397         (hildon_pannable_area_launch_fade_timeout),
2398         (hildon_pannable_area_adjust_changed),
2399         (hildon_pannable_area_adjust_value_changed),
2400         (hildon_pannable_area_redraw),
2401         (hildon_pannable_area_button_press_cb),
2402         (hildon_pannable_area_button_release_cb),
2403         (hildon_pannable_area_scroll_cb),
2404         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2405         code and use the new functions adjust_changed and
2406         adjust_value_changed.
2407
2408         Fixes: NB#101603 (Focus is not even for the text entry boxes in
2409         Contact editor dialog)
2410
2411 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
2412
2413         [Release 2.1.44]
2414
2415         * NEWS: Updates.
2416         * configure.ac: Bump version.
2417         * debian/changelog: Updates.
2418
2419 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2420
2421         * src/hildon-pannable-area.c,
2422         (hildon_pannable_area_get_topmost),
2423         (hildon_pannable_area_button_press_cb),
2424         (hildon_pannable_area_button_release_cb),
2425         (hildon_pannable_get_child_widget_at): Reverted the patch for the
2426         topmost function adding the event mask. We have to try a
2427         differente approach because it is still causing problems (NB#9745,
2428         reopened).
2429
2430 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
2431
2432         * src/hildon-banner.c:
2433         Update the maximum width of timed banners.
2434         (force_to_wrap_truncated): Enforce the maximum text width if the
2435         label is wrapped.
2436
2437         Fixes: NB#102413 (The text margins (wrapping) in information
2438         banner should be HILDON_MARGIN_TRIPLE)
2439
2440 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2441
2442         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2443
2444         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2445         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2446         bound when calculating the scroll indicator position.
2447
2448         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2449         treat ->lower correctly)
2450
2451 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2452
2453         * src/hildon-caption.c (hildon_caption_class_init): Remove the
2454         expose event handling, since it is not necessary to draw the focus
2455         anymore.
2456
2457         Fixes: NB#102467 (Do not show highlight on the text in
2458         HildonCaption)
2459
2460 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2461
2462         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2463         full height of the toolbar for the button and the label.
2464
2465 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2466
2467         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2468         padding before the label and after the button.
2469
2470 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2471
2472         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2473
2474         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2475         Add a GtkVSeparator between the button and the back arrow.
2476         Let the button have automatic size.
2477         Set a name to the widget for theming handling.
2478
2479         Fixes: NB#101793 (Make edit toolbar the same height as window
2480         title bar (use title area theming))
2481
2482 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2483
2484         * src/hildon-helper.c (attach_new_color_element): Fix memory
2485         leak.
2486
2487         Fixes: NB#102262 (memory leak in hildon_button_set_style())
2488
2489 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2490
2491         * examples/hildon-button-example.c (common_buttons_window): Don't
2492         leak size groups.
2493
2494 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2495
2496         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2497         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2498
2499 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2500
2501         * src/hildon-gtk.c: Check that the window is realized.
2502
2503         Fixes: NB#102225 (Crash setting the progress indicator to a non
2504         visible window)
2505
2506 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2507
2508         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2509         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2510         instead of modifying the one in the widget style.
2511
2512         Fixes: NB#101043 (Second row of all the command button are
2513         displayed in transparent mode.)
2514
2515 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2516
2517         * src/hildon-date-button.c
2518         * src/hildon-time-button.c: Add gettext macros
2519
2520 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
2521
2522         * src/hildon-date-button.c (hildon_date_button_new):
2523         * src/hildon-time-button.c (hildon_time_button_new_step):
2524         Use new logical strings to set the button default title.
2525
2526         Fixes: NB#99915 (Date and Time options are not localised in Date
2527         and Time setttings)
2528
2529 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2530
2531         * src/hildon-pannable-area.c
2532         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2533         the PANNING_THRESHOLD.
2534
2535 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2536
2537         * src/hildon-pannable-area.c,
2538         (hildon_pannable_area_class_init): Increased the maximum speed.
2539         (hildon_pannable_area_get_property),
2540         (hildon_pannable_area_set_property),
2541         (hildon_pannable_area_timeout): Added a new low friction mode, it
2542         allows the user avoid friction when launching the widget fast
2543         enough. It is interesting to traverse long lists.
2544
2545 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2546
2547         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2548         (+hildon_stackable_window_delete_event): Ignore delete events if
2549         the window is not the topmost one.
2550
2551         Fixes: NB#101698 (Back button long press and delete-event handling)
2552
2553 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2554
2555         * src/hildon-pannable-area.c,
2556         (hildon_pannable_area_motion_notify_cb): Removed the use of the
2557         gtk-dnd-drag-threshold, it was too big. We have defined our own
2558         dnd define and set a smaller value: PANNIG_THRESHOLD.
2559
2560 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2561
2562         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2563         user-defined icons, use always the default one.
2564
2565         Fixes: NB#101916 (Do not allow custom icons on animation banner)
2566
2567 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
2568
2569         This patch was applied before but reverted because it caused
2570         problems, we have changed the main condition and tested the
2571         regressions we detected before and they work ok.
2572
2573         * src/hildon-pannable-area.c,
2574         (hildon_pannable_area_get_topmost): Added a new parameter to
2575         filter the the windows that do not include those events. Added
2576         also a condition when finding the window to filter windows that do
2577         not ask for those events.
2578         (hildon_pannable_area_button_press_cb),
2579         (hildon_pannable_area_button_release_cb),
2580         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2581         topmost function, we have added the new parameter.
2582
2583         Fixes: NB#97458 (Pannable area prevents propagation of button
2584         press events)
2585
2586 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2587
2588         * tests/check-hildon-color-button.c (START_TEST): do not leak
2589         ret_color.
2590
2591 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2592
2593         * src/hildon-font-selection-dialog.c
2594         (hildon_font_selection_dialog_get_preview_text): Return NULL
2595         instead of FALSE on the g_return_val_if_fail().
2596
2597 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2598
2599         * src/hildon-time-selector.c (hildon_time_selector_set_time):
2600         * src/hildon-date-selector.c
2601         (hildon_date_selector_select_current_date):
2602         Do not compare unsigned integers to be greater than or equal 0,
2603         because it's always TRUE.
2604
2605 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2606
2607         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2608         (hildon_date_selector_constructor): Do not select the current
2609         date until we are handle the "changed" signal, to avoid having bogus
2610         elements in the days model.
2611
2612 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2613
2614         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2615         for num_days, since _month_days() can return a negative value.
2616
2617 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2618
2619         * src/hildon-caption.c (hildon_caption_size_allocate):
2620         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2621         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2622
2623         Initialize allocation variables to 0, to avoid eventually using
2624         unitialized variables.
2625
2626 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2627
2628         * src/hildon-bread-crumb-trail.c
2629         (hildon_bread_crumb_trail_size_allocate):
2630         * src/hildon-calendar.c (hildon_calendar_set_background):
2631         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2632         * src/hildon-range-editor.c (hildon_range_editor_get_range):
2633         * src/hildon-seekbar.c (hildon_seekbar_init):
2634         * src/hildon-time-editor.c (hildon_time_editor_get_time):
2635         * src/hildon-time-selector.c (hildon_time_selector_finalize):
2636         * src/hildon-touch-selector-entry.c
2637         (hildon_touch_selector_get_text_from_model):
2638         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2639         * src/hildon-window.c (hildon_window_finalize):
2640
2641         Remove many unused variables.
2642
2643 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2644
2645         * src/hildon-seekbar.c: (hildon_seekbar_init),
2646         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2647
2648         Remove unnecessary g_assert() calls.
2649
2650 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2651
2652         * src/hildon-caption.c: (hildon_caption_expose),
2653         (hildon_caption_set_property), (hildon_caption_init),
2654         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2655         (hildon_caption_size_request), (hildon_caption_size_allocate),
2656         (hildon_caption_forall), (hildon_caption_set_separator),
2657         (hildon_caption_activate), (hildon_caption_set_child_expand),
2658         (hildon_caption_set_label_text),
2659         (hildon_caption_get_label_alignment):
2660
2661         Remove unnecessary g_assert() calls.
2662
2663 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
2664
2665         * src/hildon-banner.c
2666         (hildon_banner_map, hildon_banner_init): Make banner temporary
2667         before mapping it to avoid closing other temporary windows, but
2668         make it non-temporary afterwards to avoid being closed by other
2669         non-temporary windows.
2670         (-hildon_banner_client_event, hildon_banner_init):
2671         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2672
2673         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2674         opened)
2675
2676 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
2677
2678         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2679         deprecation guard.
2680
2681 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2682
2683         * src/hildon-remote-texture.c
2684         * src/hildon-remote-texture.h
2685         * src/hildon-remote-texture-private.h
2686         * examples/hildon-remote-texture-example.c:
2687         Updates/fixes to remote-texture and its example.
2688
2689 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
2690
2691         Patch by Mox Soini (ext-mox.soini@nokia.com)
2692
2693         * src/hildon-code-dialog.c: Update logical id.
2694         * src/hildon-set-password-dialog.c: Update logical id.
2695
2696         Fixes: NB#100646 (Logical strings is shown for ok in set
2697         password,Password needed dialogs)
2698
2699 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2700
2701         * src/hildon.h
2702         * src/hildon-remote-texture.c
2703         * src/hildon-remote-texture.h
2704         * src/hildon-remote-texture-private.h
2705         * src/Makefile.am
2706         Added remote texture widget (for Clutter shared memory textures)
2707
2708         * examples/hildon-remote-texture-example.c
2709         * examples/Makefile.am
2710         Added example file for remote texture usage
2711
2712 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
2713
2714         * configure.ac: post release version bump.
2715         * debian/changelog: version bump.
2716
2717 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
2718
2719         [Release 2.1.42]
2720
2721         * NEWS: Updates.
2722         * configure.ac: Bump version.
2723         * debian/changelog: Updates.
2724
2725 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
2726
2727         * src/hildon-date-selector.c (hildon_date_selector_init)
2728         (hildon_date_selector_constructor): Don't connect to the "changed"
2729         signal until the selector is completely constructed.
2730
2731 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2732
2733         * src/hildon-touch-selector.c: (_create_new_column),
2734         (hildon_touch_selector_append_column),
2735         (hildon_touch_selector_set_column_selection_mode),
2736         (hildon_touch_selector_set_active),
2737         (hildon_touch_selector_select_iter):
2738         Emit the HildonTouchSelector::changed signal every time selection
2739         is changed in any of the methods above.  This behavior was already
2740         documented but not fully functional.
2741
2742         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2743         selection is programmatically changed)
2744
2745 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2746
2747         * doc/hildon-sections.txt: Remove obsolete icon
2748         sizes from here as well.
2749
2750 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2751
2752         * examples/hildon-stackable-window-example.c (add_window): Remove
2753         unnecessary return.
2754
2755 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2756
2757         * src/hildon-app-menu.c
2758         (hildon_app_menu_show): Check whether the parent window of a menu
2759         is topmost before popping it up.
2760
2761         Fixes: NB#100468 (Application menu window is launched even when a
2762         new secondary-window/dialog is pending to be shown/realized.)
2763
2764 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2765
2766         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2767         icon sizes.
2768
2769 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2770
2771         Patch by Mox Soini (ext-mox.soini@nokia.com)
2772
2773         * src/hildon-banner.c: (hildon_banner_show_animation):
2774         use stylus size instead of obsolete note size.
2775         * src/hildon-defines.h: Update icon sizes.
2776
2777 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2778
2779         * src/hildon-touch-selector-entry.c:
2780         (hildon_touch_selector_entry_init): Disable unsupported
2781         input modes.
2782         (hildon_touch_selector_entry_get_text_column): Emit a warning
2783         if an unsupported input modes is used and explicitile state
2784         these modes in the documentation.
2785
2786         Fixes: NB#99802 (Hildon touch selector entry not working properly
2787         for some of the input modes)
2788
2789 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
2790
2791         * src/hildon-pannable-area.c,
2792         (hildon_pannable_area_init): Added the changed signal handlers of
2793         the adjustments.
2794
2795         Fixes: NB#100320 (HildonPannableArea does not listen to
2796         GtkAdjustment "change" signals)
2797
2798 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2799
2800         * doc/hildon-sections.txt
2801         * src/hildon-window-private.h
2802         * src/hildon-window.h
2803         * src/hildon-window.c (hildon_window_init)
2804         (hildon_window_realize, hildon_window_unrealize)
2805         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2806         (hildon_window_size_request, hildon_window_size_allocate)
2807         (hildon_window_forall, hildon_window_show_all)
2808         (hildon_window_destroy, +paint_edit_toolbar)
2809         (+hildon_window_set_edit_toolbar):
2810         New hildon_window_set_edit_toolbar() method, to add a
2811         HildonEditToolbar to a window without having to pack it manually.
2812
2813         Reorganize hildon_window_size_allocate()
2814
2815         * src/hildon-edit-toolbar.c: Update documentation.
2816
2817         * examples/hildon-edit-toolbar-example.c (edit_window): Update
2818         example to use the new API.
2819
2820         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2821
2822 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2823
2824         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2825         Remove from stack before calling parent's hide.
2826
2827 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2828
2829         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2830         window is removed from the middle of the stack, update the
2831         transiency of the previous one.
2832
2833         Fixes: NB#100487 (HildonStackableWindow transiency becomes
2834         incoherent)
2835
2836 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2837
2838         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2839         block/unblock the signal handler if it's not actually being used.
2840         Fixes some critical warnings.
2841
2842 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
2843
2844         Based on a patch by Iván Gómez (igomez@igalia.com)
2845
2846         * src/hildon-banner.c
2847         * src/hildon-gtk.c
2848         * src/hildon-main.c
2849         * src/hildon-note.c
2850         * src/hildon-pannable-area.c
2851         * src/hildon-picker-dialog.c
2852         * src/hildon-wizard-dialog.h
2853         * src/hildon-wizard-dialog.c: Documentation updates.
2854
2855         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2856         gtk_dialog_add_button() instead of hildon_dialog_add_button().
2857
2858 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2859
2860         * configure.ac: post release version bump.
2861         * debian/changelog: version bump.
2862
2863 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2864
2865         [Release 2.1.40]
2866
2867         * NEWS: Updates.
2868         * configure.ac: Bump version.
2869         * debian/changelog: Updates.
2870
2871 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
2872
2873         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2874         a stock icon nor change the relief of the back arrow.
2875
2876         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2877         graphics from theme)
2878
2879 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
2880
2881         * src/hildon-button.c (hildon_button_set_alignment): Use
2882         priv->alignment if the button has no child yet.
2883
2884 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
2885
2886         * src/hildon-button.c: (hildon_button_init): Set the
2887         button style during initialization to give it the proper
2888         label color.
2889
2890         Fixes: NB#99713 (HildonButton value label color is wrong)
2891
2892 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
2893
2894         * src/hildon-touch-selector.c: Document
2895         hildon_touch_selector_center_on_selected()
2896
2897 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
2898
2899         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2900         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2901         all menu items, but not the menu itself.
2902         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2903         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2904         items after adding them to the menu so keyboard accelerators work.
2905         (hildon_app_menu_show): Don't show the menu if it contains items
2906         but none of them are visible.
2907
2908         * examples/hildon-app-menu-example.c (create_menu): Use
2909         gtk_widget_show_all() to show all menu items.
2910
2911 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
2912
2913         * src/hildon-picker-dialog.c:
2914         (-_update_title_on_selector_changed_cb),
2915         (-_dialog_update_title): Removed.
2916         (_select_on_selector_changed_cb), (_on_dialog_response),
2917         (on_selector_columns_changed): Do not update the dialog title.
2918         (setup_interaction_mode): Do not connect to
2919         HildonTouchSelector::changed signal if there's a "done" button, as
2920         the dialog title doesn't need to be updated.
2921
2922         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2923         contents in title)
2924
2925 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
2926
2927         Patch by Kristian Rietveld (kris@imendio.com)
2928
2929         * src/hildon-touch-selector.c: (_create_new_column): Use new
2930         GtkTreeView::hildon-row-tapped signal to react to user interactions
2931         instead of ::changed.
2932
2933         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2934         with some dynamic tree model)
2935
2936 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
2937
2938         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2939         (+screen_size_changed, +label_size_request)
2940         (hildon_note_class_init): Make the Hildon information note have a
2941         minimum height, and make its text hvae a maximum width.
2942
2943         Fixes: NB#98614 (Hildon information note (background) should have
2944         minimum height and maximum text width)
2945
2946 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
2947
2948         * src/hildon-banner.h
2949         * src/hildon-banner.c (hildon_banner_show_information)
2950         (hildon_banner_show_informationf)
2951         (hildon_banner_show_information_with_markup): Update documentation
2952         to reflect that the icon_name parameter is not used anymore.
2953         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2954         Remove all code from these functions and mark them as deprecated.
2955         (hildon_banner_show_progress): Mark as deprecated.
2956
2957         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2958
2959 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
2960
2961         * src/hildon-pannable-area.c,
2962         (hildon_pannable_area_class_init),
2963         (tranparency_color),
2964         (hildon_pannable_draw_vscroll),
2965         (hildon_pannable_draw_hscroll),
2966         (hildon_pannable_area_expose_event): Added a new way to render the
2967         scrollbars of the pannable area avoiding using cairo at all. This
2968         way we improve the performance of the pannable area rendering. The
2969         cairo rendering procedure is still in the code, we can control
2970         which one to use changing the value of the define
2971         USE_CAIRO_SCROLLBARS.
2972
2973 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
2974
2975         * configure.ac: post release version bump.
2976         * debian/changelog: version bump.
2977
2978 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
2979
2980         [Release 2.1.38]
2981
2982         * NEWS: Updates.
2983         * configure.ac: Bump version.
2984         * debian/changelog: Updates.
2985
2986 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2987
2988         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2989         banners instead of destroying them when they receive a button
2990         press.
2991
2992 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
2993
2994         Reverted commit 34028, it was causing regressions, probably the
2995         topmost condition is not correct, we have to check it in more
2996         detail. We have reponed the bug: NB#97458 (Pannable area prevents
2997         propagation of button press events)
2998
2999 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3000
3001         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3002         that the selection is not empty before attempting to retrieve the
3003         current ampm selection.
3004
3005 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3006
3007         * src/hildon-picker-button.c:
3008         (hildon_picker_button_on_dialog_response): Directly update the
3009         button contents when required instead of calling _selection_changed.
3010
3011 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3012
3013         * src/hildon-program.c (hildon_program_update_top_most): Update
3014         'is-topmost' property also when wm_hints is not set.
3015
3016         Fixes: NB#98383 (is-topmost signal is not emitted when task
3017         switcher is clicked.)
3018
3019 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3020
3021         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3022
3023         * src/Makefile.am,
3024         * src/hildon.h,
3025         * src/hildon-animation-actor.c,
3026         * src/hildon-animation-actor.h: Added the animation actor class,
3027         this widget represents an animation actor for WM-assisted
3028         animation effects in the Hildon framework.
3029
3030 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3031
3032         * src/hildon-window-stack-private.h
3033         * src/hildon-window-stack.c
3034         * src/hildon-stackable-window.c (hildon_stackable_window_show):
3035         Avoid calling gtk_widget_show() again indirectly from
3036         hildon_stackable_window_show()
3037
3038 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3039
3040         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3041         unused variable.
3042
3043 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3044
3045         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3046         (hildon_time_selector_init): Move the construction of the hours and
3047         ampm columns to the constructor to preserve the order the columns
3048         are appended.
3049
3050 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3051
3052         * src/hildon-picker-dialog.c:
3053         (hildon_picker_dialog_class_init): Connect a realize method.
3054         (+hildon_picker_dialog_realize): Setup the interaction mode here
3055         and not before.
3056         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3057         yet, do it during the realize instead.
3058         (_on_dialog_response):
3059         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3060         if the widget is not realized, to avoid the dialog response before it
3061         is even shown.
3062
3063         Avoid premature responses in the HildonPickerDialog that can cause it
3064         to be hidden before it's even shown.
3065
3066 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3067
3068         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3069         (on_selector_columns_changed), (requires_done_button),
3070         (+prepare_action_area), (setup_interaction_mode),
3071         (_hildon_picker_dialog_set_selector):
3072
3073         Split the interaction mode setup into preparation of the
3074         action area (prepare_action_area()) and the connection of
3075         the signals in setup_interaction_mode() and update the code to
3076         reflect this.
3077
3078 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3079
3080         * src/hildon-pannable-area.c,
3081         (hildon_pannable_area_class_init): Reduced the amount of scrolls
3082         per second to 15, we will check if this is ok regarding
3083         smoothness.
3084
3085 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3086
3087         * src/hildon-pannable-area.c,
3088         (hildon_pannable_axis_scroll): Avoid resize if we already have
3089         reached overshoot_max.
3090
3091 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3092
3093         * src/hildon-pannable-area.c,
3094         (hildon_pannable_area_init),
3095         (hildon_pannable_area_realize),
3096         (hildon_pannable_area_size_allocate),
3097         (hildon_pannable_area_map),
3098         (hildon_pannable_area_unmap),
3099         (hildon_pannable_draw_vscroll),
3100         (hildon_pannable_draw_hscroll),
3101         (hildon_pannable_area_expose_event),
3102         (hildon_pannable_area_refresh): Added a new GdkWindow to the
3103         pannable are to avoid the expose events go to the window and
3104         redraw the window. We save this way that part of the stack and the
3105         paint_boxes. We had to change the positions of the elements when
3106         drawing.
3107
3108 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
3109
3110         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3111         * src/hildon-color-chooser-dialog.c:
3112         (hildon_color_chooser_dialog_init):
3113         * src/hildon-font-selection-dialog.c:
3114         (hildon_font_selection_dialog_init),
3115         (hildon_font_selection_dialog_show_preview):
3116         * src/hildon-get-password-dialog.c:
3117         * src/hildon-login-dialog.c:
3118         * src/hildon-set-password-dialog.c:
3119         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3120         * src/hildon-time-picker.c: (hildon_time_picker_init):
3121
3122         Remove obsolete logical string IDs and update to the appropriate ones.
3123
3124         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3125
3126 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
3127
3128         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3129         that happens if the window hasn't been realized yet.
3130
3131         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3132         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3133
3134 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
3135
3136         * src/hildon-app-menu.c (hildon_app_menu_class_init)
3137         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3138         by another grab.
3139
3140         Fixes: NB#98537 (Device hangs in account settings dialog)
3141
3142 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3143
3144         * configure.ac: post release version bump.
3145         * debian/changelog: version bump
3146
3147 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3148
3149         [Release 2.1.36]
3150
3151         * NEWS: Updates.
3152         * configure.ac: Bump version.
3153         * debian/changelog: Updates.
3154
3155 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3156
3157         Added a new function to the HildonTimeButton widget that allows to
3158         change the step of the minutes in the selector associated with the
3159         button: hildon_time_button_new_step
3160
3161         * src/hildon-time-button.c,
3162         (hildon_time_button_init),
3163         (hildon_time_button_new),
3164         (hildon_time_button_new_step):
3165         * src/hildon-time-button.h: Added the new function and refactored
3166         the code.
3167         * examples/hildon-time-button-example.c,
3168         (main): We have replaced the function without parameters with the
3169         function with the steps set to 5
3170
3171         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3172
3173 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3174
3175         * src/hildon-time-selector.c,
3176         (hildon_time_selector_class_init),
3177         (hildon_time_selector_constructor),
3178         (hildon_time_selector_get_property),
3179         (hildon_time_selector_set_property),
3180         (_create_minutes_model),
3181         (hildon_time_selector_new_step),
3182         (hildon_time_selector_set_time),
3183         * src/hildon-time-selector.h: Added a new property to the
3184         HildonTimeSelector (minutes-step), we use that property to control
3185         the steps between the minutes in the list of the selector. We have
3186         added a new function to the API to create a widget changing the
3187         step: hildon_time_selector_new_step.
3188
3189 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3190
3191         * src/hildon-time-selector.c,
3192         (hildon_time_selector_class_init),
3193         (hildon_time_selector_constructor),
3194         (hildon_time_selector_init): Overrided the construct function when
3195         creating the time selector object. We have moved the minutes model
3196         handling code from the init to the new construction function:
3197         hildon_time_selector_constructor.
3198
3199 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3200
3201         * examples/hildon-date-button-example.c: (main): Use the new
3202         hildon_date_button_new_with_year_range() method in the example.
3203         * src/hildon-date-button.c:
3204         (+hildon_date_button_new_with_year_range): New public method
3205         to conveniently create a HildonDateButton with a custom year range
3206         in its HildonDateSelector.
3207         * src/hildon-date-button.h: Add the new public method definition.
3208
3209         Fixes: NB#97908 (Not possible to change the year range in
3210         HildonDateSelector/HildonDateButton)
3211
3212 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3213
3214         * src/hildon-date-selector.c:
3215         (+hildon_date_selector_set_property),
3216         (+hildon_date_selector_get_property),
3217         (hildon_date_selector_class_init): Install new properties "min-year"
3218         and "max-year" to define boundaries for the year column.
3219         (_create_year_model): Use the boundary properties to populate the model.
3220         (+hildon_date_selector_new_with_year_range): New public method to
3221         create a HildonDateSelector with a user defined year range.
3222         (hildon_date_selector_select_current_date): Use the new boundaries to
3223         calculate the iterator of current year.
3224         * src/hildon-date-selector.h: Add the new public method definition.
3225
3226 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3227
3228         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3229         Install a constructor method.
3230         (+hildon_date_selector_construct_ui): construct the widget.
3231         (+hildon_date_selector_constructor): new constructor.
3232         (+hildon_date_selector_init): move out widget construction code to
3233         the new constructor.
3234
3235 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3236
3237         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3238         that there's actually a month or year selected before obtaining them.
3239         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3240         of the HildonTouchSelector::changed signal, as it was emitted on every
3241         single item selection.
3242
3243         Fix some warnings and possible crashers due to the selection restoring.
3244
3245 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3246
3247         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3248         the signal handlers only after creating the dialog instead of on every
3249         button click.
3250
3251 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
3252
3253         * src/hildon-button.c (hildon_button_init)
3254         * src/hildon-check-button.c (hildon_check_button_init)
3255         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3256         focus when clicked by default.
3257
3258 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3259
3260         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3261         g_object_unref().
3262
3263 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3264
3265         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3266         Alejandro G. Castro  (alex@igalia.com)
3267
3268         * src/hildon-picker-dialog.c:
3269         (hildon_picker_dialog_class_init): install new "center-on-show"
3270         property.
3271         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3272         (hildon_picker_dialog_set_property): add setter code for the new
3273         property.
3274         (hildon_picker_dialog_get_property): add getter code for the new
3275         property.
3276         (hildon_picker_dialog_show): Ensure visibility of selected items in the
3277         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3278         default.
3279
3280         Fixes: NB#92849 (Selected item is not always visible when
3281         HildonTouchSelector is shown)
3282
3283 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3284
3285         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3286         Alejandro G. Castro  (alex@igalia.com)
3287
3288         * src/hildon-touch-selector.c:
3289         (_create_new_column): Do not connect to the "realize" signal of the
3290         pannable area.
3291         (hildon_touch_selector_append_column): center on the selected items
3292         when a new column is appended.
3293         (hildon_touch_selector_select_iter): Factor out the code to select a
3294         column to hildon_touch_selector_scroll_to().
3295         (+search_nearest_element): Method to retrieve the nearest selected
3296         element to the visible area of the pannable area in a column.
3297         (+on_realize_cb): scroll to the initially selected item.
3298         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3299         the pannable area is realized, otherwise delay this until it is.
3300         (+_hildon_touch_selector_center_on_selected_items): Centers on the
3301         selected items of a given column.
3302         (+hildon_touch_selector_center_on_selected): Public method to center
3303         all columns on the nearest selected item.
3304         * src/hildon-touch-selector.h: Add definition for
3305         hildon_touch_selector_center_on_selected().
3306
3307         Implement public API to ensure visibility of all selected items in
3308         a HildonTouchSelector.
3309
3310 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
3311
3312         Fixed a problem in the fading when calling the scroll_to API, and
3313         improve scrollbar fading handling.
3314
3315         * src/hildon-pannable-area.c,
3316         (hildon_pannable_area_grab_notify): avoid the timeout when the
3317         alpha is zero.
3318         (hildon_pannable_area_button_press_cb),
3319         (hildon_pannable_area_motion_notify_cb): Code style changes.
3320         (hildon_pannable_area_button_release_cb): Review the conditions
3321         when releasing the mouse button to avoid unrequired fading
3322         timeouts.
3323         (hildon_pannable_area_scroll_to): Do not calculate and set the
3324         velocity if the scroll is not required.
3325
3326 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
3327
3328         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3329         Don't check whether the new selector is NULL: it cannot be.
3330         Hold a reference to the selector while doing the replacement.
3331
3332 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3333
3334         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3335         unnecessary size_request in a removed widget.
3336
3337 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3338
3339         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3340         an unnecessary reference tracking that was leaking.
3341
3342 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3343
3344         Added delayed motion notify event handling, this way we can
3345         discard redrawing if more than 25 events arrive per second.
3346
3347         * src/hildon-pannable-area.c,
3348         (hildon_pannable_area_init): Initialized the new private atributes
3349         controlling this timeout
3350         (hildon_pannable_area_dispose): Remove the timeout that controls
3351         the motion notify events.
3352         (hildon_pannable_area_scroll): Added a condition to control the
3353         use of the acceleration.
3354         (hildon_pannable_area_motion_event_scroll_timeout),
3355         (hildon_pannable_area_motion_event_scroll): Added this two
3356         functions, they handle the motion notify events inside the
3357         timeout.
3358         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3359         to the scroll method with the new function.
3360         (hildon_pannable_area_button_release_cb): We have to remove the
3361         timeout handler and move to the last position if the last motion
3362         events were not handled.
3363
3364         Fixes: NB#97028 (Pannable area updates on every motion event)
3365
3366 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3367
3368         * src/hildon-pannable-area.c,
3369         (hildon_pannable_area_get_topmost): Added a new parameter to
3370         filter the the windows that do not include those events. Added
3371         also a condition when finding the window to filter windows that do
3372         not ask for those events.
3373         (hildon_pannable_area_button_press_cb),
3374         (hildon_pannable_area_button_release_cb),
3375         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3376         topmost function, we have added the new parameter.
3377
3378         Fixes: NB#97458 (Pannable area prevents propagation of button
3379         press events)
3380
3381 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3382
3383         * src/hildon-pannable-area.c,
3384         (hildon_pannable_area_initial_effect): Added controls before
3385         launching the timeout and the idle functions.
3386         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3387         of the method, in some situations it can return with TRUE and 0 in
3388         the timeout.
3389         (hildon_pannable_area_button_press_cb): We do not need to set
3390         DELAY for fading out here.
3391
3392         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3393
3394 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3395
3396         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3397         post-cleaning if the selection is not NULL.
3398
3399 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3400
3401         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3402         all items before restoring the selection.
3403
3404 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3405
3406         * src/hildon-touch-selector.c:
3407         (+hildon_touch_selector_unselect_all):
3408         * src/hildon-touch-selector.h: New API to unselect all items in a
3409         column of the touch selector.
3410
3411 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
3412
3413         * src/hildon-pannable-area.c,
3414         (hildon_pannable_area_redraw): Added a call to the refresh
3415         function inside the redraw because apparently in some cases the
3416         change in the adjustment does not imply a size allocate.
3417
3418         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3419         despite the view not being scrollable)
3420
3421 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3422
3423         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3424         leak. Check for NULL before attempting to set the window title.
3425
3426 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3427
3428         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3429         whether to show or not the 'Done' button each time the dialog is
3430         shown, as it depends on the HildonTouchSelector selection mode.
3431
3432         Fixes: NB#96226 (In multiple selection mode Done button is shown
3433         sometimes in listpicker)
3434
3435 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3436
3437         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3438         for the number of columns in the HildonTouchSelector more than once.
3439
3440 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3441
3442         * src/hildon-touch-selector.c: Minor documentation fixes.
3443
3444         * src/hildon-picker-dialog.c (+_dialog_update_title)
3445         (_select_on_selector_changed_cb)
3446         (_update_title_on_selector_changed_cb)
3447         (on_selector_columns_changed): Update dialog title when there's no
3448         'Done' button and also when the number of columns in the selector
3449         changes.
3450         Code refactoring.
3451
3452         * src/hildon-picker-button.c (hildon_picker_button_finalize)
3453         (+_selection_changed, hildon_picker_button_on_dialog_response)
3454         (hildon_picker_button_selector_selection_changed)
3455         (+hildon_picker_button_selector_columns_changed)
3456         (hildon_picker_button_set_selector): Update button value and emit
3457         'value-changed' when the number of columns in the selector
3458         changes.
3459         Code refactoring.
3460
3461         Fixes: NB#96225 (Dialog titles are not shown according to the
3462         values selected in the list picker)
3463
3464 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3465
3466         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3467         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3468         New "arrow-width" and "arrow-height" style properties to set the
3469         size of the arrow button.
3470         Set name of arrow button ("hildon-edit-toolbar-arrow").
3471
3472         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3473         graphics from theme)
3474
3475 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3476
3477         * src/hildon-picker-button.c:
3478         (hildon_picker_button_selector_selection_changed): Use
3479         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3480         the dialog is present.
3481
3482         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3483         the selection is accepted in the dialog)
3484
3485 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3486
3487         * src/hildon-color-chooser.h
3488         * src/hildon-color-chooser-dialog.h:
3489         Added G_BEGIN_DECLS and G_END_DECLS
3490
3491 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3492
3493         (_clean_current_selection): plug a leak in the list.
3494
3495 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3496
3497         * src/hildon-picker-dialog.c:
3498         (+free_path_list): Method to free a GList of GtkTreePaths.
3499         (_clean_current_selection), (_save_current_selection),
3500         (_restore_current_selection): Save the current selection in
3501         as a list of lists, to support multiple selection properly.
3502
3503 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3504
3505         patch by Claudio Saavedra (csaavedra@igalia.com)
3506
3507         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3508         Store the press position.
3509         (+hildon_text_view_button_release_event): If the release position is
3510         close enough to the press position, move the cursor here. Otherwise,
3511         ignore.
3512         (hildon_text_view_class_init): Override GtkTextView press, release, and
3513         motion event handlers, disabling this way text selection through
3514         pointer interaction, and allowing the container widget to handle the
3515         motion event.
3516
3517         Fixes: NB#95828 (HildonTextView functionality)
3518
3519 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3520
3521         Based on a patch by Iván Gómez (igomez@igalia.com)
3522
3523         * src/hildon-button.[ch]
3524         * src/hildon-calendar.c
3525         * src/hildon-check-button.c
3526         * src/hildon-date-editor.c
3527         * src/hildon-date-selector.c
3528         * src/hildon-picker-button.c
3529         * src/hildon-time-editor.c
3530         * src/hildon-time-selector.c
3531         * src/hildon-touch-selector.[ch]:
3532         Documentation updates
3533
3534 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3535
3536         * src/hildon-pannable-area.c,
3537         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3538         threshold, it was required due to X events handling.
3539
3540 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3541
3542         * src/hildon-pannable-area.c,
3543         (hildon_pannable_area_grab_notify),
3544         (hildon_pannable_area_initial_effect),
3545         (hildon_pannable_area_button_press_cb),
3546         (hildon_pannable_area_button_release_cb),
3547         (hildon_pannable_area_scroll_cb),
3548         (hildon_pannable_area_scroll_to): Review the timeout management of
3549         the scrollbar, the frecuency was incorrectly set.
3550
3551 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
3552
3553         * src/hildon-picker-button.c:
3554         (+hildon_picker_button_on_dialog_response),
3555         (hildon_picker_button_clicked): Present the dialog instead of
3556         running it with gtk_dialog_run().
3557
3558         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3559         picker dialog)
3560
3561 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
3562
3563         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3564         (hildon_app_menu_finalize): When a window is hidden it doesn't
3565         emit notify::is-topmost, so make sure than the menu also
3566         disappears in that case.
3567         (parent_window_topmost_notify): Renamed from parent_window_hidden
3568
3569         Fixes: NB#94460 (stackable window's menu is not closed when its
3570         window is hidden)
3571
3572 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3573
3574         * src/hildon-touch-selector-entry.c:
3575         (+hildon_touch_selector_entry_set_input_mode),
3576         (+hildon_touch_selector_entry_get_input_mode):
3577         * src/hildon-touch-selector-entry.h: New methods to access the input
3578         mode in the selector's entry.
3579
3580         Fixes: NB#93410 (API required for setting IM mode in
3581         HildonTouchSelectorEntry)
3582
3583 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3584
3585         * configure.ac: post release version bump.
3586         * debian/changelog: version bump
3587
3588 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3589
3590         [Release 2.1.34]
3591
3592         * NEWS: Updates.
3593         * configure.ac: Bump version.
3594         * debian/changelog: Updates.
3595
3596 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
3597
3598         * src/hildon-touch-selector.c:
3599         (_hildon_touch_selector_has_multiple_selection): No need
3600         to initialize the variables here.
3601
3602 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3603
3604         * src/hildon-note-private.h
3605         * src/hildon-note.c (event_box_press_event, hildon_note_init)
3606         (hildon_note_finalize, hildon_note_rebuild): Close information
3607         notes when they receive a button press.
3608
3609         Fixes: NB#89890 (Information notes does not get disappeared after
3610         few seconds)
3611
3612 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
3613
3614         * src/hildon-wizard-dialog.c: (create_title): Remove translation
3615         mark from the wizard title, as it's not really necessary. Also,
3616         do not display the page title if not set.
3617
3618 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3619
3620         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3621         (parent_window_hidden): Use the window's "is-topmost" property to
3622         detect when to hide the menu.
3623
3624 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3625
3626         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3627         (hildon_app_menu_finalize): If the parent window of the menu is
3628         hidden, hide the menu too.
3629
3630         Fixes: NB#94460 (stackable window's menu is not closed when its
3631         window is hidden)
3632
3633 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3634
3635         * debian/changelog
3636         * debian/libhildon1-examples.install
3637         * debian/rules
3638         * examples/Makefile.am:
3639         Use dh_install to install all examples.
3640         Use DEB_SRCDIR instead of defining SOURCE_DIR
3641
3642 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3643
3644         * configure.ac: post release version bump.
3645         * debian/changelog: version bump
3646
3647 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3648
3649         [Release 2.1.32]
3650
3651         * NEWS: updates
3652         * configure.ac: bump version
3653         * debian/changelog: updates
3654         * debian/control: bump gtk+ dependency
3655
3656 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3657
3658         patch by Christian Dywan (christian@imendio.com)
3659
3660         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3661         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3662
3663 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
3664
3665         * src/hildon-check-button.c (hildon_check_button_init)
3666         (hildon_check_button_class_init, hildon_check_button_style_set)
3667         (hildon_check_button_apply_style):
3668         New "checkbox-size" style property.
3669
3670         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3671         larger / configurable size)
3672
3673 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3674
3675         * configure.ac: post release version bump.
3676         * debian/changelog: version bump
3677
3678 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3679
3680         [Release 2.1.30]
3681
3682         * NEWS: updates
3683         * configure.ac: bump version
3684         * debian/changelog: updates
3685
3686 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3687
3688         * doc/hildon-sections.txt
3689         * src/hildon-pannable-area.c
3690         * src/hildon-program.c
3691         * src/hildon-time-editor.c
3692         * src/hildon-touch-selector-entry.c:
3693
3694         More documentation updates.
3695
3696 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3697
3698         * doc/hildon-sections.txt
3699         * src/hildon-caption.c
3700         * src/hildon-code-dialog.c
3701         * src/hildon-color-button.c
3702         * src/hildon-controlbar.c
3703         * src/hildon-date-editor.c
3704         * src/hildon-date-selector.c
3705         * src/hildon-edit-toolbar.c
3706         * src/hildon-find-toolbar.c
3707         * src/hildon-font-selection-dialog.c
3708         * src/hildon-gtk.c
3709         * src/hildon-program.c
3710         * src/hildon-range-editor.c
3711         * src/hildon-seekbar.c
3712         * src/hildon-time-editor.c
3713         * src/hildon-time-selector.c
3714         * src/hildon-volumebar-range.c
3715         * src/hildon-volumebar.c
3716         * src/hildon-vvolumebar.c
3717         * src/hildon-weekday-picker.c
3718         * src/hildon-window.c
3719         * src/hildon-wizard-dialog.c:
3720
3721         Lots of documentation fixes.
3722
3723 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3724
3725         Patch contributed by Iván Gómez (igomez@igalia.com)
3726
3727         * src/hildon-check-button.c:
3728         * src/hildon-date-button.c:
3729         * src/hildon-date-selector.c:
3730         * src/hildon-dialog.c:
3731         * src/hildon-edit-toolbar.c:
3732         * src/hildon-entry.c:
3733         * src/hildon-picker-button.c:
3734         * src/hildon-program.c:
3735         * src/hildon-text-view.c:
3736         * src/hildon-time-button.c:
3737         * src/hildon-touch-selector-entry.c:
3738         * src/hildon-window-stack.c:
3739
3740         Add more "since" tags to the new API.
3741
3742 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3743
3744         * doc/hildon-sections.txt: Add below method.
3745         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3746         version for the hildonized scale.
3747         * src/hildon-gtk.h: Add the definition.
3748
3749         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3750
3751 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3752
3753         * doc/hildon-sections.txt: Add missing entries for new methods.
3754
3755 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3756
3757         Added API to pannable are in order to get its adjustments. We
3758         added two properties to manage the values we had in the private
3759         structure.
3760
3761         * src/hildon-pannable-area.c:
3762         (hildon_pannable_area_class_init): Added hadjustment and
3763         vadjustment properties in order to expose horizontal and vertical
3764         adjustment.
3765         (hildon_pannable_area_get_property),
3766         (hildon_pannable_area_set_property): Added code to handle the new
3767         properties
3768         (hildon_pannable_area_get_hadjustment),
3769         (hildon_pannable_area_get_vadjustment): API functions to get the
3770         adjustments
3771         * src/hildon-pannable-area.h:
3772         (hildon_pannable_area_get_hadjustment),
3773         (hildon_pannable_area_get_vadjustment): API functions to get the
3774         adjustments
3775
3776 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3777
3778         Fixed some leaks, after valgrinding.
3779
3780         * src/hildon-touch-selector.c:
3781         (_default_print_func): Fixed a leak.
3782         (hildon_touch_selector_append_column): Fixed a leak.
3783         * src/hildon-date-button.c:
3784         (hildon_date_button_init): Fixed a leak.
3785         * src/hildon-date-selector.c
3786         (hildon_date_selector_finalize): Fixed a leak.
3787
3788 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3789
3790         Based on a patch by Christian Dywan (christian@imendio.com)
3791
3792         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3793         GtkHScale.
3794         * src/hildon-gtk.h: Add definition.
3795
3796         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3797
3798 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3799
3800         * src/hildon-picker-button.c: (hildon_picker_button_init),
3801         (hildon_picker_button_new): Set the HildonButton::style property
3802         in the init method, to propagate the value to the derived classes.
3803
3804 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3805
3806         * src/hildon-button.c: (hildon_button_class_init): Do not make
3807         the "style" property a construct property.
3808
3809 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3810
3811         * src/hildon-wizard-dialog.h
3812         * src/hildon-wizard-dialog.c
3813         (hildon_wizard_dialog_set_forward_page_func)
3814         * src/hildon-pannable-area.h
3815         * src/hildon-pannable-area.c
3816         (hildon_pannable_area_set_size_request_policy):
3817         Documentation fixes.
3818
3819 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3820
3821         * doc/hildon-sections.txt: Fixed warning about unused symbols.
3822
3823 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3824
3825         * doc/hildon-sections.txt: Added sections file.
3826
3827 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3828
3829         * AUTHORS: Updates.
3830         * src/*.[ch]: Updates.
3831
3832 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
3833
3834         * examples/hildon-progress-indicator-example.c: new file
3835         * examples/Makefile.am: include the new example program
3836
3837 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
3838
3839         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3840
3841 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3842
3843         * configure.ac: post release version bump
3844         * debian/changelog: version bump
3845
3846 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3847
3848         [Release 2.1.28]
3849
3850         * NEWS: updates
3851         * configure.ac: bump version
3852         * debian/changelog: updates
3853         * debian/control: bump gtk+ dependency
3854
3855 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3856
3857         * src/hildon-dialog.c: Mark as deprecated.
3858         * src/hildon-dialog.h: Mark as deprecated.
3859         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3860         from HildonDialog and still work, even if
3861         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3862         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3863
3864         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3865         maemo changes) instead)
3866
3867 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
3868
3869         * src/hildon-pannable_area.h:
3870         * src/hildon-pannable_area.c:
3871         (hildon_pannable_area_class_init),
3872         (hildon_pannable_area_set_property),
3873         (hildon_pannable_area_get_property),
3874         (hildon_pannable_area_size_request),
3875         (hildon_pannable_area_get_size_request_policy),
3876         (hildon_pannable_area_set_size_request_policy): Added new API
3877         allowing applications to control the request policy. Now they can
3878         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3879         children allocation (HILDON_MOVEMENT_CHILDREN).
3880
3881 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
3882
3883         * src/hildon-gtk.h
3884         * src/hildon-gtk.c
3885         (hildon_gtk_tree_view_set_ui_mode)
3886         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3887         mode of treeviews and iconviews.
3888
3889 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3890
3891         * src/hildon-touch-selector-entry.c:
3892         (hildon_touch_selector_entry_init): Use a HildonEntry instead
3893         of a GtkEntry to get proper theming.
3894
3895         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3896         widget, not GtkEntry)
3897
3898 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3899
3900         * src/hildon-wizard-dialog.c: (response): Move forward if there is
3901         no HildonWizardDialogPageFunc.
3902
3903 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3904
3905         Patch contributed by Iván Gómez (igomez@igalia.com)
3906
3907         * src/hildon-app-menu.c:
3908         * src/hildon-button.c:
3909         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3910         * src/hildon-stackable-window.c:
3911         * src/hildon-time-selector.c:
3912         * src/hildon-touch-selector.c:
3913         * src/hildon-window.c:
3914
3915         Add more "since" tags to the new API in hildon 2.2.
3916
3917 2008-12-05  Tim Janik  <timj@imendio.com>
3918
3919         Patch contributed by Christian Dywan (christian@imendio.com)
3920
3921         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3922         HildonSizeType, which are supplied by Gtk+ now.
3923
3924         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3925
3926         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3927         (with maemo changes) instead)
3928
3929 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
3930
3931         Patch contributed by Iván Gómez (igomez@igalia.com)
3932
3933         * src/hildon-pannable-area.c: Add "since" tags to the new API in
3934         hildon 2.2.
3935
3936 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
3937
3938         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3939         (some_page_func), (main): Update the example to use a
3940         HildonWizardDialogPageFunc function.
3941
3942         * src/hildon-wizard-dialog-private.h: Add private data for
3943         the HildonWizardDialogPageFunc function usage.
3944
3945         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3946         (destroy), (hildon_wizard_dialog_init), (response),
3947         (hildon_wizard_dialog_set_forward_page_func):
3948         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3949         that applications can use to stop a HildonWizardDialog to jump to
3950         the next page.
3951
3952         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3953         next page)
3954
3955 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
3956
3957         * src/hildon-program.h
3958         * src/hildon-program-private.h
3959         * src/hildon-program.c (hildon_program_init)
3960         (hildon_program_set_common_app_menu)
3961         (hildon_program_get_common_app_menu):
3962         New API for setting a common HildonAppMenu for all
3963         HildonStackableWindows registered with the HildonProgram.
3964
3965         * src/hildon-stackable-window.c
3966         (hildon_stackable_window_toggle_menu):
3967         Use the common HildonAppMenu if a window doesn't have a specific
3968         one.
3969
3970         * src/hildon-app-menu-private.h
3971         * src/hildon-app-menu.c
3972         (hildon_app_menu_get_parent_window):
3973         Function to obtain the window a HildonAppMenu is attached to.
3974         (hildon_app_menu_set_parent_window):
3975         Hide the menu if the parent window is set to NULL.
3976
3977 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
3978
3979         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3980         set GtkTreeView::enable-search to FALSE, to avoid the interactive
3981         search widget to popup.
3982
3983 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
3984
3985         * configure.ac: post release version bump
3986         * debian/changelog: version bump
3987
3988 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
3989
3990         [Release 2.1.26]
3991
3992         * NEWS: updates
3993         * configure.ac: bump version
3994         * debian/changelog: updates
3995
3996 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3997
3998         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3999
4000         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4001         (hildon_window_stack_window_realized)
4002         (hildon_window_stack_remove, _hildon_window_stack_do_push):
4003         Set the leader GdkWindow when a window is stacked and realized,
4004         unset it when it's unstacked.
4005         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4006
4007         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4008
4009 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4010
4011         * src/hildon-stackable-window.h
4012         * src/hildon-window-stack.h:
4013         Protect definition of HildonWindowStack using the preprocessor.
4014
4015 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4016
4017         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4018         Fix warning if all menu items are hidden.
4019
4020 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
4021
4022         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4023
4024         * src/hildon-controlbar.c:
4025         * src/hildon-hvolumebar.c:
4026         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4027         Multiple scale size defines updates.
4028
4029         Fixes: NB#94322 (Scale Updates)
4030
4031 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4032
4033         * examples/hildon-app-menu-example.c (create_menu)
4034         Show items after adding them to the menu, as in the future the
4035         menu will no longer call gtk_widget_show() on the added items.
4036
4037         * src/hildon-app-menu.c:
4038         Update example as explained above.
4039
4040 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4041
4042         * src/hildon-app-menu.c
4043         (hildon_app_menu_insert, hildon_app_menu_add_filter):
4044         Make sure that all menu items have finger height.
4045
4046 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
4047
4048         * src/hildon-picker-dialog.c:
4049         (_on_dialog_response), (_save_current_selection),
4050         (_restore_current_selection), (_clean_current_selection),
4051         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4052         Defined new functions in order to save the current internal selector
4053         selection previous open the dialog, in case that the use cancel the
4054         interaction, so the widget restores the previous selection.
4055
4056         Fixes: NB#92032 (In calendar application, date values in 'new event' 
4057         are not proper)
4058
4059         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4060
4061 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4062
4063         * src/hildon-button.c: Add a reference to the button examples in
4064         hildon-button-example.c
4065
4066         * examples/hildon-button-example.c: Added examples of the most
4067         common button layouts.
4068
4069 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4070
4071         * src/hildon-app-menu.c (hildon_app_menu_show)
4072         (hildon_app_menu_class_init): Don't show the menu if it's empty.
4073
4074         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4075
4076 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4077
4078         * src/hildon-picker-dialog.c:
4079         (hildon_picker_dialog_init): Initialize the signal id for
4080         HildonTouchSelector::columns-changed.
4081         (+on_selector_columns_changed): Set up the interaction mode everytime a
4082         column is added or removed from the HildonTouchSelector.
4083         (_hildon_picker_dialog_set_selector): Connect to
4084         HildonTouchSelector::columns-changed and keep track of it.
4085
4086         Make sure to update the interaction mode of the dialog everytime a
4087         column is added or removed in the HildonTouchSelector.
4088
4089         Fixes: NB#93228 (Done button is not shown always in listpicker)
4090
4091 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4092
4093         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4094         a new ::columns-changed signal.
4095         (hildon_touch_selector_append_column): Emit ::columns-changed.
4096         (hildon_touch_selector_remove_column): Emit ::columns-changed.
4097
4098         Add a ::columns-changed signal, emitted when the number of columns in a
4099         HildonTouchSelector changes.
4100
4101 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4102
4103         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4104         (_hildon_picker_dialog_set_selector): Factor out the code
4105         to set up the dialog interaction mode.
4106
4107 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4108
4109         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4110         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4111         to signal_changed_id.
4112
4113 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4114
4115         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4116         Minor doc. fixes.
4117
4118 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
4119
4120         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4121         Updated the logical ids related to ampm format, as now it is required to
4122         show it correctly localized even on languages with no default
4123         abbreviations for am or pm
4124         (_check_am_pm_format): check correctly the 24h format gconf property
4125
4126         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4127
4128 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4129
4130         * src/hildon-button.c: Documentation updates.
4131
4132 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4133
4134         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4135         * src/hildon-caption.c: (hildon_caption_class_init):
4136         * src/hildon-color-button.c: (hildon_color_button_class_init):
4137         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4138         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4139         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4140         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4141
4142         Remove deprecated GTK+ marshalers and replace them with the ones
4143         provided by GLib, for those available, add a marshaler for
4144         BOOLEAN:VOID, which is not available in GLib, and use it.
4145
4146 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4147
4148         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4149         the text from the previous column if there is no
4150         HildonTouchSelectorColumn::text-property set.
4151
4152 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4153
4154         * src/hildon-button.h
4155         * src/hildon-button.c (hildon_button_set_property)
4156         (hildon_button_get_property, hildon_button_class_init)
4157         (hildon_button_set_style, hildon_button_get_style):
4158         New "style" property to change the visual appearance of the
4159         button.
4160
4161         * src/hildon-picker-button.c (hildon_picker_button_new):
4162         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4163
4164         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4165         HildonButton look like PickerButton)
4166
4167 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4168
4169         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4170         column while building the default string.
4171
4172 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4173
4174         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4175         scroll indicator by default.
4176
4177         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4178
4179 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4180
4181         * src/hildon-main.c: Fix the documentation for hildon_init()
4182
4183 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4184
4185         * doc/hildon-docs.sgml
4186         * doc/hildon.types
4187         * src/Makefile.am
4188         * src/hildon.h
4189         * src/hildon-window-stack-private.h
4190         * src/hildon-window-stack.h
4191         * src/hildon-window-stack.c:
4192         New HildonWindowStack object, that adds support for multiple
4193         stacks of windows per process.
4194
4195         * src/hildon-stackable-window-private.h
4196         * src/hildon-stackable-window.h
4197         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4198         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4199         (hildon_stackable_window_show, hildon_stackable_window_hide)
4200         (hildon_stackable_window_class_init)
4201         (hildon_stackable_window_init):
4202         Use HildonWindowStack for stack management.
4203
4204         * src/hildon-program.c (hildon_program_pop_window_stack)
4205         (hildon_program_peek_window_stack)
4206         (hildon_program_go_to_root_window):
4207         Add a fallback implementation to the deprecated functions using
4208         HildonWindowStack.
4209
4210         * examples/hildon-stackable-window-example.c:
4211         Use the new HildonWindowStack API.
4212
4213 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4214
4215         * src/hildon-stackable-window-private.h
4216         * src/hildon-stackable-window.c (hildon_stackable_window_show)
4217         (hildon_stackable_window_hide, hildon_stackable_window_init):
4218         Remove all window stack management.
4219
4220         * src/hildon-program-private.h
4221         * src/hildon-program.h
4222         * src/hildon-program.c (hildon_program_init)
4223         (hildon_program_pop_window_stack)
4224         (hildon_program_peek_window_stack)
4225         (hildon_program_go_to_root_window):
4226         Remove all window stack management and mark functions as
4227         deprecated.
4228
4229 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4230
4231         * src/hildon-app-menu.c (hildon_app_menu_realize):
4232         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4233
4234 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4235
4236         * configure.ac: post release version bump
4237         * debian/changelog: version bump
4238
4239 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4240
4241         [Release 2.1.24]
4242
4243         * NEWS: updates
4244         * configure.ac: bump version
4245         * debian/changelog: updates
4246
4247 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4248
4249         Based on initial code by Christian Dywan (christian@imendio.com)
4250
4251         * doc/hildon-docs.sgml: Add section for hildon-main.
4252         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4253         * src/Makefile.am: Add new hildon-main.[ch]
4254         * src/hildon-defines.h: Update the icon sizes.
4255         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4256         new library initialization files and register icon sizes.
4257         * src/hildon-main.h: New declarations.
4258         * src/hildon.h: Include hildon-main.h
4259
4260         Add new initialization functions to the library. These methods
4261         will register the hildon specific icon sizes and can be used in the
4262         future for other hildon specific bits.
4263
4264         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4265
4266 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4267
4268         * src/hildon-window.c: (hildon_window_realize),
4269         (hildon_window_notify), (-hildon_window_update_title): Do not set
4270         the application name in the window title.
4271
4272         Fixes: NB#89754 (Applications shouldn't display their names in the
4273         window title)
4274
4275 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4276
4277         * src/hildon-note-private.h:
4278         * src/hildon-note.c: (hildon_note_set_property),
4279         (hildon_note_get_property), (hildon_note_class_init),
4280         (hildon_note_init), (hildon_note_finalize),
4281         (hildon_note_new_confirmation_with_icon_name),
4282         (hildon_note_new_information_with_icon_name):
4283
4284         No need to mark as deprecated the actual code. Revert
4285         to avoid missing symbols in widgets using deprecated API.
4286
4287 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4288
4289         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4290
4291         * src/hildon-volumebar.h
4292         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4293         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4294
4295         * src/hildon-helper.h
4296         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4297         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4298
4299         * examples/Makefile.am:
4300         Deprecate hildon-insensitive-example
4301
4302         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4303
4304 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4305
4306         * examples/hildon-pannable-area-buttons-scroll-example.c:
4307         Make all buttons finger height
4308
4309 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
4310
4311         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4312         documentation
4313         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4314         update the day model only if it is really required, and to avoid the
4315         full-reconstruction aproach. Now it only add or remove the required days.
4316
4317         The purpose of this is avoid superfluous HildonTouchSelector::changed
4318         signals
4319
4320         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4321         with strange parameters)
4322
4323 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
4324
4325         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4326
4327         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4328         the WINDOW_TYPE property.
4329
4330         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4331
4332 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
4333
4334         * doc/gtk-doc.make:
4335         Fix dependency to allow parallel compilation with make -jX
4336
4337 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
4338
4339         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4340         color frame and some minor tweaks to make it more consistent with
4341         current theming.
4342
4343         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4344         highlighted but not visible)
4345
4346 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4347
4348         * examples/Makefile.am: Fixed typo in the Makefile.am.
4349
4350 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4351
4352         Reviewed the use of MAEMO_GTK define, now we add the define in the
4353         compilation line, and we also add it to the pc file.
4354
4355         * configure.ac: Added MAEMO_GTK define to the compilation command
4356         and removed it from the config.h.
4357
4358         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4359         do not have to take care about this define if the library was
4360         compiled with it.
4361
4362         * src/hildon-gtk.c:
4363         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4364
4365 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4366
4367         * examples/Makefile.am,
4368         * examples/hildon-pannable-area-buttons-scroll-example.c,
4369         * examples/hildon-pannable-area-gesture-signals-example.c,
4370         * examples/hildon-pannable-area-scroll-jump-example.c,
4371         * examples/hildon-pannable-area-tree-view-example.c:
4372         Renamed the pannable area examples, now they have more meaningful
4373         names.
4374
4375 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
4376
4377         * src/hildon-touch-selector.c:
4378         (hildon_touch_selector_set_column_selection_mode): Used of
4379         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4380         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4381         to avoid re-seting the same selection mode.
4382
4383         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4384         breaks HildonPickerDialog)
4385
4386 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
4387
4388         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4389         conditional in the Makefile.am
4390
4391 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
4392
4393         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4394         Remove unused methods.
4395
4396 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4397
4398         * src/hildon-button.c (hildon_button_init):
4399         Make button images center-aligned by default
4400
4401 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
4402
4403         * src/hildon-gtk.c:
4404         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4405         activated, we have to think about how to deal with both defines
4406         MAEMO_GTK and MAEMO_CHANGES.
4407
4408 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4409
4410         * examples/hildon-app-menu-example.c (create_menu): Make all
4411         buttons finger size.
4412
4413 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4414
4415         Fixed the compilation without maemo gtk adding ifdefs with
4416         MAEMO_GTK define to the code, we have to check this version more
4417         carefully.
4418
4419         * examples/Makefile.am: Added control to avoid some examples that
4420         just make sense with maemo gtk.
4421
4422         * src/hildon-gtk.c:
4423         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4424         hildon modes with the define.
4425
4426         * examples/hildon-edit-toolbar-example.c,
4427         (create_icon_view): Create the icon view without hildon-gtk
4428         helpers if we are not using maemo gtk.
4429
4430         * src/hildon-touch-selector.c,
4431         (_create_new_column): Create the treeview without hildon-gtk
4432         helpers if we are not using maemo gtk.
4433
4434 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4435
4436         * src/hildon-pnnable-area.c,
4437         (hildon_pannable_area_dispose),
4438         (hildon_pannable_area_button_press_cb),
4439         (hildon_pannable_area_child_mapped),
4440         (hildon_pannable_area_add),
4441         (hildon_pannable_area_remove): Added code to control the position
4442         of the event_window when adding and removing children from the
4443         pannable. We have to raise the event window when the child is
4444         mapped.
4445
4446         Fixes: NB#89811 (Not able to select first image thumbnail in multi
4447         selection mode using custom widget inside pannable)
4448
4449 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4450
4451         * configure.ac: post release version bump
4452         * debian/changelog: version bump
4453
4454 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4455
4456         [Release 2.1.22]
4457
4458         * NEWS: updates
4459         * configure.ac: bump version
4460         * debian/changelog: updates
4461
4462 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
4463
4464         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4465         search mode, in order to avoid lose the focus on the treeview when
4466         a hw key (like enter) is pressed.
4467
4468         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4469         in HildonDateSelector dialog)
4470
4471 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
4472
4473         * debian/rules: Added --enable-maintainer-mode
4474         * Makefile.am: Added ACLOCAL_AMFLAGS
4475
4476         This allows to properly regenerate the Makefiles if you modify the
4477         configure.ac or any Makefile.am.
4478
4479 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4480
4481         * examples/hildon-app-menu-example.c: (main): Do not set RC style
4482         properties, not needed at all.
4483
4484 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4485
4486         * src/hildon-note-private.h: Add strings for the icon and stock_icon
4487         properties.
4488         * src/hildon-note.c: (hildon_note_set_property),
4489         (hildon_note_get_property), (hildon_note_class_init),
4490         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4491         (hildon_note_new_confirmation_add_buttons): Remove icons.
4492         (hildon_note_new_confirmation_with_icon_name): Deprecate.
4493         (hildon_note_new_information_with_icon_name): Deprecate.
4494         (hildon_note_new_confirmation): Act directly, without calling
4495         the deprecated constructor.
4496         (hildon_note_new_information): Act directly, without calling
4497         the deprecated constructor.
4498         * src/hildon-note.h: Mark deprecate methods as such.
4499         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4500         not run tests on the deprecated methods if built with deprecation
4501         disabled.
4502
4503         Fixes: NB#91688 (Never show icons in information notes/confirmation
4504         notes)
4505
4506 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4507
4508         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4509         (hildon_app_menu_key_press): Remove leftover usage of the
4510         private structure in HildonAppMenu struct.
4511         * src/hildon-app-menu.h: Remove leftover private structure
4512         from the HildonAppMenu struct.
4513
4514         Fixes a crasher when using the HildonAppMenu.
4515
4516 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4517
4518         * src/hildon-picker-dialog.c: Use appropriate logical id
4519         for the default "Done" text.
4520
4521 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4522
4523         * configure.ac: post release version bump
4524         * debian/changelog: version bump
4525
4526 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
4527
4528         Modified the way to scroll to the current selection just when the touch
4529         selector is shown on the screen, avoiding a g_idle. Added too a property
4530         to configure this behaviour. See hildon_pannable_area_jump_to_child
4531         documentation for more information.
4532
4533         * src/hildon-touch-selector.c
4534         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4535         Added 'initial-scroll' property
4536         (hildon_touch_selector_set_property): Added
4537         (hildon_touch_selector_map): Removed as not required anymore
4538         (_hildon_touch_selector_on_selected_items): Modified in order to manage
4539         only a concrete column, instead of iterate along all the columns
4540
4541 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4542
4543         [Release 2.1.20]
4544
4545         * NEWS: updates
4546         * configure.ac: bump version
4547         * debian/changelog: updates
4548
4549 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4550
4551         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4552         compilation time warnings.
4553
4554 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4555
4556         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4557         the default value for HildonPannableArea::mov-mode to
4558         HILDON_PANNABLE_AREA_MODE_VERT.
4559
4560         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4561
4562 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4563
4564         Reverting following commit:
4565
4566         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
4567
4568           * src/hildon-app-menu-private.h
4569           * src/hildon-app-menu.[ch]
4570           * src/hildon-button.[ch]
4571           * src/hildon-check-button.[ch]
4572           * src/hildon-entry.[ch]
4573           * src/hildon-pannable-area.[ch]
4574           * src/hildon-text-view.[ch]:
4575           Added private field to the object's structure.
4576
4577         because it causes an ABI breakage. We will need to introduce these
4578         changes later at some point. See NB#91636 for an extensive
4579         explanation and status.
4580
4581 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4582
4583         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4584
4585         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4586         remove special cases that are no longer necessary.
4587
4588         Fixes: NB#91016 (Change toolbar sizes, simplification)
4589
4590 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4591
4592         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4593         is shown in the cancel note.
4594
4595 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4596
4597         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4598         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4599         (hildon_seekbar_init): Remove steppers, remove expose event.
4600         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4601
4602         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4603
4604 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
4605
4606         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4607         label font to "SmallSystemFont" for vertically arranged buttons.
4608
4609         Fixes: NB#90662 (HildonButton "value" and "detail" text is
4610         unformatted)
4611
4612 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4613
4614         * src/hildon-check-button.c
4615         (hildon_check_button_set_active, hildon_check_button_clicked):
4616         Don't access private parts directly, use getters instead.
4617
4618 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4619
4620         * src/hildon-check-button.c (hildon_check_button_new):
4621         Align the contents of the check button to the left.
4622
4623 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4624
4625         * src/hildon-pannable-area.c,
4626         (hildon_pannable_area_scroll_to),
4627         (hildon_pannable_area_jump_to),
4628         (hildon_pannable_area_scroll_to_child),
4629         (hildon_pannable_area_jump_to_child): Replace the mapped
4630         precondition of these functions with the realized, it is the
4631         correct state of the widget in this case. Changed the
4632         documentation according to this modification.
4633
4634 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4635
4636         Added a new EXTRA_CFLAGS option to add the deprecated define to
4637         the compilation command. This way we can avoid using the define in
4638         the documentation compilation.
4639
4640         * configure.ac: Defined EXTRA_CFLAGS.
4641
4642         * examples/Makefile.am:
4643         * src/Makefile.am:
4644         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4645
4646 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
4647
4648         * src/hildon-picker-dialog.c:
4649         Defined a utility macro with the desired touch selector height
4650         Removed currently unused separator, and title_label variables from
4651         private structure.
4652         (hildon_picker_dialog_init): Removed code related to the creation
4653         of unused private variables title_label and separator.
4654         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4655         to ensure correct visualization of the touch selector inside the dialog.
4656         * src/hildon-touch-selector.c
4657         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4658         ensure a concrete height of the widget.
4659
4660 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4661
4662         * src/Makefile.am:
4663         * tests/Makefile.am:
4664
4665         Remove spurious whitespaces.
4666
4667 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4668
4669         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4670         compilation warning after the cancel button removal.
4671
4672 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4673
4674         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4675
4676         * configure.ac: Added an AM_CONDITIONAL in order to use in the
4677         Makefile.am, that way we can choose not to compile some examples
4678         and tests of the deprecated widgets.
4679
4680         * examples/Makefile.am: Divided the sources in deprecated and
4681         non-deprecated.
4682
4683         * src/Makefile.am: Added undef statement of the deprecated
4684         symbol to the enums file generation process.
4685
4686         * src/hildon-color-chooser-dialog.c
4687         * src/hildon-color-chooser-dialog.h
4688         * src/hildon-color-button.c
4689         * src/hildon-color-button.h
4690         * src/hildon-color-chooser.c
4691         * src/hildon-color-chooser.h
4692         * src/hildon-controlbar.c
4693         * src/hildon-controlbar.h
4694         * src/hildon-date-editor.c
4695         * src/hildon-date-editor.h
4696         * src/hildon-hvolumebar.c
4697         * src/hildon-hvolumebar.h
4698         * src/hildon-private.c
4699         * src/hildon-private.h
4700         * src/hildon-range-editor.c
4701         * src/hildon-range-editor.h
4702         * src/hildon-seekbar.c
4703         * src/hildon-seekbar.h
4704         * src/hildon-time-editor.c
4705         * src/hildon-time-editor.h
4706         * src/hildon-time-picker.c
4707         * src/hildon-time-picker.h
4708         * src/hildon-volumebar.c
4709         * src/hildon-volumebar.h
4710         * src/hildon-vvolumebar.c
4711         * src/hildon-vvolumebar.h
4712         * src/hildon-bread-crumb-trail.h
4713         * src/hildon-bread-crumb-trail.c
4714         * src/hildon-calendar-popup.c
4715         * src/hildon-calendar-popup.h
4716         * src/hildon-weekday-picker.c:
4717         * src/hildon-weekday-picker.h:
4718         * src/hildon-bread-crumb-widget.c:
4719         * src/hildon-bread-crumb-widget.h:
4720         * src/hildon-bread-crumb.c:
4721         * src/hildon-bread-crumb.h:
4722         * src/hildon-calendar.c:
4723         * src/hildon-calendar.h:
4724         * src/hildon-caption.c:
4725         * src/hildon-code-dialog.c:
4726         * src/hildon-code-dialog.h:
4727         * src/hildon-font-selection-dialog.c:
4728         * src/hildon-font-selection-dialog.h:
4729         * src/hildon-get-password-dialog.c:
4730         * src/hildon-get-password-dialog.h:
4731         * src/hildon-login-dialog.c:
4732         * src/hildon-login-dialog.h:
4733         * src/hildon-number-editor.c:
4734         * src/hildon-number-editor.h:
4735         * src/hildon-set-password-dialog.c:
4736         * src/hildon-set-password-dialog.h:
4737         * src/hildon-sort-dialog.c:
4738         * src/hildon-sort-dialog.h: This is the list of deprecated
4739         widgets.
4740
4741         * src/hildon-touch-selector.c:
4742         * src/hildon-window.c: Added undef statement to avoid compilation
4743         warnings
4744
4745         * tests/Makefile.am: Divided the sources in deprecated and
4746         non-deprecated.
4747
4748         * tests/check_test.c,
4749         (configure_tests): Marked the deprecated code that was adding
4750         suites with deprecated tests.
4751
4752         Fixes: NB#91135 (Deprecate legacy hildon widgets)
4753
4754 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4755
4756         * src/hildon-touch-selector.c: (_default_print_func): Do not
4757         duplicate a string returned by gtk_tree_model_get(), it is already
4758         allocated for us.
4759
4760         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4761         function)
4762
4763 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4764
4765         * src/hildon-pannable-area.c
4766         (hildon_pannable_area_add_with_viewport): Reviewed the complete
4767         method, it had problems when adding a widget with viewport the
4768         second time. Now checks if it already has a viewport and uses it.
4769
4770         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4771         on child)
4772
4773 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4774
4775         * src/hildon-pannable-area.c,
4776         (hildon_pannable_area_scroll_to),
4777         (hildon_pannable_area_jump_to),
4778         (hildon_pannable_area_scroll_to_child),
4779         (hildon_pannable_area_jump_to_child): Added a precondition to the
4780         scroll and jump to functions: the widget must be mapped before we
4781         can safely call these functions. We have also added documentation
4782         to the functions to explain how to use them in this situation.
4783
4784
4785 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4786
4787         Reviewed the threading handling of the pannable widget, we have
4788         used the gdk_threads_add_timeout function instead of the usual
4789         glib handlers. This avoids some problems with the threads.
4790
4791         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4792         (hildon_pannable_area_initial_effect),
4793         (hildon_pannable_area_scroll_indicator_fade),
4794         (hildon_pannable_area_button_press_cb),
4795         (hildon_pannable_area_timeout),
4796         (hildon_pannable_area_motion_notify_cb),
4797         (hildon_pannable_area_button_release_cb),
4798         (hildon_pannable_area_scroll_cb),
4799         (hildon_pannable_area_scroll_to): Removed the
4800         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4801         gdk_threads_add_timeout.
4802
4803         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4804
4805 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4806
4807         [Release 2.1.18]
4808
4809         * NEWS: updates
4810         * configure.ac: bump version
4811         * debian/changelog: updates
4812
4813 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4814
4815         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4816         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4817         * src/hildon-color-chooser-dialog.c:
4818         (hildon_color_chooser_dialog_init):
4819         * src/hildon-font-selection-dialog.c:
4820         (hildon_font_selection_dialog_init):
4821         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4822
4823         Remove all cancel/close-like dialogs, as these are not going to be
4824         displayed at all.
4825
4826 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4827
4828         * src/hildon-note.c: (hildon_note_rebuild),
4829         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4830         when needed.
4831
4832         Fixes: NB#90661 (Delete dialog is displayed without NO button)
4833
4834 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4835
4836         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4837         sure all buttons are shown, even the Cancel/Close-like ones.
4838
4839         Fixes: NB#90861 (Custom Confirmation dialogs should be
4840         protected from cancel button removal)
4841
4842 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
4843
4844         * debian/control: Change libhildon1-examples dependency from libhildon1
4845         to libhildon1-dev
4846         * debian/libhildon1-examples.install
4847         * debian/rules
4848         * Makefile.am: Modified the final install directory for the examples on
4849         package libhildon1-examples
4850         * Makefile.static: Update clean target in order to remove all the binary
4851         examples
4852
4853         Changes suggested by Claudio after review new libhildon1-examples package
4854
4855 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
4856
4857         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4858         * src/hildon-touch-selector.c: Ditto.
4859
4860 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
4861
4862         * debian/control: Added new package libhildon1-examples, in order to pack
4863         the current hildon examples as documentation
4864         * debian/rules: Not to compress .c files, modify some includes on the
4865         examples (as normally are compiled locally, but when installed it will
4866         require to include the installed libhildon1 library), and rename
4867         Makefile.static
4868         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4869         install all the example files on the new example package
4870         * examples/Makefile.static: Added static makefile that can be used to
4871         compile the examples, once installed the new example package
4872         * examples: Most of the examples were modified in order to grant that
4873         all use only '#include "hildon.h"', in order to be easy to prepare
4874         it on the example package
4875
4876 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
4877
4878         * debian/control
4879         * debian/libhildon1-dev.install
4880         * debian/libhildon1-doc.install:
4881         Move all gtk-doc files to a separate libhildon1-doc package.
4882
4883 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
4884
4885         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
4886
4887         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4888
4889 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
4890
4891         * debian/rules: Fixed a error in order to avoid unnecessary calls
4892         to autogen.sh on package building
4893
4894 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
4895
4896         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4897
4898 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
4899
4900         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4901         header include.
4902
4903 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
4904
4905         * src/hildon-picker-button.c
4906         (hildon_picker_button_finalize):
4907         Free priv->done_button_text
4908
4909         * src/hildon-time-button.c
4910         (hildon_time_button_set_time)
4911         * src/hildon-picker-button.c
4912         (hildon_picker_button_clicked)
4913         (hildon_picker_button_selector_selection_changed)
4914         (hildon_picker_button_set_selector)
4915         * src/hildon-date-button.c
4916         (hildon_date_button_set_date):
4917         Free strings returned by hildon_touch_selector_get_current_text()
4918
4919         * src/hildon-button.c (hildon_button_construct_child):
4920         Fix leaks in priv->image and priv->label_box
4921
4922         Fixes: NB#90535 (Memory leak in picker button)
4923
4924 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
4925
4926         * src/hildon-button.c: (hildon_button_get_property): Do not access
4927         private elements directly, use getters instead.
4928
4929 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4930
4931         * src/hildon-app-menu-private.h
4932         * src/hildon-app-menu.c
4933         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4934         Store the menu's parent window.
4935
4936         * src/hildon-stackable-window.c
4937         (hildon_stackable_window_toggle_menu)
4938         (hildon_stackable_window_finalize):
4939         Set the menu's parent window when the menu is shown, unset it when
4940         it is destroyed.
4941
4942         * src/hildon-app-menu.c
4943         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4944         (hildon_app_menu_class_init):
4945         Send unhandled keyboard accelerators to the parent window.
4946
4947 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4948
4949         * src/hildon-stackable-window.c
4950         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4951
4952 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4953
4954         * configure.ac: post release version bump
4955
4956 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4957
4958         * NEWS: Updates
4959         * configure.ac: Bump version
4960         * debian/changelog: Updates
4961         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4962         gtk-doc 1.10.
4963
4964 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4965
4966         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4967
4968         * src/hildon-gtk.h
4969         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4970         GtkMenu with Hildon style.
4971
4972 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4973
4974         * src/hildon-picker-button.c:
4975         (hildon_picker_button_set_done_button_text): Set the dialog's
4976         done button text here as well.
4977
4978         Fixes: NB#90232 (Picker button does not set the label on done button
4979         for the second time)
4980
4981 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4982
4983         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4984         warning message.
4985
4986 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
4987
4988         * src/hildon-app-menu.c (hildon_app_menu_insert)
4989         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4990         the HildonAppMenu to be activatable using keyboard accelerators
4991         when the menu is not being shown.
4992
4993         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4994
4995 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
4996
4997         * src/hildon-stackable-window.c
4998         (hildon_stackable_window_show):
4999         Don't hide old windows automatically when new windows are shown:
5000         this is now a task for the window manager.
5001         (hildon_stackable_window_class_init)
5002         (hildon_stackable_window_hide):
5003         Remove windows from the stack everytime they're hidden.
5004         (hildon_stackable_window_realize):
5005         Don't change the _NET_WM_WINDOW_TYPE property. Use
5006         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5007         it as a stackable window.
5008
5009         * src/hildon-program.c
5010         (hildon_program_pop_window_stack):
5011         Just hide the window to remove it from the stack.
5012         (hildon_program_go_to_root_window):
5013         Don't call gtk_widget_show(), this is now a task for the window
5014         manager.
5015
5016         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5017
5018 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
5019
5020         * src/hildon-button.c
5021         (hildon_button_construct_child):
5022         Don't pack anything in the button until text or image are
5023         set. This allows adding a custom child after creating the button
5024         with hildon_button_new().
5025         (hildon_button_finalize, hildon_button_class_init)
5026         (hildon_button_init, hildon_button_set_arrangement): Destroy the
5027         alignment and the label box even when they're not packed in the
5028         button.
5029
5030 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
5031
5032         * src/hildon-touch-selector.h:
5033         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5034         currently the type definition was using GTK_TYPE_VBOX
5035         * src/hildon-touch-selector.c:
5036         Added some implementation notes in order to clarify that any other widget
5037         added without the column related API will not be included on the
5038         selection logic, and how the widget is freed, as some people ask about
5039         it.
5040         (hildon_touch_selector_remove): Reimplemented in order to free properly
5041         the column related data when you remove the private hbox.
5042         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5043         to get a proper HildonTouchSelectorColumn documentation
5044
5045 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5046
5047         * src/hildon-touch-selector-entry.c:
5048         (hildon_touch_selector_entry_print_func): Return NULL if there is no
5049         text in the GtkEntry and there is no item selected. Fixes a
5050         potential crasher.
5051
5052 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5053
5054         * src/hildon-app-menu-private.h
5055         * src/hildon-app-menu.[ch]
5056         * src/hildon-button.[ch]
5057         * src/hildon-check-button.[ch]
5058         * src/hildon-entry.[ch]
5059         * src/hildon-pannable-area.[ch]
5060         * src/hildon-text-view.[ch]:
5061         Added private field to the object's structure.
5062
5063 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5064
5065         * configure.ac: post-release version bump
5066
5067 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5068
5069         [Release 2.1.14]
5070
5071         * configure.ac: pre-release version bump
5072         * NEWS: updates.
5073         * debian/changelog: updates.
5074
5075 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5076
5077         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5078         Disconnect the handler for HildonTouchSelector::changed.
5079
5080         (hildon_picker_button_selector_selection_changed): Update the button
5081         value if the selection change was not triggered by the
5082         HildonPickerDialog.
5083
5084         (hildon_picker_button_set_selector): connect to
5085         HildonTouchSelector::changed.
5086
5087         Fixes: NB#89650 (Picker button is not updated, when selection in
5088         selector has changed)
5089
5090 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
5091
5092         * src/hildon-picker-dialog.c
5093         (hildon_picker_dialog_realize): Removed as not required
5094         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5095         * src/hildon-picker-button.c
5096         (_current_selector_empty): New function, checks if the selector is empty
5097         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5098         if the current selector is empty, in order to avoid to show the dialog
5099         close the dialog in this case (and shows a g_warning).
5100
5101         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5102
5103 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
5104
5105         * src/hildon-pannable-area.c,
5106         (hildon_pannable_area_scroll): Added clause to stop movement when
5107         the child of pannable is smaller than one page.
5108         (hildon_pannable_area_scroll_to): Added conditions to avoid
5109         starting the scrolling movement if the child is smaller than one
5110         page, the complete child is in the screen, we do not have to move.
5111
5112         Fixes: NB#89632 (Picker button selection doesn't change on first click)
5113
5114 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5115
5116         * src/hildon-app-menu.c: Removed the 'columns' property, as now
5117         this is managed automatically by the widget when the size of the
5118         screen changes.
5119
5120 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5121
5122         * src/hildon-picker-button.c
5123         (hildon_picker_button_set_done_button_text): Make a copy of the
5124         text, and free the previous value.
5125
5126 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5127
5128         * src/hildon-touch-selector-entry.c:
5129         (hildon_touch_selector_entry_print_func): Return the selected row's
5130         text if the entry is empty.
5131
5132         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5133         entry is empty)
5134
5135 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5136
5137         * src/hildon-touch-selector-entry.c: Minor docs fixes.
5138
5139 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5140
5141         * doc/hildon.types
5142         * src/hildon-check-button.h
5143         * src/hildon-check-button.c
5144         * examples/hildon-check-button-example.c:
5145         HildonCheckButton is now a new widget. 'toggled' signal added.
5146
5147 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5148
5149         * src/hildon-program-private.h
5150         * src/hildon-program.c (hildon_program_init)
5151         (hildon_program_finalize): Removed unused variables group_leader
5152         and name from HildonProgramPrivate.
5153
5154 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5155
5156         * src/hildon-check-button.c (hildon_check_button_set_active)
5157         (hildon_check_button_get_active, hildon_check_button_new): Use
5158         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5159
5160 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
5161
5162         * src/hildon-touch-selector.h
5163         (hildon_touch_selector_set_column_attributes): added deprecation
5164         guard HILDON_DISABLE_DEPRECATED
5165         * src/hildon-time-selector.c
5166         (hildon_time_selector_set_time)
5167         (hildon_time_selector_get_time): Fixed a typo on documentation
5168         * src/hildon-touch-selector.c: update HildonTouchSelector and
5169         HildonTouchSelectorColumn documentation
5170         * src/hildon-touch-selector-entry.c: update "text-column" property
5171         documentation
5172         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5173         to be added to the general documentation.
5174
5175 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
5176
5177         * examples/hildon-pannable-area-example-4.c,
5178         (main),
5179         * examples/hildon-pannable-area-example.c,
5180         (main): Modified the code in order to use the container add, with
5181         viewport treeviews could have problems if they are really big.
5182
5183 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
5184
5185         * src/hildon-weekday-picker.c,
5186         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5187         the agreement regarding deprecation in the library.
5188
5189 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5190
5191         * examples/hildon-picker-button-multicolumn-example.c:
5192         (main): Use custom "done" button text.
5193
5194         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5195         (hildon_picker_button_set_property),
5196         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5197         (hildon_picker_button_init),
5198         (+hildon_picker_button_get_done_button_text),
5199         (+hildon_picker_button_set_done_button_text): New methods to customize
5200         the "done" button label in the launched HildonPickerDialog. Also,
5201         make it a property.
5202
5203         * src/hildon-picker-button.h: add the public API.
5204
5205 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5206
5207         * src/hildon-date-selector.h:
5208         * src/hildon-picker-dialog.h:
5209         * src/hildon-time-selector.h:
5210         * src/hildon-touch-selector-column.h:
5211         * src/hildon-touch-selector.h:
5212
5213         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5214         declarations. Fixes gtk-doc warnings.
5215
5216 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5217
5218         * src/hildon-picker-dialog.h
5219         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5220         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5221
5222         Fixes: NB#89329 (selectors in picker dialog are not visible when a
5223         long text is set as label for done button)
5224
5225 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5226
5227         * src/hildon-dialog.c (hildon_dialog_add_button):
5228         Set fixed width to all buttons in the HildonDialog.
5229
5230 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5231
5232         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5233
5234         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5235         Set widget name using class name plus "-finger" or "-thumb".
5236
5237 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
5238
5239         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5240         'clicked' when the state of the button is manually changed.
5241
5242 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
5243
5244         * src/hildon-app-menu.c (hildon_app_menu_realize)
5245         (hildon_app_menu_unrealize, hildon_app_menu_init)
5246         (hildon_app_menu_class_init, item_visibility_changed):
5247         Change the menu layout when the size of the screen changes.
5248         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5249         Show warning only when changing the number of colums using the
5250         property.
5251
5252 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
5253
5254         * debian/compat: Set to 5
5255         * debian/control: Update dependencies.
5256         * debian/libhildon1-dbg.install: Remove.
5257         * debian/libhildon1-dev.install: Update according to cdbs paths.
5258         * debian/libhildon1.install: Update according to cdbs paths.
5259         * debian/rules: Switch to cdbs.
5260
5261 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5262
5263         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5264         'item' variable renamed to 'filter'
5265
5266 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5267
5268         * src/hildon-app-menu.c (hildon_app_menu_insert)
5269         (hildon_app_menu_add_filter, remove_item_from_list)
5270         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5271         Don't leak hidden items when the menu is destroyed.
5272
5273 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5274
5275         * src/hildon-app-menu.c (hildon_app_menu_insert)
5276         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5277         (hildon_app_menu_set_columns, item_visibility_changed)
5278         (filter_visibility_changed, hildon_app_menu_repack_filters)
5279         (hildon_app_menu_repack_items):
5280         Repack items and filters separately.
5281
5282         Don't repack all items, change only the ones that are needed to
5283         update the layout.
5284
5285 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5286
5287         * src/Makefile.am: added hildon-touch-selector-column.h
5288
5289 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5290
5291         * src/hildon-touch-selector.c: added the property "text-column" to the
5292         class HildonTouchSelectorColumn, and related get/set functions
5293         (_default_printf_func): updated to use "text-column" property
5294         * src/hildon-touch-selector-entry.c: mark as deprecated the property
5295         "text-column" in his documentation, as this is now included on
5296         HildonTouchSelectorColumn. The get/set_property can still be used,
5297         working as a wrapper to the concrete column "text-column" property
5298         (_text_column_modified): callback added in order to handle the signal
5299         "notify::text-column" of the concrete HildonTouchSelectorColumn
5300         (hildon_touch_selector_entry_get_text_column)
5301         (hildon_touch_selector_entry_set_text_column): Added documentation, and
5302         modified in order to use the HildonTouchSelectorColumn "text-column"
5303         property
5304         * src/hildon-time-selector.c:
5305         * src/hildon-date-selector.c:
5306         * examples/hildon-touch-selector-example.c
5307         * examples/hildon-touch-selector-multi-cells-example.c
5308         * examples/hildon-picker-button-multicolumn-example.c
5309         Set the right value to "text-column" property on the creation of a new
5310         column using hildon_touch_selector_append_column()
5311
5312         Fixes: NB#88644 (Hardcoded first column of the model as text column)
5313
5314 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
5315
5316         * src/hildon-app-menu.c
5317         (hildon_app_menu_construct_child, hildon_app_menu_init): When
5318         updating the layout of the menu, don't create all widgets again,
5319         just repack the items in their new places.
5320
5321 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
5322
5323         * src/hildon-time-selector.c
5324         (hildon_time_selector_get_time)
5325         (hildon_time_selector_set_time)
5326         Added documentation of these public methods
5327
5328         * src/hildon-date-button.h
5329         * src/hildon-touch-selector-column.h
5330         * src/hildon-time-button.h
5331         * src/hildon-picker-dialog.h
5332         * src/hildon-time-selector.h
5333         * src/hildon-picker-button.h
5334         * src/hildon-touch-selector.h
5335         * src/hildon-time-picker.h
5336         * src/hildon-date-selector.h
5337         * src/hildon-touch-selector-entry.h
5338         Modified in order to use hildon-widgets code style
5339
5340 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5341
5342         Added deprecated support to the compilation process using
5343         HILDON_DISABLE_DEPRECATED
5344
5345         * configure.ac: Added the --disable-deprecated to the configure
5346         script
5347
5348         * src/hildon-weekday-picker.c:
5349         * src/hildon-weekday-picker.h: Deprecated widget, example of how
5350         to use the deprecated support. We will update the other deprecated
5351         widgets status in a new patch.
5352
5353 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5354
5355         * configure.ac: Fixed typo with fatal warnings support, the
5356         variable name was not correct
5357
5358 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
5359
5360         * src/hildon-app-menu.c
5361         * src/hildon-program.c: Update documentation.
5362
5363 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5364
5365         * configure.ac: Post-release version bump.
5366
5367 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5368
5369         [Release 2.1.12]
5370
5371         * NEWS: Update.
5372         * configure.ac: Pre-release version bump.
5373         * debian/changelog: Updates.
5374
5375 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5376
5377         * NEWS: Update news for previous releases.
5378
5379 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5380
5381         * examples/hildon-touch-selector-multi-cells-example.c:
5382         (create_selector): Update the example to use
5383         hildon_touch_selector_append_column() with a NULL renderer and set
5384         the renderers later.
5385         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5386         passed a NULL renderer. This is documented behavior now.
5387
5388         Allow passing a NULL renderer to hildon_touch_selector_append_column().
5389         This must be used if the developer wants full control on the layout of
5390         the renderers to be added to the column.
5391
5392         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5393
5394 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5395
5396         * src/hildon-touch-selector.c: Documentation fixes.
5397
5398 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5399
5400         * src/hildon-wizard-dialog-private.h: Remove image and box.
5401         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5402         (hildon_wizard_dialog_set_property), (response): Completely remove
5403         image/icon support, and the containers required for the layout.
5404
5405         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5406
5407 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5408
5409         * src/hildon-app-menu.c: Updated documentation.
5410
5411         * src/hildon-stackable-window.c
5412         (hildon_stackable_window_set_main_menu): Unref the old menu after
5413         ref'ing the new one.
5414
5415 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5416
5417         * src/hildon-stackable-window.c
5418         (hildon_stackable_window_set_main_menu): Unref the previous menu
5419         instead of destroying it.
5420
5421         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5422         floating reference and set has_user_ref_count to FALSE to make
5423         HildonAppMenu act like a normal ref-counted widget and not a
5424         toplevel widget.
5425
5426         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5427         changed)
5428
5429 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
5430
5431         * src/hildon-touch-selector-column.h: new file
5432         * src/hildon-touch-selector.h
5433         * src/hildon-touch-selector.c
5434         Implemented GtkCellLayout interface, in order to allow to configure
5435         the cell layout on each individual selector column
5436         (hildon_touch_selector_set_column_attributes): marked as deprecated
5437         * examples/hildon-touch-selector-multi-cells-example.c
5438         Example of how to use the GtkCellLayout interface on the selector
5439
5440         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5441
5442 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5443
5444         * src/hildon-app-menu.h
5445         * src/hildon-app-menu.c
5446         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5447         (hildon_app_menu_append, hildon_app_menu_prepend):
5448         New methods to prepend, insert and move items in the menu.
5449
5450 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5451
5452         * src/hildon-wizard-dialog.c:
5453
5454         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5455         button.
5456         (create_title): Update logical IDs and related code.
5457         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5458
5459         * src/hildon-wizard-dialog.h: Note that
5460         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5461         point, as it is not used anymore.
5462
5463         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5464
5465 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5466
5467         * src/hildon-note.c:
5468         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5469         shown.  Do not display an icon in confirmation notes nor information
5470         notes.
5471         (hildon_note_set_button_text): Update logical ID for cancel button.
5472
5473         Fixes: NB#88850 (Update HildonNote button strings + signals)
5474
5475 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5476
5477         * src/hildon-stackable-window.c
5478         (hildon_stackable_window_set_main_menu): Fix compilation warning.
5479
5480 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5481
5482         * src/hildon-app-menu-private.h
5483         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5484         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5485         (hildon_app_menu_init, hildon_app_menu_class_init): Added
5486         temporary property 'columns' to change the number of columns.
5487
5488 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5489
5490         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5491
5492         * examples/hildon-note-example.c: (on_information_clicked),
5493         (on_confirmation_clicked), (on_progress_clicked), (main): Add
5494         debugging information.
5495         * src/hildon-note-private.h: Remove close_if_pressed_outside,
5496         not needed anymore.
5497         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5498         (hildon_note_rebuild): Remove special handling of tapping outside/inside
5499         in order to close: this will be handled by the WM from now on.
5500
5501         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5502
5503 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5504
5505         * src/hildon-app-menu-private.h
5506         * src/hildon-app-menu.c
5507         (hildon_app_menu_append, hildon_app_menu_add_filter)
5508         (button_visibility_changed, hildon_app_menu_apply_style)
5509         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5510         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5511         layout everytime a button (item or filter) is shown or hidden.
5512
5513         * src/hildon-stackable-window.c
5514         (hildon_stackable_window_set_main_menu): Destroy the old menu when
5515         setting a new one.
5516
5517 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
5518
5519         * src/hildon-touch-selector.c:
5520         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5521         that the treeview inside the touch selector is in fremantle hildon mode
5522         * examples/hildon-date-button-example.c
5523         * examples/hildon-picker-button-multicolumn-example.c
5524         * examples/hildon-touch-selector-entry-example.c
5525         * examples/hildon-touch-selector-example.c
5526         * examples/hildon-time-button-example.c
5527         * examples/hildon-picker-button-example.c:
5528         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5529
5530 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
5531
5532         * examples/hildon-text-view-example.c: (main): Remove the
5533         gtkrc bits, now handled by the theme.
5534
5535 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
5536
5537         * src/hildon-picker-button.c (hildon_picker_button_set_active):
5538         Fix memory leak
5539
5540 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5541
5542         * po/Makefile.am: Install properly the mo files.
5543         * po/en_GB.po: Update translation, to ease testing purposes.
5544
5545 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5546
5547         * examples/hildon-picker-button-example.c: (main): Select an item
5548         in the selector before setting it to the button.
5549
5550 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5551
5552         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5553         Update button's value if the selector has an item active.
5554
5555         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5556         'value' with the selector)
5557
5558 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5559
5560         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5561         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5562         (hildon_picker_button_class_init): Plug the finalize method.
5563         (hildon_picker_button_set_selector): If there's a previously set
5564         selector, unref'it before setting a new one.
5565
5566         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5567         HildonTouchSelector)
5568
5569 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
5570
5571         * src/hildon-touch-selector-entry.c:
5572         (hildon_touch_selector_entry_changed): Check if there is no text
5573         selected before setting the entry text.
5574         Fixes: NB#88576
5575
5576 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5577
5578         * src/hildon-touch-selector.h
5579         * src/hildon-touch-selector.c
5580         (hildon_touch_selector_get_active)
5581         (hildon_touch_selector_set_active): New methods to set/get the
5582         index of the selected item.
5583
5584         * src/hildon-picker-button.h
5585         * src/hildon-picker-button.c
5586         (hildon_picker_button_get_active)
5587         (hildon_picker_button_set_active): New methods to set/get the
5588         index of the selected item.
5589
5590 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5591
5592         * configure.ac: post-release version bump.
5593
5594 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5595
5596         Release 2.1.10-1.
5597
5598         * configure.ac: Pre-release version bump.
5599         * debian/changelog: Updates.
5600         * debian/control: Add myself as maintainer and depend on l10n
5601         packages.
5602
5603 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5604
5605         * src/hildon-window.c
5606         (hildon_window_set_main_menu)
5607         * src/hildon-stackable-window.c
5608         (hildon_stackable_window_set_main_menu):
5609         Updated documentation.
5610
5611 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5612
5613         * src/hildon-date-selector.c (hildon_date_selector_finalize):
5614         Don't free selector->priv manually.
5615         Fixes: NB#88414
5616
5617 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5618
5619         * src/hildon-gtk.c,
5620         (hildon_gtk_window_set_progress_indicator):
5621         * src/hildon-gtk.h: Added the new API
5622         hildon_gtk_window_set_progress_indicator, it changes the state of
5623         the window progress hint.
5624
5625 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5626
5627         * src/hildon-button.c
5628         * src/hildon-stackable-window.c: Minor documentation updates.
5629
5630 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5631
5632         * src/hildon-stackable-window.c: Updated documentation.
5633
5634 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
5635
5636         * src/hildon-defines.h: Update margins definitions
5637         to the Fremantle sizes.
5638         Fixes: NB#88364
5639
5640 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5641
5642         * src/hildon-touch-selector.c,
5643         (_hildon_touch_selector_set_model): Cleaning the code after
5644         review, removed g_print and #if 0 from the code.
5645
5646 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5647
5648         * src/hildon-edit-toolbar.c: Update documentation.
5649
5650 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5651
5652         * src/hildon-check-button.h
5653         * src/hildon-check-button.c
5654         (hildon_check_button_set_label, hildon_check_button_get_label)
5655         * examples/hildon-check-button-example.c
5656         (button_clicked_cb):
5657         Removed deprecated methods.
5658
5659 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5660
5661         * src/hildon-text-view.c:
5662         Add sample code to the documentation.
5663
5664         * src/hildon-entry.h
5665         * src/hildon-text-view.h:
5666         Minor cosmetic changes.
5667
5668         * src/hildon-entry.c:
5669         Add sample code to the documentation.
5670         (hildon_entry_init, hildon_entry_refresh_contents):
5671         Don't allow NULL values in the placeholder.
5672
5673 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
5674
5675         * doc/hildon-docs.sgml
5676         * doc/hildon.types
5677         * examples/Makefile.am
5678         * examples/hildon-text-view-example.c
5679         * src/Makefile.am
5680         * src/hildon-text-view.c
5681         * src/hildon-text-view.h
5682         * src/hildon.h:
5683         New HildonTextView widget, with example.
5684
5685 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5686
5687         * po/POTFILES.in: Add missing files with translatable strings.
5688         Partially fixes NB#88287.
5689
5690 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5691
5692         * examples/hildon-pannable-area-example-2.c: (main): No need to
5693         set the cellrenderer height inside hildon touch lists, the theme does
5694         that for us.
5695
5696 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5697
5698         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5699         they are integrated in the theme.
5700
5701 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
5702
5703         * examples/hildon-entry-example.c: Update the example adding
5704         widgets to modify the text and the placeholder of the HildonEntry.
5705
5706         * src/hildon-entry.c: Show the placeholder everytime the widget
5707         is empty and loses the focus.
5708
5709 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
5710
5711         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5712
5713         * src/hildon-pannable-area.c,
5714         (hildon_pannable_area_size_request): Fixed bug in height
5715         requisition, avoid increasing size and add border twice.
5716
5717 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5718
5719         * configure.ac: postrelease version bump.
5720
5721 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5722
5723         Release 2.1.8-1.
5724
5725         * configure.ac: Prerelease version bump.
5726         * debian/changelog: update.
5727         * debian/rules: make -dbg package contain useful debugging symbols.
5728
5729 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5730
5731         * src/hildon-dialog.h
5732         * src/hildon-dialog.c
5733         (hildon_dialog_add_button, hildon_dialog_add_buttons):
5734         New methods to add buttons with finger size.
5735         (hildon_dialog_new_with_buttons):
5736         Create buttons with finger size.
5737
5738         * examples/hildon-dialog-example.c (main): Use HildonDialog
5739         methods to add buttons.
5740
5741 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5742
5743         * src/hildon-entry.c: Updated HildonButton documentation.
5744
5745 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5746
5747         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5748         button value label with (FALSE, FALSE) to prevent NB#88126 from
5749         being triggered.
5750
5751 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5752
5753         * examples/hildon-pannable-area-example.c,
5754         (main): Removed examples panning a vbox inside a pannable
5755         area. Check bug NB#87965
5756
5757 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5758
5759         Patch contributed by Kris Rietveld (kris@imendio.com)
5760
5761         * src/hildon-pannable-area.c,
5762         (hildon_pannable_area_get_topmost): replaced the get_geometry with
5763         get_size and get_position, this saves an X server roundtrip.
5764
5765 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5766
5767         * doc/hildon-docs.sgml
5768         * doc/hildon.types
5769         * examples/Makefile.am
5770         * examples/hildon-entry-example.c
5771         * src/Makefile.am
5772         * src/hildon-entry.c
5773         * src/hildon-entry.h
5774         * src/hildon.h:
5775         New HildonEntry widget, with example.
5776
5777 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5778
5779         * src/hildon-button.c (hildon_button_construct_child): Pack the
5780         image with expand == fill == FALSE. This is a workaround for a bug
5781         in GtkBox.
5782
5783 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
5784
5785         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5786         labels for the text column, to make it more look more dynamic.
5787
5788 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5789
5790         * src/hildon-time-selector.c
5791         Define gettext auxiliar macro N_
5792         (_create_minutes_model)
5793         (_create_hours_model)
5794         (_create_ampm_model): use of strftime in order to fill the model
5795         * src/hildon-date-selector.c
5796         (hildon_date_selector_finalize):
5797         (_locales_init): remove the logic related to get the name of the months
5798         using nl_langinfo, as it is not required anymore
5799         (_create_day_model)
5800         (_create_year_model)
5801         (_create_month_model)
5802         (_update_day_model): use of strftime in order to fill the model properly
5803
5804
5805 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
5806
5807         * src/hildon-button.h
5808         * src/hildon-button.c (hildon_button_get_image): New method to
5809         retrieve the image.
5810
5811 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
5812
5813         * src/hildon-touch-selector.c:
5814         (hildon_touch_selector_remove_column): Remove from the correct parent
5815         and also remove the list element and free it.
5816         Fixes: NB#88049
5817
5818 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5819
5820         * src/hildon-time-selector.c
5821         (_create_hours_model): change the range on 12h ampm format in order to use
5822         a 12-11 range instead of previous 01-12 range
5823         (hildon_time_selector_set_time): change the way to select the current time
5824         on 12h ampm format, due the change on the range
5825         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5826         Fixes: NB#88036
5827
5828 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
5829
5830         * src/hildon-touch-selector.c
5831         (hildon_date_touch_selector_get_selected): fix the selection mode check,
5832         in order to allow use this function on multiple row selection mode if
5833         the column is different that the first one
5834         Fixes: NB#88047
5835
5836 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
5837
5838         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5839         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5840
5841 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5842
5843         * src/hildon-date-selector.h: clean some comments, now on the .c
5844         * src/hildon-date-selector.c
5845         (hildon_date_selector_select_month): first implementation
5846         (hildon_date_selector_select_day): added documentation, reimplemented
5847         using hildon_date_selector_select_current_date to avoid repeat code
5848         Fixes: NB#88027
5849
5850 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
5851
5852         Reviewed interaction logic based on device experiences, refactored
5853         code.
5854
5855         * src/hildon-pannable-area.c,
5856         (hildon_pannable_area_class_init): Updated default vmax speed.
5857         (hildon_pannable_area_calculate_velocity): Added this function, it
5858         avoids duplicate valocity calculation. Adjusted calculation to
5859         avoid problems with zero dist events.
5860
5861         (hildon_pannable_area_motion_notify_cb): Now we use the
5862         calculate_velocity function.
5863
5864 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5865
5866         * src/hildon-date-selector.c
5867         (hildon_date_selector_select_current_date): fix the day range check
5868         as it failed using the last day of the current month
5869         Fixes NB#88023
5870
5871 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5872
5873         * src/hildon-touch-selector.c
5874         (hildon_touch_selector_get_num_columns): added a parameter validation
5875         Fixes: NB#88022
5876
5877 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
5878
5879         * examples/Makefile.am
5880         * examples/hildon-edit-toolbar-example.c: Example of the
5881         HildonEditToolbar widget.
5882
5883 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5884
5885         * configure.ac: postrelease version bump.
5886
5887 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5888
5889         Release 2.1.6-1.
5890
5891         * configure.ac: prerelease version bump.
5892         * debian/changelog: update.
5893
5894 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5895
5896         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5897         renderer to display stock icons in the touch list. Also, set the sizes
5898         to the recommended in the style guide.
5899
5900 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
5901         * src/hildon-touch-selector.h
5902         (hildon_touch_selector_set_active_iter): renamed, now is
5903         hildon_touch_selector_select_iter
5904         (hildon_touch_selector_get_active_iter): renamed, now is
5905         hildon_touch_selector_get_selected
5906         (hildon_touch_selector_unselect_iter): added
5907         * src/hildon-touch-selector.c
5908         Update after API modification (methods renamed)
5909         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5910         order to avoid problems selecting multiple elements on the column
5911         (hildon_touch_selector_unselect_iter): added the implementation
5912         * src/hildon-time-selector.c
5913         * src/hildon-date-selector.c
5914         * src/hildon-touch-selector-entry.c
5915         Update methods calls after hildon-touch-selector.h API modification (methods
5916         renamed)
5917
5918 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
5919
5920         * src/hildon-stackable-window.c
5921         (hildon_stackable_window_finalize): Call the parent class's finalize.
5922
5923 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5924
5925         * examples/hildon-touch-selector-example.c: (create_selector): Use
5926         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5927         cell height.
5928
5929 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5930
5931         * examples/hildon-touch-selector-example.c: (create_selector): Do not
5932         set a cell background color, to respect theming.
5933
5934 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
5935
5936         * doc/hildon-docs.sgml
5937         * doc/hildon.types
5938         * src/Makefile.am
5939         * src/hildon-edit-toolbar.c
5940         * src/hildon-edit-toolbar.h
5941         * src/hildon.h: New HildonEditToolbar widget.
5942
5943 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
5944
5945         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5946         extra GtkVBox.
5947
5948 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
5949         * src/hildon-touch-selector.c
5950         (_create_new_column): use g_object_set instead of two g_object_set_property
5951
5952 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
5953         * src/hildon-touch-selector.c
5954         (_create_new_column): use of hildon_gtk_tree_view_new to create
5955         the treeview, instead of use directly g_object_new
5956         (_create_new_column): update the property name "vindicator-mode" for the
5957         new one "vscrollbar-policy"
5958         * examples/hildon-date-button-example.c
5959         * examples/hildon-picker-button-multicolumn-example.c
5960         * examples/hildon-touch-selector-entry-example.c
5961         * examples/hildon-touch-selector-example.c
5962         * examples/hildon-time-button-example.c
5963         * examples/hildon-picker-button-example.c
5964         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5965         to all the treeviews inside a pannable area.
5966
5967 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
5968
5969         * src/hildon-button.h
5970         * src/hildon-button.c (hildon_button_init)
5971         (hildon_button_set_arrangement, hildon_button_set_alignment)
5972         (hildon_button_set_title_alignment)
5973         (hildon_button_set_value_alignment)
5974         (hildon_button_set_image_alignment)
5975         (hildon_button_construct_child): New methods to set the alignment
5976         of the individual components of the button (title, value,
5977         image). Also, new method to alter the xscale and yscale properties
5978         of the GtkAlignment inside the button, so more complex layouts can
5979         be created.
5980
5981 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
5982
5983         * src/hildon-button.c (hildon_button_style_set)
5984         (hildon_button_class_init, hildon_button_set_arrangement)
5985         (hildon_button_construct_child): Apply style properties
5986         correctly. Use the 'image-spacing' style property too.
5987
5988 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
5989
5990         * src/hildon-app-menu.c (hildon_app_menu_style_set)
5991         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5992         correctly.
5993
5994 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
5995
5996         * src/hildon-pannable-area.c,
5997         (hildon_pannable_area_size_request): Fixed problem with
5998         pannable-area size_request.
5999
6000 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6001
6002         Added management for the grab-focus to a child widget, like a
6003         range, we need to fade out the scrollbar when releasing.
6004
6005         * src/hildon-pannable-area.c,
6006         (hildon_pannable_area_init): Connected the grab-focus signal to
6007         the callback.
6008         (hildon_pannable_area_grab_notify): Added this function in order
6009         to manage the situation when the grab-focus ends. We have to
6010         fade-out the scrollbar.
6011
6012 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6013
6014         * src/hildon-app-menu.c: Minor documentation update.
6015
6016 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6017
6018         * src/hildon-app-menu.c
6019         * examples/hildon-app-menu-example.c (create_menu): Update
6020         examples and documentation to explain how to connect callbacks.
6021
6022 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
6023
6024         * examples/hildon-button-example.c
6025         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6026         hildon_stackable_window_new instead of gtk_window_new
6027
6028 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
6029
6030         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6031         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6032         (hildon_pannable_area_set_property),
6033         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6034         (hildon_pannable_area_unrealize),
6035         (hildon_pannable_area_size_request),
6036         (hildon_pannable_area_size_allocate),
6037         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6038         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6039         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6040         (hildon_pannable_area_initial_effect),
6041         (hildon_pannable_area_redraw),
6042         (hildon_pannable_area_scroll_indicator_fade),
6043         (hildon_pannable_area_expose_event),
6044         (hildon_pannable_area_get_topmost), (synth_crossing),
6045         (hildon_pannable_area_button_press_cb),
6046         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6047         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6048         (hildon_pannable_area_motion_notify_cb),
6049         (hildon_pannable_area_button_release_cb),
6050         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6051         (hildon_pannable_area_remove),
6052         (hildon_pannable_calculate_vel_factor): Widget refactorization,
6053         chage the code layout to a more GtkWidget like. Review the use of
6054         variables.
6055
6056 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
6057
6058         * examples/hildon-pannable-area-example-4.c,
6059         (main): Modified the name of the hindicator_mode to
6060         hscrollbar_visible
6061
6062         * src/hildon-pannable-area.c,
6063         (hildon_pannable_area_class_init),
6064         (hildon_pannable_area_motion_notify_cb),
6065         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6066         we have reduced the amount of signals and managed reviewed its
6067         rationale. Changed the default decelerate value.
6068
6069         (hildon_pannable_area_add),
6070         (hildon_pannable_area_redraw): Refactored functions.
6071
6072         (hildon_pannable_area_init),
6073         (hildon_pannable_area_get_property),
6074         (hildon_pannable_area_set_property):
6075         (hildon_pannable_draw_vscroll),
6076         (hildon_pannable_draw_hscroll),
6077         (hildon_pannable_area_initial_effect),
6078         (hildon_pannable_area_expose_event),
6079         (hildon_pannable_area_scroll),
6080         (hildon_pannable_area_button_press_cb),
6081         (hildon_pannable_area_realize): Replaced the names hindicator_mode
6082         and vindicator_mode with hscrollbar_policy and
6083         vscrollbar_policy. Replaced hscroll and vscroll with
6084         hscroll_visible and vscroll_visible.
6085
6086         (hildon_pannable_area_refresh): Refactor the function, remove
6087         variables and check the calls to this function, added resize
6088         conditions in case the children change their layout.
6089
6090         (hildon_pannable_area_size_request): Added more detailed
6091         size_request calculation.
6092
6093
6094 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
6095
6096         * src/hildon-color-chooser.c
6097         (init_borders): use the correct gtk_border_free instead of g_free, to
6098         avoid a crash when this widget is used (ie: the three color selection
6099         examples)
6100
6101 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6102
6103         * src/hildon-check-button.c,
6104         (hildon_check_button_set_active): Fixed problem when setting the
6105         active value, the widget was not redrawn.
6106
6107 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6108
6109         * src/hildon-pannable-area.c,
6110         (hildon_pannable_area_refresh),
6111         (hildon_pannable_area_scroll),
6112         (hildon_pannable_area_motion_notify_cb): Small code style change.
6113
6114         (hildon_pannable_area_class_init): Default initial_hint set to
6115         FALSE, it is not in the specs.
6116
6117         (hildon_pannable_area_initial_effect),
6118         (hildon_pannable_area_expose_event),
6119         (hildon_pannable_area_map),
6120         (hildon_pannable_area_init): Moved the launching point of the
6121         initial effect, it was in map but the sizes where not correct in
6122         that method so we do not know if we have the reproduce it. Now it
6123         is placed in the expose_event method and uses a variable to
6124         reproduce it just once.
6125
6126 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6127
6128         * src/hildon-pannable-area.c,
6129         (hildon_pannable_draw_vscroll),
6130         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6131         position allowed for the scrollbars.
6132
6133         (hildon_pannable_area_size_allocate): Small style change.
6134
6135 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6136
6137         * src/hildon-pannable-area.c,
6138         (hildon_pannable_area_scroll_indicator_fade),
6139         (hildon_pannable_area_button_press_cb),
6140         (hildon_pannable_area_button_release_cb),
6141         (hildon_pannable_area_scroll_cb),
6142         (hildon_pannable_area_expose_event),
6143         (hildon_pannable_area_init): Added the define parameter
6144         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6145         and refactor the fade variable.
6146
6147 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6148
6149         * src/hildon-pannable-area.c,
6150         (hildon_pannable_area_redraw),
6151         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6152         lines, we were reimplemeting the redraw code.
6153
6154 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6155
6156         * src/hildon-pannable-area.c,
6157         (hildon_pannable_area_scroll_cb),
6158         (hildon_pannable_area_realize),
6159         (hildon_pannable_area_class_init): Added scroll_event management
6160         for pannable area, now we can scroll the usual desktop method.
6161
6162         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6163         initialization of the parameters should depend on idle_id.
6164
6165         (hildon_pannable_area_init),
6166         (hildon_pannable_area_map): Small code style modifications
6167
6168 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6169
6170         * src/hildon-pannable-area.c
6171         (hildon_pannable_area_button_press_cb),
6172         (hildon_pannable_area_motion_notify_cb),
6173         (hildon_pannable_area_button_release_cb),
6174         (hildon_pannable_area_size_allocate),
6175         (hildon_pannable_area_scroll_to): Improved the timeouts
6176         management, we avoid creating them each time.
6177
6178 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6179
6180         * src/hildon-pannable-area.c:
6181         (hildon_pannable_area_refresh),
6182         (hildon_pannable_area_motion_notify_cb),
6183         (hildon_pannable_area_class_init):
6184         * src/hildon-pannable-area.h:
6185         * src/hildon-touch-selector.c
6186         (_create_new_column):
6187         * examples/hildon-pannable-area-example-4.c:
6188         (horizontal_movement),
6189         (vertical_movement),
6190         (main):
6191         Replaced the names of enums in the HildonPannableArea:
6192            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
6193               HILDON_MOVEMENT_MODE_*
6194            -  HILDON_PANNABLE_AREA_MOV_* ->
6195               HILDON_MOVEMENT_*
6196            - Removed HildonPannableAreaIndicatorMode, now we
6197              use GtkPolicyType
6198
6199 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6200
6201         * examples/hildon-pannable-area-touch-grid-example.c
6202         * examples/hildon-pannable-area-touch-list-example.c: Fix
6203         compilation warnings.
6204
6205 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6206
6207         * src/hildon-gtk.c (hildon_gtk_button_new)
6208         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6209         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6210         images overriding the value of the "gtk-button-images" setting.
6211
6212 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6213
6214         * src/hildon-check-button.c (hildon_check_button_new):
6215         Instead of using a custom container, display the label and the
6216         checkbox using the standard GtkButton API.
6217
6218         * examples/hildon-check-button-example.c (main): Don't use
6219         hildon_check_button_set_label() anymore
6220
6221         * src/hildon-check-button.h
6222         * src/hildon-check-button.c
6223         (hildon_check_button_set_label, hildon_check_button_get_label):
6224         Set as deprecated, now we're using gtk_button_{get,set}_label()
6225
6226 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6227
6228         * src/hildon-pannable-area.c,
6229         (hildon_pannable_area_get_topmost): Fixed bug with click in the
6230         GtkTreeview first line we detected it after the inclusion of the
6231         GtkWindowImpl in gtk+. We now check if the window is visible, not
6232         just if the pointer is over the window.
6233         (hildon_pannable_axis_scroll),
6234         (hildon_pannable_area_expose_event): Small style changes.
6235
6236 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6237
6238         * src/hildon-button.c: Update documentation.
6239
6240 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6241
6242         * examples/hildon-button-example.c: Add a switch to show images in
6243         the buttons.
6244
6245 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6246
6247         * doc/hildon-docs.sgml: Some docs reorganization.
6248
6249 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6250
6251         * examples/hildon-pannable-area-touch-list-example.c
6252         (create_tree_view)
6253         * examples/hildon-pannable-area-touch-grid-example.c
6254         (create_icon_view): Use gtk_{tree,icon}_view_new() and
6255         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6256         Fix memory leak when setting the tree model.
6257
6258 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6259
6260         Released 2.1.4
6261
6262 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6263
6264         * doc/hildon.types: Remove duplicated hildon_window_get_type
6265         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6266         documentation comment.
6267
6268 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6269
6270         * doc/Makefile.am: Complete list of private headers.
6271
6272 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6273
6274         * doc/hildon-docs.sgml
6275         * src/hildon-app-menu.c
6276         * src/hildon-bread-crumb.c
6277         * src/hildon-button.c
6278         * src/hildon-gtk.c
6279         * src/hildon-program.c
6280         * src/hildon-stackable-window.c
6281         * src/hildon-window.c: Lots of documentation updates.
6282
6283 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6284
6285         * debian/control: Depend on Gtk 2:2.12.9-0osso3
6286
6287         * configure.ac: Require Gtk+ 2.12.9 at least
6288
6289 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
6290
6291         * src/hildon-pannable-area.c
6292         (hildon_pannable_area_scroll_indicator_fade),
6293         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6294         to protect the return of this timeout callbacks, avoiding deadlocks.
6295
6296 2008-08-12  Christian Dywan  <christian@imendio.com>
6297
6298         * src/hildon-*.c
6299         * src/hildon-*.h: Ensure a consistent include order,
6300         include <gtk/gtk.h> instead of particular files and
6301         only include the topmost header in the gtk stack. See NB #39857
6302
6303 2008-08-12  Christian Dywan  <christian@imendio.com>
6304
6305         * src/hildon-picker-dialog.c
6306         * src/hildon-touch-selector.c: Fix warnings about unused and
6307         uninitialized variables.
6308
6309 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6310
6311         * examples/Makefile.am
6312         * examples/hildon-check-button-example.c: Example of the hildon
6313         check button.
6314
6315 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6316
6317         * src/hildon-window.h
6318         * src/hildon-window.c (hildon_window_class_init)
6319         (hildon_window_unset_program): Don't make
6320         hildon_window_unset_program a virtual function anymore.
6321
6322         * src/hildon-stackable-window.c: Update documentation
6323
6324 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6325
6326         * doc/Makefile.am
6327         * doc/hildon-docs.sgml
6328         * doc/visual_index.xml
6329         * src/hildon-defines.c
6330         * src/hildon-gtk.c
6331         * src/hildon-helper.c
6332         * src/hildon-range-editor.c: Lots of documentation fixes.
6333
6334 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6335
6336         * examples/hildon-picker-button-multicolumn-example.c
6337         (create_touch_selector): Fix compilation warning.
6338
6339 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6340
6341         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6342         (hildon_pannable_area_button_release_cb)
6343         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6344
6345 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6346
6347         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6348         assertion.
6349
6350 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6351
6352         * src/hildon-bread-crumb-trail.h
6353         * src/hildon-date-editor.c
6354         * src/hildon-date-selector.c
6355         * src/hildon-pannable-area.c
6356         * src/hildon-picker-dialog.c
6357         * src/hildon-time-selector.c
6358         * src/hildon-touch-selector-entry.c
6359         * src/hildon-touch-selector.c
6360         * src/hildon-touch-selector.h: Misc documentation fixes
6361
6362 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6363
6364         * examples/hildon-date-editor-example.c (main): Updated date
6365         editor example.
6366
6367         * examples/hildon-note-example.c (on_confirmation_clicked):
6368         Updated confirmation note example.
6369
6370         * src/hildon-date-editor.c
6371         * src/hildon-note.c: Updated sample programs in documentation.
6372         Fixes: NB#87437
6373
6374 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6375
6376         * src/hildon-date-button.h:
6377         * src/hildon-picker-button.h:
6378         * src/hildon-time-button.c:
6379         * src/hildon-time-button.h:
6380
6381         Some declarations changes to allow gtk-doc to document the widgets
6382         properly.
6383
6384 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6385
6386         * src/hildon-date-button.c: Document the widget.
6387         * src/hildon-time-button.c: Document the widget.
6388
6389 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6390
6391         * src/hildon-picker-button.c: Document the widget.
6392         * src/hildon-touch-selector-entry.c: Document the widget.
6393
6394 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6395
6396         * doc/hildon-docs.sgml
6397         * src/Makefile.am
6398         * src/hildon.h
6399         * src/hildon-check-button.h
6400         * src/hildon-check-button.c: New functions to create the Hildon
6401         Touch Checkbox.
6402
6403         * src/hildon-gtk.h
6404         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6405
6406 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6407
6408         * src/hildon-button.h
6409         * src/hildon-button.c
6410         (hildon_button_add_title_size_group)
6411         (hildon_button_add_value_size_group)
6412         (hildon_button_add_image_size_group)
6413         (hildon_button_add_size_groups): New functions to set size groups
6414         for the button labels and image.
6415         (hildon_button_new_full): Removed
6416
6417 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
6418
6419         * src/hildon-time-selector.c
6420         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6421         in order to avoid a crash if gconf is not available
6422
6423 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6424
6425         * src/hildon-button.c (hildon_button_set_arrangement)
6426         (hildon_button_construct_child): Don't construct the button child
6427         before setting the arrangement.
6428
6429 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6430
6431         * src/hildon-program-private.h
6432         * src/hildon-program.c
6433         * src/hildon-program.h
6434         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6435         (hildon_program_peek_window_stack)
6436         (hildon_program_pop_window_stack)
6437         (hildon_program_go_to_root_window): HildonProgram now has a
6438         separate list for stackable windows. Functions are provided to
6439         manage that list with a stack-like API.
6440
6441         * src/hildon-stackable-window.c: Stackable window management is
6442         now much simpler with the new HildonProgram API. Windows no
6443         longer need to be manually added to the program, they're
6444         automatically pushed to the top of the stack when shown.
6445
6446         * examples/hildon-stackable-window-example.c: Updated example to
6447         reflect the API changes.
6448
6449 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6450
6451         * src/hildon-touch-selector.c: Comment out unimplemented
6452         hildon_touch_selector_insert_column() to avoid a compile warning.
6453
6454 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6455
6456         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6457         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6458         (hildon_touch_selector_set_column_selection_mode),
6459         (_hildon_touch_selector_set_model),
6460         (hildon_touch_selector_set_model):
6461
6462         Complete review of HildonTouchSelector documentation.
6463
6464 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6465
6466         * doc/hildon-docs.sgml
6467         * src/Makefile.am
6468         * src/hildon.h
6469         * src/hildon-gtk.h
6470         * src/hildon-gtk.c: Convenience functions for standard Gtk
6471         widgets, used to easily perform frequent operations.
6472
6473         * src/hildon-button-helpers.h
6474         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6475
6476         * src/hildon-helper.h
6477         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6478         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6479
6480         * src/hildon-button.h
6481         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6482
6483 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6484
6485         * src/hildon-button.c (hildon_button_init)
6486         (hildon_button_set_arrangement, hildon_button_construct_child):
6487         Pack the image and the labels inside the same GtkAlignment so
6488         gtk_button_set_alignment() can be used
6489
6490 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6491
6492         * src/hildon-button.h
6493         * src/hildon-button.c
6494         (hildon_button_init, hildon_button_set_image)
6495         (hildon_button_set_image_position)
6496         (hildon_button_construct_child): New functions to add an image to
6497         the HildonButton.
6498
6499 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6500
6501         * src/hildon-date-button.c
6502         * src/hildon-picker-button.c
6503         * src/hildon-time-button.c
6504         * src/hildon-button.c:
6505         (hildon_button_class_init): "size-flags" renamed to "size"
6506         (hildon_button_set_title): Hide the title label if set to NULL.
6507
6508 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6509
6510         HildonButtonFlags split into HildonButtonArrangement (to set the
6511         button layout) and HildonSizeType (which can be used for any
6512         widget).
6513
6514         * src/hildon-button.h
6515         * src/hildon-button.c
6516         (hildon_button_class_init)
6517         (hildon_button_set_arrangement)
6518         (hildon_button_set_property): New "size-flags"
6519         property. "arrangement-flags" renamed to "arrangement".
6520         (hildon_button_new, hildon_button_new_with_text)
6521         (hildon_button_new_full): Constructors updated to reflect type changes.
6522
6523         * src/hildon-helper.h
6524         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6525         to set the size of a widget.
6526
6527         * src/Makefile.am
6528         * src/hildon.h
6529         * src/hildon-button-helpers.c
6530         * src/hildon-button-helpers.h: New hildon-button-helpers module.
6531
6532         * src/hildon-date-button.c
6533         * src/hildon-date-button.h
6534         * src/hildon-picker-button.c
6535         * src/hildon-picker-button.h
6536         * src/hildon-time-button.c
6537         * src/hildon-time-button.h: Updated widgets to reflect
6538         HildonButton API changes.
6539
6540         * examples/hildon-button-example.c
6541         * examples/hildon-date-button-example.c
6542         * examples/hildon-picker-button-example.c
6543         * examples/hildon-picker-button-multicolumn-example.c
6544         * examples/hildon-time-button-example.c
6545         * examples/hildon-touch-selector-entry-example.c
6546         * examples/hildon-touch-selector-example.c: Updated examples to
6547         reflect HildonButton API changes.
6548
6549 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6550
6551         * doc/hildon-docs.sgml:
6552         * doc/hildon.types:
6553         * examples/Makefile.am:
6554         * examples/hildon-touch-selector-entry-example.c:
6555         * src/Makefile.am:
6556         * src/hildon-touch-selector-entry.c:
6557         * src/hildon-touch-selector-entry.h:
6558         * src/hildon.h:
6559
6560         Moved HildonTouchSelectorEntry from sandbox. Added its
6561         documentation and examples.
6562
6563 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6564
6565         * src/hildon-touch-selector.h:
6566         * examples/hildon-picker-button-multicolumn-example.c:
6567         (hildon_touch_selector_append_text_column): Add a gboolean
6568         parameter to determine if text must be centered in the column.
6569
6570         * src/hildon-date-selector.c: (hildon_date_selector_init):
6571         * src/hildon-time-selector.c: (hildon_time_selector_init):
6572         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6573         (create_touch_selector): Update widgets and example to reflect
6574         the API change.
6575
6576 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6577
6578         * src/hildon-touch-selector.c:
6579         (hildon_touch_selector_set_active_iter): Set also the cursor in
6580         the active row.
6581
6582 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
6583
6584         * doc/hildon-docs.sgml
6585         * doc/hildon.types
6586         * src/Makefile.am
6587         * src/hildon-toggle-button.c
6588         * src/hildon-toggle-button.h
6589         * src/hildon.h: Removed HildonToggleButton widget, a derived
6590         class is not necessary for this.
6591
6592 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
6593
6594         * src/hildon-pannable-area.c,
6595         (hildon_pannable_area_realize),
6596         (hildon_pannable_area_size_allocate): Code refactoring, add tests
6597         for negative sizes.
6598
6599 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
6600
6601         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6602         "done" button the default widget for the dialog.
6603
6604 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6605
6606         * src/hildon-touch-selector.c:
6607         (hildon_touch_selector_class_init),
6608         (hildon_touch_selector_get_property),
6609         (_hildon_touch_selector_set_model),
6610         (_hildon_touch_selector_has_multiple_selection),
6611         (hildon_touch_selector_has_multiple_selection):
6612         Add a "has-multiple-selection" property with a virtual
6613         has_multiple_selection() method to allow derived classes to
6614         override the default value for it. See the method and property
6615         documentation for details.
6616
6617         * src/hildon-touch-selector.h: Add the new API.
6618
6619         * src/hildon-picker-dialog.c: (requires_done_button): Call
6620         hildon_touch_selector_has_multiple_selection() instead of
6621         determining the need for a button itself.
6622
6623 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6624
6625         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6626         (_hildon_touch_selector_set_model),
6627         (hildon_touch_selector_set_model): Move working code to
6628         _hildon_touch_selector_set_mode(). Call the class method instead.
6629
6630         * src/hildon-touch-selector.h: Add (*set_model) to
6631         HildonTouchSelectorClass.
6632
6633         Make hildon_touch_selector_set_model() a virtual method, so that
6634         derived classes can extend it and do fancy stuff with the model.
6635
6636 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6637
6638         * configure.ac: Set back the tarname in AC_INIT to hildon.
6639
6640 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6641
6642         Release 2.1.3
6643
6644         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6645         instead of libesd (NB#86876). Volume handling is still an open issue.
6646
6647         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6648         cleanups.
6649
6650 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6651
6652         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6653         (hildon_touch_selector_append_column): Make the widget a GtkVBox
6654         derived class to ease placement of an entry widget in
6655         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6656         end, where the selector columns are packed now.
6657
6658 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6659
6660         * src/hildon-picker-button.c: Removed the simple _text() API.
6661         * src/hildon-picker-button.h: Likewise.
6662
6663         * src/hildon-touch-selector.h:
6664         * src/hildon-touch-selector.c:
6665         (hildon_touch_selector_new_text),
6666         (hildon_touch_selector_append_text),
6667         (hildon_touch_selector_prepend_text),
6668         (hildon_touch_selector_insert_text):
6669
6670         Moved the simple _text() API from HildonPickerButton to
6671         HildonTouchPicker, to provide better escalability and not to tie
6672         that API to HildonPickerButton.
6673
6674         * examples/hildon-picker-button-example.c: (main): Example updated.
6675
6676 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6677
6678         * src/hildon-button.c: Updated documentation.
6679
6680         * examples/hildon-button-example.c: Add the posibility to create
6681         the buttons using horizontal layout for title and value.
6682
6683 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6684
6685         * src/hildon-app-menu-private.h
6686         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6687         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6688         GtkSizeGroup for the filters, use the 'homogeneous' property of
6689         the box instead.
6690
6691 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6692
6693         * examples/hildon-button-example.c: Updated example.
6694
6695 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
6696
6697         * doc/hildon-docs.sgml:
6698         * doc/hildon.types:
6699
6700         Update documentation.
6701
6702         * examples/Makefile.am: Update renamed examples.
6703
6704         * examples/hildon-picker-button-multicolumn-example.c:
6705         (create_touch_selector), (main): Update after the rename.
6706
6707         * examples/hildon-touch-picker-example.c: Removed.
6708         * examples/hildon-touch-selector-example.c: (value_changed),
6709         (create_selector), (get_visible_content), (main): Renamed from
6710         hildon-touch-picker-example.c
6711
6712         * src/Makefile.am: Updated renamed files.
6713
6714         * src/hildon-date-button.c: (hildon_date_button_init),
6715         (hildon_date_button_get_date), (hildon_date_button_set_date):
6716         * src/hildon-date-selector.c: (hildon_date_selector_init),
6717         (_custom_print_func), (_update_day_model),
6718         (_manage_selector_change_cb),
6719         (hildon_date_selector_select_current_date),
6720         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6721         * src/hildon-date-selector.h:
6722         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6723         (hildon_picker_button_set_property),
6724         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6725         (hildon_picker_button_init), (hildon_picker_button_new_text),
6726         (hildon_picker_button_append_text),
6727         (hildon_picker_button_prepend_text),
6728         (hildon_picker_button_insert_text),
6729         (hildon_picker_button_set_selector),
6730         (hildon_picker_button_get_selector):
6731         * src/hildon-picker-button.h:
6732         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6733         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6734         (_update_title_on_selector_changed_cb), (requires_done_button),
6735         (_hildon_picker_dialog_set_selector),
6736         (hildon_picker_dialog_set_selector),
6737         (hildon_picker_dialog_get_selector):
6738         * src/hildon-picker-dialog.h:
6739         * src/hildon-time-button.c: (hildon_time_button_init),
6740         (hildon_time_button_get_time), (hildon_time_button_set_time):
6741         * src/hildon-time-selector.c: (hildon_time_selector_init),
6742         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6743         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6744         * src/hildon-time-selector.h:
6745         * src/hildon.h:
6746
6747         Massive code updates after the rename.
6748
6749         * src/hildon-touch-picker.c: Removed.
6750         * src/hildon-touch-picker.h: Removed.
6751
6752         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6753         (hildon_touch_selector_init), (hildon_touch_selector_map),
6754         (hildon_touch_selector_remove), (_default_print_func),
6755         (_selection_changed_cb), (_create_new_column),
6756         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6757         (hildon_touch_selector_append_text_column),
6758         (hildon_touch_selector_remove_column),
6759         (hildon_touch_selector_set_column_attributes),
6760         (hildon_touch_selector_insert_column),
6761         (hildon_touch_selector_get_num_columns),
6762         (hildon_touch_selector_get_column_selection_mode),
6763         (hildon_touch_selector_set_column_selection_mode),
6764         (hildon_touch_selector_set_print_func),
6765         (hildon_touch_selector_get_print_func),
6766         (hildon_touch_selector_get_active_iter),
6767         (hildon_touch_selector_set_active_iter),
6768         (hildon_touch_selector_get_selected_rows),
6769         (hildon_touch_selector_get_model),
6770         (hildon_touch_selector_set_model),
6771         (hildon_touch_selector_get_current_text),
6772         (_hildon_touch_selector_center_on_selected_items):
6773         * src/hildon-touch-selector.h: Renamed from
6774         hildon-touch-picker.[ch]
6775
6776         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6777         references, code examples, and related documentation.
6778
6779 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6780
6781         * doc/hildon-docs.sgml
6782         * doc/hildon.types
6783         * src/Makefile.am
6784         * src/hildon-toggle-button.c
6785         * src/hildon-toggle-button.h
6786         * src/hildon.h: New HildonToggleButton widget.
6787
6788 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6789
6790         * src/hildon-button.c: Add API documentation.
6791         (hildon_button_set_size_groups): Check input parameters
6792
6793 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
6794
6795         * src/hildon-pannable-area.c
6796         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6797         effect after reaching the movement thredshold. This way we start
6798         using the distance after passing the thredshold.
6799
6800 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6801
6802         * src/hildon-button.c: (hildon_button_set_property): Use the
6803         appropriate g_value_get_flags() method.
6804
6805 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6806
6807         * doc/hildon-docs.sgml:
6808         * doc/hildon.types:
6809
6810          Add the touch pickers, picker dialogs, and picker button widgets
6811         to the documentation.
6812
6813 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6814
6815         * src/hildon-button.c: (hildon_button_set_property),
6816         (hildon_button_class_init): Make "arrangement-flags" a proper
6817         G_TYPE_FLAGS derived property.
6818
6819 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6820
6821         * examples/Makefile.am: Add below examples.
6822         * examples/hildon-date-button-example.c:
6823         * examples/hildon-picker-button-example.c:
6824         * examples/hildon-picker-button-multicolumn-example.c:
6825         * examples/hildon-time-button-example.c:
6826         * examples/hildon-touch-picker-example.c:
6827
6828         Add examples for the recently added touch pickers,
6829         picker dialogs, and picker button widgets.
6830
6831 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6832
6833         * src/hildon-button.c: Add some API documentation
6834
6835 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6836
6837         * src/hildon-button.h
6838         * src/hildon-button.c
6839         (hildon_button_new)
6840         (hildon_button_new_with_text): New constructor to create a button
6841         with no text at all.
6842         (hildon_button_init, hildon_button_set_arrangement)
6843         (hildon_button_set_title, hildon_button_set_value)
6844         (hildon_button_set_text)
6845         (hildon_button_construct_child): Hide the value when it's not used
6846         so the rest of the text is properly aligned.
6847         Allow creating buttons with arbitrary widgets inside (not just
6848         title/value labels).
6849
6850         * examples/hildon-button-example.c (vertical_buttons_window)
6851         (horizontal_buttons_window): Update example to use new API.
6852
6853 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6854
6855         * src/Makefile.am: Added HildonTimeButton.
6856         * src/hildon-time-button.c: Added missing LGPL header.
6857         * src/hildon-time-button.h: Added missing LGPL header.
6858         * src/hildon.h: Add hildon-time-button.h
6859
6860         Copied HildonTimeButton from sandbox to trunk. Future work on this
6861         widget must take place in trunk.
6862
6863 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6864
6865         * src/Makefile.am: Added HildonDateButton.
6866         * src/hildon-date-button.c: Update includes.
6867         * src/hildon.h: Add hildon-date-button.h
6868
6869         Copied HildonDateButton from sandbox to trunk. Future work on this
6870         widget must take place in trunk.
6871
6872 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6873
6874         * src/Makefile.am: Added HildonPickerButton.
6875         * src/hildon-picker-button.h: Update includes.
6876         * src/hildon.h: Add hildon-picker-button.h
6877
6878         Copied HildonPickerButton from sandbox to trunk. Future work on
6879         this widget must take place in trunk.
6880
6881 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6882
6883         * src/Makefile.am: Added HildonPickerDialog.
6884         * src/hildon-picker-dialog.c: Update includes.
6885         * src/hildon.h: Add hildon-picker-dialog.h
6886
6887         Copied HildonPickerDialog from sandbox to trunk. Future work
6888         on this widget must take place in trunk.
6889
6890 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6891
6892         * src/Makefile.am: Added HildonTimeSelector.
6893         * src/hildon.h: Add hildon-time-selector.h
6894
6895         Copied HildonTimeSelector widget from sandbox to trunk. Future
6896         work on this widget must happen in trunk.
6897
6898 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6899
6900         * src/Makefile.am: Added HildonDateSelector.
6901         * src/hildon.h: Add hildon-date-selector.h
6902
6903         Copied HildonDateSelector widget from sandbox to trunk.  Future
6904         work on this widget must happen in trunk.
6905
6906 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6907
6908         * src/Makefile.am: Added HildonTouchPicker.
6909         * src/hildon-touch-picker.c: Update includes.
6910         * src/hildon.h: Add hildon-touch-picker.h
6911
6912         Copied HildonTouchPicker widget from sandbox to trunk. Future work
6913         on this widget must happen in trunk.
6914
6915 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6916
6917         * src/hildon-pannable-area.c:
6918         (hildon_pannable_area_motion_notify_cb): Fix a typo.
6919
6920 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6921
6922         * examples/hildon-app-menu-example.c (main): Let the window
6923         destroy the menu.
6924
6925 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6926
6927         * src/hildon-pannable-area.c
6928         (hildon_pannable_area_class_init): Set the min value of the
6929         overshoot properties to zero, which points out that not
6930         overshooting allowed.
6931
6932 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6933
6934         Modified the procedure to get the widget at a point inside the
6935         pannable area when using the movement type signals. Now the user
6936         has to call a function to get the child, that way we just
6937         calculate the child in case the user really want to use it and not
6938         all the time.
6939
6940         * src/hildon-marshalers.list: Modified the marshallers, now we do
6941         not have the widget as a parameter.
6942
6943         * src/hildon-pannable-area.c
6944         (hildon_pannable_area_motion_notify_cb),
6945         (hildon_pannable_area_class_init),
6946         (hildon_pannable_get_child_widget_at):  Removed the widget
6947         parameter from the signal callback. We have also refactored the
6948         emission of the signals.
6949
6950         * src/hildon-pannable-area.h: Added a new method to the API to
6951         calculate a widget at a point inside the pannable area,
6952         hildon_pannable_get_child_widget_at.
6953
6954         * examples/hildon-pannable-area-example-4.c
6955         (horizontal_movement): Modified the example to use the new API,
6956         added condition to control which widget is under the event. This
6957         way we can avoid scrolling laterally over other widgets.
6958
6959 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6960
6961         * src/hildon-pannable-area.c
6962         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6963         modes, we stop getting the pointer events due to returning the
6964         callback without properly calling the get pointer again. Fixed
6965         also an error using the hscroll and vscroll.
6966
6967 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
6968
6969         * src/hildon-app-menu-private.h
6970         * src/hildon-app-menu.c (hildon_app_menu_button_press)
6971         (hildon_app_menu_button_release, hildon_app_menu_init)
6972         (hildon_app_menu_class_init): Don't hide the menu on button
6973         release if the user didn't press outside first.
6974
6975         * src/hildon-window.h
6976         * src/hildon-window.c (hildon_window_toggle_menu)
6977         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6978         hildon_window_toggle_menu a virtual function for the stackable
6979         window to override it.
6980
6981         * src/hildon-stackable-window.h
6982         * src/hildon-stackable-window-private.h
6983         * src/hildon-stackable-window.c
6984         (hildon_stackable_window_realize)
6985         (hildon_stackable_window_finalize)
6986         (hildon_stackable_window_class_init)
6987         (hildon_stackable_window_init)
6988         (hildon_stackable_window_set_main_menu): New function to set the
6989         app menu of a HildonStackableWindow.
6990
6991         * examples/hildon-app-menu-example.c: Remove the button to show
6992         the app menu, now it'll be shown when clicking on the title bar
6993         instead.
6994
6995 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
6996
6997         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6998         set the widget name if the arrangement flags do not specify
6999         a particular size.
7000
7001 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7002
7003         * src/hildon-button.c: (hildon_button_set_property),
7004         (hildon_button_class_init), (hildon_button_new_full),
7005         (hildon_button_set_arrangement): Added "arrangement-flags"
7006         property.
7007
7008         Make the HildonButtonFlags a construction-only property, to allow
7009         subclasses to set them properly.
7010
7011 2008-07-21 Tim Janik  <timj@imendio.com>
7012
7013         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7014         insertion position after backspace, so additional digits are appended,
7015         fixes Bug #85874.
7016
7017 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7018
7019         * src/hildon-pannable-area.c,
7020         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7021         TODO list, it was complete and removed the g_debug and g_print
7022         lines.
7023
7024 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7025
7026         Added the movement modes to the hildon-pannable-area, with this
7027         modes the developers can control in which directions the widget
7028         can scroll. They can also connect to signals in order to do
7029         something when that happens, allowing applications scroll. There
7030         is an example uploaded showing how to use it.
7031
7032         * examples/Makefile.am:
7033         * examples/hildon-pannable-area-example-4.c: Added this example of
7034         an application using the modes.
7035
7036         * src/hildon-marshalers.list: Added a new marshaller for the new
7037         signals.
7038
7039         * src/hildon-pannable-area.h: Added new enumerations and flags in
7040         order to control the movement modes and the new signals to warn
7041         about the movements in the area.
7042
7043         * src/hildon-pannable-area.c:
7044         (hildon_pannable_axis_scroll),
7045         (hildon_pannable_area_scroll),
7046         (hildon_pannable_area_motion_notify_cb),
7047         (hildon_pannable_area_get_property),
7048         (hildon_pannable_area_set_property),
7049         (hildon_pannable_area_map),
7050         (hildon_pannable_area_class_init),
7051         (hildon_pannable_area_init),
7052         (hildon_pannable_area_jump_to): Added the modes to control the
7053         movement in the widget. We have added properties to control it,
7054         signals to warn about the movements and refactored some code.
7055
7056 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
7057
7058         Changes required in order to allow vfast_factor set to zero to
7059         work properly.
7060
7061         * src/hildon-pannable-area.c:
7062         (hildon_pannable_area_button_press_cb): Changed the condition, it
7063         is required for not allowing click when vfast_factor is zero.
7064         (hildon_pannable_area_timeout): Initialized velocity variables
7065         when we stop moving, it was less than 1 but not zero and we need
7066         to check zero in some situations.
7067         (hildon_pannable_area_class_init): Changed the default value of
7068         the speed factor, now the button_press is just sent in case the
7069         speed is 2 per cent of the max speed.
7070         (hildon_pannable_area_init): Initialization with 0.
7071
7072 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
7073
7074         * src/hildon-pannable-area.c,
7075         (hildon_pannable_area_get_topmost): replaced
7076         gdk_window_get_children with gdk_window_peek_children, this way we
7077         do not have to free the list because it is not a copy.
7078
7079         (hildon_pannable_axis_scroll),
7080         (hildon_pannable_area_scroll),
7081         (hildon_pannable_area_timeout),
7082         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7083         two parameters that were only used inside the
7084         hildon_pannable_area_scroll function.
7085
7086         * examples/hildon-pannable-area-example.c,
7087         (get_sawtooth_label): Fixed small memory leak.
7088
7089 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7090
7091         More checks for the case where the overshoot is bigger than the
7092         size of the widget.
7093
7094         * src/hildon-pannable-area.c:
7095         (hildon_pannable_draw_vscroll),
7096         (hildon_pannable_draw_hscroll): with this new calculation we avoid
7097         to draw the slider of the scrollbar under the other scrollbar.
7098         (hildon_pannable_area_expose_event): added new checks to control
7099         the drawing of the overshooting area rectangle, in case it is too
7100         big for the area of the widget.
7101         (hildon_pannable_area_size_allocate): add more checks to avoid
7102         setting a position to the child widget outside the area.
7103
7104 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7105
7106         * src/hildon-pannable-area.c
7107         (hildon_pannable_area_size_allocate): Added conditions to control
7108         when overshooting is bigger than the allocated space for the
7109         children, this avoids negative allocations.
7110
7111 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
7112
7113         * doc/hildon-docs.sgml
7114         * doc/hildon.types
7115         * examples/Makefile.am
7116         * examples/hildon-button-example.c
7117         * src/Makefile.am
7118         * src/hildon-button.c
7119         * src/hildon-button.h
7120         * src/hildon.h: Initial version of the new HildonButton widget,
7121         with examples.
7122
7123 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
7124
7125         * src/hildon-pannable-area.c:
7126         (hildon_pannable_area_button_press_cb),
7127         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7128         (hildon_pannable_area_motion_notify_cb),
7129         (hildon_pannable_area_button_release_cb),
7130         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7131         (hildon_pannable_area_jump_to_child):
7132
7133         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7134
7135 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
7136
7137         * examples/Makefile.am
7138         * examples/hildon-pannable-area-touch-grid-example.c
7139         * examples/hildon-pannable-area-touch-list-example.c: Examples of
7140         the Hildon Touch List and Hildon Touch Grid using the
7141         HildonPannableArea widget.
7142
7143 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7144
7145         * src/hildon-pannable-area.c,
7146         (hildon_pannable_area_button_press_cb),
7147         (hildon_pannable_area_refresh),
7148         (hildon_pannable_area_scroll),
7149         (hildon_pannable_area_motion_notify_cb),
7150         (hildon_pannable_area_button_release_cb),
7151         (hildon_pannable_area_expose_event),
7152         (hildon_pannable_area_add),
7153         (hildon_pannable_area_remove),
7154         (hildon_pannable_area_realize),
7155         (hildon_pannable_area_size_allocate),
7156         (hildon_pannable_area_class_init),
7157         (hildon_pannable_area_init),
7158         (hildon_pannable_area_scroll_to_child),
7159         (hildon_pannable_area_jump_to_child): Fixed the problem of
7160         removing the child from the GtkBin, we have rearranged the widget
7161         hierarchy, now there is no GtkAlignment which was not doing
7162         anything interesting but breaking some of the assumptions of
7163         GtkContainer. Now developers if they want to add a GtkAlignment
7164         they could, but it is not inside the area.
7165
7166         We had to review the whole allocation/expose process, now it is
7167         improved and we save at least three signals which would be saving
7168         some time when rendering the widget. The allocation of the
7169         scrollbars is now made in the allocate method as usual.
7170
7171         We have also added some conditions in order to control when there
7172         is no child of the pannable area. Maybe we will need more work
7173         here.
7174
7175 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7176
7177         * src/hildon-pannable-area.c,
7178         (hildon_pannable_area_dispose): Released the fade-out timeout when
7179         disposing the widget.
7180
7181 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7182
7183         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7184         zero, we are going to use that property in order to deactivate the
7185         overshooting
7186         (hildon_pannable_axis_scroll),
7187         (hildon_pannable_area_size_allocate): Added conditions to control
7188         when overshoot_max is zero. Moved the gtk_adjustment_set_value
7189         call, now it is called in all situations and we can remove calls
7190         in the allocate method.
7191         (hildon_pannable_area_map): Control the situation when
7192         overshoot_max is zero, we do not need the timeout.
7193         (hildon_pannable_area_class_init): Added documentation in order to
7194         point out that setting zero to overshoot_max means deactivate
7195         overshooting.
7196
7197         NOTE: removed trailing whitespaces from my previous comments of
7198         the Changelog.
7199
7200 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7201
7202         * src/hildon-pannable-area.c
7203         (hildon_pannable_area_get_property),
7204         (hildon_pannable_area_set_property),
7205         (hildon_pannable_area_map),
7206         (hildon_pannable_area_class_init),
7207         (hildon_pannable_area_init): Add a boolean "initial-hint" property
7208         to cause the widget give a hint about its panning abilities upon
7209         realization.
7210
7211 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7212
7213         * src/hildon-pannable-area.c: Several documentation improvements.
7214
7215 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7216
7217         * src/hildon-program.c
7218         * src/hildon-stackable-window.c: Update documentation.
7219
7220 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7221
7222         * src/hildon-stackable-window.c (get_previous_window_if_last):
7223         Renamed get_last_window()
7224         (hildon_stackable_window_map, hildon_stackable_window_unmap)
7225         (hildon_stackable_window_unset_program):
7226         Simplified code.
7227         (get_previous_window_if_last):
7228         Detect if the window hasn't been added to a HildonProgram.
7229
7230 2008-06-26  Alejandro G. Castro <alex@igalia.com>
7231
7232         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7233
7234         * src/hildon-pannable-area.c
7235         (hildon_pannable_area_button_press_cb),
7236         (hildon_pannable_axis_scroll),
7237         (hildon_pannable_area_scroll),
7238         (hildon_pannable_area_timeout),
7239         (hildon_pannable_calculate_vel_factor),
7240         (hildon_pannable_area_get_property),
7241         (hildon_pannable_area_set_property),
7242         (hildon_pannable_area_class_init),
7243         (hildon_pannable_area_init),
7244         (hildon_pannable_area_scroll_to),
7245         (hildon_pannable_area_jump_to),
7246         (hildon_pannable_area_scroll_to_child),
7247         (hildon_pannable_area_jump_to_child):
7248         * src/hildon-pannable-area.h: Added the new API functions:
7249         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7250         hildon_pannable_area_scroll_to_child,
7251         hildon_pannable_area_jump_to_child
7252
7253
7254         * examples/Makefile.am
7255         * examples/hildon-pannable-area-example-2.c
7256         * examples/hildon-pannable-area-example-3.c: Added these two new
7257         examples in order to test and show how the new APIs work.
7258
7259 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
7260
7261         * examples/hildon-stackable-window-example.c (new_window):
7262         * src/Makefile.am (noinst_HEADERS):
7263         * src/hildon-program.c (hildon_program_go_to_root_window):
7264         * src/hildon-program.h:
7265         * src/hildon-stackable-window-private.h:
7266         * src/hildon-stackable-window.c:
7267         * src/hildon-stackable-window.h:
7268         Create hildon-stackable-window-private.h
7269         Move hildon_stackable_window_go_to_root_window() to HildonProgram
7270
7271         * examples/hildon-app-menu-example.c (create_menu):
7272         * examples/hildon-hvolumebar-insensitive-example.c (main):
7273         * examples/hildon-hvolumebar-timer-example.c (on_idle):
7274         * examples/hildon-toolbar-seekbar-example.c (main):
7275         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7276         * src/hildon-banner.c (hildon_banner_set_property):
7277         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7278         Fix compilation warnings
7279
7280         * src/hildon-window.c:
7281         Fix typo in doc
7282
7283 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
7284
7285         * src/hildon-stackable-window.c
7286         (hildon_stackable_window_unset_program):
7287         Calculate correctly whether to show the previous window if the
7288         last one is removed from the stack.
7289         (hildon_stackable_window_go_to_root_window):
7290         Send delete events starting from the topmost window.
7291         Stop if one of the windows is not destroyed.
7292         Update doc.
7293         (hildon_stackable_window_delete_event)
7294         (hildon_stackable_window_class_init):
7295         Ignore the delete event if the window is not the topmost one.
7296
7297 2008-06-24  Alejandro G. Castro <alex@igalia.com>
7298
7299         * src/hildon-pannable-area.c
7300         (hildon_pannable_area_expose_event): Fixed a problem when
7301         selecting the background color of the scrollbars.
7302
7303 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
7304
7305         * examples/hildon-stackable-window-example.c
7306         * src/hildon-stackable-window.c
7307         * src/hildon-stackable-window.h
7308         hildon_stackable_window_go_home() renamed to
7309         hildon_stackable_window_go_to_root_window()
7310         Send delete events to windows rather than closing them with
7311         gtk_widget_destroy()
7312
7313 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7314
7315         * src/hildon-pannable-area.c
7316         (hildon_pannable_area_button_release_cb): Fix overshooting in
7317         accel mode.
7318
7319 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7320
7321         * src/hildon-pannable-area.c
7322         (hildon_pannable_area_init): Initially show the scroll indicators.
7323         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7324
7325         Add initial effect showing the widget is pannable.
7326
7327 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7328
7329         * src/hildon-pannable-area.c
7330         (hildon_pannable_area_class_init)
7331         (hildon_pannable_area_set_property)
7332         (hildon_pannable_area_get_property)
7333         (hildon_pannable_area_button_press_cb):
7334         New 'velocity_fast_factor' property to decide which velocity is
7335         considered fast.
7336
7337 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7338
7339         * src/hildon-pannable-area.c
7340         (hildon_pannable_draw_hscroll)
7341         (hildon_pannable_draw_vscroll):
7342         Use float variables to calculate the size of the scrollbars to
7343         avoid error propagation and resizing during scrolling.
7344
7345 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7346
7347         * src/hildon-pannable-area.c
7348         (hildon_pannable_draw_vscroll)
7349         (hildon_pannable_draw_hscroll):
7350         Define a minimum size for the scroll bars
7351
7352         * src/hildon-stackable-window.c
7353         (hildon_stackable_window_go_home): Fix compilation warning
7354         (get_last_window): Minor optimizations
7355         (hildon_stackable_window_class_init): Fix initialization of
7356         private structure.
7357
7358 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
7359
7360         * src/hildon-stackable-window.c: Fixed typos in doc
7361
7362 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
7363
7364         * src/hildon-pannable-area.c
7365         (hildon_pannable_area_scroll):
7366         Calculate here whether we need to scroll instead of using the booleans
7367         that tell us whether to /draw/ the scrolling bars.
7368
7369 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
7370
7371         * src/hildon-app-menu.h
7372         Update API.
7373         * src/hildon-app-menu.c
7374         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7375         multiple filter groups related code and API. Now we support only
7376         one filter group.
7377         * examples/hildon-app-menu-example.c:
7378         (create_menu):
7379         Update to reflect API changes.
7380
7381 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
7382
7383         * src/hildon-stackable-window.c
7384         (hildon_stackable_window_class_init):
7385         Add hildon_stackable_window_realize.
7386         (hildon_stackable_window_realize):
7387         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7388         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7389         to apply theming and behavior specific to HildonStackableWindow
7390         windows.
7391
7392 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7393
7394         * src/hildon-note.c (hildon_note_button_release):
7395         Close information notes also when tapping on them
7396
7397 2008-06-12  Alejandro G. Castro <alex@igalia.com>
7398
7399         Added BOUNCE_STEPS define to control the overshoot effect. Removed
7400         ELASTICITY, refactor and review, fix some issues with drawing
7401         scrollbars.
7402
7403         * src/hildon-pannable-area.c:
7404         (hildon_pannable_area_button_press_cb): removed the conditions to
7405         avoid clicks when overshooting. It is not required
7406
7407         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7408         define. Refatored and reviewed the code, now we do not need to
7409         manage velocity in motion_notify.
7410
7411         (hildon_pannable_area_motion_notify_cb): We have moved the code
7412         that controls the area_scroll to the axis_scroll function and get
7413         rid of duplicated code.
7414
7415         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7416
7417         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7418
7419         (hildon_pannable_draw_vscroll),
7420         (hildon_pannable_draw_hscroll): Fixed the problems with the
7421         scrollbar drawing, now we do not use two surfaces, it is easier
7422         and saves resources.
7423
7424         (hildon_pannable_area_get_property): Style modification.
7425
7426         (hildon_pannable_area_class_init): Changed some default values.
7427
7428 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
7429
7430         * src/hildon-stackable-window.c: Fix some typos in the
7431         documentation.
7432
7433 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7434
7435         * src/hildon-dialog.c:
7436         Change indentation style
7437
7438         * src/hildon-note.c
7439         (hildon_note_button_release):
7440         Use root coordinates to check if the release event happened
7441         outside the widget.
7442
7443         * src/hildon-app-menu.c
7444         (hildon_app_menu_button_release):
7445         Remove unnecessary check
7446
7447         * examples/hildon-app-menu-example.c
7448         (button_clicked):
7449         Add cast to fix warning
7450
7451         * src/hildon-app-menu.c
7452         (hildon_app_menu_class_init):
7453         New inner-border style property.
7454         Set all default spacings to 16
7455         (hildon_app_menu_init):
7456         Use vertical-spacing to set the space between filter buttons and
7457         regular menu buttons.
7458         Set the default container border using the inner-border value.
7459
7460         * examples/hildon-app-menu-example.c
7461         (create_menu):
7462         Don't set the menu border explicitly, now we have the inner-border
7463         style property for that.
7464
7465 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
7466
7467         * src/hildon-app-menu.c (hildon_app_menu_init):
7468         Make the window modal
7469
7470         * src/hildon-note.c (hildon_note_map)
7471         * src/hildon-app-menu.c (hildon_app_menu_map):
7472         Destroy the grab window if we're unable to grab the pointer
7473
7474         * src/hildon-app-menu-private.h
7475         * src/hildon-app-menu.c
7476         (hildon_app_menu_init, hildon_app_menu_finalize)
7477         (hildon_app_menu_map, hildon_app_menu_unmap)
7478         (hildon_app_menu_button_release)
7479         (grab_transfer_window_get):
7480         Bring back the grab window
7481         (hildon_app_menu_realize):
7482         Decorate the window, set WM hint for Matchbox
7483
7484         * src/hildon-note.c (hildon_note_realize):
7485         * src/hildon-banner.c (hildon_banner_realize):
7486         Add WM hints for Matchbox
7487
7488 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
7489
7490         * src/hildon-app-menu-private.h
7491         * src/hildon-app-menu.c
7492         (hildon_app_menu_init, hildon_app_menu_finalize)
7493         (hildon_app_menu_map, hildon_app_menu_unmap)
7494         (hildon_app_menu_button_release):
7495         Remove the grab window, it's not needed anymore
7496
7497         * src/hildon-program.c
7498         Fixed typo in documentation
7499
7500         * src/hildon-app-menu.h
7501         * src/hildon-app-menu.c
7502         * examples/hildon-app-menu-example.c
7503         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7504
7505 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
7506
7507         * src/hildon-note.c
7508         Added new transfer_window and close_if_pressed_outside private
7509         attributes.
7510         (hildon_note_rebuild):
7511         Don't add a cancel button to the information note. It will be
7512         closed when tapping outside
7513         Remove the comment about the OK button in the documentation
7514         (hildon_note_realize):
7515         Set the notification type hint
7516         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7517         Grab/ungrab pointer and keyboard if the note has to be closed when
7518         tapping outside
7519         (hildon_note_button_release):
7520         Close the note when tapping outside (if applicable)
7521
7522         * src/hildon-app-menu.c
7523         Grab/ungrab pointer and keyboard on map/unmap
7524         (hildon_app_menu_button_release, hildon_app_menu_class_init):
7525         Close the menu on button release, not button press
7526
7527         * src/hildon-banner.c
7528         (hildon_banner_set_property)
7529         (hildon_banner_check_position):
7530         Make the banner use the full width of the screen
7531         (hildon_banner_show_information)
7532         (hildon_banner_show_information_with_markup):
7533         Don't display an icon by default
7534
7535 2008-06-09  Alejandro G. Castro <alex@igalia.com>
7536
7537         Added fading scrollbars and adapted all the overshooting code to
7538         horizontal scrolling. We have also fixed bugs with overshooting
7539         and current fading implementation.
7540
7541         * src/hildon-pannable-area.c
7542         (hildon_pannable_area_scroll_indicator_fade): Time out function
7543         used to change the transparency of the scrollbars.
7544
7545         (hildon_pannable_area_button_press_cb): Added horizontal overshot
7546         control and fixed a problem with fading, we now remove the fade
7547         timeout before adding a new one.
7548
7549         (hildon_pannable_axis_scroll):
7550         (hildon_pannable_area_scroll):
7551         (hildon_pannable_area_timeout): Added this functions so we can use
7552         the scroll code both for vertical and horizontal.
7553
7554         (hildon_pannable_area_motion_notify_cb):
7555         (hildon_pannable_area_button_release_cb): Added the horizontal
7556         scrolling control, fixed a problem with the overshooting timeout.
7557
7558         (rgb_from_gdkcolor): Added this function, it is used in the cairo
7559         painting of the scrolls.
7560
7561         (hildon_pannable_draw_vscroll):
7562         (hildon_pannable_draw_hscroll):
7563         (hildon_pannable_area_expose_event):
7564         Draw both scrollbars and rectangles in the overshooting area.
7565
7566         (hildon_pannable_area_get_property):
7567         (hildon_pannable_area_set_property):
7568         Modified the overshoot property to overshoot_max
7569
7570         (hildon_pannable_area_map):
7571         Replaced the comments symbols.
7572
7573         (hildon_pannable_area_size_allocate):
7574         (hildon_pannable_area_class_init):
7575         (hildon_pannable_area_init): Added horizontal scroll, fading
7576         effect properties, fixed a problem when overshooting in the bottom
7577         of the widget.
7578
7579         * examples/hildon-pannable-area-example.c:
7580         (get_sawtooth_label): Now we use smaller sawtooths, the effect
7581         looks better in the example.
7582
7583 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
7584
7585         * src/hildon-window.c
7586         * src/hildon-window.h
7587         (hildon_window_class_init)
7588         (hildon_window_unset_program)
7589         (hildon_window_unset_program_real):
7590         Make unset_program a virtual function
7591
7592         * src/hildon-stackable-window.c
7593         * src/hildon-stackable-window.h
7594         Added hildon_stackable_window_go_home()
7595
7596         * examples/Makefile.am
7597         * examples/hildon-stackable-window-example.c
7598         HildonStackableWindow example
7599
7600 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7601
7602         * hildon-pannable-area.c: Added the overshoot property and removed
7603         the OVERSHOOT define. Fixed an indent style error.
7604         (hildon_pannable_area_motion_notify_cb):
7605         (hildon_pannable_area_get_property):
7606         (hildon_pannable_area_set_property): Add overshoot property.
7607
7608         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7609         overshoot property.
7610
7611         (hildon_pannable_area_class_init): Installed the new property.
7612
7613         * hildon-pannable-area-example.c: Added a sawtooth function, this
7614         way it is easier to check the movement in the pannable.
7615         (get_sawtooth_label): Added this function.
7616         (main): Now we get the labels from the new get_sawtooth_label
7617         function.
7618
7619 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
7620
7621         * src/hildon-app-menu.h
7622         * src/hildon-app-menu.c
7623         Renamed API variables for consistency
7624
7625         (hildon_app_menu_popup): Use also the default window size to
7626         decide where to place the menu
7627
7628         (hildon_app_menu_init, hildon_app_menu_class_init): New
7629         external-border style property
7630
7631 2008-05-26  Michael Natterer  <mitch@imendio.com>
7632
7633         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7634         widget_class->tap_and_hold_setup signal slot doesn't exist any
7635         longer, stop overriding it.
7636
7637         (hildon_time_editor_init): g_signal_connect() to the
7638         tap-and-hold-setup signal instead.
7639
7640         (hildon_time_editor_entry_keypress): add cast to fix warning.
7641
7642 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
7643
7644         * doc/hildon-docs.sgml
7645         * doc/hildon.types
7646         * examples/Makefile.am
7647         * examples/hildon-app-menu-example.c
7648         * src/Makefile.am
7649         * src/hildon-app-menu-private.h
7650         * src/hildon-app-menu.c
7651         * src/hildon-app-menu.h
7652         * src/hildon.h
7653         New HildonAppMenu widget
7654
7655 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7656
7657         Rearranged the inheritance of the pannable area, now it inherits
7658         from GtkBin. This will allow us to control the event_window and
7659         the allocation process of the widget, required for some effects.
7660
7661         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7662         GtkBin structures.  * src/hildon-pannable-area.c: Added the
7663         event_window variable.
7664         (hildon_pannable_area_button_press_cb):
7665         (hildon_pannable_area_button_release_cb):
7666         (hildon_pannable_area_motion_notify_cb):
7667         Changed the signature of the method, now we override the event
7668         callback instead of connecting to the signal.
7669
7670         (hildon_pannable_area_realize):
7671         (hildon_pannable_area_unrealize):
7672         (hildon_pannable_area_map):
7673         (hildon_pannable_area_unmap):
7674         (hildon_pannable_area_size_allocate):
7675         Added functions to control the widget construction. We add a
7676         INPUT_ONLY window and we put it over the widgets inside the
7677         container, this event_window handles the events.
7678
7679         (hildon_pannable_area_class_init):
7680         Replaced the signal connections with overrides of the event
7681         callbacks.
7682
7683 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7684
7685         Bouncing effect added when touching the borders, you can change
7686         the elasticity of the border changing the ELASTICITY define.
7687
7688         * src/hildon-pannable-area.c: Added ELASTICITY define.
7689         (hildon_pannable_area_timeout): Added inverse velocity when
7690         touching the border of the child widget, that causes a bounce.
7691
7692 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7693
7694         Improved performance, we now do not go to the X server in order to
7695         get the list of window children. Apparently the effect is the
7696         same, we have to be careful and check if this breaks something in
7697         any corner case.
7698
7699         * src/hildon-pannable-area.c:
7700         (get_ordered_children): Removed this function.
7701         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7702         the children windows function with gdk_window_get_children.
7703
7704 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7705
7706         * src/hildon-pannable-area.c:
7707         (hildon_pannable_area_dispose): Fixed a crash when closing the
7708         window and kinetics is activated.
7709
7710 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
7711
7712         * src/hildon-pannable-area.h
7713         * src/hildon-pannable-area.c
7714         Changed indentation style to meet the one used in Hildon
7715
7716 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7717
7718         Reviewed the interaction of the AUTO mode, now we use the time
7719         attribute of the events and calculate the velocity in the motion,
7720         doing a gimp like calculation. The velocity is calculated in each
7721         motion event using the last velocity and the current one, the
7722         SMOOTH_FACTOR controls the percentage of the new velocity we use.
7723
7724         * src/hildon-pannable-area.c: Replaced the time based algorithm
7725         for the AUTO mode.
7726         (hildon_pannable_area_motion_notify_cb): now we do not launch the
7727         timeout for the AUTO mode when we are still moving the cursor. We
7728         added also the velocity calculation in this function.
7729         (hildon_pannable_area_button_release_cb): launch the timeout in
7730         case we are in AUTO mode. There are still some constants here that
7731         come from the old implementation that should be reviewed and
7732         handled properly.
7733
7734 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
7735
7736         * doc/hildon-docs.sgml
7737         * doc/hildon.types
7738         * src/Makefile.am
7739         * src/hildon-stackable-window.c
7740         * src/hildon-stackable-window.h
7741         * src/hildon.h
7742         New HildonStackableWindow widget
7743
7744         * examples/hildon-dialog-example.c
7745         * examples/hildon-pannable-area-example.c
7746         Updated copyright
7747
7748 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
7749
7750         * src/hildon-dialog.c
7751         (hildon_dialog_new_with_buttons): New constructor.
7752
7753         * examples/hildon-dialog-example.c
7754         (main): Update the example to use the new
7755         hildon_dialog_new_with_buttons().
7756
7757         * examples/hildon-pannable-area-example.c
7758         (main): Update example.
7759
7760 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7761
7762         * doc/hildon-docs.sgml
7763         * doc/hildon.types
7764         Added HildonPannableArea to the documentation.
7765
7766 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7767
7768         * doc/visual_index.xml
7769         Fix reference to HildonLoginDialog in documentation
7770
7771         * doc/hildon-docs.sgml
7772         * doc/hildon.types
7773         * examples/Makefile.am
7774         * examples/hildon-dialog-example.c
7775         * src/Makefile.am
7776         * src/hildon-dialog.c
7777         * src/hildon-dialog.h
7778         * src/hildon.h
7779         New HildonDialog widget.
7780
7781 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7782
7783         * src/hildon-pannable-area.c
7784         Merge latest changes (r4318, r4342) from libmokoui trunk
7785
7786 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7787
7788         * examples/Makefile.am
7789         * examples/hildon-pannable-area-example.c
7790         * src/Makefile.am
7791         * src/hildon-pannable-area.c
7792         * src/hildon-pannable-area.h
7793         * src/hildon.h
7794         New HildonPannableArea widget.
7795
7796 2008-04-15 18:05:19    <timj@imendio.com>
7797
7798         * src/hildon-banner.c: revert the recent change, that introduced
7799         gtk_window_present() calls. this reopens:
7800           Bug 78481 - [freetest] information banners are hidden under browser menu
7801         But resolves another variant of:
7802           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7803
7804 2008-04-15 13:21:13    <timj@imendio.com>
7805
7806         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7807         recreated its layout, spotted by Kris. this fixes all remaining
7808         artefacts and stability issues with the banner code. in particular:
7809         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7810
7811 2008-04-14 16:52:59    <timj@imendio.com>
7812
7813         * src/hildon-banner.c: guard force_to_wrap_truncated() against
7814         operating on unrealized widgets, fixes:
7815         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7816
7817         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7818
7819 2008-04-09  Kristian Rietveld  <kris@imendio.com>
7820
7821         Fixes: NB#77775: Media Player, Save Now playing list, too long name
7822         makes banner disappear.
7823         Fixes: NB#79182: info banner flickering with certain message lengts.
7824
7825         * src/hildon-banner.c (hildon_banner_constructor),
7826         (hildon_banner_init), (hildon_banner_set_text),
7827         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7828         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7829         FALSE, reset size requests of label and banner,
7830         (force_to_wrap_truncated): when the text is too wide, always enforce
7831         the maximum possible width instead of recalculating it from the
7832         layout; enforce the maximum banner height of 3 lines,
7833         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7834         nicer wrapping and no truncated chars if space gets tight.
7835
7836         * src/hildon-banner-private.h: add has_been_wrapped and
7837         has_been_truncated fields.
7838
7839 2008-04-07  Sven Herzberg  <sven@imendio.com>
7840
7841         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7842         local values in hildon_date_editor_size_allocate
7843
7844         * src/hildon-date-editor.c: moved the real allocation code into the
7845         if() branch
7846
7847 2008-04-07  Sven Herzberg  <sven@imendio.com>
7848
7849         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7850         local values in hildon_date_editor_size_allocate
7851
7852         * src/hildon-date-editor.c: merged the two if() branches together
7853
7854 2008-04-07  Sven Herzberg  <sven@imendio.com>
7855
7856         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7857         local values in hildon_date_editor_size_allocate
7858
7859         * src/hildon-date-editor.c: changed the arguments of the if()
7860         conditions
7861
7862 2008-04-07  Sven Herzberg  <sven@imendio.com>
7863
7864         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7865         local values in hildon_date_editor_size_allocate
7866
7867         * src/hildon-date-editor.c: split the calculation of the allocation
7868         from the real allocation
7869
7870 2008-03-27  Michael Natterer  <mitch@imendio.com>
7871
7872         Fixes: NB#81696: The passcode is not overwritten even after
7873         selecting
7874
7875         * src/hildon-code-dialog.c
7876         (hildon_code_dialog_button_clicked)
7877         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7878         because that doesn't overwrite selected text. Instead, emit the
7879         "commit" signal on the entry's im_context so the entry's normal
7880         insert logic is triggered. Set the cursor to the end of the entry
7881         after each insert operation so that we *only* insert in the middle
7882         of the text if something was selected.
7883
7884 2008-03-27  Michael Natterer  <mitch@imendio.com>
7885
7886         Enable fixing: NB#79916 and NB#79918: The help topic for Color
7887         selector cannot be opened
7888
7889         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7890         when the popup color selector is created. Please connect to this
7891         signal in order to set the dialog's help ID.
7892
7893 2008-03-25  Sven Herzberg  <sven@imendio.com>
7894
7895         Fixes: MB#1212: Hide info banners (infoprints) on click
7896
7897         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7898         extracted the close event simulation into an extra function
7899         (hildon_banner_button_press_event): simulate a close event and destroy
7900         the widget if the event wasn't handled
7901         (hildon_banner_class_init): added the button_press_event handler
7902         (hildon_banner_init): added button-press events to the widget
7903
7904 2008-03-25  Sven Herzberg  <sven@imendio.com>
7905
7906         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7907         Patch from: Mohammad Anwari  <mdamt@maemo.org>
7908
7909         * src/hildon-banner.c: let the HildonBanners pop up on the left side
7910         instead of the right in RTL mode
7911         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7912         breadcrumb button list in RTL mode
7913         * src/hildon-caption.c: mirror the appearance of the caption widget in
7914         RTL mode
7915         * src/hildon-date-editor.c: mirror appearance of the date editor in
7916         RTL mode
7917         * src/hildon-time-editor.c: mirror appearance of the time editor in
7918         RTL mode
7919         * src/hildon-window.c: fix the position of the popup in RTL mode
7920
7921 2008-03-25  Sven Herzberg  <sven@imendio.com>
7922
7923         Amendment to the fix of NB#22072. Fix compilation.
7924
7925         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7926
7927 2008-03-19  Sven Herzberg  <sven@imendio.com>
7928
7929         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7930         in Info Banner" bug
7931
7932         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7933         timeout id properly when the timeout will disappear this leaves no
7934         artifacts around in the destroy(); there will only be the timeout
7935         created by hildon_banner_ensure_timeout() and adding a new timeout
7936         will also work if the timeout gets removed because the timeout_handler
7937         returned FALSE
7938
7939 2008-03-19  Michael Natterer  <mitch@imendio.com>
7940
7941         Fixes: NB#79791: Cannot set focus to Master volume using stylus
7942
7943         * src/hildon-volumebar.c
7944         * src/hildon-vvolumebar.c
7945         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7946         the widget becomes focussable at all.
7947
7948         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7949         set the focus to wither the mute button or the volumebar.
7950
7951         Remove own "can-focus" property and instead listen to
7952         notify::can-focus in order to update the widget's state.
7953
7954         Implement GtkWidget::focus() and make sure we can also *leave* the
7955         widget, not only enter it, depending on volumebar orientation and
7956         requested focus direction.
7957
7958         Clean up set_mute() to cooperate nicely with all the above.
7959
7960 2008-03-04  Michael Natterer  <mitch@imendio.com>
7961
7962         Fixes: NB#78481: information banners are hidden under browser menu
7963
7964         * src/hildon-banner.c: call gtk_window_present() on the banners so
7965         they are risen if they are already visible.
7966
7967 2008-03-03  Sven Herzberg  <sven@imendio.com>
7968
7969         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7970
7971         * examples/hildon-window-menu-example.c: (main): extended the window
7972         menu example to serve as a testcase for automatically added
7973         accelerator groups, too
7974         * src/hildon-window.c: (hildon_window_add_accel_group),
7975         (hildon_window_set_menu): added patch by Tommi Komulainen
7976
7977 2008-03-03  Sven Herzberg  <sven@imendio.com>
7978
7979         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7980
7981         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7982         knowledge about the border allocators used within GTK+
7983
7984 2008-02-26  Sven Herzberg  <sven@imendio.com>
7985
7986         Fixes: MB#2981: Build with asserts broken
7987
7988         * src/hildon-date-editor.c,
7989         * src/hildon-number-editor.c,
7990         * src/hildon-time-editor.c,
7991         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7992         the proper GType instance check
7993
7994 2008-02-25  Sven Herzberg  <sven@imendio.com>
7995
7996         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7997
7998         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7999         * examples/hildon-window-menu-example.c: (main): explicitly show
8000         the menu item
8001         * src/hildon-window.c:
8002         (hildon_window_set_main_menu): moved most of the code from set_menu()
8003         to this place; skipped the call to gtk_widget_show_all(); also didn't
8004         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8005         (hildon_window_set_menu): removed most of the code, just keep the
8006         questionable gtk_widget_show_all()
8007         * src/hildon-window.h: added the new function and deprecate the old
8008         one
8009
8010 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8011
8012         [2.0.1-1 release]
8013
8014         * NEWS:
8015         * configure.ac:
8016         * debian/changelog: Updating.
8017
8018 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8019
8020         * configure.ac:
8021         * pkgconfig/Makefile.am:
8022         * pkgconfig/hildon.pc.in:
8023         * src/Makefile.am:
8024
8025         Do not use PACKAGE_VERSION_MAJOR as the API revision,
8026         use newly created API_MAJOR_VERSION.
8027
8028 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8029
8030         [2.0.0-1 release]
8031
8032         * NEWS:
8033         * configure.ac:
8034         * debian/changelog: Updating.
8035
8036 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8037
8038         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8039
8040         Add outer_border style property, we use it but don't define it (!).
8041
8042         Fixes NB#75310
8043
8044 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
8045
8046         * examples/hildon-bread-crumb-trail-example.c (main):
8047
8048         Add clear button.
8049
8050         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8051
8052         Fix logic for the bread crumb trail node removal.
8053
8054         Fixes: NB#78616
8055
8056 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8057
8058         [1.99.1-1 release]
8059
8060         * NEWS:
8061         * configure.ac:
8062         * debian/changelog: Updating.
8063
8064 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8065
8066         Patch by Alejandro to get/set passwords dialogs accesibility.
8067
8068         * hildon-1/src/hildon-get-password-dialog.c:
8069         * hildon-1/src/hildon-set-password-dialog.c:
8070         Set atk_set_name to the passwd entries in order to allow
8071         accessibility by name on this entries.
8072
8073 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8074
8075         [1.99.0-2 release]
8076
8077         * debian/changelog:
8078         * debian/control: Updating gtk dep.
8079
8080 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
8081
8082         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8083         USE_MAEMO_GTK is enabled.
8084
8085 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
8086
8087         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8088         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8089
8090 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8091
8092         [1.99.0-1 release]
8093
8094         * NEWS:
8095         * configure.ac:
8096         * debian/changelog: Updating.
8097
8098 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8099
8100         * examples/Makefile.am:
8101         * examples/hildon-logical-color-example.c:
8102         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8103         applied + adding a test case. Fixes: NB#71660.
8104
8105 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
8106
8107         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8108         to be visible, fixes warning on map for windows without toolbars.
8109
8110 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
8111
8112         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8113         2.11.0, add a check for that besides the MAEMO_GTK check.
8114
8115 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8116
8117         [1.0.17-1 release]
8118
8119         * NEWS:
8120         * configure.ac:
8121         * debian/changelog: Updating.
8122
8123 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8124
8125         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8126         visibility. Fixes: NB#70842 and MB#615.
8127
8128 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8129
8130         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8131         set the separator as no-show-all so it doesn't unintentionally appear when
8132         someone does a show_all.
8133
8134 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8135
8136         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8137         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8138         toplevel item. Fixes: NB#62031
8139
8140 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
8141
8142         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8143         fix the name of the function in the docs.
8144
8145 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8146
8147         [1.0.16-1 release]
8148
8149         * NEWS:
8150         * configure.ac:
8151         * debian/changelog: Updating.
8152
8153 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8154
8155         * examples/hildon-banner-long-example.c: Adding a test-case for long
8156         hildon banner.
8157
8158         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8159
8160 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8161
8162         * src/hildon-color-chooser-dialog.c:
8163         * src/hildon-color-chooser.c:
8164         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8165         memory leaks in font selector and color selector. Fixes: NB#70499 and
8166         NB#70474.
8167
8168 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
8169
8170         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8171
8172 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8173
8174         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8175         little bit bigger. Fixes: #NB63694.
8176
8177 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8178
8179         [1.0.15-1 release]
8180
8181         * NEWS:
8182         * configure.ac:
8183         * debian/changelog: Updating.
8184
8185 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8186
8187         * doc/Makefile.am:
8188         * doc/hildon-docs.sgml:
8189         * doc/images/bread-crumb-trail.png:
8190         * doc/images/calendar-popup.png:
8191         * doc/images/caption.png:
8192         * doc/images/code-dialog.png:
8193         * doc/images/color-button.png:
8194         * doc/images/color-chooser-dialog.png:
8195         * doc/images/color-chooser.png:
8196         * doc/images/controlbar.png:
8197         * doc/images/date-editor.png:
8198         * doc/images/font-selection-dialog.png:
8199         * doc/images/get-password-dialog.png:
8200         * doc/images/hvolumebar.png:
8201         * doc/images/login-dialog.png:
8202         * doc/images/note.png:
8203         * doc/images/number-editor.png:
8204         * doc/images/range-editor.png:
8205         * doc/images/seekbar.png:
8206         * doc/images/set-password-dialog.png:
8207         * doc/images/sort-dialog.png:
8208         * doc/images/time-editor.png:
8209         * doc/images/time-picker.png:
8210         * doc/images/vvolumebar.png:
8211         * doc/images/weekday-picker.png: Adding the new generated widget shots.
8212         Adding the bread-crumb-trial and helpers to the documentation.
8213
8214 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8215
8216         * examples/hildon-find-toolbar-example.c:
8217         * src/hildon-find-toolbar.c:
8218         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8219         actually continue firing the other handlers if connected. Adding a new
8220         function:
8221         hildon_find_toolbar_get_last_index that gets the index of the most
8222         recently added (last) item. Fixes: NB#52301.
8223
8224 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8225
8226         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8227         behaviour. Fixes: NB#68610.
8228
8229 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8230
8231         * src/hildon-banner.c: Actually reverting the previous change. It somehow
8232         looks a bit worse.
8233
8234 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8235
8236         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8237         when realizing the banner. Should make the infonbanner effect a bit more
8238         bearable.
8239
8240 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8241
8242         * src/hildon-volumebar.c:
8243         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8244         hildon_volumebar_set_range_insensitive_message and
8245         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8246
8247 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8248
8249         * src/hildon-window.c: Fixing the border freeing on destroy.
8250
8251 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8252
8253         * src/hildon-code-dialog-private.h:
8254         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8255         kw keyboard support in HildonCodeDialog.
8256
8257 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8258
8259         [1.0.14-1 release]
8260
8261         * NEWS:
8262         * configure.ac:
8263         * debian/changelog: Updating.
8264
8265 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8266
8267         * src/hildon-date-editor.c:
8268         * src/hildon-number-editor.c:
8269         * src/hildon-private.c:
8270         * src/hildon-private.h:
8271         * src/hildon-time-editor.c:
8272         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8273         handling in subclassed composite widgets. Fixes: NB#66628.
8274
8275 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8276
8277         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8278         from destroy_ callback as it introduces problems in async dbus signal
8279         handlers. Fixes NB#66673.
8280
8281 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8282
8283         * examples/hildon-hvolumebar-example.c:
8284         * src/hildon-volumebar.c: Improving the focus handling in the
8285         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8286         set_property accessor so that "mute" property can be actually set. I'm
8287         scared that nobody noticed it's totally broken.
8288
8289 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8290
8291         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8292         Fixes NB#66548.
8293
8294 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8295
8296         * src/hildon-calendar.c:
8297         * src/hildon-number-editor.c:
8298         * src/hildon-time-picker.c: Changing the timeout repeat so that it
8299         matches the spec of 6 chars per second. Fixes: NB#60489.
8300
8301 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8302
8303         * src/hildon-helper.c: Really fixing NB#58352. Looks like
8304         gtk_style_lookup_color sometime returns FALSE even though color was
8305         found and values were filled properly. Weird. Removing the warning for the
8306         time being.
8307
8308 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8309
8310         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8311         expand vertically. Adding some extra space to the find toolbar buttons to
8312         make them thumbable. Fixes NB#66060.
8313
8314 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8315
8316         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8317         popup with "Ok" and "Cancel". Fixes NB#59299.
8318
8319 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8320
8321         * src/hildon-calendar.c: Process all window updates before executing next
8322         timeout. Fixes: NB#54146.
8323
8324 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8325
8326         [1.0.13-1 release]
8327
8328         * NEWS:
8329         * configure.ac:
8330         * debian/changelog: Updating.
8331
8332 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8333
8334         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8335         the client event and ignore it, since we use the delete event to close
8336         after timeouts.
8337
8338 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8339
8340         * src/hildon-helper.c: Remove the bogus warning about color not being
8341         found. Fixes NB#58352.
8342
8343 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8344
8345         * examples/Makefile.am:
8346         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8347         HildonSeekbar widget inside a toolbar.
8348
8349 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8350
8351         * src/hildon-banner.c (hildon_banner_init): mark the banners as
8352         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8353         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8354         don't want to be closed by non-temporary windows on map.
8355
8356         Also use G_DEFINE_TYPE instead of manually typed code.
8357
8358 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8359
8360         [1.0.12-1 release]
8361
8362         * NEWS:
8363         * configure.ac:
8364         * debian/changelog:
8365         * debian/rules: Updating.
8366
8367 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8368
8369         * examples/Makefile.am:
8370         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8371         bug NB#61128. Strangely it works.
8372
8373 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8374
8375         * src/hildon-date-editor.c: When the date editor entry has been changed
8376         but the numbers of characters < max, turn off the skip validation flag.
8377         Prevents a situation when we enter first a valid year and later re-write
8378         it with an invalid one. Fixes NB#60154.
8379
8380 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8381
8382         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8383         code dialog. Fixes NB#64355.
8384
8385 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8386
8387         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8388         switching the page. Fixes NB#49374.
8389
8390         * examples/Makefile.am:
8391         * examples/hildon-wizard-dialog-example.c: Adding an example for
8392         HildonWizardDialog that shows how to handle manual sensitivity setting on
8393         the wizard dialog.
8394
8395 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8396
8397         * configure.ac:
8398         * src/Makefile.am:
8399         * src/hildon-version.h.in:
8400         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8401
8402 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8403
8404         * src/hildon-volumebar.c: Updating the docs.
8405
8406 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8407
8408         [1.0.11-1 release]
8409
8410         * NEWS:
8411         * configure.ac:
8412         * debian/changelog: Updating.
8413
8414 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8415
8416         * src/hildon-find-toolbar.c:
8417         * src/hildon-find-toolbar.h: Adding a few new functions to control the
8418         selected item: hildon_find_toolbar_set_active,
8419         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8420         hildon_find_toolbar_get_active_iter . They correspond to respective
8421         GtkComboBox functions.
8422
8423         * examples/Makefile.am:
8424         * examples/hildon-find-toolbar-example.c: Adding the example to test the
8425         new functionality.
8426
8427 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8428
8429         * examples/Makefile.am:
8430         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8431         theming easily.
8432
8433         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8434         when font size > 32 and we pack a focusable widget inside. Actually using
8435         the default response would work too, but since we don't show default
8436         response state in any way (no theming) it would not be visible to the
8437         user. Fixes NB#63430.
8438
8439 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8440
8441         * src/hildon-date-editor.c: Adding the missing variable setter in the
8442         set_property handler. Fixes NB#54182.
8443
8444 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8445
8446         * src/hildon-window.h: Changing the long key press time from 1500ms to
8447         800ms as requested in NB#63700. I have a bad feeling about this, let's
8448         see... Fixes NB#63700.
8449
8450 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
8451
8452         * src/hildon-time-picker.c (hildon_time_picker_class_init,
8453         hildon_time_picker_map, hildon_time_picker_realize,
8454         hildon_time_picker_style_set): Split the contents of map to more
8455         appropriate functions; set window decorations on realize and update
8456         arrows' size requisitions on style-set. Avoids unnecessary resizing.
8457
8458 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
8459
8460         [1.0.10-2 release]
8461
8462         * NEWS:
8463         * debian/changelog: Updating.
8464
8465 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
8466
8467         * src/Makefile.am: fixed installation of the header files
8468
8469 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8470
8471         [1.0.10-1 release]
8472
8473         * NEWS:
8474         * configure.ac:
8475         * debian/changelog: Updating.
8476
8477 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8478
8479         * configure.ac: Removing some remaining of --enable-xan.
8480
8481 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
8482
8483         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8484         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8485
8486         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8487         2.10.12-osso6 because the move-focus signal needs to be available in
8488         GtkWidget.
8489
8490 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8491
8492         * examples/Makefile.am:
8493         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8494         that makes a HildonVolumebar insensitive before mapping it. Seems to work
8495         fine. Prolly NB#61128 is fixed now.
8496
8497 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8498
8499         * src/hildon-volumebar.c:
8500         * src/hildon-volumebar.h: Adding the
8501         hildon_volumebar_set_range_insensitive_message and
8502         hildon_volumebar_set_range_insensitive_messagef functions to set
8503         insensitive message on the slider of the volumebar. Fixes NB#61129.
8504
8505         * examples/Makefile.am:
8506         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8507         test the new insensitive messsage functionality on HildonVolumebar.
8508
8509 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
8510
8511         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8512         work again.
8513
8514 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
8515
8516         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8517         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8518         button on after clearing the trail.
8519
8520 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8521
8522         * src/hildon-code-dialog.c: Removing the separator from the dialog.
8523
8524 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8525
8526         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8527         by splitting the installed headers in generated and non-generated groups. Use
8528         only the non-generated headers to create the hildon-enum-types.h file.
8529
8530         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8531
8532 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8533
8534         * src/hildon-window.c: Hide the window before performing the destroy.
8535         Should make the app closing a little tiny bit more snappy.
8536
8537 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8538
8539         * src/hildon-seekbar.c: add gtkrange.h header
8540         * src/hildon-caption.c: remove unused variable
8541
8542 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
8543
8544         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8545         Loic Minier.
8546
8547 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8548
8549         [1.0.9-1 release]
8550
8551         * NEWS:
8552         * configure.ac:
8553         * debian/changelog: Updating.
8554
8555 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
8556
8557         * src/hildon-window.c (hildon_window_window_state_event,
8558         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8559         escape timeout on focus-out-event rather than notify::is-topmost; the
8560         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8561
8562 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8563
8564         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8565         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8566
8567 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8568
8569         * src/hildon-window: actually, you need to use the macro always, there's
8570         no private pointer in the instance structure. We should have cleaned this up
8571         when we had the chance...
8572
8573 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8574
8575         * src/hildon-window.c: do not get the private date from HildonWindow before
8576         it passes the g_return_if_fail check. Once it's passed the test, there's no
8577         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8578         if you are only going to access the data once. Whitespace cleanups.
8579
8580 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
8581
8582         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8583         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8584
8585 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8586
8587         [1.0.8-1 release]
8588
8589         * NEWS:
8590         * configure.ac:
8591         * debian/changelog: Updating.
8592
8593 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8594
8595         * src/hildon-window.c: When destroying the window, remove (if exists) the
8596         escape timeout handler. Fixes #NB59276.
8597
8598 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8599
8600         * src/hildon-banner.c: When realizing the widget, set the window
8601         transiency. Setting the transiency in the gobject constructor is not
8602         good, as the widget is not realized at that point. Fixes: #NB56624.
8603
8604 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8605
8606         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8607         Add padding for future expansions.
8608
8609 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8610
8611         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8612         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8613         will fake an activation on the previous to the last item of the trail, so
8614         the effect can be overrided by the developer as usual.
8615         Also change the callback for the back button to do the same thing, so its
8616         effect can be overrided too. Fixes: NB#58982
8617
8618 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8619
8620         * src/hildon-caption.c: Implementing the proper focus grabbing in the
8621         HildonCaption. Fixes NB#52379.
8622
8623 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8624
8625         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8626         the internal state of the trail after the user has had the chance of executing
8627         his handler for the signal. Specifically, it may happen that the activated button
8628         is removed and the user still lets the default handler run. This would segfault
8629         previously.
8630
8631 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8632
8633         * src/hildon-font-selection-dialog.c: When the font is really big, add the
8634         scrollbar to the preview dialog. Fixes NB#54147.
8635
8636 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8637
8638         * src/hildon-date-editor.c: Changing the default max year to 2037. The
8639         max/min year properties can be altered, so the client can modify it
8640         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8641
8642 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8643
8644         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8645         hildonlike by default. Fixing a problem with disappearing arrows when
8646         scrolling through months and years. Fixes NB#54127.
8647
8648 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8649
8650         * examples/hildon-date-editor-example.c: Adding error callback to the date
8651         editor example.
8652
8653 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8654
8655         [1.0.7-1 release]
8656
8657         * NEWS:
8658         * debian/changelog:
8659         * configure.ac: Updating.
8660
8661 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8662
8663         * configure.ac: Adding a special '--enable-xan' configure option that
8664         turns off the -Werror compilation setting. Usefull for development.
8665
8666         * src/hildon-calendar.c:
8667         * src/hildon-number-editor.c:
8668         * src/hildon-time-picker.c: Adding the 5* multiplier to
8669         gtk-timeout-update.
8670
8671 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
8672
8673         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8674         instead of g_object_ref + gtk_object_sink.
8675
8676 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8677
8678         [1.0.6-1 release]
8679
8680         * NEWS:
8681         * configure.ac:
8682         * debian/changelog: Updating.
8683
8684 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8685
8686         * src/hildon-color-chooser-dialog.c:
8687         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8688         straight from Tommi labs.
8689
8690 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8691
8692         * examples/hildon-finger-example.c: Correcting the header file path.
8693
8694         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8695         the changed signal. Fixes a small memory leak.
8696
8697 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8698
8699         * autogen.sh:
8700         * debian/rules:
8701         * src/hildon-banner.c: Importing several usefull fixes from the
8702         ubuntu-mobile branch.
8703
8704 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8705
8706         * examples/Makefile.am:
8707         * examples/hildon-finger-example.c: Adding a finger-checking code
8708         example.
8709
8710         * src/hildon-font-selection-dialog.c: Do not allocate the color
8711         structure using the g_new. Fixes NB#54061.
8712
8713 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8714
8715         * src/hildon-helper.c: Correcting tabs in file.
8716
8717 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
8718
8719         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8720         control the visibility of the children.
8721
8722         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8723
8724 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8725
8726         [1.0.5-1 release]
8727
8728         * NEWS:
8729         * configure.ac:
8730         * debian/changelog: Updating.
8731
8732 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8733
8734         * src/hildon-bread-crumb-trail.c:
8735         (hildon_bread_crumb_trail_size_allocate):
8736
8737         Make the back button always a square.
8738
8739 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8740
8741         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8742         from the .c file as it's a private file.
8743
8744 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8745
8746         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8747         uses slightly bigger height.
8748
8749         * src/hildon-font-selection-dialog.c: Adding some checks before
8750         freeing memory in the font selection dialog.
8751
8752 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8753
8754         * src/hildon-font-selection-dialog.c: Adding a small check when
8755         freeing memory.
8756
8757         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8758         buttons sensitivity on page switching.
8759
8760 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
8761
8762         * src/hildon-bread-crumb-trail.c: make the add method handle all the
8763         internal details of adding a bread crumb to the trail.
8764
8765 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8766
8767         [1.0.4-1 release]
8768
8769         * README:
8770         * configure.ac:
8771         * debian/changelog: Updating.
8772
8773         * src/hildon-bread-crumb-trail.h:
8774         * src/hildon-bread-crumb.h: Changing the API guard to
8775         HILDON_ENABLE_UNSTABLE_API.
8776
8777 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8778
8779         [1.0.3-1 release]
8780
8781         * NEWS:
8782         * configure.ac:
8783         * debian/changelog:
8784         * debian/rules:
8785         * src/hildon-helper.h: Updating.
8786
8787 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8788
8789         [1.0.2-1 release]
8790
8791         * NEWS:
8792         * configure.ac:
8793         * debian/changelog:
8794
8795 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8796
8797         * README:
8798         * configure.ac:
8799         * src/hildon-helper.h: Small fix to make the package actually compile.
8800
8801 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
8802
8803         * src/hildon-bread-crumb-trail.h:
8804         * src/hildon-bread-crumb.h:
8805
8806         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8807         to define ENABLE_UNSTABLE_API in the code that includes these headers.
8808
8809 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
8810
8811         * examples/hildon-bread-crumb-trail-example.c:
8812         * src/Makefile.am:
8813         * src/hildon-bread-crumb-trail.c:
8814         * src/hildon-bread-crumb-trail.h:
8815         * src/hildon-bread-crumb.c:
8816         * src/hildon-bread-crumb.h:
8817         * src/hildon-marshalers.list:
8818         * src/hildon-bread-crumb-widget.c:
8819         * src/hildon-bread-crumb-widget.h:
8820
8821         Slight change in the widget design. The bread crumb trail API is
8822         unchanged, but HildonBreadCrumb is now an interface. A *private*
8823         implementation, hildon-bread-crumb-widget, is provided and used
8824         internally by the trail for the push_text/push_icon functions.
8825
8826         The generic push API is still available, so anyone can implement
8827         and use its own bread crumb widget.
8828
8829 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8830
8831         * debian/rules: Fixing the shlibs.
8832
8833 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8834
8835         * src/hildon-banner.c: Fixing a problem with timed banners having
8836         their parrent destroyed before they are.
8837
8838 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
8839
8840         * src/hildon-bread-crumb.c:
8841         * src/hildon-bread-crumb.h:
8842
8843         Make the get_natural_size function a vfunc.
8844
8845 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8846
8847         * src/hildon-bread-crumb.c:
8848         * src/hildon-bread-crumb-trail.c:
8849
8850         Some cleanups.
8851
8852 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8853
8854         [1.0.1-1 release]
8855
8856         * AUTHORS:
8857         * NEWS:
8858         * configure.ac:
8859         * debian/changelog: Updating for release.
8860
8861 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8862
8863         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8864         don't leak the pango layout.
8865
8866 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8867
8868         * src/hildon.h:
8869         * examples/hildon-bread-crumb-trail-example.c:
8870
8871         Fix example.
8872
8873 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8874
8875         * debian/changelog: Removing the bug-fixed entries that were actually
8876         resolved as WONTFIX.
8877
8878         * src/hildon-date-editor.c: Removing a redundant check. Fixes
8879         NB#54182.
8880
8881 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
8882
8883         * src/hildon-bread-crumb-trail.c:
8884         * src/hildon-bread-crumb-trail.h:
8885         * src/hildon-bread-crumb.c:
8886         * src/hildon-bread-crumb.h:
8887
8888         Untabify.
8889
8890 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
8891
8892         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8893         until it's passed the type check.
8894
8895 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
8896
8897         * examples/hildon-bread-crumb-trail-example.c
8898
8899         Add license.
8900
8901 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
8902
8903         * examples/Makefile.am
8904         * examples/hildon-bread-crumb-trail-example.c
8905         * src/Makefile.am
8906         * src/hildon-bread-crumb-trail.c
8907         * src/hildon-bread-crumb-trail.h
8908         * src/hildon-bread-crumb.c
8909         * src/hildon-bread-crumb.h
8910
8911         New HildonBreadCrumbTrail widget.
8912
8913 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
8914
8915         * src/hildon-range-editor.c (hildon_range_editor_init),
8916         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8917         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8918         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8919         hildon_time_editor_class_init, hildon_time_editor_init),
8920         src/hildon-get-password-dialog.c (invalid_input,
8921         hildon_get_password_set_property, hildon_get_password_get_property,
8922         create_contents, hildon_get_password_dialog_set_max_characters),
8923         src/hildon-set-password-dialog.c (create_contents),
8924         src/hildon-date-editor.c (hildon_date_editor_init),
8925         src/hildon-login-dialog.c (hildon_login_dialog_init),
8926         src/hildon-number-editor.c (hildon_number_editor_init),
8927         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8928         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8929         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8930          configure option and adding the respective checks in the code.
8931         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8932         hildon_calendar_drag_data_received): fixed some build warnings.
8933
8934 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8935
8936         * debian/changelog: A 1.0.0 release notes.
8937