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