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