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