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