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