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