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