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